/* =========================================
   MOVED FROM: resources/views/welcome.blade.php
========================================= */
:root {
    --oops-bg-1: #050506;
    --oops-bg-2: #0b0d10;
    --oops-bg-3: #111419;
    --oops-text: #f8eee4;
    --oops-muted: #c2b1a3;
    --oops-orange: #ff7b16;
    --oops-orange-soft: #ff9c47;
    --oops-amber: #ffb347;
    --oops-card: rgba(12, 14, 17, 0.88);
    --oops-line: rgba(255, 123, 22, 0.36);
    --oops-glow: rgba(255, 123, 22, 0.24);
}

:root[data-theme="light"] {
    --oops-bg-1: #f2f5fb;
    --oops-bg-2: #eef2f8;
    --oops-bg-3: #e8edf5;
    --oops-text: #1b2533;
    --oops-muted: #526172;
    --oops-card: rgba(255, 255, 255, 0.9);
    --oops-line: rgba(230, 99, 9, 0.32);
    --oops-glow: rgba(230, 99, 9, 0.18);
}

body.oopsie-bg {
    background-color: #050506;
    background-image: url('{{ asset('assets/images/bg/oopsie-bg.png') }}');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--oops-text);
}

:root[data-theme="light"] body.oopsie-bg {
    background-color: #eef2f8;
    background-image: url('{{ asset('assets/images/bg/oopsie-bg-white.png') }}');
}

.oopsie-sentry-shell {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
}

.oopsie-sentry-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .42;
    background:
        radial-gradient(circle at 60% 40%, rgba(255, 141, 53, .22), transparent 42%),
        radial-gradient(circle at 42% 34%, rgba(255, 123, 22, .16) 1px, transparent 1.7px);
    background-size: auto, 8px 8px;
    mask-image: radial-gradient(circle at 50% 45%, #000 26%, transparent 68%);
}

:root[data-theme="light"] .oopsie-sentry-shell::before {
    opacity: .22;
}

.oopsie-sentry-shell::after {
    content: "";
    position: fixed;
    left: -8%;
    right: -8%;
    bottom: -80px;
    height: 36vh;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background:
        radial-gradient(circle at 70% 80%, rgba(255, 123, 22, .42), transparent 22%),
        linear-gradient(to top, rgba(255, 123, 22, .1), transparent 55%),
        repeating-linear-gradient(to right, rgba(255, 140, 60, .16) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(to top, rgba(255, 140, 60, .12) 0 1px, transparent 1px 24px);
    transform: perspective(220px) rotateX(56deg);
    transform-origin: bottom center;
}

:root[data-theme="light"] .oopsie-sentry-shell::after {
    opacity: .18;
}

.brand-orb {
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: .25;
}

.orb-a {
    top: -220px;
    left: -160px;
    background: radial-gradient(circle, rgba(255, 123, 22, .7), transparent 70%);
}

.orb-b {
    bottom: -220px;
    right: -160px;
    background: radial-gradient(circle, rgba(255, 169, 84, .58), transparent 70%);
}

.noise-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 173, 106, .1) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: .16;
}

:root[data-theme="light"] .noise-layer {
    background-image: radial-gradient(rgba(18, 24, 33, .08) 1px, transparent 1px);
}

.landing-container {
    width: min(1080px, 92vw);
    margin: 0 auto;
    padding-top: 86px;
    position: relative;
    z-index: 2;
}

.oopsie-topbar {
    width: 100%;
    margin: 0;
    padding: 8px 0;
    padding-left: 3vw;
    padding-right: 3vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.4));
    border-bottom: 1px solid rgba(255, 123, 22, .18);
}

:root[data-theme="light"] .oopsie-topbar {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.65));
    border-bottom: 1px solid rgba(17, 24, 39, .12);
}

.brand-link {
    position: relative;
    display: block;
    width: 240px;
    height: 44px;
    line-height: 0;
}

.brand-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 160px;
    width: auto;
}
.top-links { gap: 22px; }
.top-links a,
.landing-footer a { color: var(--oops-muted); text-decoration: none; }
.top-links a:hover,
.landing-footer a:hover { color: #fff; }
.top-actions { display: flex; gap: 8px; }

@media (min-width: 992px) {
    .brand-link {
        margin-right: 6px;
    }

    .top-links {
        margin-right: 6px;
    }

    .top-actions {
        margin-left: 0;
    }
}

.btn {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: .85rem;
    font-weight: 700;
}

.btn-oopsie-ghost,
.btn-oopsie-outline {
    border: 1px solid var(--oops-line);
    color: #ffe9d7;
    background: rgba(255, 123, 22, 0.06);
}

.hero-section {
    text-align: center;
    padding: 42px 0 8px;
}

.hero-pill {
    display: inline-block;
    font-size: .66rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    background: rgba(255, 123, 22, 0.16);
    border: 1px solid rgba(255, 123, 22, 0.36);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2rem, 4.8vw, 3.8rem);
    line-height: 1.06;
    margin-bottom: 12px;
    color: #fff5eb;
    font-weight: 800;
    text-shadow: 0 0 24px rgba(255, 123, 22, .15);
}

.hero-title span,
h2 span { color: var(--oops-orange); }

.hero-copy {
    color: var(--oops-muted);
    max-width: 670px;
    margin: 0 auto 18px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-stage {
    margin: 38px auto 0;
    min-height: 320px;
    max-width: 920px;
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(255, 123, 22, .16);
    background:
        radial-gradient(circle at center, rgba(255, 123, 22, .18), transparent 62%),
        linear-gradient(120deg, rgba(255, 123, 22, .08), transparent 45%);
}

.stage-figure {
    width: 220px;
    height: 220px;
    border-radius: 26px;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -46%) rotate(45deg);
    background: linear-gradient(135deg, #ff8d34 0%, #ff5a00 100%);
    box-shadow: 0 0 0 5px rgba(255, 181, 120, .09), 0 30px 100px rgba(255, 123, 22, .42);
}

.stage-card {
    position: absolute;
    width: 240px;
    background: var(--oops-card);
    border: 1px solid var(--oops-line);
    border-radius: 10px;
    text-align: left;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.stage-card small {
    font-size: .68rem;
    color: #ffd8b9;
    display: block;
    margin-bottom: 10px;
}

.stage-card div {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 123, 22, 0.32);
    margin-bottom: 7px;
}

.stage-card.accent { border-color: rgba(255, 179, 71, 0.85); }
.stage-card.accent div { background: rgba(255, 179, 71, 0.62); }
.card-a { top: 34px; left: 30px; }
.card-b { bottom: 26px; left: 78px; }
.card-c { top: 72px; right: 42px; }

.logo-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 28px 0 16px;
    border-bottom: 1px solid rgba(255, 123, 22, 0.22);
    color: #f8cba5;
    font-weight: 700;
    opacity: .85;
}

.content-section {
    padding: 74px 0 16px;
}

.content-section h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.08;
    margin-bottom: 10px;
    color: #fff2e7;
}

.content-section p,
.content-section small { color: var(--oops-muted); }

.section-head h2 { margin-top: 6px; }

.two-col-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    background: var(--oops-card);
    border: 1px solid var(--oops-line);
    border-radius: 10px;
    padding: 16px;
}

.feature-card h3 {
    font-size: 1.03rem;
    color: #ffeede;
    margin-bottom: 6px;
}

.feature-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffe0c8;
    border: 1px solid rgba(255, 123, 22, 0.38);
    background: rgba(255, 123, 22, 0.15);
    padding: 4px 8px;
    border-radius: 999px;
}

.split-showcase {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: center;
}

.split-showcase.reverse {
    grid-template-columns: 1.1fr .9fr;
}

.split-showcase.reverse > :first-child {
    order: 2;
}

.split-showcase.reverse > :last-child {
    order: 1;
}

.showcase-panel {
    position: relative;
    min-height: 290px;
}

.showcase-screen {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid var(--oops-line);
    background:
        linear-gradient(180deg, rgba(255, 141, 53, .12), transparent 36%),
        repeating-linear-gradient(180deg, rgba(255, 185, 130, .08) 0 2px, transparent 2px 18px),
        var(--oops-card);
}

.showcase-screen.alt {
    background:
        linear-gradient(90deg, rgba(255, 123, 22, .2), transparent 33%),
        repeating-linear-gradient(180deg, rgba(255, 185, 130, .08) 0 2px, transparent 2px 18px),
        var(--oops-card);
}

.showcase-circle {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 2px solid rgba(255, 179, 71, 0.84);
    right: 28px;
    bottom: 24px;
    box-shadow: 0 0 0 8px rgba(255, 179, 71, 0.1);
}

.showcase-circle.pink {
    border-color: rgba(255, 123, 22, 0.85);
    box-shadow: 0 0 0 8px rgba(255, 123, 22, 0.11);
}

.showcase-tags {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
    max-width: 70%;
}

.showcase-tags.right {
    left: auto;
    right: 16px;
    justify-content: flex-end;
}

.showcase-tags span {
    font-size: .68rem;
    color: #ffe3cc;
    border: 1px solid rgba(255, 123, 22, 0.44);
    background: rgba(22, 14, 8, 0.92);
    border-radius: 999px;
    padding: 4px 8px;
}

.testimonials .test-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.test-grid article {
    background: rgba(255, 123, 22, 0.05);
    border: 1px solid rgba(255, 123, 22, 0.26);
    border-radius: 10px;
    padding: 15px;
}

.test-grid p {
    color: #ffe2ca;
    margin-bottom: 10px;
}

.test-grid strong {
    display: block;
    color: #fff3e8;
}

.get-started { text-align: center; }

.setup-command-wrap {
    margin: 24px auto 0;
    width: min(740px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--oops-line);
    background: rgba(14, 10, 7, 0.96);
}

.setup-command-wrap code {
    color: #ffdfc4;
    padding: 13px 15px;
    text-align: left;
}

.copy-btn {
    border: 0;
    padding: 0 16px;
    font-weight: 700;
    border-radius: 0;
}

.security-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.security-badges span {
    border: 1px solid var(--oops-line);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: .78rem;
    color: #ffe2c5;
}

.security-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.security-note {
    display: block;
    margin-bottom: 12px;
    color: #ffd6b4;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-input {
    border: 1px solid var(--oops-line);
    border-radius: 8px;
    color: #ffe8d5;
    background: rgba(17, 11, 7, 0.92);
    padding: 10px 12px;
}

.newsletter-input::placeholder {
    color: rgba(255, 232, 213, 0.62);
}

:root[data-theme="light"] .newsletter-input {
    background: rgba(255, 255, 255, 0.96);
    color: #1b2533;
    border-color: rgba(27, 37, 51, 0.2);
}

:root[data-theme="light"] .newsletter-input::placeholder {
    color: rgba(27, 37, 51, 0.48);
}

.newsletter-feedback {
    display: block;
    margin-top: 8px;
    margin-bottom: 4px;
    font-size: .82rem;
    line-height: 1.35;
}

.newsletter-feedback-error {
    color: #ff8c66;
}

.newsletter-feedback-success {
    color: #9de5b4;
}

:root[data-theme="light"] .newsletter-feedback-error {
    color: #b3360b;
}

:root[data-theme="light"] .newsletter-feedback-success {
    color: #0f7a3a;
}

.final-cta {
    text-align: center;
    border-top: 1px solid rgba(255, 123, 22, 0.3);
    margin-top: 10px;
    padding-top: 60px;
}

.landing-footer {
    margin-top: 40px;
    padding: 28px 0 44px;
    border-top: 1px dashed rgba(255, 123, 22, 0.34);
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-footer h4 {
    color: #fff0e2;
    font-size: .95rem;
    margin-bottom: 9px;
}

.landing-footer a {
    display: block;
    margin-bottom: 6px;
    font-size: .86rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 991px) {
    .two-col-grid,
    .split-showcase,
    .split-showcase.reverse {
        grid-template-columns: 1fr;
    }

    .split-showcase.reverse > :first-child,
    .split-showcase.reverse > :last-child {
        order: initial;
    }

    .feature-grid,
    .testimonials .test-grid,
    .landing-footer {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 360px;
    }

    .stage-card {
        width: 190px;
    }

    .card-a { top: 24px; left: 12px; }
    .card-b { bottom: 16px; left: 10px; }
    .card-c { top: 40px; right: 8px; }
}

@media (max-width: 600px) {
    .oopsie-topbar {
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand-link {
        width: 130px;
        height: 38px;
        flex: 0 0 130px;
    }

    .brand-logo {
        height: 110px;
    }

    .top-actions {
        gap: 6px;
        flex-wrap: nowrap;
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .top-actions .btn {
        padding: 6px 10px;
        font-size: .72rem;
        line-height: 1;
        white-space: nowrap;
    }

    .setup-command-wrap,
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .copy-btn,
    .newsletter-form .btn { border-radius: 0; }
}
