/* Ohio Connect — Premium Landing Page & Login Styles */

:root {
    --ohio-red: #B80D1C;
    --ohio-blue: #0B1F3B;
    --ohio-dark: #050B14;
    --ohio-gold: #D4AF37;

    --primary: var(--ohio-red);
    --primary-dark: #8C0A15;
    --primary-light: #D91A2C;
    --surface: #ffffff;
    --surface-dim: #f4f6f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-faint: #94a3b8;
    --border: #e2e8f0;
    --success: #16a34a;
    --warning: #d97706;

    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

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

/* ═══════════════════════════════════════════════
   ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════════ */

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

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

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 16px rgba(184,13,28,0.35); }
    50%      { box-shadow: 0 4px 28px rgba(184,13,28,0.55), 0 0 60px rgba(184,13,28,0.15); }
}

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

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%      { transform: translateY(-8px) rotate(1deg); }
    66%      { transform: translateY(4px) rotate(-0.5deg); }
}

@keyframes grain {
    0%, 100% { transform: translate(0,0); }
    10% { transform: translate(-2%,-2%); }
    30% { transform: translate(3%,1%); }
    50% { transform: translate(-1%,3%); }
    70% { transform: translate(2%,-1%); }
    90% { transform: translate(-3%,2%); }
}

/* Scroll-reveal base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(226,232,240,0.6);
    animation: fadeIn 0.6s var(--ease-out-expo);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--text);
}

.brand-seal {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.3s var(--ease-spring);
}

.nav-brand:hover .brand-seal { transform: scale(1.08); }

.brand-logo { width: 100%; height: 100%; object-fit: contain; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover::after { transform: scaleX(1); }

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-md);
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background 0.2s;
}
.nav-toggle:hover { background: var(--surface-dim); }
.nav-toggle svg { width: 22px; height: 22px; }

.btn-signin {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: white;
    background: var(--ohio-blue);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(11,31,59,0.25);
    position: relative;
    overflow: hidden;
}

.btn-signin::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-signin:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(184,13,28,0.35);
}

.btn-signin:hover::before { transform: translateX(100%); }

/* Nav auth group — aligns Quick Check-In + Sign In side by side */
.nav-auth {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Ghost/outlined pill — pairs with the filled .btn-signin */
.btn-guest-checkin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--ohio-blue);
    background: transparent;
    border: 1.5px solid var(--ohio-blue);
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.btn-guest-checkin:hover {
    background: var(--ohio-blue);
    color: white;
    box-shadow: 0 4px 16px rgba(11,31,59,0.2);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

.hero {
    position: relative;
    background: linear-gradient(160deg, var(--ohio-blue) 0%, #0d2847 40%, var(--ohio-dark) 100%);
    color: white;
    overflow: hidden;
}

/* Grain overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: grain 8s steps(10) infinite;
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 600px at 15% 85%, rgba(184,13,28,0.18), transparent),
        radial-gradient(ellipse 700px 500px at 85% 15%, rgba(212,175,55,0.1), transparent),
        radial-gradient(ellipse 400px 400px at 50% 50%, rgba(99,102,241,0.06), transparent);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    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='%23ffffff' 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-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--space-lg);
    animation: fadeUp 0.7s var(--ease-out-expo) 0.1s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
    animation: fadeUp 0.7s var(--ease-out-expo) 0.2s both;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--ohio-gold) 0%, #f0d060 50%, var(--ohio-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 540px;
    margin-bottom: var(--space-2xl);
    animation: fadeUp 0.7s var(--ease-out-expo) 0.3s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    animation: fadeUp 0.7s var(--ease-out-expo) 0.4s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: white;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 16px rgba(184,13,28,0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(184,13,28,0.45);
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: white;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-1px);
}

.btn-outline:active { transform: translateY(0) scale(0.98); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.hero-trust {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    animation: fadeUp 0.7s var(--ease-out-expo) 0.5s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.trust-item:hover { color: rgba(255,255,255,0.85); }
.trust-item:hover svg { color: var(--ohio-gold); }

.trust-item svg {
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    transition: color 0.3s;
}

/* Hero Visual — floating glass cards */
.hero-visual {
    position: relative;
    height: 380px;
    animation: fadeIn 1s var(--ease-out-expo) 0.5s both;
}

.visual-card {
    position: absolute;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 260px;
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
}

.visual-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transform: translateY(-4px) scale(1.02) !important;
}

.visual-card .vc-icon { font-size: 1.8rem; }
.visual-card .vc-label { font-weight: 600; font-size: 0.95rem; flex: 1; }
.visual-card .vc-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.vc-status.success { background: rgba(22,163,74,0.2); color: #4ade80; }
.vc-status.pending { background: rgba(217,119,6,0.2); color: #fbbf24; }

.vc-1 { top: 10px; left: 30px; animation: float 6s ease-in-out infinite; }
.vc-2 { top: 140px; left: 70px; animation: float 6s ease-in-out -2s infinite; }
.vc-3 { top: 270px; left: 20px; animation: float 6s ease-in-out -4s infinite; }

/* ═══════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════ */

.services-section {
    background: var(--surface-dim);
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-head {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(184,13,28,0.06);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(184,13,28,0.1);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.svc-category { margin-bottom: var(--space-3xl); }
.svc-category:last-child { margin-bottom: 0; }

.cat-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xs);
    position: relative;
    padding-left: 18px;
}

.cat-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0.5;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.svc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out-expo);
}

/* Shimmer highlight on hover */
.svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.7s;
    pointer-events: none;
}

.svc-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    transform: translateY(-6px);
}

.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover::after { left: 100%; }

.svc-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(184,13,28,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s var(--ease-spring);
}

.svc-card:hover .svc-icon { transform: scale(1.1) rotate(-3deg); }

.svc-body { flex: 1; }

.svc-body h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.svc-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: var(--space-sm);
}

.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--surface-dim);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag.agency {
    background: rgba(11,31,59,0.06);
    color: var(--ohio-blue);
}

.svc-action {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1.5px solid currentColor;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
    align-self: flex-start;
    background: transparent;
    white-space: nowrap;
}

.svc-action::after {
    content: '\2192';
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo);
    font-size: 0.9em;
}

.svc-card:hover .svc-action {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(184,13,28,0.25);
    transform: translateY(-1px);
}

.svc-card:hover .svc-action::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   HOW IT WORKS — with connectors
   ═══════════════════════════════════════════════ */

.how-section {
    background: white;
    padding: var(--space-4xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.step-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
}

/* Connector line between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 38px;
    right: -2px;
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
    opacity: 0.3;
    margin-left: auto;
    left: 50%;
    transform: translateX(20px);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(184,13,28,0.06);
    border: 2px solid rgba(184,13,28,0.15);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0 auto var(--space-lg);
    transition: all 0.3s var(--ease-out-expo);
}

.step-card:hover .step-num {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184,13,28,0.25);
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */

.cta-section {
    background: linear-gradient(160deg, var(--ohio-blue) 0%, var(--ohio-dark) 100%);
    color: white;
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Grain overlay */
.cta-section::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: grain 8s steps(10) infinite;
}

/* Decorative orbs */
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 300px 300px at 10% 50%, rgba(184,13,28,0.15), transparent),
        radial-gradient(ellipse 300px 300px at 90% 50%, rgba(212,175,55,0.08), transparent);
    pointer-events: none;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.cta-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

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

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.landing-footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.footer-brand .brand-seal { width: 36px; height: 36px; }

.footer-brand strong { display: block; font-size: 0.95rem; }
.footer-brand span { font-size: 0.78rem; color: var(--text-muted); display: block; }

.footer-links {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

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

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-faint);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: var(--space-3xl) var(--space-xl);
    }
    .hero-visual { display: none; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-card:not(:last-child)::after { display: none; }
}

@media (max-width: 600px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; gap: var(--space-sm); }
    .svc-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn-primary,
    .cta-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════ */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-dim);
}

.login-visual {
    background: linear-gradient(160deg, var(--ohio-blue) 0%, #0d2847 45%, var(--ohio-dark) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4xl);
    position: relative;
    overflow: hidden;
}

/* Grain */
.login-visual::after {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    animation: grain 8s steps(10) infinite;
}

.login-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 400px at 30% 70%, rgba(184,13,28,0.14), transparent),
        radial-gradient(ellipse 400px 300px at 70% 20%, rgba(212,175,55,0.08), transparent);
    pointer-events: none;
}

.login-visual-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    animation: slideRight 0.8s var(--ease-out-expo) 0.2s both;
}

.login-visual h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.login-visual p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

/* Floating decorative elements in login visual */
.login-visual-decor {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.decor-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: float-slow 8s ease-in-out infinite;
}

.decor-card:nth-child(2) { animation-delay: -3s; }
.decor-card:nth-child(3) { animation-delay: -6s; }

.decor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.decor-dot.green { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.5); }
.decor-dot.gold { background: var(--ohio-gold); box-shadow: 0 0 8px rgba(212,175,55,0.5); }
.decor-dot.blue { background: #60a5fa; box-shadow: 0 0 8px rgba(96,165,250,0.5); }

.login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    animation: fadeUp 0.7s var(--ease-out-expo) 0.3s both;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-form-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.2s;
}

.login-form-brand:hover { opacity: 0.8; }

.login-form-brand .brand-seal { width: 44px; height: 44px; }
.login-form-brand .brand-name { font-size: 1.1rem; font-weight: 700; }
.login-form-brand .brand-sub { font-size: 0.72rem; }

.login-form h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.login-form .login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-2xl);
}

.form-field {
    margin-bottom: var(--space-lg);
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-field input {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    color: var(--text);
    transition: all 0.25s var(--ease-out-expo);
    outline: none;
}

.form-field input:focus {
    border-color: var(--ohio-blue);
    box-shadow: 0 0 0 4px rgba(11,31,59,0.08);
}

.form-field input::placeholder { color: var(--text-faint); }

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.remember-check input { width: auto; accent-color: var(--ohio-blue); }

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.login-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: white;
    background: var(--ohio-blue);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(11,31,59,0.2);
    position: relative;
    overflow: hidden;
}

.login-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.login-submit:hover {
    background: var(--primary);
    box-shadow: 0 6px 24px rgba(184,13,28,0.35);
    transform: translateY(-1px);
}

.login-submit:hover::before { transform: translateX(100%); }

.login-submit:active { transform: translateY(0) scale(0.99); }

.login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading spinner inside button */
.login-submit .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.login-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: var(--text-faint);
    font-size: 0.82rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.login-register-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-register-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.login-register-link a:hover { color: var(--primary-dark); }

.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    display: none;
    animation: fadeUp 0.3s var(--ease-out-expo);
}

.login-error.visible { display: block; }

.login-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    animation: fadeUp 0.3s var(--ease-out-expo);
}

.login-success a {
    color: #16a34a;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #16a34a;
    transition: all 0.2s;
}

.login-success a:hover {
    color: #15803d;
    border-bottom-color: #15803d;
}

.session-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #16a34a;
    color: white !important;
    border-radius: var(--radius-md);
    border: none !important;
    font-weight: 600;
    transition: background 0.2s;
}

.session-link:hover {
    background: #15803d;
    color: white !important;
}

/* Guest Info Box */
.guest-info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2xl);
    font-size: 0.9rem;
    line-height: 1.5;
}

.guest-info-box svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.guest-info-box a {
    color: var(--ohio-gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--ohio-gold);
    transition: all 0.2s;
}

.guest-info-box a:hover {
    color: white;
    border-bottom-color: white;
}

/* Form Row Two Columns */
.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 600px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

/* Demo Credentials Box */
.demo-credentials-box {
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(184, 13, 28, 0.08) 100%);
    border: 1.5px solid rgba(0, 82, 204, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.demo-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--ohio-blue);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.demo-label svg {
    flex-shrink: 0;
}

.demo-cred-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.demo-cred-item:last-child {
    margin-bottom: 0;
}

.demo-label-small {
    font-weight: 600;
    color: var(--gray-600);
    min-width: 100px;
}

.demo-cred-item code {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 82, 204, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--ohio-blue);
    font-size: 0.8rem;
}

@media (max-width: 800px) {
    .login-page { grid-template-columns: 1fr; }
    .login-visual { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Theme toggle control (Light / System / Dark)
   ══════════════════════════════════════════════════════════════════════════ */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.04);
    border-radius: var(--radius-full);
    padding: 3px;
}
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.theme-btn:hover { color: var(--text); }
.theme-btn.theme-btn-active { background: var(--surface); color: var(--ohio-red); box-shadow: var(--shadow-sm); }
.theme-btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════════════════════════
   Dark theme — deliberately lighter than near-black (roughly #13-#24
   lightness). Redefining the shared surface/text variables here re-colors
   the nav, login/register forms, and guest check-in flow automatically
   (they're built on these vars); the landing page's decorative marketing
   sections use one-off inline colors and are left as-is by design — same
   scope line drawn on sibling apps' own marketing/hero content this pass.
   ══════════════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
    color-scheme: dark;
    --surface: #1b2230;
    --surface-dim: #141a24;
    --text: #e7e9f0;
    --text-muted: #9aa5b8;
    --text-faint: #6b7684;
    --border: rgba(255,255,255,0.14);
}
[data-theme="dark"] .landing-nav {
    background: rgba(20,26,36,0.9);
    border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .nav-link { color: var(--text); }
[data-theme="dark"] .form-field input,
[data-theme="dark"] .field input {
    background: #12161f;
    color: var(--text);
}
[data-theme="dark"] .login-error { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.35); color: #fca5a5; }
[data-theme="dark"] .login-success { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.35); color: #86efac; }
[data-theme="dark"] .demo-credentials-box {
    background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(184,13,28,0.1) 100%);
    border-color: rgba(59,130,246,0.25);
}
[data-theme="dark"] .demo-label { color: #93c5fd; }
[data-theme="dark"] .demo-cred-item,
[data-theme="dark"] .demo-label-small { color: var(--text-muted); }
[data-theme="dark"] .demo-cred-item code { background: rgba(59,130,246,0.15); color: #bfdbfe; }
