/* ============================================
   FlowSync — Design System
   Copper & Slate Palette
   ============================================ */

/* CSS Variables */
:root {
    /* Colors — Copper & Slate */
    --color-copper: #B87333;
    --color-copper-light: #D4A574;
    --color-copper-dark: #8B5A2B;
    --color-slate: #2F3640;
    --color-slate-light: #4A5568;
    --color-slate-dark: #1A1D23;
    --color-cream: #F5F0EB;
    --color-cream-dark: #E8E0D5;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(47, 54, 64, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(47, 54, 64, 0.1), 0 2px 4px -1px rgba(47, 54, 64, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(47, 54, 64, 0.1), 0 4px 6px -2px rgba(47, 54, 64, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(47, 54, 64, 0.1), 0 10px 10px -5px rgba(47, 54, 64, 0.04);
    --shadow-copper: 0 10px 40px -10px rgba(184, 115, 51, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* 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-slate);
    background-color: var(--color-cream);
}

img, svg {
    display: block;
    max-width: 100%;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-slate);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1rem; }

.highlight {
    color: var(--color-copper);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -0.1em;
    right: -0.1em;
    height: 0.15em;
    background: linear-gradient(90deg, var(--color-copper-light), var(--color-copper));
    opacity: 0.3;
    z-index: -1;
    border-radius: 2px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

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

.btn-secondary {
    background: var(--color-white);
    color: var(--color-slate);
    border: 1.5px solid var(--color-cream-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--color-copper);
    color: var(--color-copper);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-slate);
}

.btn-ghost:hover {
    color: var(--color-copper);
}

.btn-ghost.btn-light {
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

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

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 235, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(47, 54, 64, 0.05);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(245, 240, 235, 0.95);
    box-shadow: var(--shadow-sm);
}

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

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

.logo svg {
    flex-shrink: 0;
}

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

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-slate-light);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    padding: var(--space-xl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(72px + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(184, 115, 51, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: 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='%23B87333' 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");
}

.hero-content {
    display: grid;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: rgba(184, 115, 51, 0.1);
    border: 1px solid rgba(184, 115, 51, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-copper);
    margin-bottom: var(--space-lg);
}

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

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

.hero-title {
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-slate-light);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-cream-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.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-slate-light);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: none;
}

.hero-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-card-1 {
    top: 0;
    left: 10%;
    width: 280px;
    animation-delay: 0s;
}

.hero-card-2 {
    top: 30%;
    right: 5%;
    width: 200px;
    animation-delay: -2s;
}

.hero-card-3 {
    bottom: 10%;
    left: 20%;
    width: 240px;
    animation-delay: -4s;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-copper), var(--color-copper-light));
}

.card-info {
    flex: 1;
}

.card-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-slate);
}

.card-meta {
    font-size: 0.8125rem;
    color: var(--color-slate-light);
}

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

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--color-cream-dark);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-copper), var(--color-copper-light));
    border-radius: 3px;
    transition: width 1s ease;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(184, 115, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-copper);
    margin-bottom: var(--space-md);
}

.card-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-slate);
}

.card-label {
    font-size: 0.875rem;
    color: var(--color-slate-light);
}

.card-avatars {
    display: flex;
    margin-bottom: var(--space-md);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    margin-left: -8px;
    background: linear-gradient(135deg, var(--color-copper-light), var(--color-copper));
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    margin-left: -8px;
    background: var(--color-slate);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.9375rem;
    color: var(--color-slate);
    font-weight: 500;
}

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

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

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(184, 115, 51, 0.1);
    color: var(--color-copper);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-slate-light);
}

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

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

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

.feature-card {
    padding: var(--space-xl);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.feature-card-large {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--color-slate) 0%, var(--color-slate-dark) 100%);
    color: var(--color-white);
}

.feature-card-large .feature-title {
    color: var(--color-white);
}

.feature-card-large .feature-description {
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(184, 115, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-copper);
    margin-bottom: var(--space-lg);
}

.feature-card-large .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-copper-light);
}

.feature-title {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.feature-description {
    color: var(--color-slate-light);
    line-height: 1.6;
}

.feature-visual {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.automation-flow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.flow-node {
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.flow-arrow {
    color: var(--color-copper-light);
    font-size: 1.25rem;
}

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

.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

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

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

.testimonial-card {
    flex: 0 0 100%;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-slate);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

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

.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%;
    background: var(--color-white);
    border: 1px solid var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate);
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: var(--color-copper);
    border-color: var(--color-copper);
    color: var(--color-white);
}

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

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-cream-dark);
    transition: all var(--transition-base);
}

.dot.active {
    background: var(--color-copper);
    width: 24px;
    border-radius: 5px;
}

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

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

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

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

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

.pricing-card-featured {
    background: var(--color-slate);
    border-color: var(--color-copper);
    color: var(--color-white);
}

.pricing-card-featured .pricing-name,
.pricing-card-featured .pricing-price {
    color: var(--color-white);
}

.pricing-card-featured .pricing-description {
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card-featured .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card-featured .pricing-features svg {
    color: var(--color-copper-light);
}

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

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

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

.pricing-description {
    font-size: 0.9375rem;
    color: var(--color-slate-light);
}

.pricing-price {
    margin-bottom: var(--space-xl);
}

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

.period {
    font-size: 1rem;
    color: var(--color-slate-light);
}

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

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

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--color-copper);
    flex-shrink: 0;
}

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

.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-slate) 0%, var(--color-slate-dark) 100%);
    text-align: center;
}

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

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

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

.footer-grid {
    display: grid;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

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

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

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

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

.footer-column h4 {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* ============================================
   Responsive Breakpoints
   ============================================ */

@media (min-width: 640px) {
    :root {
        --container-padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card-large {
        grid-column: 1 / -1;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card:last-child {
        grid-column: 1 / -1;
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - var(--space-lg) / 2);
    }
    
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .nav-actions {
        display: flex;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-visual {
        display: block;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-card-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-card:last-child {
        grid-column: auto;
    }
    
    .testimonial-card {
        flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 2fr;
    }
}

/* ============================================
   Animations
   ============================================ */

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}