/* Menlo Park Inc. — Apple-style design system */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.47;
    color: #1d1d1f;
    background: #ffffff;
    overflow-x: hidden;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0077ed;
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    height: 100%;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    text-decoration: none;
    color: #1d1d1f;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 12px;
    color: #1d1d1f;
    opacity: 0.85;
    font-weight: 400;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: none;
}

/* ========== SECTIONS ========== */
section {
    padding: 120px 22px;
    position: relative;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.bg-gray {
    background: #f5f5f7;
}

.bg-black {
    background: #000;
    color: #f5f5f7;
}

.bg-black h1, .bg-black h2, .bg-black h3 {
    color: #f5f5f7;
}

.bg-gradient {
    background: linear-gradient(180deg, #000 0%, #1a1a1a 50%, #2d2d2d 100%);
    color: #f5f5f7;
}

.bg-gradient h1, .bg-gradient h2 {
    color: #f5f5f7;
}

/* ========== TYPOGRAPHY ========== */
.eyebrow {
    font-size: 21px;
    font-weight: 600;
    color: #06c;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.bg-black .eyebrow, .bg-gradient .eyebrow {
    color: #2997ff;
}

h1 {
    font-size: 96px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    color: #1d1d1f;
}

h2 {
    font-size: 72px;
    line-height: 1.07;
    font-weight: 700;
    letter-spacing: -0.022em;
    margin-bottom: 24px;
    color: #1d1d1f;
}

h3 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.018em;
    margin-bottom: 16px;
    color: #1d1d1f;
}

h4 {
    font-size: 28px;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -0.016em;
    margin-bottom: 12px;
}

.lead {
    font-size: 28px;
    line-height: 1.21;
    font-weight: 400;
    letter-spacing: 0.004em;
    color: #1d1d1f;
    max-width: 740px;
    margin: 0 auto 32px;
}

.bg-black .lead, .bg-gradient .lead {
    color: #f5f5f7;
}

.body-lg {
    font-size: 21px;
    line-height: 1.38;
    font-weight: 400;
    letter-spacing: 0.011em;
    max-width: 680px;
    margin: 0 auto 24px;
    color: #1d1d1f;
}

.bg-black .body-lg, .bg-gradient .body-lg {
    color: #a1a1a6;
}

p {
    margin-bottom: 16px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #0071e3;
    color: white;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
}

.btn:hover {
    background: #0077ed;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #0066cc;
    border: 1px solid #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: white;
}

.btn-link {
    color: #0066cc;
    font-size: 19px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link::after {
    content: "›";
    font-size: 22px;
    transition: transform 0.2s ease;
}

.btn-link:hover {
    text-decoration: none;
}

.btn-link:hover::after {
    transform: translateX(2px);
}

.cta-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ========== HERO ========== */
.hero {
    padding: 180px 22px 120px;
    text-align: center;
    background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}

.hero h1 {
    background: linear-gradient(180deg, #1d1d1f 0%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== FEATURES GRID ========== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.feature-card {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 56px 48px;
    text-align: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.bg-gray .feature-card {
    background: #ffffff;
}

.bg-black .feature-card, .bg-gradient .feature-card {
    background: #1d1d1f;
    color: #f5f5f7;
}

.bg-black .feature-card h3, .bg-gradient .feature-card h3 {
    color: #f5f5f7;
}

.feature-card .eyebrow {
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-card p {
    font-size: 17px;
    line-height: 1.5;
    color: #424245;
}

.bg-black .feature-card p, .bg-gradient .feature-card p {
    color: #a1a1a6;
}

/* ========== STATS ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
    padding: 0 16px;
}

.stat .number {
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.bg-black .stat .number, .bg-gradient .stat .number {
    color: #f5f5f7;
}

.stat .label {
    font-size: 15px;
    color: #6e6e73;
    font-weight: 400;
}

/* ========== QUOTE ========== */
.quote-section {
    text-align: center;
    padding: 160px 22px;
}

.quote {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 32px;
    color: #1d1d1f;
}

.bg-black .quote, .bg-gradient .quote {
    color: #f5f5f7;
}

.quote-attr {
    font-size: 17px;
    color: #6e6e73;
    font-weight: 400;
}

/* ========== PILLARS ========== */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.1);
    margin-top: 80px;
    border-radius: 24px;
    overflow: hidden;
}

.pillar {
    background: #ffffff;
    padding: 56px 40px;
    text-align: left;
}

.bg-gray .pillar {
    background: #fafafa;
}

.pillar-num {
    font-size: 14px;
    font-weight: 600;
    color: #06c;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: block;
}

.pillar h4 {
    margin-bottom: 12px;
}

.pillar p {
    font-size: 16px;
    color: #424245;
    line-height: 1.5;
}

/* ========== CONTACT FORM ========== */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-family: inherit;
    font-size: 17px;
    background: #ffffff;
    color: #1d1d1f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-submit {
    margin-top: 16px;
}

.form-submit button {
    width: 100%;
    padding: 16px 32px;
    font-size: 17px;
}

.form-success {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-top: 24px;
    display: none;
}

.form-success h4 {
    color: #1d1d1f;
    margin-bottom: 8px;
}

.form-success p {
    color: #6e6e73;
    margin: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid #d2d2d7;
}

.contact-info .item {
    text-align: center;
}

.contact-info .item .label {
    font-size: 14px;
    font-weight: 600;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.contact-info .item .value {
    font-size: 19px;
    color: #1d1d1f;
    line-height: 1.4;
    font-weight: 400;
}

/* ========== FOOTER ========== */
footer {
    background: #f5f5f7;
    color: #6e6e73;
    padding: 64px 22px 32px;
    font-size: 12px;
    line-height: 1.5;
}

.footer-inner {
    max-width: 1024px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #d2d2d7;
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #6e6e73;
    font-size: 12px;
}

.footer-col a:hover {
    color: #1d1d1f;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: #6e6e73;
    font-size: 12px;
}

.footer-address {
    line-height: 1.6;
}

/* ========== UTIL ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1068px) {
    h1 { font-size: 80px; }
    h2 { font-size: 56px; }
    h3 { font-size: 32px; }
    .lead { font-size: 24px; }
    .quote { font-size: 44px; }
}

@media (max-width: 734px) {
    section { padding: 80px 22px; }
    .hero { padding: 120px 22px 80px; }

    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 26px; }
    h4 { font-size: 21px; }
    .lead { font-size: 19px; }
    .body-lg { font-size: 17px; }
    .quote { font-size: 28px; }

    .feature-grid,
    .feature-grid-3,
    .pillars,
    .stats-row,
    .footer-grid,
    .contact-info,
    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row { gap: 48px; }
    .stat .number { font-size: 48px; }

    .feature-card { padding: 40px 32px; }

    .nav-links {
        gap: 16px;
    }
    .nav-links a {
        font-size: 11px;
    }
}
