/* ===================================
   DESIGN SYSTEM & VARIABLES
   =================================== */

:root {
    /* Colors - Teal-Emerald palette */
    --color-emerald-50: #F0FDFA;
    --color-emerald-100: #CCFBF1;
    --color-emerald-200: #99F6E4;
    --color-emerald-500: #14B8A6;
    --color-emerald-600: #0D9488;
    --color-emerald-700: #0F766E;
    --color-emerald-800: #115E59;
    --color-emerald-900: #134E4A;
    --color-amber-500: #F59E0B;
    --color-amber-600: #D97706;
    --color-amber-700: #B45309;
    --color-charcoal: #1F2937;
    --color-slate: #64748B;
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;

    /* Semantic colors */
    --color-primary: var(--color-emerald-600);
    --color-secondary: var(--color-emerald-700);
    --color-accent: var(--color-amber-600);
    --color-text: var(--color-charcoal);
    --color-text-light: var(--color-slate);
    --color-background: var(--color-white);
    --color-surface: var(--color-gray-50);

    /* Typography - Construction signage meets modern web */
    --font-display: 'Bebas Neue', Arial Black, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing system */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --border-radius: 2px;
    --border-radius-lg: 4px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 49, 66, 0.08);
    --shadow-md: 0 4px 12px rgba(45, 49, 66, 0.12);
    --shadow-lg: 0 8px 24px rgba(45, 49, 66, 0.16);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

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

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

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

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

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    font-weight: 400;
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 1000;
    animation: slideDown 0.4s ease-out;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.logo-icon {
    font-size: 1.5rem;
}

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

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

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

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

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

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

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

.nav-link-cta:hover {
    background: #E55A28;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   HERO SECTION
   =================================== */

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

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

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--color-emerald-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-emerald-100) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: gridSlide 20s linear infinite;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-emerald-50);
    border: 1px solid var(--color-emerald-200);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    animation: fadeIn 0.6s ease-out 0.2s both;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    animation: slideInLeft 0.6s ease-out both;
}

.title-line:nth-child(2) {
    animation-delay: 0.15s;
}

.title-line-accent {
    color: var(--color-primary);
    position: relative;
}

.title-line-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-primary);
    opacity: 0.2;
    animation: expandWidth 0.8s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-text-light);
    max-width: 700px;
    margin-bottom: var(--space-xl);
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: var(--color-text);
    font-weight: 700;
}

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

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease-out 0.8s both;
    background: linear-gradient(135deg, var(--color-emerald-50) 0%, var(--color-emerald-100) 100%);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--color-emerald-200);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
    margin-top: var(--space-md);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--color-emerald-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
    font-weight: 600;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: var(--color-emerald-300);
}

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

.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: var(--color-amber-700);
    border-color: var(--color-amber-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-emerald-600);
}

.btn-secondary:hover {
    background: var(--color-emerald-50);
    border-color: var(--color-emerald-600);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===================================
   PROBLEM/SOLUTION SECTION
   =================================== */

.problem-solution {
    padding: var(--space-2xl) 0;
    background: var(--color-surface);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.ps-problem,
.ps-solution {
    animation: fadeInUp 0.6s ease-out both;
}

.ps-solution {
    animation-delay: 0.2s;
}

.ps-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.ps-tag-problem {
    background: #FEE2E2;
    color: #991B1B;
}

.ps-tag-solution {
    background: #D1FAE5;
    color: #065F46;
}

.ps-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.ps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ps-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1.125rem;
}

.ps-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ps-arrow {
    font-size: 4rem;
    color: var(--color-primary);
    font-weight: bold;
    animation: bounceX 2s ease-in-out infinite;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works {
    padding: var(--space-2xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.step {
    position: relative;
    padding: var(--space-lg);
    background: var(--color-white);
    border: 2px solid var(--color-emerald-100);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out both;
}

.step:nth-child(2) {
    animation-delay: 0.1s;
}

.step:nth-child(3) {
    animation-delay: 0.2s;
}

.step:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-emerald-100);
    line-height: 1;
    opacity: 0.5;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.step-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.step-text {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===================================
   THREE E'S SECTION
   =================================== */

.three-es {
    padding: var(--space-2xl) 0;
    background: var(--color-emerald-700);
    color: var(--color-white);
}

.three-es .section-title {
    color: var(--color-white);
}

.three-es .section-subtitle {
    color: var(--color-gray-200);
}

.es-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.e-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.e-card:nth-child(2) {
    animation-delay: 0.15s;
}

.e-card:nth-child(3) {
    animation-delay: 0.3s;
}

.e-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width var(--transition-base);
}

.e-earth::before {
    background: var(--color-emerald-500);
}

.e-equity::before {
    background: var(--color-emerald-600);
}

.e-economy::before {
    background: var(--color-emerald-700);
}

.e-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.e-card:hover::before {
    width: 8px;
}

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

.e-icon {
    font-size: 2.5rem;
}

.e-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.e-text {
    color: var(--color-gray-200);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===================================
   WHO IT'S FOR SECTION
   =================================== */

.who-its-for {
    padding: var(--space-2xl) 0;
    background: var(--color-surface);
}

.wif-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.wif-text {
    animation: fadeInUp 0.6s ease-out;
}

.wif-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.wif-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.wif-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.wif-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.0625rem;
}

.wif-bullet {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.25rem;
}

.wif-triggers {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.trigger-box {
    background: var(--color-white);
    border: 2px solid var(--color-emerald-600);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
}

.trigger-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.trigger-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-sm);
    transition: all var(--transition-fast);
}

.trigger-item:hover {
    background: var(--color-emerald-50);
    transform: translateX(4px);
}

.trigger-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing {
    padding: var(--space-2xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto var(--space-xl);
}

.pricing-card {
    position: relative;
    background: var(--color-white);
    border: 2px solid var(--color-concrete);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out both;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.15s;
}

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

.pricing-card-featured {
    border-color: var(--color-primary);
    border-width: 3px;
}

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

.pricing-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--color-concrete);
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--color-text-light);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-primary);
}

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

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

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 1.0625rem;
}

.feature-icon {
    color: var(--color-emerald-600);
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-setup {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-concrete);
    color: var(--color-text-light);
    text-align: center;
}

.pricing-example {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.example-box {
    background: var(--color-surface);
    border-left: 4px solid var(--color-emerald-600);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
}

.example-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.05em;
}

.example-text {
    color: var(--color-text-light);
    font-size: 1.0625rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-emerald-600) 0%, var(--color-emerald-500) 100%);
    color: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.contact-text {
    animation: fadeInUp 0.6s ease-out;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-200);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.contact-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-benefit {
    font-size: 1.125rem;
    color: var(--color-gray-200);
}

.contact-form-container {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-white);
    font-size: 0.9375rem;
}

.form-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

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

.footer {
    background: var(--color-emerald-800);
    color: var(--color-emerald-100);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-style: italic;
    color: var(--color-emerald-200);
}

.footer-note {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

@keyframes bounceX {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes gridSlide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 50px 50px;
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
    .nav-links {
        gap: var(--space-md);
    }

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

    .ps-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .wif-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
    }

    .nav {
        position: fixed;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: var(--space-sm) var(--space-md);
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: var(--space-sm);
    }

    .nav-link:first-child {
        display: none;
    }

    .hero {
        min-height: 100vh;
        padding-top: calc(60px + var(--space-lg));
        padding-bottom: var(--space-xl);
        justify-content: flex-start;
    }

    .hero-content {
        padding-top: var(--space-md);
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px var(--space-sm);
    }

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

    .hero-subtitle {
        margin-bottom: var(--space-lg);
    }

    .hero-cta {
        flex-direction: column;
        margin-bottom: var(--space-lg);
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-divider {
        display: none;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: var(--space-sm) var(--space-md);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        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;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
