/* ===========================
   ClinicDiary Marketing Site
   Modern Design System
   =========================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-600: #2563eb;
    --primary-500: #3b82f6;
    --primary-400: #60a5fa;
    --primary-100: #dbeafe;
    
    --secondary-600: #059669;
    --secondary-500: #10b981;
    --secondary-400: #34d399;
    --secondary-100: #d1fae5;
    
    --purple-500: #8b5cf6;
    --purple-100: #ede9fe;
    
    --orange-500: #f97316;
    --orange-100: #ffedd5;
    
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    --white: #ffffff;
    --black: #000000;
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #7c3aed 100%);
    --gradient-text: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* 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;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* 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);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    color: var(--gray-900);
}

.logo-accent {
    color: var(--primary-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-600);
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-links a.active {
    color: var(--primary-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
}

/* Mobile Menu - Hidden on desktop */
.mobile-overlay,
.mobile-menu {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-ghost {
    color: var(--gray-700);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--primary-600);
    background: var(--primary-100);
}

.btn-primary {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
}

.btn-primary:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
    padding: var(--space-4) var(--space-8);
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    padding: var(--space-4) var(--space-8);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-600);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--gray-900);
    border-color: var(--gray-300);
    width: 100%;
    padding: var(--space-4) var(--space-6);
}

.btn-outline-dark:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.btn-primary-dark {
    background: var(--primary-600);
    color: var(--white);
    border-color: var(--primary-600);
    width: 100%;
    padding: var(--space-4) var(--space-6);
}

.btn-primary-dark:hover {
    background: var(--primary-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-24) 0 var(--space-16);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-8);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--white);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--space-10);
    opacity: 0.9;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual - Dashboard Preview */
.hero-visual {
    position: absolute;
    right: -100px;
    bottom: 50px;
    width: 500px;
    opacity: 0.15;
    transform: rotate(-5deg);
    pointer-events: none;
}

.dashboard-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.preview-dots {
    display: flex;
    gap: var(--space-2);
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }

.preview-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.preview-content {
    padding: var(--space-4);
}

.preview-appointment {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
    background: var(--gray-50);
    font-size: 0.875rem;
}

.preview-appointment.current {
    background: var(--primary-100);
    border: 1px solid var(--primary-200);
}

.preview-appointment.gap {
    background: var(--orange-100);
}

.appt-time {
    font-weight: 600;
    color: var(--gray-700);
    min-width: 50px;
}

.appt-name {
    flex: 1;
    color: var(--gray-900);
}

.appt-badge {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.appt-badge.medical {
    background: var(--primary-100);
    color: var(--primary-600);
}

.appt-badge.cash {
    background: var(--secondary-100);
    color: var(--secondary-600);
}

.appt-badge.gap-badge {
    background: var(--orange-100);
    color: var(--orange-500);
}

.appt-status {
    background: var(--primary-600);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ===========================
   Trusted Section
   =========================== */
.trusted-section {
    padding: var(--space-12) 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.trusted-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.trusted-item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-badge {
    display: inline-block;
    background: var(--primary-100);
    color: var(--primary-600);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===========================
   Problem Section
   =========================== */
.problem-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.problem-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.problem-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.problem-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.problem-list li div {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.problem-list li strong {
    color: var(--gray-900);
    font-weight: 600;
}

.problem-list li span {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Before/After Visual */
.before-after {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.before-card, .after-card {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.card-label {
    display: inline-block;
    background: var(--error);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.card-label.success {
    background: var(--success);
}

.paper-diary, .digital-diary {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.paper-diary {
    background: #fef3c7;
}

.diary-line {
    height: 12px;
    border-radius: var(--radius-sm);
}

.diary-line.scribble {
    background: linear-gradient(90deg, 
        var(--gray-400) 10%, 
        transparent 10%, 
        transparent 15%, 
        var(--gray-400) 15%,
        var(--gray-400) 40%,
        transparent 40%,
        transparent 45%,
        var(--gray-400) 45%,
        var(--gray-400) 70%
    );
    opacity: 0.5;
}

.digital-diary {
    background: var(--gray-100);
}

.digital-line {
    height: 12px;
    background: var(--primary-500);
    border-radius: var(--radius-sm);
    animation: shimmer 2s infinite;
}

.digital-line:nth-child(2) { width: 80%; }
.digital-line:nth-child(3) { width: 90%; }
.digital-line:nth-child(4) { width: 70%; }

@keyframes shimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.card-caption {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.arrow-connector {
    font-size: 2rem;
    color: var(--gray-400);
    flex-shrink: 0;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card.featured {
    border: 2px solid var(--primary-500);
    position: relative;
}

.feature-card.featured::before {
    content: 'Core Feature';
    position: absolute;
    top: -12px;
    left: var(--space-6);
    background: var(--primary-600);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
}

.feature-icon-wrapper.secondary {
    background: var(--secondary-100);
}

.feature-icon-wrapper.tertiary {
    background: var(--purple-100);
}

.feature-icon {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.feature-card > p {
    color: var(--gray-600);
    margin-bottom: var(--space-5);
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feature-list li {
    position: relative;
    padding-left: var(--space-6);
    color: var(--gray-600);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-500);
    font-weight: 700;
}

/* ===========================
   Roadmap Section
   =========================== */
.roadmap-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.roadmap-column {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-6);
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.roadmap-header.available {
    background: var(--secondary-100);
    color: var(--secondary-600);
}

.roadmap-header.available .status-dot {
    background: var(--secondary-500);
}

.roadmap-header.coming-soon {
    background: var(--primary-100);
    color: var(--primary-600);
}

.roadmap-header.coming-soon .status-dot {
    background: var(--primary-500);
}

.roadmap-header.future {
    background: var(--purple-100);
    color: var(--purple-500);
}

.roadmap-header.future .status-dot {
    background: var(--purple-500);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.roadmap-items {
    padding: var(--space-4);
}

.roadmap-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
}

.roadmap-item:hover {
    background: var(--white);
}

.roadmap-item.highlight {
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--space-2);
}

.item-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.item-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.item-content p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.item-badge {
    display: inline-block;
    margin-top: var(--space-2);
    padding: var(--space-1) var(--space-2);
    background: var(--orange-100);
    color: var(--orange-500);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.item-badge.hot {
    background: var(--error);
    color: var(--white);
}

.roadmap-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.roadmap-cta p {
    margin-bottom: var(--space-4);
    color: var(--gray-600);
}

/* ===========================
   Pricing Section
   =========================== */
.pricing-section {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: start;
}

.pricing-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all var(--transition-slow);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.trial-card {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--purple-100) 100%);
    border-color: var(--primary-400);
}

.pricing-extra {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    padding: var(--space-2) var(--space-3);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    text-align: center;
}

.pricing-card.popular {
    border: 2px solid var(--primary-500);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.pricing-description {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: var(--space-6);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.95rem;
    color: var(--gray-700);
}

.pricing-features li.coming {
    color: var(--gray-400);
}

.check {
    color: var(--secondary-500);
    font-weight: 700;
}

.check.soon {
    color: var(--gray-400);
}

.pricing-note {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-6);
    background: var(--primary-100);
    border-radius: var(--radius-xl);
}

.pricing-note p {
    color: var(--gray-700);
}

/* ===========================
   Why Section (replaces Testimonials)
   =========================== */
.why-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.why-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-slow);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.why-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===========================
   Testimonials Section (kept for reference)
   =========================== */
.testimonials-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: var(--space-4);
}

.testimonial-card blockquote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===========================
   FAQ Section
   =========================== */
.faq-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: var(--space-24) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand p {
    margin: var(--space-4) 0;
    line-height: 1.7;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-4);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid-three {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
    
    .problem-content {
        grid-template-columns: 1fr;
    }
    
    .before-after {
        flex-direction: column;
    }
    
    .arrow-connector {
        transform: rotate(90deg);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Mobile Sidebar Menu */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background: var(--white);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-4) var(--space-5);
        border-bottom: 1px solid var(--gray-200);
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--gray-500);
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    
    .mobile-menu-close:hover {
        color: var(--gray-700);
    }
    
    .mobile-menu-nav {
        flex: 1;
        padding: var(--space-4) 0;
        overflow-y: auto;
    }
    
    .mobile-nav-link {
        display: block;
        padding: var(--space-4) var(--space-5);
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--gray-700);
        text-decoration: none;
        transition: all 0.2s ease;
    }
    
    .mobile-nav-link:hover {
        background: var(--primary-50);
        color: var(--primary-600);
    }
    
    .mobile-menu-actions {
        padding: var(--space-4) var(--space-5);
        border-top: 1px solid var(--gray-200);
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .mobile-menu-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: var(--space-20) 0 var(--space-12);
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .features-grid,
    .pricing-grid,
    .pricing-grid-two,
    .testimonials-grid,
    .roadmap-grid,
    .faq-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .trusted-logos {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .pricing-card,
    .testimonial-card,
    .faq-item {
        padding: var(--space-6);
    }
}
