/* =====================================================
   DEX-ONE | style.css
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #050505;
    color: #ffffff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

/* Background */

.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background: #050505;
}

.grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -60%;
    left: -50%;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 70px 70px;
    transform: perspective(500px) rotateX(65deg);
    transform-origin: center;
    animation: gridMove 18s linear infinite;
}

@keyframes gridMove {
    from {
        transform: perspective(500px) rotateX(65deg) translateY(0);
    }
    to {
        transform: perspective(500px) rotateX(65deg) translateY(70px);
    }
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 0, 0, 0.17) 0%,
        rgba(150, 0, 0, 0.08) 35%,
        transparent 70%
    );
    filter: blur(55px);
    animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: .45;
        transform: translate(-50%, -50%) scale(.90);
    }
    50% {
        opacity: .8;
        transform: translate(-50%, -50%) scale(1.12);
    }
}

.red-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,0,0,.14), transparent 70%);
    filter: blur(35px);
    animation: orbMove 12s ease-in-out infinite alternate;
}

@keyframes orbMove {
    0% { left: 5%; top: 20%; }
    50% { left: 75%; top: 60%; }
    100% { left: 40%; top: 10%; }
}

/* Scanlines */

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: .025;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        #fff 4px
    );
}

/* Main */

main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 55px 25px 90px;
}

.container {
    width: 100%;
    max-width: 1050px;
    text-align: center;
}

/* Intro */

.eyebrow {
    display: inline-block;
    margin-bottom: 22px;
    color: #a0a0a0;
    font-size: 11px;
    letter-spacing: .38em;
    text-transform: uppercase;
    animation: fadeUp .9s ease forwards;
    opacity: 0;
}

.logo {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -.075em;
    line-height: .85;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: logoReveal 1.2s ease forwards;
    opacity: 0;
}

.logo span {
    color: #ff1717;
    text-shadow: 0 0 25px rgba(255,0,0,.45);
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.line {
    width: 0;
    height: 2px;
    margin: 0 auto 28px;
    background: #ff1717;
    box-shadow: 0 0 20px rgba(255,0,0,.8);
    animation: lineReveal 1s ease .8s forwards;
}

@keyframes lineReveal {
    to { width: 80px; }
}

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.04em;
    margin-bottom: 16px;
    animation: fadeUp 1s ease 1s forwards;
    opacity: 0;
}

.headline-accent {
    color: #ff2525;
    text-shadow: 0 0 25px rgba(255,0,0,.25);
}

.claim {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #b0b0b0;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    animation: fadeUp 1s ease 1.2s forwards;
    opacity: 0;
}

.claim strong {
    color: #ffffff;
    font-weight: 600;
}

/* Business */

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 24px;
    animation: fadeUp 1s ease 1.4s forwards;
    opacity: 0;
}

.business-item {
    position: relative;
    padding: 18px 15px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(12,12,12,.82);
    backdrop-filter: blur(10px);
    transition: transform .35s ease, border-color .35s ease,
                background .35s ease, box-shadow .35s ease;
    overflow: hidden;
}

.business-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #ff1717;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.business-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255,0,0,.5);
    background: rgba(30,5,5,.92);
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
}

.business-item:hover::before {
    transform: scaleX(1);
}

.business-item span {
    display: block;
    color: #ff3030;
    font-size: 10px;
    letter-spacing: .2em;
    margin-bottom: 8px;
}

.business-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.business-item small {
    display: block;
    color: #888;
    font-size: 11px;
    line-height: 1.5;
}

/* Countdown */

.countdown-wrapper {
    margin: 0 auto 30px;
    animation: fadeUp 1s ease 1.55s forwards;
    opacity: 0;
}

.countdown-label {
    color: #777;
    font-size: 9px;
    letter-spacing: .35em;
    margin-bottom: 8px;
}

.countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-box {
    min-width: 62px;
}

.time-box span {
    display: block;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.time-box small {
    color: #777;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.separator {
    color: #ff3030;
    font-size: 18px;
    margin-top: -10px;
    opacity: .85;
}

/* Contact */

.contact-section {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(8,8,8,.90);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    animation: fadeUp 1s ease 1.7s forwards;
    opacity: 0;
    text-align: left;
}

.contact-label {
    text-align: center;
    color: #ff3030;
    font-size: 9px;
    letter-spacing: .35em;
    margin-bottom: 8px;
}

.contact-section h2 {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 24px;
    color: #ffffff;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #b0b0b0;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 0;
    outline: none;
    background: #101010;
    color: #ffffff;
    padding: 13px 14px;
    font: inherit;
    font-size: 14px;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255,40,40,.8);
    background: #141414;
    box-shadow: 0 0 0 2px rgba(255,0,0,.08);
}

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

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-note {
    color: #666;
    font-size: 10px;
    line-height: 1.5;
    max-width: 350px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 14px 22px;
    border: 1px solid #ff3030;
    background: #b90000;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    transition: all .3s ease;
}

.submit-button:hover {
    background: #e00000;
    border-color: #ff5555;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,0,0,.2);
}

.submit-button:active {
    transform: translateY(0);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Footer */

footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 4;
    text-align: center;
    color: #555;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    pointer-events: none;
}

/* Animation */

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

/* Mobile */

@media (max-width: 750px) {
    main {
        align-items: flex-start;
        padding: 45px 18px 75px;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .contact-section {
        padding: 22px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .privacy-note {
        max-width: none;
    }

    .submit-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 4.2rem;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: .25em;
    }

    h1 {
        font-size: 2rem;
    }

    .claim {
        font-size: .95rem;
        line-height: 1.7;
    }

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

    .business-item small {
        display: none;
    }

    .countdown {
        gap: 3px;
    }

    .time-box {
        min-width: 54px;
    }

    .time-box span {
        font-size: 21px;
    }

    footer {
        font-size: 7px;
    }
}
