/* ============================================================
   Track My Health — Premium Landing Page Styles
   ============================================================ */

/* Design Tokens */
:root {
    --primary: #0d9488;
    --primary-light: #10b981;
    --primary-dark: #065f56;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(17, 17, 17, 0.7);
    --bg-card-solid: #111111;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-glow: 0 0 60px rgba(13, 148, 136, 0.15);
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*,
*::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: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #fff;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { color: var(--text-secondary); line-height: 1.7; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.heart-icon {
    flex-shrink: 0;
}

.nav-links {
    display: none;
    gap: 36px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 1px;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
}

.nav-cta {
    display: none;
}

/* Hamburger */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 24px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
    gap: 8px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 8px;
}

.mobile-menu a:hover {
    color: var(--primary-light);
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .nav-cta { display: inline-flex; }
    .mobile-menu-btn { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Aurora Background */
.hero-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3), transparent 70%);
    top: -15%;
    left: -10%;
    animation: auroraFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
    top: 20%;
    right: -5%;
    animation: auroraFloat2 10s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: auroraFloat3 14s ease-in-out infinite;
}

/* Grid Pattern */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 28px;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Store Badges */
.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.store-badge svg {
    flex-shrink: 0;
}

.store-badge:hover:not(.disabled) {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(13, 148, 136, 0.1);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.2);
}

.store-badge.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-text span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.badge-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 300px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(13, 148, 136, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 44px;
    padding: 8px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(13, 148, 136, 0.1);
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: 38px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #0d0d0d;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.phone-notch::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
}

/* App UI Inside Phone */
.app-ui {
    padding: 44px 14px 20px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.app-name {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
}

.app-meta {
    font-size: 0.65rem;
    color: var(--text-tertiary);
}

.premium-badge {
    margin-left: auto;
    font-size: 0.55rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #000;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.vitality-card {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(6, 78, 70, 0.1));
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.vitality-gauge {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.gauge-svg {
    width: 100%;
    height: 100%;
}

.gauge-progress {
    stroke-dasharray: 0 326.7;
    animation: gaugeAnimate 2s ease-out 1s forwards;
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.gauge-label {
    font-size: 0.5rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.vitality-info {
    flex: 1;
    min-width: 0;
}

.vitality-status {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.bio-age-label {
    font-size: 0.55rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bio-age-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1.2;
}

.bio-age-value span {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.aging-pace {
    font-size: 0.55rem;
    color: var(--primary-light);
    margin-top: 2px;
}

.quick-add-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.quick-actions {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    overflow: hidden;
}

.action-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-weight: 500;
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-section {
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.timeline-title {
    font-weight: 600;
    font-size: 0.75rem;
}

.timeline-count {
    font-size: 0.6rem;
    color: var(--text-tertiary);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.dot-blue { background: #3b82f6; }
.dot-teal { background: var(--primary); }
.dot-orange { background: var(--accent); }

.timeline-content {
    min-width: 0;
}

.timeline-head {
    font-weight: 500;
    font-size: 0.7rem;
    line-height: 1.3;
}

.timeline-sub {
    font-size: 0.55rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.01);
    padding: 60px 0;
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   FEATURES
   ============================================================ */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 72px;
}

.section-header p {
    font-size: 1.1rem;
    margin-top: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 36px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0), transparent);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.5), transparent);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.4);
    transform: scale(1.1);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 4px 12px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   AI INTELLIGENCE SECTION
   ============================================================ */
.ai-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0c1222 30%, #0c1222 70%, var(--bg-dark) 100%);
    overflow: hidden;
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ai-section .container {
    position: relative;
    z-index: 1;
}

.ai-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.ai-feature {
    text-align: center;
}

.ai-feature h4 {
    margin-top: 20px;
    font-size: 1.2rem;
}

.ai-feature > p {
    font-size: 0.9rem;
    max-width: 320px;
    margin: 0 auto;
}

.ai-anim-box {
    height: 220px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Scan Animation */
.scan-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-mockup {
    width: 90px;
    height: 115px;
    background: white;
    border-radius: 6px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.doc-header-line {
    height: 3px;
    width: 40%;
    background: #0d9488;
    border-radius: 2px;
    margin-bottom: 4px;
}

.doc-line {
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
}

.doc-line.w80 { width: 80%; }
.doc-line.w100 { width: 100%; }
.doc-line.w60 { width: 60%; }
.doc-line.w90 { width: 90%; }
.doc-line.w40 { width: 40%; }

.scan-beam {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 2px;
    background: var(--primary-light);
    box-shadow: 0 0 15px var(--primary-light), 0 0 30px rgba(16, 185, 129, 0.4);
    animation: scanBeam 2.5s ease-in-out infinite;
    z-index: 2;
}

.extracted-data {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.data-tag {
    font-size: 0.55rem;
    padding: 3px 8px;
    background: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 4px;
    color: var(--primary-light);
    white-space: nowrap;
    animation: fadeInTag 3s ease-in-out infinite;
}

.data-tag:nth-child(2) { animation-delay: 0.3s; }
.data-tag:nth-child(3) { animation-delay: 0.6s; }

/* Score Animation */
.score-animation {
    position: relative;
    width: 120px;
    height: 120px;
}

.score-ring {
    width: 100%;
    height: 100%;
}

.score-progress {
    stroke-dasharray: 0 326.7;
    transition: stroke-dasharray 2s ease-out;
}

.score-progress.animated {
    stroke-dasharray: 267.7 326.7;
}

.score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.score-label {
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Predict Animation */
.predict-animation {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 20px;
}

.notification-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    position: absolute;
    left: 16px;
    right: 16px;
    opacity: 0;
    transform: translateY(10px);
}

.notif-1 {
    top: 20%;
    animation: notifSlide 6s ease-in-out infinite;
    border-left: 2px solid var(--accent);
}

.notif-2 {
    top: 44%;
    animation: notifSlide 6s ease-in-out infinite 1.5s;
    border-left: 2px solid #ef4444;
}

.notif-3 {
    top: 68%;
    animation: notifSlide 6s ease-in-out infinite 3s;
    border-left: 2px solid var(--primary);
}

.notif-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notif-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* AI Disclaimer */
.ai-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    max-width: 700px;
    margin: 0 auto;
}

.ai-disclaimer svg {
    flex-shrink: 0;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.ai-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin: 0;
}

@media (min-width: 768px) {
    .ai-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   CARE CIRCLE
   ============================================================ */
.care-circle {
    position: relative;
    overflow: hidden;
}

.care-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.care-content h2 {
    text-align: left;
}

.care-features {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.care-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.care-features li svg {
    flex-shrink: 0;
}

/* Node Visualization */
.nodes-container {
    position: relative;
    width: 100%;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(13, 148, 136, 0.15);
}

.ring-1 {
    width: 250px;
    height: 250px;
    animation: orbitRotate 30s linear infinite;
}

.ring-2 {
    width: 160px;
    height: 160px;
    animation: orbitRotate 20s linear infinite reverse;
}

.node {
    position: absolute;
    z-index: 2;
}

.node-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--bg-card-solid);
    border: 2px solid var(--primary);
    transition: var(--transition-smooth);
}

.center-node {
    z-index: 3;
}

.center-avatar {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    border: none !important;
    font-size: 1.1rem;
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.3);
    animation: centerPulse 3s ease-in-out infinite;
}

.node-score {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

.node-label {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-top: 6px;
    font-weight: 500;
}

.satellite-node .node-avatar {
    animation: satellitePulse 4s ease-in-out infinite;
}

.pos-1 { top: 15%; left: 50%; transform: translateX(-50%); }
.pos-2 { top: 50%; right: 8%; transform: translateY(-50%); }
.pos-3 { bottom: 15%; left: 50%; transform: translateX(-50%); }
.pos-4 { top: 50%; left: 8%; transform: translateY(-50%); }

.pos-1 .node-avatar { animation-delay: 0s; }
.pos-2 .node-avatar { animation-delay: 1s; }
.pos-3 .node-avatar { animation-delay: 2s; }
.pos-4 .node-avatar { animation-delay: 3s; }

@media (min-width: 992px) {
    .care-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    background: linear-gradient(180deg, var(--bg-dark), rgba(13, 148, 136, 0.02), var(--bg-dark));
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    position: relative;
}

.step {
    text-align: center;
    max-width: 360px;
    position: relative;
}

.step-number-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.step-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(13, 148, 136, 0.2);
    animation: ringPulse 3s ease-in-out infinite;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--bg-card-solid);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-light);
}

.step-icon {
    margin-bottom: 16px;
    color: var(--primary-light);
}

.step p {
    font-size: 0.9rem;
}

.step-connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.3;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }

    .step-connector-line {
        width: 60px;
        height: 2px;
        background: linear-gradient(to right, var(--primary), transparent);
        align-self: flex-start;
        margin-top: 32px;
    }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 12px 22px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: default;
}

.cat-item:hover {
    background: rgba(13, 148, 136, 0.1);
    border-color: rgba(13, 148, 136, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cat-icon {
    font-size: 1.1rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.2), transparent 70%);
    top: -30%;
    right: -10%;
    animation: auroraFloat2 8s ease-in-out infinite;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    bottom: -30%;
    left: -10%;
    animation: auroraFloat1 10s ease-in-out infinite;
}

.cta-container {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-container h2 {
    margin-bottom: 20px;
}

.cta-container > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-buttons {
    justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #000;
    border-top: 1px solid var(--border-subtle);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-tagline {
    color: var(--text-tertiary);
    margin-top: 8px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: rgba(13, 148, 136, 0.15);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem !important;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */

/* Reveal System */
.reveal {
    opacity: 0;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
}

.slide-up {
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.active {
    transform: translateY(0);
}

.fade-in {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Phone Float */
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

/* Aurora */
@keyframes auroraFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 10px) scale(0.95); }
}

@keyframes auroraFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 15px) scale(1.08); }
    66% { transform: translate(15px, -25px) scale(0.92); }
}

@keyframes auroraFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

/* Badge Dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* Gauge */
@keyframes gaugeAnimate {
    from { stroke-dasharray: 0 326.7; }
    to { stroke-dasharray: 267.7 326.7; }
}

/* Scan Beam */
@keyframes scanBeam {
    0% { top: 15%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 85%; opacity: 0; }
}

/* Data Tags */
@keyframes fadeInTag {
    0%, 20% { opacity: 0; transform: translateX(-5px); }
    30%, 80% { opacity: 1; transform: translateX(0); }
    90%, 100% { opacity: 0; transform: translateX(5px); }
}

/* Notification Slide */
@keyframes notifSlide {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    60% { opacity: 1; transform: translateY(0); }
    75% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Orbit */
@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Center Pulse */
@keyframes centerPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(13, 148, 136, 0.2); }
    50% { box-shadow: 0 0 50px rgba(13, 148, 136, 0.4); }
}

/* Satellite Pulse */
@keyframes satellitePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(13, 148, 136, 0.1); }
    50% { box-shadow: 0 0 25px rgba(13, 148, 136, 0.3); }
}

/* Ring Pulse */
@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.2; }
}

/* ============================================================
   RESPONSIVE — Desktop
   ============================================================ */
@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 80px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-cta {
        justify-content: flex-start;
    }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 767px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .feature-card {
        padding: 28px;
    }

    .nodes-container {
        height: 300px;
    }

    .center-avatar {
        width: 64px;
        height: 64px;
    }

    .satellite-node .node-avatar {
        width: 48px;
        height: 48px;
        font-size: 0.75rem;
    }

    .care-content h2 {
        text-align: center;
    }

    .care-features {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .store-badge {
        padding: 10px 16px;
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}
