/**
 * Ristorant - Modern Restaurant POS System
 * Stylesheet for Homepage & Landing (Ref: Loggro Restobar / SaaS B2B)
 */

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */

/* Light Theme (Default) */
html[data-bs-theme="light"],
html:not([data-bs-theme="dark"]) {
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-raised: #f1f5f9;
    --bg-surface-active: #e2e8f0;
    --bg-glass: rgba(255, 255, 255, 0.88);

    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);
    --border-focus: rgba(37, 99, 235, 0.4);

    --fg: #0f172a;
    --fg-muted: #475569;
    --fg-subtle: #94a3b8;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-fg: #ffffff;
    --primary-light: rgba(37, 99, 235, 0.08);
    --primary-border: rgba(37, 99, 235, 0.2);

    --accent: #0284c7;
    --success: #059669;
    --success-light: rgba(5, 150, 105, 0.1);
    --warning: #d97706;
    --danger: #dc2626;

    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);

    --card-glow: transparent;
}

/* Dark Theme */
html[data-bs-theme="dark"] {
    --bg-page: #0b0f19;
    --bg-surface: #131b2e;
    --bg-surface-raised: #1a253c;
    --bg-surface-active: #24324f;
    --bg-glass: rgba(11, 15, 25, 0.88);

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-focus: rgba(59, 130, 246, 0.5);

    --fg: #f8fafc;
    --fg-muted: #94a3b8;
    --fg-subtle: #64748b;

    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-fg: #ffffff;
    --primary-light: rgba(59, 130, 246, 0.15);
    --primary-border: rgba(59, 130, 246, 0.3);

    --accent: #38bdf8;
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --danger: #ef4444;

    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 20px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 24px 32px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.4);

    --card-glow: rgba(59, 130, 246, 0.05);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

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

body {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--fg);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-head-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(28px, 3.8vw, 42px);
    margin-top: 12px;
}

.section-lead {
    margin-top: 14px;
    font-size: 17px;
    color: var(--fg-muted);
    line-height: 1.6;
}

.highlight {
    color: var(--primary);
}

/* ==========================================================================
   Badges, Pills & Icon System
   ========================================================================== */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-border);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
}

.icon-svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--fg);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-raised);
    border-color: var(--primary);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    color: var(--fg);
    background-color: var(--bg-surface-raised);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

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

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--fg);
}

/* Logo keeps its original distinctive glowing neon personality */
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--fg-muted);
}

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

@media (min-width: 860px) {
    .nav-links {
        display: flex;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 16px;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    background-color: var(--bg-surface-raised);
}

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

.hero {
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
    }
}

.hero-title {
    font-size: clamp(34px, 5.2vw, 54px);
    margin-top: 20px;
    line-height: 1.1;
}

.hero-lead {
    margin-top: 20px;
    font-size: 18px;
    color: var(--fg-muted);
    line-height: 1.6;
    max-width: 580px;
}

.hero-ctas {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-badges {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
    .hero-badges {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero-badge-item {
    display: flex;
    flex-direction: column;
}

.hero-badge-item .val {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--fg);
}

.hero-badge-item .lbl {
    font-size: 12px;
    color: var(--fg-muted);
    margin-top: 2px;
}

/* ==========================================================================
   Hero POS Mockup (Realistic B2B Restaurant Terminal)
   ========================================================================== */

.pos-mockup {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pos-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background-color: var(--bg-surface-raised);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.pos-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pos-window-dots {
    display: flex;
    gap: 5px;
}

.pos-window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.pos-window-dots span:nth-child(1) { background-color: #ef4444; }
.pos-window-dots span:nth-child(2) { background-color: #f59e0b; }
.pos-window-dots span:nth-child(3) { background-color: #10b981; }

.pos-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    background-color: var(--success-light);
    color: var(--success);
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
}

.pos-body {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .pos-body {
        grid-template-columns: 1.3fr 1fr;
    }
}

.pos-categories {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.pos-cat-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    background-color: var(--bg-surface-raised);
    color: var(--fg-muted);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.pos-cat-btn.active {
    background-color: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
}

.pos-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.pos-item-card {
    padding: 10px;
    border-radius: 10px;
    background-color: var(--bg-surface-raised);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.15s ease;
}

.pos-item-card:hover {
    border-color: var(--primary);
    background-color: var(--bg-surface);
}

.pos-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.3;
}

.pos-item-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

.pos-ticket-panel {
    background-color: var(--bg-surface-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pos-ticket-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
}

.pos-ticket-items {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.pos-ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pos-ticket-row .desc {
    color: var(--fg);
    font-weight: 500;
}

.pos-ticket-row .note {
    font-size: 10px;
    color: var(--fg-muted);
}

.pos-ticket-summary {
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: auto;
}

.pos-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--fg-muted);
    margin-bottom: 4px;
}

.pos-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: var(--fg);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed var(--border-strong);
}

.pos-kds-btn {
    margin-top: 12px;
    width: 100%;
    padding: 9px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    background-color: var(--success);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================================
   Video Presentation Section (YouTube Integration)
   ========================================================================== */

.video-section {
    padding: 80px 0;
    background-color: var(--bg-surface-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

@media (min-width: 992px) {
    .video-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.video-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-point-card {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s ease;
}

.video-point-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.video-point-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-point-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.video-point-text p {
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.5;
}

.video-frame-wrap {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.video-device-frame {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 14px;
    box-shadow: var(--shadow-xl);
}

.video-frame-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--fg-muted);
}

.video-responsive-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* 9:16 aspect ratio for YouTube Shorts */
    border-radius: 16px;
    overflow: hidden;
    background-color: #000000;
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Features & Modules Section (Ref: Loggro Restobar)
   ========================================================================== */

.modules-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    position: relative;
    padding: 32px 28px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-xs);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

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

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid var(--primary-border);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.6;
    flex: 1;
}

.feature-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-top: 18px;
}

/* ==========================================================================
   Pricing Section (Colombian COP Transparent Subscriptions)
   ========================================================================== */

.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-surface-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 56px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: var(--primary);
    color: var(--primary-fg);
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
}

.pricing-desc {
    font-size: 14px;
    color: var(--fg-muted);
    margin-top: 6px;
    min-height: 40px;
}

.pricing-price-wrap {
    margin-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-amount {
    font-family: "Outfit", sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--fg);
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 13px;
    color: var(--fg-muted);
    font-weight: 500;
}

.pricing-original-price {
    font-size: 13px;
    color: var(--fg-subtle);
    text-decoration: line-through;
    margin-top: 4px;
}

.pricing-features-list {
    list-style: none;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fg);
}

.pricing-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--success-light);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

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

.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: 30px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    border-color: var(--primary);
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg);
    font-style: normal;
}

.testimonial-author {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--bg-surface-active);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid var(--border);
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
}

.author-role {
    font-size: 12px;
    color: var(--fg-muted);
}

/* ==========================================================================
   Registration Section
   ========================================================================== */

.register-section {
    padding: 100px 0;
    background-color: var(--bg-surface-raised);
    border-top: 1px solid var(--border);
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 1024px) {
    .register-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.benefits-list {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--fg);
}

.benefit-desc {
    font-size: 14px;
    color: var(--fg-muted);
    margin-top: 2px;
}

.register-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-xl);
}

.register-card h3 {
    font-size: 24px;
    font-weight: 700;
}

.register-card .form-lead {
    font-size: 14px;
    color: var(--fg-muted);
    margin-top: 4px;
    margin-bottom: 24px;
}

.form-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--fg);
}

.form-field input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: var(--bg-surface-raised);
    border: 1px solid var(--border);
    color: var(--fg);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.form-field input:focus {
    background-color: var(--bg-surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--border-focus);
}

.form-field .invalid-feedback {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
}

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

footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
    background-color: var(--bg-surface);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--fg-muted);
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

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

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