/* ============================================
   TakeCare Landing Page Styles
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-red: #E2373B;
    --primary-red-dark: #C62F33;
    --primary-red-light: #FF5A5F;
    
    /* Neutral Colors */
    --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;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.mockup-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.feature-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
    padding: var(--spacing-2xl) 0;
    background-color: var(--gray-50);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.step-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   Screenshots
   ============================================ */

.screenshots {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

.screenshot-caption {
    margin-top: var(--spacing-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: var(--spacing-2xl) 0;
    background-color: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background-color: var(--white);
    border-radius: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.highlight svg {
    color: var(--success);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ============================================
   Download Section
   ============================================ */

.download {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
    color: var(--white);
    text-align: center;
}

.download .section-title {
    color: var(--white);
}

.download .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.download-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-lg);
}

.store-button {
    display: inline-block;
    /* Force a consistent visual height for the badge container so different
       SVG viewBox/padding won't make one badge appear taller. The image
       will fill this height while preserving aspect ratio. */
    height: 56px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: translateY(-5px);
}

.store-button img {
    /* Make the image fill the container height and preserve aspect ratio */
    height: 100%;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

.download-version {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ============================================
   Vision Section
   ============================================ */

.vision {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 50%, #F0F9FF 100%);
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(226, 55, 59, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.vision::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B6B 100%);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(226, 55, 59, 0.3);
    animation: fadeInDown 0.6s ease-out;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.vision-text .section-title {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    animation: fadeInLeft 0.8s ease-out;
}

.vision-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xl);
    animation: fadeInLeft 1s ease-out;
}

.vision-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.vision-stat {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    padding: var(--spacing-lg);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 55, 59, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    overflow: hidden;
}

.vision-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, #FF6B6B 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.vision-stat:hover::before {
    transform: scaleX(1);
}

.vision-stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(226, 55, 59, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.stat-description {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.vision-pillars {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInRight 1s ease-out;
    position: relative;
}

.pillars-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.pillars-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, #FF6B6B 100%);
    border-radius: 2px;
}

.pillar {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pillar:hover {
    background-color: rgba(226, 55, 59, 0.03);
    transform: translateX(8px);
}

.pillar:last-child {
    margin-bottom: 0;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    display: inline-block;
    transition: transform 0.3s ease;
}

.pillar:hover .pillar-icon {
    transform: scale(1.2) rotate(5deg);
}

.pillar h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.pillar p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   Why TakeCare Section
   ============================================ */

.why-takecare {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.comparison-card {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.comparison-card:hover::before {
    left: 100%;
}

.comparison-card.highlight {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 50%, #FFF0F0 100%);
    border: 2px solid var(--primary-red);
    box-shadow: 0 20px 60px rgba(226, 55, 59, 0.25);
    transform: scale(1.05) translateY(-10px);
    z-index: 10;
}

.comparison-card.highlight::after {
    content: '⭐ RECOMMENDED';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--gray-900);
    padding: 0.4rem 3rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--gray-300);
}

.comparison-card.highlight .comparison-header {
    border-bottom: 2px solid var(--primary-red);
}

.comparison-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
}

.comparison-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-badge.bad {
    background: linear-gradient(135deg, #9CA3AF 0%, #6B7280 100%);
    color: var(--white);
}

.comparison-badge.good {
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B6B 100%);
    color: var(--white);
}

.comparison-list {
    list-style: none;
}

.comparison-item {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: slideInRight 0.6s ease-out;
    animation-fill-mode: both;
}

.comparison-item:nth-child(1) { animation-delay: 0.1s; }
.comparison-item:nth-child(2) { animation-delay: 0.2s; }
.comparison-item:nth-child(3) { animation-delay: 0.3s; }
.comparison-item:nth-child(4) { animation-delay: 0.4s; }
.comparison-item:nth-child(5) { animation-delay: 0.5s; }
.comparison-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.comparison-item.positive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--gray-900);
    border-left: 4px solid var(--success);
}

.comparison-item.positive:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.1) 100%);
    transform: translateX(8px);
}

.comparison-item.negative {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(107, 114, 128, 0.05) 100%);
    color: var(--gray-600);
    border-left: 4px solid var(--gray-400);
    opacity: 0.8;
}

.comparison-item.negative:hover {
    opacity: 1;
}

/* ============================================
   Roadmap Section
   ============================================ */

.roadmap {
    padding: var(--spacing-2xl) 0 4rem;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F0F9FF 100%);
    position: relative;
    overflow: hidden;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(226, 55, 59, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.timeline {
    position: relative;
    padding: 2rem 0 2rem 3rem;
    margin-top: var(--spacing-xl);
}

/* Animated curved path */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(180deg, 
        var(--success) 0%,
        var(--success) 20%,
        var(--primary-red) 30%,
        var(--primary-red) 50%,
        var(--gray-300) 60%,
        var(--gray-200) 100%
    );
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(226, 55, 59, 0.3);
}

/* Flowing animation on the path */
.timeline::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 10px;
    animation: flowDown 3s infinite ease-in-out;
}

@keyframes flowDown {
    0% {
        top: 40px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: calc(100% - 140px);
        opacity: 0;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Enhanced markers with rings */
.timeline-marker {
    position: absolute;
    left: 6px;
    top: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--gray-300);
    box-shadow: 0 0 0 6px var(--white), 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.completed .timeline-marker {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-color: var(--success);
    box-shadow: 0 0 0 6px var(--white), 0 0 20px rgba(16, 185, 129, 0.4), 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item.completed .timeline-marker::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
}

.timeline-item.active .timeline-marker {
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B6B 100%);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 6px var(--white), 0 0 30px rgba(226, 55, 59, 0.6), 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: pulse-marker 2s infinite;
}

.timeline-item.active .timeline-marker::after {
    content: '🚀';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

@keyframes pulse-marker {
    0%, 100% {
        box-shadow: 0 0 0 6px var(--white), 0 0 0 12px rgba(226, 55, 59, 0.4), 0 0 30px rgba(226, 55, 59, 0.6);
    }
    50% {
        box-shadow: 0 0 0 6px var(--white), 0 0 0 18px rgba(226, 55, 59, 0.2), 0 0 40px rgba(226, 55, 59, 0.4);
    }
}

.timeline-item.upcoming .timeline-marker {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-color: var(--gray-400);
    box-shadow: 0 0 0 6px var(--white), 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.3);
}

/* Beautiful content cards */
.timeline-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--gray-300) 0%, var(--gray-200) 100%);
}

.timeline-item.completed .timeline-content::before {
    background: linear-gradient(180deg, var(--success) 0%, #059669 100%);
}

.timeline-item.active .timeline-content {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    border: 2px solid var(--primary-red);
    box-shadow: 0 20px 60px rgba(226, 55, 59, 0.15);
    transform: translateX(8px);
}

.timeline-item.active .timeline-content::before {
    background: linear-gradient(180deg, var(--primary-red) 0%, #FF6B6B 100%);
    width: 8px;
    animation: slideDown 2s infinite ease-in-out;
}

@keyframes slideDown {
    0%, 100% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

.timeline-item.upcoming .timeline-content {
    opacity: 0.85;
}

.timeline-content:hover {
    transform: translateY(-8px) translateX(4px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-md);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.timeline-status {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.completed-badge {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--white);
}

.active-badge {
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B6B 100%);
    color: var(--white);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(226, 55, 59, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(226, 55, 59, 0.5);
    }
}

.upcoming-badge {
    background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-400) 100%);
    color: var(--gray-800);
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.timeline-features {
    list-style: none;
    padding-left: 0;
}

.timeline-features li {
    padding: var(--spacing-sm) 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    transition: all 0.3s ease;
}

.timeline-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: 900;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.timeline-features li:hover {
    color: var(--primary-red);
    padding-left: 2.5rem;
}

.timeline-features li:hover::before {
    transform: translateX(5px);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #FFFFFF 100%);
    position: relative;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.faq-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    padding: var(--spacing-xl);
    border-radius: 16px;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.faq-item::before {
    content: '?';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF6B6B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.faq-item:hover {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    box-shadow: 0 15px 50px rgba(226, 55, 59, 0.15);
    transform: translateY(-8px) translateX(8px);
    border-left-width: 8px;
}

.faq-item:hover::before {
    transform: scale(1.2) rotate(10deg);
    color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-right: 2rem;
}

.faq-question::after {
    content: '❯';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--primary-red);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question::after {
    transform: translateX(5px);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ============================================
   Support Section
   ============================================ */

.support {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.support-card {
    background-color: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.support-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.support-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-sm);
}

.support-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: var(--primary-red-dark);
    text-decoration: underline;
}

/* ============================================
   Legal Section
   ============================================ */

.legal-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--gray-50);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.legal-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.legal-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.legal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.legal-description {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    margin-top: var(--spacing-sm);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-list a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-md);
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.medical-disclaimer {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .support-grid,
    .legal-grid,
    .screenshots-carousel {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Mobile: slightly smaller badge container, keep images filling the container */
    .store-button {
        height: 50px;
    }

    .store-button img {
        height: 100%;
        width: auto;
        max-width: 150px;
        display: block;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .vision-stats {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-card.highlight {
        transform: scale(1);
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Global Animations
   ============================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add parallax effect on scroll */
.section-header {
    animation: fadeInUp 0.8s ease-out;
}

/* Stagger animation for feature cards */
.feature-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
.feature-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.feature-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
.feature-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }
.feature-card:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s both; }
.feature-card:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s both; }
.feature-card:nth-child(7) { animation: fadeInUp 0.6s ease-out 0.7s both; }
.feature-card:nth-child(8) { animation: fadeInUp 0.6s ease-out 0.8s both; }
.feature-card:nth-child(9) { animation: fadeInUp 0.6s ease-out 0.9s both; }

/* ============================================
   Advanced Micro-Animations
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red) 0%, #FF6B6B 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(226, 55, 59, 0.5);
}

/* Custom Cursor (Desktop Only) */
.custom-cursor {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-red);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    mix-blend-mode: difference;
    transition: transform 0.3s ease;
}

.custom-cursor.cursor-hover {
    transform: scale(0.5);
}

.cursor-follower.cursor-hover {
    transform: scale(1.5);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(226, 55, 59, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animate-in Classes */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card,
.step,
.screenshot-item,
.faq-item,
.vision-stat,
.pillar,
.timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.feature-card.animate-in,
.step.animate-in,
.screenshot-item.animate-in,
.faq-item.animate-in,
.vision-stat.animate-in,
.pillar.animate-in,
.timeline-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
.navbar {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Tilt Effect Preparation */
.feature-card,
.comparison-card,
.vision-stat {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

/* Button Magnetic Effect */
.btn,
.store-button {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Glow Effect on Hover */
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(226, 55, 59, 0.5), 0 10px 30px rgba(226, 55, 59, 0.3);
}

.store-button:hover img {
    filter: drop-shadow(0 4px 20px rgba(226, 55, 59, 0.3));
}

/* Particle Background Animation */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(-10px) translateX(-10px);
    }
}

/* Section Label Animation */
.section-label {
    animation: fadeInDown 0.6s ease-out, pulse-subtle 3s ease-in-out infinite 2s;
}

@keyframes pulse-subtle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Timeline Path Glow */
.timeline::before {
    animation: path-glow 3s ease-in-out infinite;
}

@keyframes path-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(226, 55, 59, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(226, 55, 59, 0.5);
    }
}

/* Card Lift on Scroll */
.feature-card:hover,
.faq-item:hover {
    animation: card-lift 0.4s ease-out forwards;
}

@keyframes card-lift {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Gradient Text Animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(270deg, var(--primary-red), #FF6B6B, var(--primary-red));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

/* Smooth Image Loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

img.loaded {
    opacity: 1;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s ease-in-out infinite;
}

@keyframes loading-skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Perspective Hover Effect */
.perspective-card {
    perspective: 1000px;
}

.perspective-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* Bounce Animation for CTA Buttons */
@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.btn-primary {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
}

/* Text Reveal Animation */
@keyframes text-reveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.text-reveal {
    animation: text-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), #F59E0B);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(226, 55, 59, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(226, 55, 59, 0.5);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* Reduce animation complexity on mobile */
    .feature-card,
    .comparison-card,
    .vision-stat {
        transform: none !important;
    }
}