/* Modern Material UI Design System - Parafunnel Landing Page */

/* ============================================
   CSS VARIABLES - DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Brand Colors - Teal/Cyan (Modern SaaS) */
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-300: #5eead4;
    --primary-400: #2dd4bf;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;

    /* Accent Colors */
    --accent-purple: #8b5cf6;
    --accent-orange: #f97316;
    --accent-blue: #3b82f6;

    /* Neutrals */
    --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 - Material Design Elevation */
    --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);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-50) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-700);
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-600);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-600);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white !important;
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    box-shadow: 0 6px 20px 0 rgba(13, 148, 136, 0.35);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.error {
    background: linear-gradient(135deg, var(--error), #dc2626);
}

.btn-secondary {
    background: white;
    color: var(--primary-700);
    border: 2px solid var(--primary-600);
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-700);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-primary-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-primary-nav {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600 !important;
    color: white !important;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 50%, var(--primary-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-900) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-badge {
    color: var(--gray-500);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Dashboard Demo */
.dashboard-demo {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

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

.demo-card.healthy {
    border-left: 4px solid var(--success);
}

.demo-card.warning {
    border-left: 4px solid var(--warning);
}

.demo-card.critical {
    border-left: 4px solid var(--error);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.site-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
}

.status-badge {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.status-healthy {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-critical {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.problem-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.problem-card:hover {
    background: white;
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--primary-200);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.problem-card h3 {
    font-size: 1.375rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.problem-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.6;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
    border-color: var(--primary-300);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
    color: var(--primary-700);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.375rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.feature-highlight {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 2rem 0 4rem 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-300), var(--primary-400), var(--primary-300));
    z-index: 0;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary-600);
    color: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}


.step h3 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

/* Pricing Section */
.pricing {
    padding-top: 2rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.pricing-comparison {
    margin-top: 4rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: box-shadow var(--transition-slow);
}

.comparison-table:hover {
    box-shadow: var(--shadow-2xl);
}

.comparison-table thead {
    background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
    color: var(--gray-700);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none;
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.125rem;
    border-bottom: 2px solid var(--gray-200);
    padding: 2rem 1.5rem;
}

.comparison-table th:first-child {
    border-top-left-radius: var(--radius-2xl);
}

.comparison-table th:last-child {
    border-top-right-radius: var(--radius-2xl);
}

.comparison-table th.highlight-col {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    position: relative;
    font-size: 1.5rem;
    color: white;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid var(--primary-800);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
    transform: scale(1.02);
    z-index: 10;
}

.comparison-table th.highlight-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.comparison-table th.highlight-col::after {
    content: '⭐ Best Value';
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.95;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.comparison-table tbody tr:hover {
    background: linear-gradient(90deg, transparent, var(--gray-50), transparent);
}

.comparison-table tbody tr:hover td {
    transform: translateY(-2px);
}

.comparison-table tbody tr:hover .highlight-col {
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    transform: translateY(-2px) scale(1.02);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-2xl);
}

.comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-2xl);
}

.highlight-col {
    background: linear-gradient(180deg, var(--primary-50), var(--primary-100));
    font-weight: 700;
    color: var(--gray-900);
    border-left: 3px solid var(--primary-400);
    border-right: 3px solid var(--primary-400);
    position: relative;
    font-size: 1.125rem;
    box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.1);
}

.comparison-table tbody tr:last-child .highlight-col {
    border-bottom: 3px solid var(--primary-400);
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.tier {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tier:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-400);
}

.tier-popular {
    border-color: var(--primary-600);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.tier-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8125rem;
    box-shadow: var(--shadow-lg);
}

.tier h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.price {
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-700);
    line-height: 1;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tier:last-child .price .amount {
    font-size: 2.5rem;
}

.price .period {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: var(--success);
    font-size: 1.125rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial:hover {
    background: white;
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.quote {
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    flex-grow: 1;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-300);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    font-family: Georgia, serif;
}

.author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 700;
    color: var(--gray-900);
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Checkout Section */
.checkout {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.checkout-header {
    text-align: center;
    margin-bottom: 4rem;
}

.early-access-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-orange));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.checkout-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.order-summary {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    height: fit-content;
    position: static;
}

.development-notice-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-50);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-600);
    margin-bottom: 1.5rem;
}

.development-notice-compact i {
    color: var(--primary-600);
    font-size: 1.5rem;
}

.development-notice-compact strong {
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.25rem;
}

.development-notice-compact p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
}

.early-access-offer {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.early-access-offer h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.early-access-offer p {
    margin: 0;
    font-size: 0.9375rem;
}

.selected-plan {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.plan-details {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.pricing-breakdown {
    margin-bottom: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.price-row:last-child {
    border-bottom: none;
}

.original-price {
    color: var(--gray-500);
    text-decoration: line-through;
}

.discount-row {
    color: var(--success);
}

.total-row {
    font-size: 1.125rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--gray-300);
}

.final-price {
    color: var(--primary-700);
    font-weight: 700;
}

.checkout-form-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.checkout-form h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group label i {
    color: var(--primary-600);
    margin-right: 0.5rem;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--gray-50);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-600);
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-600);
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9375rem;
}

.checkbox-group a {
    color: var(--primary-600);
    text-decoration: underline;
}

.form-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.benefits-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    grid-column: 1 / -1;
    margin-top: 3rem;
}

.benefits-single-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.benefits-single-card h4 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-single-card h4 i {
    color: var(--primary-600);
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.benefit-item i {
    color: var(--success);
    font-size: 1rem;
}

/* Success Section */
.success-section {
    padding: 6rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.success-content h1 {
    font-size: 3rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 800;
}

.success-message-text {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.success-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.success-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: left;
    border: 1px solid var(--gray-200);
}

.success-card h2 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-card h2 i {
    color: var(--primary-600);
}

.success-card h4 {
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.success-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.success-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.success-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.success-benefits i {
    color: var(--success);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Legal Content */
.legal-content {
    padding: 6rem 0;
    background: white;
    min-height: 60vh;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--gray-700);
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--primary-600);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-700);
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
    text-align: center;
}

.legal-footer p {
    margin-bottom: 1.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cookie-table thead {
    background: var(--gray-100);
}

.cookie-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--gray-900);
    border-bottom: 2px solid var(--gray-300);
}

.cookie-table td {
    padding: 0.875rem 1rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: var(--gray-50);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.faq-item:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.faq-item h3 {
    color: var(--primary-700);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 1rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-500);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem;
    border-top: 3px solid var(--primary-600);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.cookie-banner-text p:first-child {
    margin-bottom: 0.5rem;
}

.cookie-banner-text strong {
    color: var(--gray-900);
    font-size: 1.0625rem;
}

.cookie-banner-text a {
    color: var(--primary-600);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    color: var(--primary-700);
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-text {
    background: none;
    border: none;
    color: var(--gray-600);
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    transition: color var(--transition-base);
    font-size: 0.9375rem;
}

.btn-text:hover {
    color: var(--gray-900);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-grid,
    .problem-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-tiers {
        grid-template-columns: repeat(2, 1fr);
    }

    .tier-popular {
        transform: scale(1);
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .success-details {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps::before {
        display: none;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-xl);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height var(--transition-slow), opacity var(--transition-slow), padding var(--transition-slow);
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links.active {
        max-height: 400px;
        padding: 1.5rem;
        opacity: 1;
    }

    .nav-links a:not(.btn) {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a:not(.btn):last-of-type {
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 0.5rem;
        border-bottom: none;
    }

    /* Typography */
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    /* Grids */
    .features-grid,
    .problem-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards */
    .feature,
    .problem-card,
    .testimonial,
    .faq-item {
        padding: 2rem 1.5rem;
    }

    /* Pricing */
    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Checkout */
    .benefits-cards-grid {
        grid-template-columns: 1fr;
    }

    .checkout-form-container,
    .order-summary {
        padding: 2rem 1.5rem;
    }

    /* Success */
    .success-content h1 {
        font-size: 2.5rem;
    }

    .success-message-text {
        font-size: 1.125rem;
    }

    /* Floating CTA - hide on mobile */
    .floating-cta {
        display: none;
    }

    /* Cookie Banner */
    .cookie-banner {
        padding: 1.25rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-banner-actions .btn {
        width: 100%;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-content {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    /* Hero */
    .hero {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        gap: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn-primary-small {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 2.5rem;
    }

    /* Dashboard Demo */
    .dashboard-demo {
        padding: 1.25rem;
        gap: 1rem;
    }

    .demo-card {
        padding: 1.25rem;
    }

    .card-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .metric-value {
        font-size: 1.125rem;
    }

    /* Cards */
    .feature,
    .problem-card,
    .testimonial,
    .faq-item {
        padding: 1.5rem 1.25rem;
    }

    .problem-icon,
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature h3,
    .problem-card h3 {
        font-size: 1.125rem;
    }

    .feature p,
    .problem-card p,
    .testimonial .quote {
        font-size: 0.875rem;
    }

    /* Steps */
    .step-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .step h3 {
        font-size: 1rem;
    }

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

    /* Pricing */
    .comparison-table {
        font-size: 0.8125rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    .tier {
        padding: 2rem 1.5rem;
    }

    .tier h3 {
        font-size: 1.25rem;
    }

    .price .amount {
        font-size: 3rem;
    }

    /* Checkout */
    .checkout {
        padding: 4rem 0;
    }

    .checkout-header {
        margin-bottom: 2.5rem;
    }

    .early-access-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .checkout-form-container,
    .order-summary {
        padding: 1.5rem 1.25rem;
    }

    .form-group input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    .benefits-single-card {
        padding: 1.5rem 1.25rem;
    }

    /* Success */
    .success-section {
        padding: 4rem 0;
    }

    .success-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .success-content h1 {
        font-size: 2rem;
    }

    .success-message-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .success-card {
        padding: 1.5rem 1.25rem;
    }

    .success-card h2 {
        font-size: 1.125rem;
    }

    /* FAQ */
    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.875rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    .success-content h1 {
        font-size: 1.75rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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