/* ============================================
   FlowSync — Design System
   ============================================ */

/* CSS Variables — Copper & Slate Palette */
:root {
    /* Colors */
    --color-bg: #F5F0EB;
    --color-bg-alt: #FFFFFF;
    --color-text: #2F3640;
    --color-text-muted: #6B7280;
    --color-accent: #B87333;
    --color-accent-light: #D4A574;
    --color-accent-dark: #8B5A2B;
    --color-slate: #2F3640;
    --color-slate-light: #4A5568;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #B87333 0%, #D4A574 50%, #B87333 100%);
    --gradient-text: linear-gradient(135deg, #B87333 0%, #D4A574 100%);
    
    /* Typography */
    --font-display: 'Syne', 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: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(184, 115, 51, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

img {
    max-width: 100%;
    height: auto;
}

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

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(245, 240, 235, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.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-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text);
}

.logo-icon {
    color: var(--color-accent);
    font-size: 1.75rem;
}

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

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

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

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

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

.nav-cta {
    background: var(--color-accent);
    color: white !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
}

/* ============================================
   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;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(184, 115, 51, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 30% 70%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(184, 115, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 115, 51, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: calc((100vw - 1200px) / 2 + var(--space-md));
    padding-right: var(--space-xl);
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(184, 115, 51, 0.1);
    color: var(--color-accent);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

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

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out both;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.3s; }
.title-line:nth-child(3) { animation-delay: 0.4s; }

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

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

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

.btn-secondary:hover {
    background: var(--color-text);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text-muted);
    width: 100%;
    justify-content: center;
}

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

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

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-slate);
}

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

/* Hero Visual — Dashboard Mockup */
.hero-visual {
    position: absolute;
    right: calc((100vw - 1200px) / 2);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.dashboard-mockup {
    width: 400px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(184, 115, 51, 0.15);
    overflow: hidden;
    border: 1px solid rgba(184, 115, 51, 0.1);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: linear-gradient(135deg, #f8f6f4 0%, #fff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.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-tabs {
    display: flex;
    gap: var(--space-sm);
}

.tab {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab.active {
    background: var(--color-accent);
    color: white;
}

.mockup-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.workflow-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: #f8f6f4;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    animation: slideIn 0.5s ease-out both;
}

.workflow-card:nth-child(1) { animation-delay: 0.8s; }
.workflow-card:nth-child(2) { animation-delay: 0.9s; }
.workflow-card:nth-child(3) { animation-delay: 1s; }

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

.workflow-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.workflow-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
}

.workflow-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.workflow-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-slate);
}

.workflow-status {
    font-size: 0.75rem;
    font-weight: 500;
}

.workflow-status.active { color: #22c55e; }
.workflow-status.pending { color: #f59e0b; }
.workflow-status.completed { color: var(--color-text-muted); }

.workflow-arrow {
    color: var(--color-text-muted);
    font-size: 1.25rem;
}

/* ============================================
   Section Styles
   ============================================ */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-slate);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

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

.features {
    padding: var(--space-3xl) 0;
    background: white;
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(184, 115, 51, 0.2);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-hero);
    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-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-slate);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.mini-flow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.node {
    padding: var(--space-xs) var(--space-md);
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.connector {
    width: 30px;
    height: 2px;
    background: var(--color-accent-light);
    position: relative;
}

.connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--color-accent-light);
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
}

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

.testimonial-card {
    flex: 0 0 calc(50% - var(--space-md));
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

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

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

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

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

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

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

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

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

.carousel-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(184, 115, 51, 0.1);
}

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

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

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-muted);
    opacity: 0.3;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--color-accent);
    opacity: 1;
    transform: scale(1.2);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    padding: var(--space-3xl) 0;
    background: white;
}

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

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

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    background: var(--color-slate);
    color: white;
    border-color: var(--color-accent);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: var(--space-lg);
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.pricing-card.popular .pricing-name {
    color: white;
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.pricing-card.popular .pricing-desc {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-slate);
}

.pricing-card.popular .price {
    color: white;
}

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

.pricing-card.popular .period {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.pricing-card.popular .pricing-features li svg {
    color: var(--color-accent-light);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.cta-box {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

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

.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

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

.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--color-slate);
    color: white;
}

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

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

.footer-logo .logo-icon {
    color: var(--color-accent-light);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

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

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

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: var(--space-md);
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design — Mobile First
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        margin-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: var(--space-2xl);
        display: flex;
        justify-content: center;
    }
    
    .hero {
        flex-direction: column;
        padding-top: calc(var(--space-3xl) + 80px);
    }
    
    .dashboard-mockup {
        width: 100%;
        max-width: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-large {
        grid-column: span 2;
    }
    
    .testimonial-card {
        flex: 0 0 calc(100% - var(--space-md));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-150%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .dashboard-mockup {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text-muted: #4A5568;
    }
}