/* ==========================================================================
   CAMPGROUND - PREMIUM CAMPING RESORT TEMPLATE
   Nature-inspired design with rustic charm
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
    /* Colors - Nature Palette */
    --color-forest-900: #1a3a2e;
    --color-forest-800: #2d5a3f;
    --color-forest-700: #3f7a50;
    --color-forest-600: #52955f;
    --color-forest-500: #6bb076;
    --color-forest-400: #8bc592;
    --color-forest-300: #abdaae;
    --color-forest-200: #cbeacd;
    --color-forest-100: #e5f5e6;

    --color-earth-900: #3e2723;
    --color-earth-800: #4e342e;
    --color-earth-700: #5d4037;
    --color-earth-600: #6d4c41;
    --color-earth-500: #795548;
    --color-earth-400: #8d6e63;
    --color-earth-300: #a1887f;
    --color-earth-200: #bcaaa4;
    --color-earth-100: #d7ccc8;

    --color-sunset-900: #bf360c;
    --color-sunset-800: #d84315;
    --color-sunset-700: #e64a19;
    --color-sunset-600: #f4511e;
    --color-sunset-500: #ff5722;
    --color-sunset-400: #ff7043;
    --color-sunset-300: #ff8a65;
    --color-sunset-200: #ffab91;
    --color-sunset-100: #ffccbc;

    --color-cream-900: #4a4541;
    --color-cream-800: #6d665e;
    --color-cream-700: #8f867c;
    --color-cream-600: #b2a799;
    --color-cream-500: #d4c8b6;
    --color-cream-400: #ddd4c5;
    --color-cream-300: #e6dfd4;
    --color-cream-200: #efeae3;
    --color-cream-100: #f8f5f2;

    --color-sky-500: #5dade2;
    --color-sky-400: #7fb9e8;
    --color-sky-300: #a1c6ee;

    /* Neutral Scale */
    --color-white: #ffffff;
    --color-neutral-50: #fafaf9;
    --color-neutral-100: #f5f5f4;
    --color-neutral-200: #e7e5e4;
    --color-neutral-300: #d6d3d1;
    --color-neutral-400: #a8a29e;
    --color-neutral-500: #78716c;
    --color-neutral-600: #57534e;
    --color-neutral-700: #44403c;
    --color-neutral-800: #292524;
    --color-neutral-900: #1c1917;
    --color-black: #000000;

    /* Semantic Colors */
    --color-primary: var(--color-forest-600);
    --color-primary-hover: var(--color-forest-700);
    --color-secondary: var(--color-earth-500);
    --color-accent: var(--color-sunset-500);
    --color-background: var(--color-cream-100);
    --color-surface: var(--color-white);
    --color-text: var(--color-neutral-900);
    --color-text-muted: var(--color-neutral-600);

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-display: 'Georgia', serif;

    /* Font Sizes (Responsive) */
    --text-hero: clamp(3rem, 8vw, 5.5rem);
    --text-display: clamp(2.5rem, 6vw, 4rem);
    --text-h1: clamp(2rem, 5vw, 3rem);
    --text-h2: clamp(1.5rem, 3.5vw, 2.25rem);
    --text-h3: clamp(1.25rem, 2.5vw, 1.75rem);
    --text-h4: clamp(1.125rem, 2vw, 1.5rem);
    --text-body: 1rem;
    --text-small: 0.875rem;
    --text-xs: 0.75rem;

    /* Spacing Scale (8px base) */
    --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;
    --space-32: 8rem;
    --space-40: 10rem;

    /* 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 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-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(107, 176, 118, 0.3);
    --shadow-glow-lg: 0 0 60px rgba(107, 176, 118, 0.4);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Dark Mode Variables */
.dark {
    --color-primary: var(--color-forest-500);
    --color-primary-hover: var(--color-forest-400);
    --color-background: #0f1410;
    --color-surface: #1a2318;
    --color-text: var(--color-cream-100);
    --color-text-muted: var(--color-neutral-400);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(107, 176, 118, 0.4);
    --shadow-glow-lg: 0 0 80px rgba(107, 176, 118, 0.5);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    transition: background-color var(--transition-base), color var(--transition-base);
}

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

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

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

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

/* Selection */
::selection {
    background-color: var(--color-forest-500);
    color: white;
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.dark .navbar {
    background-color: rgba(26, 35, 24, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

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

.dark .navbar-logo {
    color: var(--color-forest-300);
}

.navbar-logo svg {
    width: 32px;
    height: 32px;
}

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

.navbar-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
    position: relative;
}

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

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

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

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--color-neutral-100);
}

.dark .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: var(--color-surface);
        border-bottom: 1px solid var(--color-neutral-200);
        padding: var(--space-4) 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
    }

    .dark .navbar-menu {
        background-color: var(--color-surface);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .navbar-link {
        padding: var(--space-4) var(--space-6);
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

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

.btn-secondary {
    background-color: var(--color-earth-500);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--color-earth-600);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.btn-accent:hover {
    background-color: var(--color-sunset-600);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--color-forest-600);
    color: var(--color-forest-600);
}

.btn-outline:hover {
    background-color: var(--color-forest-600);
    color: white;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-body);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 58, 46, 0.85) 0%, rgba(29, 90, 63, 0.7) 100%);
}

.dark .hero-overlay {
    background: linear-gradient(135deg, rgba(15, 20, 16, 0.9) 0%, rgba(26, 58, 46, 0.8) 100%);
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-20) var(--space-6);
    color: white;
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: 700;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--text-h3);
    font-weight: 400;
    font-family: var(--font-sans);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

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

.card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--color-neutral-200);
}

.dark .card-image {
    background-color: var(--color-neutral-800);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-6);
}

.card-title {
    font-size: var(--text-h3);
    margin-bottom: var(--space-3);
}

.card-description {
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-neutral-200);
}

.dark .card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Campsite Card Specific */
.campsite-card {
    position: relative;
}

.campsite-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background-color: var(--color-sunset-500);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.campsite-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.campsite-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

.campsite-feature svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */

.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 640px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: var(--space-20) var(--space-6);
}

.section-sm {
    padding: var(--space-12) var(--space-6);
}

.section-lg {
    padding: var(--space-32) var(--space-6);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.container-sm {
    max-width: 900px;
    margin: 0 auto;
}

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

.section-subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: var(--text-h1);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-h4);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Alternate Background */
.section-alt {
    background-color: var(--color-neutral-50);
}

.dark .section-alt {
    background-color: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--color-forest-900);
    color: var(--color-cream-200);
    padding: var(--space-20) var(--space-6) var(--space-8);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-cream-100);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-description {
    color: var(--color-cream-300);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.footer-heading {
    font-size: var(--text-h4);
    color: var(--color-cream-100);
    margin-bottom: var(--space-4);
}

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

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

.footer-links a {
    color: var(--color-cream-300);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-forest-300);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    color: var(--color-cream-400);
    font-size: var(--text-small);
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream-200);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-forest-500);
    color: white;
    transform: translateY(-3px);
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--transition-smooth);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition-smooth);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--transition-smooth);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all var(--transition-smooth);
}

.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Continuous Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.bg-primary { background-color: var(--color-primary); }
.bg-surface { background-color: var(--color-surface); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-body);
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-neutral-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 176, 118, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.badge-primary {
    background-color: var(--color-forest-100);
    color: var(--color-forest-800);
}

.dark .badge-primary {
    background-color: rgba(107, 176, 118, 0.2);
    color: var(--color-forest-300);
}

.badge-accent {
    background-color: var(--color-sunset-100);
    color: var(--color-sunset-800);
}

.dark .badge-accent {
    background-color: rgba(255, 87, 34, 0.2);
    color: var(--color-sunset-300);
}

/* ==========================================================================
   FEATURE ICONS
   ========================================================================== */

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-forest-500), var(--color-forest-700));
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-glow);
}

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

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .navbar,
    .footer,
    .btn,
    .theme-toggle {
        display: none !important;
    }

    body {
        color: black;
        background: white;
    }
}
