/* ================================================================
   AthloSync — Premium SaaS Design System
   Colors: White bg / Deep Navy structure / Aqua Green accent
   ================================================================ */

/* ===== CSS Variables ===== */
:root {
    /* Core palette */
    --navy-950: #0a1628;
    --navy-900: #0f1d35;
    --navy-800: #152847;
    --navy-700: #1e3a5f;
    --navy-600: #1e3a8a;
    --navy-500: #2563eb;
    --navy-100: #dbeafe;
    --navy-50: #eff6ff;

    --green-500: #10B981;
    --green-400: #34D399;
    --green-300: #6EE7B7;
    --green-600: #059669;

    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Functional */
    --bg: var(--white);
    --text-heading: var(--navy-900);
    --text-body: var(--gray-600);
    --text-muted: var(--gray-400);
    --accent: var(--green-500);
    --accent-glow: rgba(16, 185, 129, 0.15);
    --navy-glow: rgba(30, 58, 138, 0.08);

    /* Spacing */
    --section-padding: 140px;
    --section-padding-mobile: 80px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
    --shadow-glow-green: 0 0 40px rgba(16,185,129,0.15);
    --shadow-glow-navy: 0 0 40px rgba(30,58,138,0.1);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
    --duration-slower: 1.2s;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 104px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-fast) ease;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-600);
    background: var(--navy-50);
    border: 1px solid var(--navy-100);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-tag.green {
    color: var(--green-600);
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.section-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

.text-muted-line {
    color: var(--gray-300);
}

.text-broken {
    position: relative;
    color: #dc2626;
}
.text-broken::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #dc2626;
    opacity: 0.3;
}

.text-connected {
    color: var(--green-500);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-expo);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary-glow {
    padding: 14px 28px;
    background: var(--green-500);
    color: var(--white);
    box-shadow: 0 0 0 0 rgba(16,185,129,0), 0 4px 14px rgba(16,185,129,0.3);
}
.btn-primary-glow:hover {
    background: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16,185,129,0.3), 0 8px 24px rgba(16,185,129,0.35);
}

.btn-outline-subtle {
    padding: 14px 28px;
    background: transparent;
    color: var(--navy-600);
    border: 1.5px solid var(--gray-200);
}
.btn-outline-subtle:hover {
    border-color: var(--navy-600);
    background: var(--navy-50);
    transform: translateY(-2px);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--duration-normal) ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-600);
    margin-left: -12px;
}

.logo img {
    height: 113px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) ease;
}

.nav-links li a:hover {
    color: var(--navy-900);
    background: var(--gray-50);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-nav-ghost {
    padding: 8px 18px;
    background: transparent;
    color: var(--gray-600);
    font-size: 14px;
}
.btn-nav-ghost:hover {
    color: var(--navy-900);
}

.btn-nav-primary {
    padding: 8px 20px;
    background: var(--navy-900);
    color: var(--white);
    font-size: 14px;
    border-radius: var(--radius-sm);
}
.btn-nav-primary:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0;
    animation: glowPulse 6s ease-in-out infinite;
}
.hero-glow--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    animation-delay: 0s;
}
.hero-glow--2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(30,58,138,0.08) 0%, transparent 70%);
    animation-delay: 3s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 540px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--green-600);
    background: rgba(16,185,129,0.06);
    border: 1px solid rgba(16,185,129,0.15);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* Title */
.hero-title {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--navy-900);
    margin-bottom: 24px;
}

.hero-title .reveal-line {
    display: block;
    overflow: hidden;
}

.hero-title .reveal-line > span {
    display: inline-block;
}

.hero-accent {
    font-style: normal;
    background: linear-gradient(135deg, var(--green-500), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 36px;
    max-width: 460px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== Hero Mockup (Dashboard UI) ===== */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.hero-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.04),
        0 12px 40px rgba(0,0,0,0.06),
        0 40px 80px rgba(0,0,0,0.04);
    overflow: hidden;
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 0.8s var(--ease-out-expo);
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: rotateY(-4deg) rotateX(2deg) translateY(0); }
    50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-8px); }
}

.hero-mockup:hover {
    transform: rotateY(-1deg) rotateX(0deg);
}

.mockup-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
}
.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-url {
    margin-left: 12px;
    font-size: 11px;
    color: var(--gray-400);
    background: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--gray-100);
}

.mockup-screen {
    display: flex;
    min-height: 320px;
}

.mockup-sidebar {
    width: 48px;
    background: var(--navy-900);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-nav-item {
    height: 8px;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}
.mockup-nav-item.active {
    background: var(--green-500);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    background: var(--gray-50);
}

.mockup-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mockup-title-block {
    width: 120px;
    height: 14px;
    border-radius: 4px;
    background: var(--gray-200);
}

.mockup-action-btns {
    display: flex;
    gap: 6px;
}
.mockup-action-btns span {
    width: 50px;
    height: 24px;
    border-radius: 4px;
    background: var(--gray-200);
}

.mockup-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.mockup-stat-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid var(--gray-100);
}

.mockup-stat-label {
    width: 60%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    margin-bottom: 8px;
}

.mockup-stat-value {
    width: 40%;
    height: 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.mockup-stat-value.green { background: var(--green-400); }
.mockup-stat-value.blue { background: var(--navy-500); }
.mockup-stat-value.navy { background: var(--navy-800); }

.mockup-stat-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--gray-100);
    overflow: hidden;
}

.mockup-stat-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--green-500), var(--green-400));
    animation: statFill 2s var(--ease-out-expo) forwards;
    transform-origin: left;
}

@keyframes statFill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.mockup-chart {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid var(--gray-100);
    margin-bottom: 12px;
}

.mockup-chart-svg {
    width: 100%;
    height: auto;
}

.chart-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s var(--ease-out-expo) 0.5s forwards;
}

.chart-area {
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.mockup-table {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.mockup-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 40px;
    gap: 8px;
    padding: 8px 12px;
    align-items: center;
    border-bottom: 1px solid var(--gray-50);
}
.mockup-table-row.header {
    background: var(--gray-50);
}
.mockup-table-row span {
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
}
.mockup-table-row .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    justify-self: center;
}
.status-dot.green { background: var(--green-500); }
.status-dot.blue { background: var(--navy-500); }

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 10;
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}
.card-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card-icon.green {
    background: rgba(16,185,129,0.1);
    color: var(--green-500);
}
.floating-card-icon.blue {
    background: rgba(37,99,235,0.1);
    color: var(--navy-500);
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 500;
}

.floating-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
}

/* ================================================================
   PROBLEM SECTION
   ================================================================ */
.problem-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.problem-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--duration-normal) ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.05);
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Disconnected Nodes Visual */
.problem-visual {
    display: flex;
    justify-content: center;
}

.disconnected-nodes {
    position: relative;
    width: 360px;
    height: 200px;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px dashed var(--gray-300);
    color: var(--gray-500);
    background: var(--white);
    animation: nodeFloat 3s ease-in-out infinite;
}

.node span { position: relative; z-index: 1; }

.node-1 { top: 0; left: 10%; animation-delay: 0s; }
.node-2 { top: 0; right: 10%; animation-delay: 0.5s; }
.node-3 { bottom: 0; left: 25%; animation-delay: 1s; }
.node-4 { bottom: 0; right: 25%; animation-delay: 1.5s; }

@keyframes nodeFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(4px, -3px); }
    50% { transform: translate(-3px, 4px); }
    75% { transform: translate(3px, 2px); }
}

.broken-line {
    position: absolute;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gray-300) 0, var(--gray-300) 6px, transparent 6px, transparent 12px);
    opacity: 0.5;
}

.line-1 { width: 100px; top: 40px; left: 27%; transform: rotate(10deg); }
.line-2 { width: 80px; top: 100px; left: 15%; transform: rotate(-30deg); }
.line-3 { width: 80px; top: 100px; right: 15%; transform: rotate(30deg); }

/* ================================================================
   SOLUTION SECTION
   ================================================================ */
.solution-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.solution-visual {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.connected-hub {
    position: relative;
    width: 400px;
    height: 400px;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.hub-logo-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--green-400);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(16,185,129,0.08), 0 0 40px rgba(16,185,129,0.15);
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(16,185,129,0.08), 0 0 40px rgba(16,185,129,0.15); }
    50% { box-shadow: 0 0 0 16px rgba(16,185,129,0.05), 0 0 60px rgba(16,185,129,0.2); }
}

.hub-connections {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hub-line {
    stroke: var(--green-400);
    stroke-width: 2;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    opacity: 0.4;
}

.hub-line.animated {
    animation: drawHubLine 1s var(--ease-out-expo) forwards;
}

@keyframes drawHubLine {
    to { stroke-dashoffset: 0; }
}

.hub-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s var(--ease-out-expo);
}

.hub-node.visible {
    opacity: 1;
    transform: scale(1);
}

.hub-node svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--white);
    border: 1.5px solid var(--green-400);
    border-radius: 50%;
    color: var(--green-600);
    box-shadow: var(--shadow-md);
}

.hub-node span {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
}

.hub-node-1 { top: 10px; left: 50%; transform: translateX(-50%) scale(0.8); }
.hub-node-1.visible { transform: translateX(-50%) scale(1); }
.hub-node-2 { right: 10px; top: 50%; transform: translateY(-50%) scale(0.8); }
.hub-node-2.visible { transform: translateY(-50%) scale(1); }
.hub-node-3 { bottom: 10px; left: 50%; transform: translateX(-50%) scale(0.8); }
.hub-node-3.visible { transform: translateX(-50%) scale(1); }
.hub-node-4 { left: 10px; top: 50%; transform: translateY(-50%) scale(0.8); }
.hub-node-4.visible { transform: translateY(-50%) scale(1); }

/* ================================================================
   FEATURES SECTION
   ================================================================ */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--duration-normal) var(--ease-out-expo);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(16,185,129,0.02) 0%, rgba(30,58,138,0.02) 100%);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16,185,129,0.2);
    box-shadow: 0 12px 40px rgba(16,185,129,0.08), 0 0 0 1px rgba(16,185,129,0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--green-500), var(--green-400));
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.steps-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.steps-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.steps-line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--green-500), var(--green-300));
    border-radius: 1px;
    transition: height 0.3s ease;
}

.step-item {
    display: grid;
    grid-template-columns: 56px 1fr 200px;
    gap: 32px;
    align-items: start;
    padding-bottom: 64px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-out-expo);
}

.step-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-400);
    position: relative;
    z-index: 2;
    transition: all 0.5s var(--ease-out-expo);
}

.step-item.visible .step-number {
    background: var(--green-500);
    border-color: var(--green-400);
    color: var(--white);
    box-shadow: 0 0 0 6px rgba(16,185,129,0.12), 0 4px 16px rgba(16,185,129,0.2);
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
    margin-top: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 400px;
}

/* Step Illustrations */
.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-illustration {
    width: 160px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Step 1: Avatars connecting */
.step-1-illus {
    gap: 0;
    padding: 16px;
}

.illus-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--white);
    position: relative;
}

.illus-avatar.a1 { background: var(--navy-600); margin-right: -8px; z-index: 3; }
.illus-avatar.a2 { background: var(--green-500); margin-right: -8px; z-index: 2; }
.illus-avatar.a3 { background: var(--navy-800); z-index: 1; }

.illus-connect-line {
    position: absolute;
    bottom: 20px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--green-400), var(--navy-500));
    border-radius: 1px;
    opacity: 0.3;
}

/* Step 2: Chart bars */
.step-2-illus {
    gap: 6px;
    padding: 16px 24px;
    align-items: flex-end;
}

.illus-chart-bar {
    width: 20px;
    border-radius: 4px 4px 0 0;
    background: var(--gray-200);
    transition: all 0.5s var(--ease-out-expo);
}

.b1 { height: 30px; background: var(--navy-600); }
.b2 { height: 50px; background: var(--green-500); }
.b3 { height: 40px; background: var(--navy-800); }
.b4 { height: 65px; background: var(--green-400); }

.step-item.visible .b1 { animation: barGrow 0.8s var(--ease-out-expo) 0.2s both; }
.step-item.visible .b2 { animation: barGrow 0.8s var(--ease-out-expo) 0.3s both; }
.step-item.visible .b3 { animation: barGrow 0.8s var(--ease-out-expo) 0.4s both; }
.step-item.visible .b4 { animation: barGrow 0.8s var(--ease-out-expo) 0.5s both; }

@keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

.illus-trend-line {
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green-500));
    opacity: 0.4;
    transform: rotate(-15deg);
}

/* Step 3: Trophy */
.step-3-illus {
    flex-direction: column;
}

.illus-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green-400);
}

.s1 { top: 20px; right: 30px; animation: sparkle 2s ease-in-out infinite; }
.s2 { top: 35px; left: 25px; animation: sparkle 2s ease-in-out 0.5s infinite; }
.s3 { bottom: 25px; right: 40px; animation: sparkle 2s ease-in-out 1s infinite; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* ================================================================
   WHO IT'S FOR
   ================================================================ */
.who-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.who-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
}

.who-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-400);
}

.who-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-50);
    color: var(--navy-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.who-card:hover .who-icon {
    background: rgba(16,185,129,0.08);
    color: var(--green-600);
    transform: scale(1.08);
}

.who-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.who-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ================================================================
   PRODUCT SHOWCASE
   ================================================================ */
.showcase-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.showcase-screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

.showcase-screen {
    text-align: center;
}

.screen-glass {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.screen-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(16,185,129,0.06);
}

.screen-content {
    min-height: 260px;
}

.screen-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sh-title {
    width: 100px;
    height: 12px;
    border-radius: 4px;
    background: var(--gray-200);
}

.sh-tabs {
    display: flex;
    gap: 4px;
}

.sh-tabs span {
    width: 40px;
    height: 24px;
    border-radius: 4px;
    background: var(--gray-100);
}

.sh-tabs span.active {
    background: var(--navy-900);
}

.sh-avatar-group {
    display: flex;
}

.mini-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -6px;
}
.mini-avatar:nth-child(1) { background: var(--navy-600); margin-left: 0; }
.mini-avatar:nth-child(2) { background: var(--green-500); }
.mini-avatar:nth-child(3) { background: var(--navy-800); }

.screen-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.screen-metric {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
}

.sm-label {
    width: 50%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    margin-bottom: 8px;
}

.sm-value {
    width: 60%;
    height: 14px;
    border-radius: 4px;
}
.sm-value.green { background: var(--green-400); }
.sm-value.blue { background: var(--navy-500); }
.sm-value.navy { background: var(--navy-800); }

.screen-chart-area {
    height: 80px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.screen-chart-line {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    transform: rotate(-5deg);
}

.screen-chart-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(16,185,129,0.08), transparent);
}

.screen-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.tl-dot.green { background: var(--green-500); }
.tl-dot.blue { background: var(--navy-500); }
.tl-dot.navy { background: var(--navy-800); }

.tl-bar {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--gray-100);
}

.timeline-item:nth-child(1) .tl-bar { width: 80%; }
.timeline-item:nth-child(2) .tl-bar { width: 65%; }
.timeline-item:nth-child(3) .tl-bar { width: 90%; }
.timeline-item:nth-child(4) .tl-bar { width: 50%; }

.screen-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sc-card {
    height: 60px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
}

.screen-label {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
}

.screen-label a {
    color: var(--green-600);
    font-weight: 600;
    transition: color var(--duration-fast) ease;
}

.screen-label a:hover {
    color: var(--green-500);
}

a.screen-glass {
    display: block;
    cursor: pointer;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-glow--1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, transparent 70%);
}

.cta-glow--2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
}

.cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-form-wrap {
    max-width: 480px;
    margin: 0 auto;
}

.cta-input-group {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 6px;
}

.cta-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--white);
    outline: none;
}

.cta-input-group input::placeholder {
    color: rgba(255,255,255,0.35);
}

.cta-input-group input:focus {
    outline: none;
}

.cta-input-group:focus-within {
    border-color: rgba(16,185,129,0.4);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.08);
}

.btn-cta-submit {
    padding: 12px 24px;
    background: var(--green-500);
    color: var(--white);
    font-size: 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 20px rgba(16,185,129,0.3);
    animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(16,185,129,0.3); }
    50% { box-shadow: 0 0 40px rgba(16,185,129,0.4), 0 0 60px rgba(16,185,129,0.1); }
}

.btn-cta-submit:hover {
    background: var(--green-600);
    transform: translateY(-1px);
}

.cta-note {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-top: 16px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--navy-950);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding: 64px 0 40px;
}

.footer-brand {
    max-width: 260px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
    color: var(--green-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.3);
    transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
    background: rgba(16,185,129,0.15);
    color: var(--green-400);
}

/* ================================================================
   REVEAL ANIMATIONS (driven by JS)
   ================================================================ */

/* Fade */
.reveal-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Up */
.reveal-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-slide-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Scale */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Slide Left */
.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Right */
.reveal-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Line Reveal */
.hero-title .reveal-line > span {
    transform: translateY(105%);
    transition: transform 0.9s var(--ease-out-expo);
}
.hero-title.revealed .reveal-line > span {
    transform: translateY(0);
}
.hero-title.revealed .reveal-line:nth-child(2) > span {
    transition-delay: 0.12s;
}

/* Stagger delays for cards */
[data-delay="1"] { transition-delay: 0.1s !important; }
[data-delay="2"] { transition-delay: 0.2s !important; }
[data-delay="3"] { transition-delay: 0.3s !important; }
[data-delay="4"] { transition-delay: 0.4s !important; }
[data-delay="5"] { transition-delay: 0.5s !important; }

/* ================================================================
   REAL SCREENSHOT IMAGES
   ================================================================ */

/* Hero mockup — real screenshot replaces CSS wireframe */
.mockup-screenshot {
    overflow: hidden;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: var(--gray-50);
    line-height: 0;
}

.mockup-screenshot img {
    width: 100%;
    display: block;
    height: 320px;
    object-fit: cover;
    object-position: top left;
    transition: transform 1s var(--ease-out-expo);
}

.hero-mockup:hover .mockup-screenshot img {
    transform: translateY(-28px);
}

/* Showcase screens — real screenshots */
.screen-glass--photo {
    padding: 0;
    overflow: hidden;
    background: var(--white);
    min-height: auto;
}

.screen-real-img {
    width: 100%;
    display: block;
    height: 360px;
    object-fit: cover;
    object-position: top;
    border-radius: inherit;
    transition: transform 0.9s var(--ease-out-expo);
}

.screen-glass--photo:hover .screen-real-img {
    transform: translateY(-24px);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-subtitle {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-floating-card.card-1 {
        left: 0;
    }
    .hero-floating-card.card-2 {
        right: 0;
    }

    .features-grid,
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-item {
        grid-template-columns: 56px 1fr;
    }

    .step-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links, .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-mockup {
        transform: none;
        animation: none;
    }

    .features-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .showcase-screens {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .connected-hub {
        width: 300px;
        height: 300px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-input-group {
        flex-direction: column;
    }

    .cta-input-group input {
        text-align: center;
    }

    .btn-cta-submit {
        width: 100%;
        justify-content: center;
    }

    .disconnected-nodes {
        width: 280px;
        height: 160px;
    }

    .step-item {
        grid-template-columns: 48px 1fr;
        gap: 16px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .steps-line {
        left: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ================================================================
   MOBILE MENU (added by JS)
   ================================================================ */
.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.mobile-menu.active {
    display: block;
    animation: menuSlide 0.3s var(--ease-out-expo);
}

@keyframes menuSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    margin-bottom: 16px;
}

.mobile-nav-links li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--navy-900);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-links li a:hover {
    color: var(--green-500);
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-buttons .btn {
    justify-content: center;
    padding: 12px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ================================================================
   HERO TRUST ROW
   ================================================================ */
.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.trust-avatar:first-child { margin-left: 0; }
.ta-1 { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.ta-2 { background: linear-gradient(135deg, var(--green-500), var(--green-400)); }
.ta-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ta-4 { background: linear-gradient(135deg, var(--navy-500), var(--navy-700)); }
.ta-5 { background: linear-gradient(135deg, var(--green-600), var(--green-500)); }

.trust-text {
    font-size: 14px;
    color: var(--gray-500);
}
.trust-text strong {
    color: var(--navy-900);
}

/* Hero particles container */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--green-400);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

/* Third hero glow */
.hero-glow--3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
    animation: glowPulse 6s ease-in-out 1.5s infinite;
}

/* ================================================================
   SOCIAL PROOF STATS BAR
   ================================================================ */
.stats-bar {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: relative;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: inline;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--green-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-suffix {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--green-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-200);
}

/* ================================================================
   FEATURE CARD HIGHLIGHT
   ================================================================ */
.feature-card--highlight {
    border-color: rgba(16,185,129,0.3);
    background: linear-gradient(135deg, rgba(16,185,129,0.03) 0%, var(--white) 100%);
    position: relative;
}

.feature-card--highlight::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    border-radius: 0 0 4px 4px;
}

.feature-badge {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green-600);
    background: rgba(16,185,129,0.08);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ================================================================
   WHY ATHLOSYNC SECTION
   ================================================================ */
.why-section {
    padding: var(--section-padding) 0;
    background: var(--white);
    overflow: hidden;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.why-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16,185,129,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16,185,129,0.3);
    box-shadow: 0 20px 60px rgba(16,185,129,0.08);
}

.why-card:hover::before {
    opacity: 1;
}

.why-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(16,185,129,0.1);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--duration-normal) ease;
}

.why-card:hover .why-number {
    color: rgba(16,185,129,0.2);
}

.why-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
    position: relative;
}

.why-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
}

/* ================================================================
   TESTIMONIALS SECTION
   ================================================================ */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--duration-normal) var(--ease-out-expo);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(16,185,129,0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: rgba(16,185,129,0.2);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ta-coach { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.ta-trainer { background: linear-gradient(135deg, var(--green-600), var(--green-400)); }
.ta-gym { background: linear-gradient(135deg, #f59e0b, #d97706); }

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-400);
}

/* ================================================================
   ENHANCED CARD GLOW ON HOVER (tilt effect via CSS)
   ================================================================ */
.feature-card:hover,
.who-card:hover,
.testimonial-card:hover {
    cursor: default;
}

/* ================================================================
   ANIMATED GRADIENT TEXT SHIMMER
   ================================================================ */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-accent {
    font-style: normal;
    background: linear-gradient(135deg, var(--green-500), var(--green-300), var(--green-500));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

/* ================================================================
   SCROLL PROGRESS INDICATOR
   ================================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(16,185,129,0.4);
}

/* ================================================================
   RESPONSIVE — NEW SECTIONS
   ================================================================ */
@media (max-width: 1024px) {
    .stats-grid {
        flex-wrap: wrap;
        gap: 32px;
    }
    .stat-divider { display: none; }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stat-divider { display: none; }

    .hero-trust-row {
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
