/* --- Brand Variables (Global) --- */
:root {
    --bg: #FAFAFA;
    --fg: #0F172A;
    --accent: #00A8B5;
    --accent-dark: #00828F;
    --gradient: linear-gradient(to right, #00A8B5, #00828F);
    --white: #ffffff;
    --border: #E2E8F0;
    --text-muted: rgba(15, 23, 42, 0.58);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.13);
    --shadow-accent: 0 8px 32px rgba(0, 168, 181, 0.28);
}

/* Reset & base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--fg); direction: ltr; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ======== HEADER ======== */
.nexus-header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 48px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 9999; box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(250, 250, 250, 0.96) 0%, rgba(250, 250, 250, 0) 100%);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nexus-header.scrolled {
    background: rgba(250, 250, 250, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--border);
    padding: 14px 48px;
}
.header-logo { display: flex; align-items: center; z-index: 10001; }
.header-logo img { height: 38px; width: auto; display: block; transition: height 0.3s ease; }
.nexus-header.scrolled .header-logo img { height: 32px; }

.header-anchor-nav { display: flex; align-items: center; gap: 36px; }
.header-nav-link {
    font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 500;
    color: var(--fg); letter-spacing: 0.02em; transition: color 0.3s ease;
    position: relative;
}
.header-nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
    background: var(--gradient); transition: width 0.3s ease;
}
.header-nav-link:hover { color: var(--accent); }
.header-nav-link:hover::after { width: 100%; }

.header-cta-group { display: flex; align-items: center; gap: 12px; }
.header-cta-btn {
    display: inline-flex; align-items: center; padding: 10px 24px;
    background: var(--gradient); color: var(--white); font-family: 'Inter', sans-serif;
    font-size: 0.875rem; font-weight: 600; border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }

.menu-toggle {
    cursor: pointer; display: none; align-items: center;
    z-index: 10001; background: transparent; border: none; padding: 4px;
}
.hamburger-lines { width: 26px; height: 18px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.line { width: 100%; height: 1.5px; background-color: var(--fg); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); border-radius: 2px; }
.menu-open .line:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); background-color: var(--white); }
.menu-open .line:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-open .line:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); background-color: var(--white); }

/* ======== FULLSCREEN MENU ======== */
.fullscreen-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--fg); z-index: 9998;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    visibility: hidden; clip-path: circle(0% at 95% 5%);
}
.menu-bg-texture {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 60% 40%, rgba(0, 168, 181, 0.07) 0%, transparent 70%);
}
.nav-links { list-style: none; padding: 0; margin: 0; text-align: center; position: relative; z-index: 2; }
.nav-item { margin: 10px 0; overflow: hidden; }
.nav-link {
    display: block; font-family: 'Calistoga', serif; font-size: 3.2rem; font-weight: 400;
    color: var(--white); text-decoration: none;
    transition: color 0.3s ease; transform: translateY(100%); letter-spacing: -0.01em;
}
.nav-link:hover { color: var(--accent); }
.menu-footer {
    position: absolute; bottom: 50px; display: flex; gap: 40px;
    color: rgba(255, 255, 255, 0.35); font-family: 'Inter', sans-serif; font-size: 0.875rem; opacity: 0;
}
.menu-footer a { color: inherit; text-decoration: none; transition: color 0.3s; }
.menu-footer a:hover { color: var(--accent); }

/* ======== SHARED UTILITIES ======== */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 18px;
}
.section-label--light { color: rgba(0, 168, 181, 0.75); }
.section-heading {
    font-family: 'Calistoga', serif; font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.1; color: var(--fg); margin-bottom: 56px; font-weight: 400; text-align: center;
}
.section-heading span {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    background: var(--gradient); color: var(--white); font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 600; border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
    background: transparent; color: var(--fg); font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 500; border-radius: 50px;
    border: 1.5px solid var(--border); transition: all 0.2s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(0, 168, 181, 0.04); }
.btn-ghost i, .btn-primary i { width: 18px; height: 18px; flex-shrink: 0; }

/* ======== HERO SECTION ======== */
.bl-hero {
    position: relative; min-height: 100vh; background-color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; padding: 140px 24px 80px;
}
.hero-bg-layer {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
}
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    opacity: 0.18; mix-blend-mode: multiply;
}
.hero-glow {
    position: absolute; top: -8%; right: -4%; width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(0, 168, 181, 0.065) 0%, transparent 68%);
    border-radius: 50%; pointer-events: none; filter: blur(60px);
}
.hero-ring {
    position: absolute; top: 50%; left: 50%; width: 680px; height: 680px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 168, 181, 0.09);
    border-radius: 50%; pointer-events: none;
    animation: ringRotate 20s linear infinite;
}
.hero-ring::before {
    content: ''; position: absolute; top: -4px; left: 50%;
    width: 7px; height: 7px; background: var(--accent);
    border-radius: 50%; transform: translateX(-50%);
    box-shadow: 0 0 14px rgba(0, 168, 181, 0.7);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 28px;
}
.hero-label-dot {
    width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
}
.hero-title {
    font-family: 'Calistoga', serif; font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.08; color: var(--fg); margin-bottom: 24px; letter-spacing: -0.02em;
}
.hero-subtitle {
    font-family: 'Inter', sans-serif; font-size: 1.15rem; line-height: 1.75;
    color: var(--text-muted); max-width: 600px; margin: 0 auto 40px;
}
.hero-cta-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ======== THE DEAL SECTION ======== */
.bl-deal { background-color: var(--bg); padding: 120px 48px; }
.deal-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
.deal-heading {
    font-family: 'Calistoga', serif; font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1; color: var(--fg); margin-bottom: 24px; font-weight: 400;
}
.deal-heading span {
    background: var(--gradient); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.deal-text { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 36px; max-width: 480px; }
.deal-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.deal-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
    background: rgba(0, 168, 181, 0.06); border: 1px solid rgba(0, 168, 181, 0.14);
    border-radius: 50px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
    font-weight: 500; color: var(--fg); letter-spacing: 0.02em;
}
.deal-tag i { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
.deal-solution-card {
    background: var(--white); border-radius: 20px; padding: 40px;
    border: 1px solid var(--border); box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.deal-solution-card:hover { box-shadow: var(--shadow-xl); }
.deal-solution-label {
    display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.14em; color: var(--accent);
    text-transform: uppercase; margin-bottom: 28px;
}
.deal-side { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; }
.deal-side-badge {
    flex-shrink: 0; padding: 4px 10px; background: var(--border); border-radius: 6px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 700;
    color: var(--fg); letter-spacing: 0.04em; margin-top: 4px;
}
.deal-side-badge--ai { background: var(--gradient); color: var(--white); }
.deal-side-content h3 { font-family: 'Calistoga', serif; font-size: 1.2rem; margin-bottom: 6px; font-weight: 400; color: var(--fg); }
.deal-side-content p { font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); }
.deal-divider { display: flex; align-items: center; justify-content: center; padding: 10px 0; color: var(--accent); opacity: 0.4; }
.deal-divider i { width: 18px; height: 18px; }

/* ======== MARKET SECTION ======== */
.bl-market {
    position: relative; background-color: var(--fg); padding: 120px 48px; overflow: hidden;
}
.market-dot-texture {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(0, 168, 181, 0.13) 1px, transparent 1px);
    background-size: 28px 28px; opacity: 0.38;
}
.market-container { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; text-align: center; }
.market-heading {
    font-family: 'Calistoga', serif; font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1; color: var(--white); margin-bottom: 64px; font-weight: 400;
}
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.market-card {
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; padding: 48px 40px; text-align: left;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.market-card:hover { background: rgba(255, 255, 255, 0.065); border-color: rgba(0, 168, 181, 0.28); }
.market-card-icon {
    width: 52px; height: 52px; background: rgba(0, 168, 181, 0.12);
    border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.market-card-icon i { width: 24px; height: 24px; color: var(--accent); }
.market-card-tag {
    display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.12em; color: var(--accent);
    text-transform: uppercase; margin-bottom: 12px;
}
.market-card h3 {
    font-family: 'Calistoga', serif; font-size: 1.45rem; color: var(--white);
    margin-bottom: 14px; font-weight: 400; line-height: 1.25;
}
.market-card p { font-size: 0.925rem; line-height: 1.75; color: rgba(255, 255, 255, 0.5); }

/* ======== VALUE PROPOSITION SECTION ======== */
.bl-value { background-color: var(--bg); padding: 120px 48px; }
.value-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
    background: var(--white); border-radius: 20px; padding: 36px 28px;
    border: 1px solid var(--border); text-align: left;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative; overflow: hidden;
}
.value-card::after {
    content: ''; position: absolute; inset: 0;
    background: var(--gradient); opacity: 0;
    transition: opacity 0.3s ease; border-radius: inherit; pointer-events: none;
}
.value-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.value-card:hover::after { opacity: 0.03; }
.value-card-icon-wrap {
    width: 48px; height: 48px; background: rgba(0, 168, 181, 0.08);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: background 0.3s ease;
}
.value-card:hover .value-card-icon-wrap { background: rgba(0, 168, 181, 0.14); }
.value-card-icon-wrap i { width: 22px; height: 22px; color: var(--accent); }
.value-card h3 { font-family: 'Calistoga', serif; font-size: 1.2rem; color: var(--fg); margin-bottom: 12px; font-weight: 400; }
.value-card p { font-size: 0.875rem; line-height: 1.72; color: var(--text-muted); }

/* ======== PRODUCT / HOW IT WORKS ======== */
.bl-product { background-color: #F0F4F8; padding: 120px 48px; }
.product-container { max-width: 1100px; margin: 0 auto; text-align: center; }
.product-timeline {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: relative; margin-top: 16px;
}
.product-timeline::before {
    content: ''; position: absolute; top: 35px; left: calc(12.5%); right: calc(12.5%);
    height: 1px; background: linear-gradient(to right, transparent, rgba(0, 168, 181, 0.35), transparent);
    z-index: 0;
}
.product-step { display: flex; flex-direction: column; align-items: center; padding: 0 20px; position: relative; z-index: 1; }
.product-step-icon {
    width: 70px; height: 70px; background: var(--white); border: 1.5px solid var(--border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px; transition: all 0.3s ease; box-shadow: var(--shadow-md);
}
.product-step:hover .product-step-icon {
    border-color: var(--accent); background: rgba(0, 168, 181, 0.05); box-shadow: var(--shadow-accent);
}
.product-step-icon i { width: 26px; height: 26px; color: var(--accent); }
.product-step-content { text-align: center; }
.product-step-num {
    display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 8px;
}
.product-step-content h3 { font-family: 'Calistoga', serif; font-size: 1.25rem; color: var(--fg); margin-bottom: 10px; font-weight: 400; }
.product-step-content p { font-size: 0.865rem; line-height: 1.72; color: var(--text-muted); }

/* ======== TRACTION SECTION ======== */
.bl-traction { background-color: var(--bg); padding: 120px 0; }
.traction-container { max-width: 1200px; margin: 0 auto; text-align: center; padding: 0 48px; }
.marquee-track-wrapper {
    width: 100vw; margin-left: 50%; transform: translateX(-50%);
    overflow: hidden; padding: 44px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); margin-bottom: 80px;
}
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 26s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-logos { display: flex; align-items: center; }
.marquee-logo-item {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 48px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
    font-weight: 600; color: rgba(15, 23, 42, 0.2); letter-spacing: 0.06em;
    text-transform: uppercase; transition: color 0.3s ease; white-space: nowrap;
    border-right: 1px solid var(--border);
}
.marquee-logo-item:hover { color: var(--accent); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start;
}
.testimonial-card {
    background: var(--white); border-radius: 20px; padding: 36px;
    border: 1px solid var(--border); text-align: left;
    box-shadow: var(--shadow-md); transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); }
.testimonial-card--offset { transform: translateY(28px); }
.testimonial-card--offset:hover { transform: translateY(24px); }
.testimonial-card--center { transform: translateY(-14px); }
.testimonial-card--center:hover { transform: translateY(-18px); }
.testimonial-quote {
    font-family: 'Inter', sans-serif; font-size: 0.965rem; line-height: 1.78;
    color: var(--fg); font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; flex-direction: column; gap: 4px; }
.testimonial-name { font-weight: 700; font-size: 0.875rem; color: var(--fg); }
.testimonial-role {
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 600;
    color: var(--accent); letter-spacing: 0.05em;
}

/* ======== IMPACT SECTION ======== */
.bl-impact {
    position: relative; background-color: var(--fg); padding: 140px 48px; overflow: hidden;
}
.impact-dot-texture {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(0, 168, 181, 0.1) 1px, transparent 1px);
    background-size: 28px 28px; opacity: 0.32;
}
.impact-container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.impact-deco-quote {
    display: block; font-family: 'Calistoga', serif; font-size: 180px; line-height: 0.7;
    color: rgba(0, 168, 181, 0.1); margin-bottom: 16px; user-select: none;
}
.impact-heading {
    font-family: 'Calistoga', serif; font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.15; color: var(--white); margin-bottom: 28px; font-weight: 400;
}
.impact-subtext { font-size: 1.05rem; line-height: 1.82; color: rgba(255, 255, 255, 0.5); max-width: 640px; }

/* ======== TEAM & GOALS ======== */
.bl-team { background-color: var(--bg); padding: 120px 48px; }
.team-container { max-width: 1100px; margin: 0 auto; text-align: center; }
.team-layout {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px;
    align-items: start; text-align: left; margin-top: 16px;
}
.founder-card-wrap {
    background: var(--gradient); padding: 2px; border-radius: 22px;
    box-shadow: var(--shadow-accent);
}
.founder-card {
    background: var(--white); border-radius: 20px; padding: 44px 40px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.founder-img-area {
    width: 110px; height: 110px; border-radius: 50%; overflow: hidden;
    background: rgba(0, 168, 181, 0.07); display: flex; align-items: center;
    justify-content: center; border: 1.5px solid var(--border);
}
.founder-logo-img { width: 72px; height: 72px; object-fit: contain; }
.founder-info { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.founder-info h3 { font-family: 'Calistoga', serif; font-size: 1.6rem; color: var(--fg); font-weight: 400; }
.founder-title {
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase;
}
.founder-cta {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
    background: var(--gradient); color: var(--white); border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600; margin-top: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.founder-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.founder-cta i { width: 16px; height: 16px; }

.roadmap-col { padding-top: 8px; }
.roadmap-label {
    display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
    font-weight: 700; letter-spacing: 0.16em; color: var(--accent);
    text-transform: uppercase; margin-bottom: 32px;
}
.roadmap-list { display: flex; flex-direction: column; }
.roadmap-item {
    display: flex; align-items: center; gap: 16px; padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.3s ease;
}
.roadmap-item:hover { padding-left: 8px; }
.roadmap-item:last-child { border-bottom: none; }
.roadmap-tag {
    flex-shrink: 0; padding: 4px 10px; border-radius: 6px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.08em; background: var(--border); color: var(--fg);
    text-transform: uppercase;
}
.roadmap-tag--next { background: var(--gradient); color: var(--white); }
.roadmap-tag--future { background: rgba(0, 168, 181, 0.1); color: var(--accent); border: 1px solid rgba(0, 168, 181, 0.2); }
.roadmap-text {
    font-family: 'JetBrains Mono', monospace; font-size: 0.9rem;
    font-weight: 400; color: var(--fg); letter-spacing: 0.01em;
}

/* ======== CTA SECTION ======== */
.cta-section {
    position: relative; width: 100%; padding: 140px 24px;
    background-color: var(--fg); text-align: center; color: var(--white);
    overflow: hidden; z-index: 1;
}
.cta-bg-layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cta-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cta-overlay {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.97) 88%);
    z-index: 2;
}
.cta-content { position: relative; z-index: 10; max-width: 780px; margin: 0 auto; }
.cta-subtitle {
    display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.18em; color: var(--accent);
    text-transform: uppercase; margin-bottom: 20px;
}
.cta-title {
    font-family: 'Calistoga', serif; font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400; margin: 0 0 48px; line-height: 1.1; color: var(--white);
}
.cta-title span { color: var(--white); }
.cta-buttons-wrapper { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-btn {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    padding: 16px 40px; font-size: 1rem; font-weight: 600;
    border-radius: 50px; transition: all 0.3s ease; font-family: 'Inter', sans-serif;
}
.cta-btn i { width: 18px; height: 18px; }
.btn-primary-filled {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 0 28px rgba(0, 168, 181, 0.3);
}
.btn-primary-filled:hover { transform: translateY(-3px); box-shadow: 0 0 48px rgba(0, 168, 181, 0.5); }
.btn-ghost-outline {
    background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.28); color: var(--white);
}
.btn-ghost-outline:hover {
    border-color: var(--accent); color: var(--accent);
    background: rgba(0, 168, 181, 0.08); transform: translateY(-3px);
}

/* ======== FOOTER ======== */
.sofia-footer-section {
    background-color: var(--fg); color: var(--white);
    padding: 80px 48px 0; border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem; position: relative; z-index: 10;
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
    padding-bottom: 64px; align-items: start;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col h4 {
    color: rgba(255, 255, 255, 0.85); font-size: 0.72rem; font-weight: 700;
    margin-bottom: 24px; letter-spacing: 0.12em; text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    border-bottom: 1px solid rgba(0, 168, 181, 0.3); padding-bottom: 10px; width: fit-content;
}
.footer-logo { width: 150px; height: auto; margin-bottom: 20px; display: block; filter: brightness(0) invert(1); }
.footer-desc { color: rgba(255, 255, 255, 0.4); line-height: 1.82; max-width: 230px; font-size: 0.865rem; }
.footer-links { padding: 0; margin: 0; width: 100%; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.5); text-decoration: none;
    transition: all 0.3s ease; font-weight: 400; display: block; font-size: 0.875rem;
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact-item { margin-bottom: 18px; }
.footer-contact-label {
    display: block; font-size: 0.66rem; font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, 0.28); margin-bottom: 4px;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-contact-value {
    color: rgba(255, 255, 255, 0.8); font-weight: 500; text-decoration: none;
    font-size: 0.875rem; transition: color 0.3s;
}
.footer-contact-value:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 24px 0;
    color: rgba(255, 255, 255, 0.22); font-size: 0.78rem;
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.22); text-decoration: none;
    margin-left: 24px; transition: color 0.3s;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ======== KEYFRAMES ======== */
@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}
@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 168, 181, 0.45); }
    50%       { opacity: 0.7; transform: scale(0.88); box-shadow: 0 0 0 7px rgba(0, 168, 181, 0); }
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* ======== RESPONSIVE — 768px mobile ======== */
@media (max-width: 768px) {
    .nexus-header { padding: 14px 20px; }
    .nexus-header.scrolled { padding: 12px 20px; }
    .header-logo img { height: 34px; width: auto; }
    .nexus-header.scrolled .header-logo img { height: 28px; }
    .header-anchor-nav { display: none; }
    .header-cta-group { display: none; }
    .menu-toggle { display: flex; }

    .bl-hero { padding: 110px 24px 60px; }
    .hero-ring { width: 280px; height: 280px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta-group { flex-direction: column; align-items: center; }

    .bl-deal { padding: 80px 24px; }
    .deal-container { grid-template-columns: 1fr; gap: 48px; }

    .bl-market { padding: 80px 24px; }
    .market-grid { grid-template-columns: 1fr; gap: 20px; }
    .market-heading { font-size: 2.2rem; }

    .bl-value { padding: 80px 24px; }
    .value-grid { grid-template-columns: 1fr; gap: 16px; }

    .bl-product { padding: 80px 24px; }
    .product-timeline { grid-template-columns: 1fr; }
    .product-timeline::before { display: none; }
    .product-step {
        flex-direction: row; align-items: flex-start; gap: 20px;
        padding: 24px 0; border-bottom: 1px solid var(--border);
    }
    .product-step:last-child { border-bottom: none; }
    .product-step-icon { flex-shrink: 0; margin-bottom: 0; width: 56px; height: 56px; }
    .product-step-content { text-align: left; }

    .bl-traction { padding: 80px 0; }
    .traction-container { padding: 0 24px; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card--offset,
    .testimonial-card--center { transform: none; }
    .testimonial-card--offset:hover,
    .testimonial-card--center:hover { transform: translateY(-4px); }

    .bl-impact { padding: 80px 24px; }
    .impact-deco-quote { font-size: 100px; }
    .impact-heading { font-size: 2rem; }

    .bl-team { padding: 80px 24px; }
    .team-layout { grid-template-columns: 1fr; gap: 48px; }

    .cta-section { padding: 100px 24px; }
    .cta-title { font-size: 2.2rem; }
    .cta-buttons-wrapper { flex-direction: column; align-items: center; }

    .sofia-footer-section { padding: 60px 24px 0; }
    .footer-container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .footer-col { align-items: center; }
    .footer-col h4 { margin: 0 auto 24px; }
    .footer-logo { margin: 0 auto 20px; }
    .footer-desc { max-width: 100%; text-align: center; }
    .footer-links { text-align: center; }
    .footer-links a:hover { padding-left: 0; }
    .footer-contact-item { text-align: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links a { margin-left: 10px; }

    .section-heading { font-size: 2.1rem; margin-bottom: 40px; }
    .nav-link { font-size: 2.4rem; }
    .menu-footer { flex-direction: column; gap: 12px; text-align: center; bottom: 32px; }
}

/* ======== RESPONSIVE — 1024px tablet ======== */
@media (max-width: 1024px) and (min-width: 769px) {
    .nexus-header { padding: 18px 32px; }
    .nexus-header.scrolled { padding: 14px 32px; }
    .header-anchor-nav { gap: 24px; }

    .bl-hero, .bl-deal, .bl-value, .bl-market,
    .bl-product, .bl-traction, .bl-impact, .bl-team { padding: 100px 32px; }
    .bl-traction { padding: 100px 0; }
    .traction-container { padding: 0 32px; }

    .deal-container { gap: 48px; }

    .value-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .product-timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
    .product-timeline::before { display: none; }
    .product-step { padding: 0 16px; }

    .market-grid { gap: 20px; }

    .team-layout { gap: 48px; }

    .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
    .sofia-footer-section { padding: 64px 32px 0; }
}
