/* ============================================================
   SEALPRO — Splash Page
   Cinematic portal selector with video hero
   ============================================================ */

:root {
    --accent: #ffd300;
    --accent-glow: rgba(255, 211, 0, 0.15);
    --dark: #0a0b0f;
    --dark-card: #111318;
    --text-main: #ffffff;
    --text-muted: rgba(255,255,255,.5);
    --text-dim: rgba(255,255,255,.3);
    --radius: 16px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================================
   VIDEO BACKGROUND
   ============================================================ */
.video-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 0; overflow: hidden;
}
.video-bg video {
    width: 100%; height: 100%; object-fit: cover;
}
.video-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,11,15,.55) 0%,
        rgba(10,11,15,.7) 40%,
        rgba(10,11,15,.92) 100%
    );
}
.grain-overlay {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================================
   FLOATING NAV
   ============================================================ */
.splash-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 40px;
    background: linear-gradient(180deg, rgba(10,11,15,.6) 0%, transparent 100%);
}
.nav-logo {
    height: 36px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}
.nav-phone {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-main); text-decoration: none;
    font-size: 14px; font-weight: 600;
    padding: 10px 20px; border-radius: 30px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .3s ease;
}
.nav-phone:hover {
    background: rgba(255,211,0,.15);
    border-color: rgba(255,211,0,.3);
    color: var(--accent);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-content { max-width: 720px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: .8px;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 24px;
    padding: 8px 20px; border-radius: 30px;
    background: rgba(255,211,0,.08);
    border: 1px solid rgba(255,211,0,.15);
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
    50% { opacity: .5; box-shadow: 0 0 16px var(--accent); }
}

.hero-title {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 900; line-height: 1.05;
    letter-spacing: -2px; margin-bottom: 24px;
}
.title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #ffeb80 50%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted); line-height: 1.6;
    max-width: 540px; margin: 0 auto 40px;
    font-weight: 400;
}

.hero-cta { display: flex; justify-content: center; gap: 16px; }

.cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 50px;
    background: var(--accent); color: #0a0b0f;
    font-size: 16px; font-weight: 700; text-decoration: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 24px rgba(255,211,0,.2);
}
.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,211,0,.35);
}
.cta-primary svg {
    transition: transform .3s; animation: bounce-arrow 2s ease-in-out infinite;
}
@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
}
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scroll-fade 2s ease-in-out infinite;
}
@keyframes scroll-fade {
    0%, 100% { opacity: .3; height: 48px; }
    50% { opacity: 1; height: 32px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    position: relative; z-index: 1;
    display: flex; justify-content: center; align-items: center;
    gap: 0; padding: 48px 24px;
    background: linear-gradient(180deg, rgba(10,11,15,.95) 0%, var(--dark) 100%);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
    flex-wrap: wrap;
}
.stat-item {
    text-align: center; padding: 8px 48px;
}
.stat-value {
    display: block; font-size: 36px; font-weight: 900;
    letter-spacing: -1px; line-height: 1;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.7) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-plus {
    font-size: 28px; font-weight: 700; color: var(--accent);
    -webkit-text-fill-color: var(--accent);
}
.stat-label {
    display: block; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--text-dim); margin-top: 8px;
}
.stat-divider {
    width: 1px; height: 40px;
    background: rgba(255,255,255,.1);
}

/* ============================================================
   PORTAL SECTION
   ============================================================ */
.portal-section {
    position: relative; z-index: 1;
    padding: 100px 24px 80px;
    background: var(--dark);
}
.portal-header {
    text-align: center; margin-bottom: 56px;
}
.portal-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800; letter-spacing: -1px; margin-bottom: 12px;
}
.portal-header p {
    font-size: 17px; color: var(--text-muted); font-weight: 400;
}

.portal-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 28px; max-width: 1100px; margin: 0 auto;
}

/* --- Portal Card --- */
.portal-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    text-decoration: none; color: var(--text-main);
    min-height: 520px; display: flex; align-items: flex-end;
    transition: transform .45s cubic-bezier(.4,0,.2,1), box-shadow .45s ease;
    border: 1px solid rgba(255,255,255,.06);
}
.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

.card-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 6s cubic-bezier(.25,.46,.45,.94);
}
.portal-card:hover .card-bg { transform: scale(1.08); }

.card-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(
        0deg,
        rgba(10,11,15,.95) 0%,
        rgba(10,11,15,.7) 40%,
        rgba(10,11,15,.3) 70%,
        rgba(10,11,15,.15) 100%
    );
}

.card-content {
    position: relative; z-index: 2;
    padding: 40px 36px;
    width: 100%;
}

.card-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent); margin-bottom: 20px;
    padding: 5px 12px; border-radius: 4px;
    background: rgba(255,211,0,.1);
    border: 1px solid rgba(255,211,0,.15);
}

.card-icon-wrap {
    width: 64px; height: 64px; border-radius: 14px;
    background: rgba(255,211,0,.1);
    border: 1px solid rgba(255,211,0,.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--accent);
    transition: all .35s ease;
}
.portal-card:hover .card-icon-wrap {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(255,211,0,.25);
}

.card-title {
    font-size: 32px; font-weight: 800; letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 15px; color: var(--text-muted); line-height: 1.6;
    margin-bottom: 20px; max-width: 380px;
}

.card-features {
    list-style: none; margin-bottom: 28px;
}
.card-features li {
    position: relative; padding-left: 20px;
    font-size: 14px; color: rgba(255,255,255,.6);
    line-height: 2;
}
.card-features li::before {
    content: '';
    position: absolute; left: 0; top: 10px;
    width: 8px; height: 8px; border-radius: 2px;
    background: var(--accent); opacity: .7;
}

.card-action {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 700;
    color: var(--accent); text-transform: uppercase;
    letter-spacing: .8px;
}
.card-action svg {
    transition: transform .3s ease;
}
.portal-card:hover .card-action svg {
    transform: translateX(6px);
}

/* Mouse-tracking glow */
.card-glow {
    position: absolute; inset: 0; z-index: 1;
    border-radius: var(--radius);
    background: radial-gradient(
        600px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255,211,0,.08),
        transparent 40%
    );
    opacity: 0; transition: opacity .4s ease;
    pointer-events: none;
}
.portal-card:hover .card-glow { opacity: 1; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted-section {
    position: relative; z-index: 1;
    padding: 64px 24px;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.05);
    text-align: center;
}
.trusted-label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--text-dim); margin-bottom: 32px;
}
.trusted-logos {
    display: flex; justify-content: center; align-items: center;
    gap: 40px; flex-wrap: wrap; max-width: 800px; margin: 0 auto;
}
.trusted-logos img {
    height: 36px; object-fit: contain;
    filter: grayscale(1) brightness(0.6) invert(1);
    opacity: .35; transition: all .3s ease;
}
.trusted-logos img:hover {
    opacity: .8; filter: grayscale(0) brightness(1) invert(0);
    transform: scale(1.05);
}

/* ============================================================
   FOOTER
   ============================================================ */
.splash-footer {
    position: relative; z-index: 1;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 32px 24px;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1100px; margin: 0 auto;
}
.footer-logo { height: 24px; opacity: .4; }
.splash-footer p {
    font-size: 13px; color: var(--text-dim); font-weight: 400;
}
.footer-admin {
    font-size: 12px; color: var(--text-dim);
    text-decoration: none; padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 6px; transition: all .2s;
}
.footer-admin:hover {
    color: var(--text-main);
    border-color: rgba(255,255,255,.2);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.16,1,.3,1),
                transform .8s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .portal-grid { grid-template-columns: 1fr; max-width: 560px; }
    .portal-card { min-height: 440px; }
}

@media (max-width: 768px) {
    .splash-nav { padding: 16px 20px; }
    .nav-logo { height: 28px; }
    .nav-phone { font-size: 13px; padding: 8px 16px; }

    .hero-section { padding: 100px 20px 60px; }
    .hero-title { letter-spacing: -1px; }

    .stats-bar { gap: 0; padding: 32px 16px; }
    .stat-item { padding: 12px 20px; flex: 1 1 45%; }
    .stat-value { font-size: 28px; }
    .stat-divider { display: none; }

    .portal-section { padding: 64px 16px 48px; }
    .portal-card { min-height: 380px; }
    .card-content { padding: 28px 24px; }
    .card-title { font-size: 26px; }
    .card-features li { font-size: 13px; }

    .trusted-logos { gap: 24px; }
    .trusted-logos img { height: 28px; }

    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-logo { display: none; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 11px; padding: 6px 14px; }
    .cta-primary { padding: 14px 28px; font-size: 15px; }
    .stat-item { flex: 1 1 100%; }
}
