/* ============================================
   FlowSync - Modern SaaS Landing Page
   Design System: Coastal Fog + Alpine Frost
   Typography: Outfit + Plus Jakarta Sans
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Coastal Fog + Alpine Frost Palette */
    --color-bg: #0A1929;
    --color-bg-elevated: #0D1E32;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --color-primary: #2E5090;
    --color-primary-light: #3D6AB8;
    --color-primary-dark: #1E3A6B;
    
    --color-accent: #A8C4E0;
    --color-accent-light: #D5E8F5;
    --color-accent-dark: #7BA3C0;
    
    --color-text-primary: #F7F5F2;
    --color-text-secondary: #8FA3B0;
    --color-text-muted: #5A6B7A;
    
    --color-border: rgba(143, 163, 176, 0.15);
    --color-border-hover: rgba(143, 163, 176, 0.25);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #2E5090 0%, #4A6670 50%, #2E5090 100%);
    --gradient-text: linear-gradient(135deg, #A8C4E0 0%, #D5E8F5 50%, #A8C4E0 100%);
    --gradient-card: linear-gradient(145deg, rgba(46, 80, 144, 0.1) 0%, rgba(74, 102, 112, 0.05) 100%);
    --gradient-orb-1: radial-gradient(circle, rgba(46, 80, 144, 0.4) 0%, transparent 70%);
    --gradient-orb-2: radial-gradient(circle, rgba(168, 196, 224, 0.2) 0%, transparent 70%);
    --gradient-orb-3: radial-gradient(circle, rgba(74, 102, 112, 0.3) 0%, transparent 70%);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(46, 80, 144, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 25, 41, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-fast);
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    color: var(--color-text-primary);
    border-color: var(--color-border-hover);
    background: var(--color-bg-card);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-card);
}

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

.btn-white:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-ghost-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-3xl) + 60px) 0 var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-orb-1);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-orb-2);
    bottom: 100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-orb-3);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

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

/* Hero Visual - Dashboard Mockup */
.hero-visual {
    position: relative;
    z-index: 1;
}

.dashboard-mockup {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-10px); }
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-nav {
    display: flex;
    gap: var(--space-sm);
}

.mockup-nav span {
    width: 60px;
    height: 8px;
    background: var(--color-bg-card);
    border-radius: var(--radius-full);
}

.mockup-content {
    display: flex;
    min-height: 300px;
}

.mockup-sidebar {
    width: 60px;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-card);
}

.sidebar-item.active {
    background: var(--color-primary);
}

.mockup-main {
    flex: 1;
    padding: var(--space-md);
}

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

.header-title {
    width: 150px;
    height: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
}

.header-actions {
    display: flex;
    gap: var(--space-xs);
}

.header-actions span {
    width: 80px;
    height: 32px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
}

.header-actions span:last-child {
    background: var(--color-primary);
    width: 100px;
}

.main-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

.card-text {
    height: 60px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
}

.card-1 .card-icon { background: linear-gradient(135deg, #2E5090, #3D6AB8); }
.card-2 .card-icon { background: linear-gradient(135deg, #4A6670, #5A7A85); }
.card-3 .card-icon { background: linear-gradient(135deg, #7BA3C0, #A8C4E0); }

.main-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--space-xs);
    height: 80px;
    padding: var(--space-sm);
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
}

.chart-bar {
    flex: 1;
    background: var(--color-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    opacity: 0.6;
}

.chart-bar:nth-child(1) { height: 40%; }
.chart-bar:nth-child(2) { height: 70%; opacity: 0.8; }
.chart-bar:nth-child(3) { height: 100%; opacity: 1; }
.chart-bar:nth-child(4) { height: 60%; opacity: 0.7; }
.chart-bar:nth-child(5) { height: 80%; opacity: 0.9; }

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

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

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--space-3xl) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.feature-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card.feature-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.feature-card.feature-large p {
    grid-column: 1;
}

.feature-card.feature-large .feature-visual {
    grid-column: 2;
    grid-row: 1 / span 3;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-icon-purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.feature-icon-blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.feature-icon-green { background: linear-gradient(135deg, #10b981, #22c55e); }
.feature-icon-orange { background: linear-gradient(135deg, #f59e0b, #f97316); }
.feature-icon-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.collab-dots {
    display: flex;
    gap: var(--space-sm);
}

.collab-dots .dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: collabPulse 2s ease-in-out infinite;
}

.dot-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); animation-delay: 0s; }
.dot-2 { background: linear-gradient(135deg, #3b82f6, #06b6d4); animation-delay: 0.3s; }
.dot-3 { background: linear-gradient(135deg, #10b981, #22c55e); animation-delay: 0.6s; }

@keyframes collabPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-elevated);
    position: relative;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: var(--space-md);
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 calc(50% - var(--space-md) / 2);
    min-width: 300px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-text-primary);
}

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

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: var(--space-xs);
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dots .dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--space-3xl) 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--color-text-primary);
}

.save-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #10b981;
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--space-xs);
}

.toggle-switch {
    width: 56px;
    height: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-switch:hover {
    border-color: var(--color-border-hover);
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-switch.yearly .toggle-thumb {
    transform: translateX(28px);
}

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

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    transition: var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.pricing-card.pricing-popular {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.pricing-header p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

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

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-3xl) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

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

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

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

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

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

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.feature-large {
        grid-column: span 2;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - var(--space-md));
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-elevated);
        padding: var(--space-md);
        border-bottom: 1px solid var(--color-border);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.feature-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .feature-card.feature-large .feature-visual {
        grid-column: 1;
        grid-row: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .btn-large {
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}