/* TrainCraft Landing Page - Using App Design System */

/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tailwind CSS Zinc Color Palette - Dark Theme */
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;
    --radius: 0.5rem;

    /* Extended palette for landing */
    --emerald-50: 236 253 245;
    --emerald-100: 209 250 229;
    --emerald-200: 167 243 208;
    --emerald-300: 110 231 183;
    --emerald-400: 52 211 153;
    --emerald-500: 16 185 129;
    --emerald-600: 5 150 105;
    --emerald-700: 4 120 87;
    --emerald-800: 6 95 70;
    --emerald-900: 6 78 59;

    --zinc-50: 250 250 250;
    --zinc-100: 244 244 245;
    --zinc-200: 228 228 231;
    --zinc-300: 212 212 216;
    --zinc-400: 161 161 170;
    --zinc-500: 113 113 122;
    --zinc-600: 82 82 91;
    --zinc-700: 63 63 70;
    --zinc-800: 39 39 42;
    --zinc-900: 24 24 27;
    --zinc-950: 9 9 11;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius-2xl: calc(var(--radius) + 8px);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container,
.nav-container,
.hero-container,
.features-container,
.how-it-works-container,
.pricing-container,
.cta-container,
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 640px) {

    .container,
    .nav-container,
    .hero-container,
    .features-container,
    .how-it-works-container,
    .pricing-container,
    .cta-container,
    .footer-container {
        padding: 0 var(--space-8);
    }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: hsl(var(--foreground));
    text-decoration: none;
}

.logo svg {
    color: hsl(var(--primary));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--foreground));
}

/* Buttons - Using App Design System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: inherit;
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border-color: hsl(var(--border));
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: hsl(var(--secondary) / 0.8);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Focus styles */
.btn:focus,
.nav-link:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding: var(--space-24) 0 var(--space-32);
    background: linear-gradient(135deg, hsl(240 10% 3.9%) 0%, hsl(240 10% 3.9%) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.1) 0%, hsl(280 65% 60% / 0.1) 50%, hsl(340 75% 55% / 0.1) 100%);
    opacity: 0.8;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.2), hsl(280 65% 60% / 0.2));
    color: hsl(220 70% 50%);
    border: 1px solid hsl(220 70% 50% / 0.3);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.1;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, hsl(0 0% 98%), hsl(220 70% 50%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }
}

.gradient-text {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--muted-foreground)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-xl);
    color: hsl(var(--muted-foreground));
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 400px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    padding: var(--space-4);
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.8), hsl(240 10% 3.9% / 0.9));
    border: 1px solid hsl(240 3.7% 15.9% / 0.5);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: hsl(220 70% 50%);
    margin-bottom: var(--space-1);
}


/* Hero Visual - Real Workout Builder */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.workout-builder-preview {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    font-family: var(--font-family);
}

.builder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    background: hsl(var(--muted));
    border-bottom: 1px solid hsl(var(--border));
}

.builder-title h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: hsl(var(--card-foreground));
    margin-bottom: var(--space-1);
}

.builder-title p {
    font-size: var(--font-size-sm);
    color: hsl(var(--muted-foreground));
}

.builder-ftp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.ftp-label {
    font-size: var(--font-size-xs);
    color: hsl(var(--muted-foreground));
}

.ftp-value {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: hsl(var(--card-foreground));
}

.builder-content {
    display: flex;
    height: 350px;
}

.intervals-panel {
    width: 280px;
    padding: var(--space-4);
    border-right: 1px solid hsl(var(--border));
    background: hsl(var(--muted));
    overflow-y: auto;
}

.intervals-panel {
    width: 280px;
    padding: var(--space-4);
    border-right: 1px solid hsl(var(--border));
    background: hsl(var(--muted));
    overflow-y: auto;
}

.graph-panel {
    flex: 1;
    padding: var(--space-6);
    background: hsl(var(--background));
    display: flex;
    flex-direction: column;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.graph-header h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: hsl(var(--card-foreground));
}

.graph-stats {
    display: flex;
    gap: var(--space-3);
}

.graph-stats .stat {
    font-size: 10px !important;
    color: hsl(var(--muted-foreground)) !important;
    font-weight: 400 !important;
    text-align: left !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
}

.graph-container {
    flex: 1;
    display: flex;
    position: relative;
    background: hsl(240 10% 3.9%);
    border-radius: var(--radius-lg);
    border: 1px solid hsl(var(--border));
    padding: var(--space-4);
}

.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    margin-right: var(--space-3);
    height: 100%;
}

.y-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-align: right;
}

.graph-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.power-blocks {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 150px;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid hsl(var(--border));
}

.power-block {
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.power-block.warmup {
    background: linear-gradient(135deg, hsl(160 60% 45% / 0.9) 0%, hsl(160 60% 45%) 50%, hsl(160 60% 45% / 0.8) 100%);
}

.power-block.sweet-spot {
    background: linear-gradient(135deg, hsl(30 80% 55% / 0.9) 0%, hsl(30 80% 55%) 50%, hsl(30 80% 55% / 0.8) 100%);
}

.power-block.cooldown {
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.9) 0%, hsl(220 70% 50%) 50%, hsl(220 70% 50% / 0.8) 100%);
}

.x-axis {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.intervals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.intervals-header h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: hsl(var(--card-foreground));
}

.add-button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-button:hover {
    background: hsl(var(--border));
}

.intervals-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.interval-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    background: hsl(var(--card));
    border-radius: var(--radius-md);
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.interval-item:hover {
    border-color: hsl(var(--primary) / 0.3);
    background: hsl(var(--muted));
}

.interval-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
}

.interval-label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: hsl(var(--card-foreground));
}

.interval-duration {
    font-size: var(--font-size-xs);
    color: hsl(var(--muted-foreground));
}

.interval-power {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.power-percent {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: hsl(var(--card-foreground));
}

.power-watts {
    font-size: var(--font-size-xs);
    color: hsl(var(--muted-foreground));
}

.interval-zone {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-align: center;
    min-width: 60px;
}

.zone-1 {
    background: hsl(220 70% 50% / 0.2);
    color: hsl(220 70% 50%);
    border: 1px solid hsl(220 70% 50% / 0.3);
}

.zone-2 {
    background: hsl(160 60% 45% / 0.2);
    color: hsl(160 60% 45%);
    border: 1px solid hsl(160 60% 45% / 0.3);
}

.zone-4 {
    background: hsl(30 80% 55% / 0.2);
    color: hsl(30 80% 55%);
    border: 1px solid hsl(30 80% 55% / 0.3);
}


/* Section Styles */
.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-xl);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-4);
    text-align: center;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: var(--font-size-5xl);
    }
}

.section-description {
    font-size: var(--font-size-xl);
    color: hsl(var(--muted-foreground));
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-16);
}

/* Features Section */
.features {
    padding: var(--space-32) 0 !important;
    background: linear-gradient(135deg, hsl(240 10% 3.9%) 0%, hsl(240 3.7% 15.9% / 0.2) 50%, hsl(240 10% 3.9%) 100%) !important;
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

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

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

.feature-card {
    padding: var(--space-8) !important;
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8)) !important;
    border: 1px solid hsl(240 3.7% 15.9% / 0.3) !important;
    border-radius: var(--radius-2xl) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: hsl(220 70% 50% / 0.5);
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.7), hsl(240 10% 3.9% / 0.9));
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.2), hsl(280 65% 60% / 0.2));
    color: hsl(220 70% 50%);
    border: 1px solid hsl(220 70% 50% / 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: hsl(var(--card-foreground));
    margin-bottom: var(--space-4);
}

.feature-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-32) 0;
    background: hsl(var(--muted));
}

.how-it-works-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

.step {
    text-align: center;
    position: relative;
}

@media (min-width: 1024px) {
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 32px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: hsl(var(--border));
        z-index: 1;
    }
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-4);
}

.step-content p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* Pricing Section */
.pricing-preview {
    padding: var(--space-32) 0;
    background: linear-gradient(135deg, hsl(240 10% 3.9%) 0%, hsl(240 3.7% 15.9% / 0.3) 50%, hsl(240 10% 3.9%) 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-20);
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

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

.pricing-card {
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: hsl(220 70% 50% / 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.1), hsl(280 65% 60% / 0.1));
    border: 2px solid hsl(220 70% 50% / 0.5);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(220 70% 50%), hsl(280 65% 60%));
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.pricing-card-header {
    padding: var(--space-8) var(--space-8) var(--space-6);
    text-align: center;
}

.pricing-card-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: hsl(var(--card-foreground));
    margin-bottom: var(--space-4);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-2);
}

.price-amount {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: hsl(var(--card-foreground));
}

.price-period {
    font-size: var(--font-size-lg);
    color: hsl(var(--muted-foreground));
}

.pricing-card-content {
    padding: 0 var(--space-8) var(--space-8);
}

.features-list {
    list-style: none;
    margin-bottom: var(--space-8);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: hsl(var(--muted-foreground));
}

.features-list svg {
    color: hsl(var(--primary));
    flex-shrink: 0;
}

/* CTA Final Section */
.cta-final {
    padding: var(--space-32) 0;
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.1) 0%, hsl(280 65% 60% / 0.1) 50%, hsl(340 75% 55% / 0.1) 100%);
    color: hsl(var(--foreground));
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.05) 0%, hsl(280 65% 60% / 0.05) 50%, hsl(340 75% 55% / 0.05) 100%);
    opacity: 0.8;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
}

@media (min-width: 1024px) {
    .cta-content h2 {
        font-size: var(--font-size-5xl);
    }
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
    }
}

.cta-final .btn-primary {
    background: linear-gradient(135deg, hsl(220 70% 50%), hsl(280 65% 60%));
    color: hsl(0 0% 98%);
    border: none;
}

.cta-final .btn-primary:hover {
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.9), hsl(280 65% 60% / 0.9));
    transform: translateY(-1px);
}

.cta-final .btn-secondary {
    background: linear-gradient(135deg, hsl(280 65% 60% / 0.1), hsl(220 70% 50% / 0.1));
    color: hsl(0 0% 98%);
    border: 1px solid hsl(220 70% 50% / 0.3);
}

.cta-final .btn-secondary:hover {
    background: linear-gradient(135deg, hsl(280 65% 60% / 0.2), hsl(220 70% 50% / 0.2));
    border-color: hsl(220 70% 50% / 0.5);
}

/* Footer */
.footer {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    padding: var(--space-20) 0 var(--space-8);
    border-top: 1px solid hsl(var(--border));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--space-8);
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    color: hsl(var(--foreground));
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

.footer-column h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

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

.footer-column li {
    margin-bottom: var(--space-3);
}

.footer-column a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid hsl(var(--border));
    text-align: center;
    color: hsl(var(--muted-foreground));
}

/* App-style Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.hero-content,
.hero-visual,
.feature-card,
.step,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge {
    animation: fadeIn 0.8s ease-out;
}

/* Stagger animation for grid items */
.features-grid>* {
    animation: fadeInUp 0.4s ease-out backwards;
}

.features-grid>*:nth-child(1) {
    animation-delay: 0.05s;
}

.features-grid>*:nth-child(2) {
    animation-delay: 0.1s;
}

.features-grid>*:nth-child(3) {
    animation-delay: 0.15s;
}

.features-grid>*:nth-child(4) {
    animation-delay: 0.2s;
}

.features-grid>*:nth-child(5) {
    animation-delay: 0.25s;
}

.features-grid>*:nth-child(6) {
    animation-delay: 0.3s;
}

.features-grid>*:nth-child(n+7) {
    animation-delay: 0.35s;
}

/* Responsive Design */
@media (max-width: 640px) {
    .nav-menu {
        gap: var(--space-4);
    }

    .nav-link {
        display: none;
    }

    .hero {
        padding: var(--space-16) 0 var(--space-20);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-description {
        font-size: var(--font-size-lg);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .section-description {
        font-size: var(--font-size-lg);
    }

    .features,
    .how-it-works,
    .pricing-preview,
    .cta-final {
        padding: var(--space-20) 0;
    }

    .pricing-card.featured {
        transform: none;
    }

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

/* Print styles */
@media print {

    .navbar,
    .cta-final,
    .footer {
        display: none;
    }

    .hero {
        background: none;
        padding: var(--space-8) 0;
    }

    .hero-title {
        color: hsl(var(--foreground));
    }
}

/* Page Header */
.page-header {
    padding: var(--space-24) 0 var(--space-16);
    background: linear-gradient(135deg, hsl(240 10% 3.9%) 0%, hsl(240 3.7% 15.9% / 0.3) 50%, hsl(240 10% 3.9%) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, hsl(0 0% 98%), hsl(220 70% 50%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: var(--font-size-lg);
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: var(--space-20) 0;
    background: hsl(var(--background));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-20);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2,
.contact-form-container h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-8);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-6);
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.contact-method h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-2);
}

.contact-method p {
    color: hsl(var(--muted-foreground));
    margin-bottom: var(--space-2);
}

.contact-method a {
    color: hsl(220 70% 50%);
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
    color: hsl(220 70% 60%);
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: hsl(var(--foreground));
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-3) var(--space-4);
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    color: hsl(var(--foreground));
    font-size: var(--font-size-base);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(220 70% 50%);
    box-shadow: 0 0 0 3px hsl(220 70% 50% / 0.1);
}

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

.btn-full {
    width: 100%;
}

.form-note {
    font-size: var(--font-size-sm);
    color: hsl(var(--muted-foreground));
    text-align: center;
    margin-top: var(--space-2);
}

/* Support Info */
.support-info {
    text-align: center;
    margin-top: var(--space-20);
}

.support-info h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-8);
}

.support-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

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

.support-card {
    padding: var(--space-6);
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.support-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-3);
}

.support-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.support-card a {
    color: hsl(220 70% 50%);
    text-decoration: none;
}

.support-card a:hover {
    text-decoration: underline;
    color: hsl(220 70% 60%);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-20) 0;
    background: hsl(var(--background));
}

.pricing-cards-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

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

.pricing-card-detail {
    padding: var(--space-8);
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pricing-card-detail:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: hsl(220 70% 50% / 0.3);
}

.pricing-card-detail.featured {
    border: 2px solid hsl(220 70% 50% / 0.5);
    background: linear-gradient(135deg, hsl(220 70% 50% / 0.1), hsl(280 65% 60% / 0.1));
}

.pricing-card-detail.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, hsl(220 70% 50%), hsl(280 65% 60%));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, hsl(220 70% 50%), hsl(280 65% 60%));
    color: hsl(0 0% 98%);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-card-detail h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-4);
}

.price {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: hsl(220 70% 50%);
    margin-bottom: var(--space-4);
}

.price span {
    font-size: var(--font-size-lg);
    color: hsl(var(--muted-foreground));
    font-weight: 400;
}

.plan-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.features-list-detailed {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-8);
}

.features-list-detailed li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: hsl(var(--muted-foreground));
}

.check {
    color: hsl(160 60% 45%);
    font-weight: 600;
}

.cross {
    color: hsl(0 62.8% 30.6%);
    font-weight: 600;
}

.pricing-info {
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(10px);
}

.pricing-info h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-4);
}

.pricing-info ul {
    list-style: none;
    color: hsl(var(--muted-foreground));
}

.pricing-info li {
    padding: var(--space-2) 0;
    position: relative;
    padding-left: var(--space-6);
}

.pricing-info li::before {
    content: '•';
    color: hsl(220 70% 50%);
    position: absolute;
    left: 0;
}

.pricing-info a {
    color: hsl(220 70% 50%);
    text-decoration: none;
}

.pricing-info a:hover {
    text-decoration: underline;
    color: hsl(220 70% 60%);
}

/* FAQ */
.faq {
    margin-top: var(--space-16);
}

.faq h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    text-align: center;
    margin-bottom: var(--space-8);
}

.faq-item {
    background: linear-gradient(135deg, hsl(240 3.7% 15.9% / 0.5), hsl(240 10% 3.9% / 0.8));
    border: 1px solid hsl(240 3.7% 15.9% / 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
}

.faq-item h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: var(--space-3);
}

.faq-item p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}