/* ============================================================
   LANDING & AUTH — Dark Glass Design System
   Palette: Navy #050d1c · Sky Blue #39a8ea · Cyan #00d4ff
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --lp-bg: #050d1c;
    --lp-bg-1: #081426;
    --lp-bg-2: #0d1f3c;
    --lp-surface: rgba(255, 255, 255, 0.042);
    --lp-surface-h: rgba(255, 255, 255, 0.07);
    --lp-border: rgba(255, 255, 255, 0.09);
    --lp-border-h: rgba(57, 168, 234, 0.45);
    --lp-text: rgba(255, 255, 255, 0.93);
    --lp-muted: rgba(255, 255, 255, 0.48);
    --lp-cyan: #39a8ea;
    --lp-cyan-b: #00d4ff;
    --lp-glow: rgba(57, 168, 234, 0.38);
    --lp-glow-lg: rgba(57, 168, 234, 0.18);
    --lp-navy: #122c5c;
    --lp-danger: rgba(220, 50, 50, 0.85);
}

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes orb-drift-a {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }

    33% {
        transform: translate(40px, -50px) scale(1.08);
        opacity: 0.7;
    }

    66% {
        transform: translate(-20px, 30px) scale(0.94);
        opacity: 0.5;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }
}

@keyframes orb-drift-b {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    40% {
        transform: translate(-35px, 45px) scale(1.06);
        opacity: 0.65;
    }

    70% {
        transform: translate(25px, -20px) scale(0.96);
        opacity: 0.45;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
}

@keyframes orb-drift-c {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -40px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-14px) rotate(-1deg);
    }
}

/* ── Customer Satisfaction Card ────────────────────────────── */
@keyframes satisfaction-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
@keyframes satisfaction-enter {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lp-satisfaction-card {
    margin-top: 2rem;
    display: inline-block;
    animation:
        satisfaction-enter 0.8s 0.6s ease both,
        satisfaction-float 7s 1.4s ease-in-out infinite;
    filter: drop-shadow(0 12px 32px rgba(57, 168, 234, 0.22));
}

.lp-satisfaction-img {
    max-width: 340px;
    width: 100%;
    border-radius: 14px;
    display: block;
    border: 1px solid rgba(57, 168, 234, 0.18);
}

@media (max-width: 960px) {
    .lp-satisfaction-card { display: none; }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--lp-glow), 0 0 60px rgba(57, 168, 234, 0.08);
    }

    50% {
        box-shadow: 0 0 35px var(--lp-glow), 0 0 80px rgba(57, 168, 234, 0.16);
    }
}

@keyframes border-scan {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes stat-count {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

    100% {
        background-position: 200% center;
    }
}

/* ── Dark Page Base ────────────────────────────────────────── */
body.dark-page {
    background: var(--lp-bg);
    color: var(--lp-text);
    overflow-x: hidden;
}

body.dark-page .topbar {
    background: rgba(5, 13, 28, 0.72);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--lp-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 64px;
    transition: background 0.3s, box-shadow 0.3s;
}

body.dark-page .topbar.scrolled {
    background: rgba(5, 13, 28, 0.95);
    box-shadow: 0 1px 0 var(--lp-border), 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.dark-page .topbar-nav a {
    color: rgba(255, 255, 255, 0.72);
    border-bottom-color: transparent;
    font-size: 0.87rem;
}

body.dark-page .topbar-nav a:hover {
    color: #fff;
    border-bottom-color: var(--lp-cyan);
}

body.dark-page .main-content {
    padding: 0;
    max-width: none;
    margin: 0;
}

body.dark-page .brand:hover {
    color: var(--lp-cyan);
}

/* ── Animated Background System ───────────────────────────── */
.lp-canvas {
    position: relative;
    background: var(--lp-bg);
    overflow: hidden;
}

.lp-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(57, 168, 234, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 60, 120, 0.25) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Dot grid overlay */
.lp-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Floating orbs */
.lp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.lp-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 168, 234, 0.22) 0%, transparent 70%);
    top: -120px;
    left: -100px;
    animation: orb-drift-a 18s ease-in-out infinite;
}

.lp-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 60, 140, 0.35) 0%, transparent 70%);
    bottom: -80px;
    right: -60px;
    animation: orb-drift-b 22s ease-in-out infinite;
}

.lp-orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.14) 0%, transparent 70%);
    top: 40%;
    right: 15%;
    animation: orb-drift-c 15s ease-in-out infinite;
}

/* ── Hero Section ──────────────────────────────────────────── */
.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-image:
        linear-gradient(rgba(10, 15, 30, 0.82), rgba(10, 15, 30, 0.82)),
        url('../images/real-odotmail-satisfaction.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Hero Left ─────────────────────────────────────────────── */
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lp-cyan);
    background: rgba(57, 168, 234, 0.1);
    border: 1px solid rgba(57, 168, 234, 0.25);
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.5rem;
    animation: fade-in 0.6s ease both;
}

.lp-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lp-cyan);
    animation: glow-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--lp-cyan);
}

.lp-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.4rem;
    animation: fade-up 0.7s 0.1s ease both;
    letter-spacing: -0.025em;
}

.lp-headline .gradient-text {
    background: linear-gradient(135deg, var(--lp-cyan) 0%, #ffffff 50%, var(--lp-cyan-b) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.lp-subtext {
    font-size: 1.08rem;
    color: var(--lp-muted);
    line-height: 1.72;
    max-width: 520px;
    margin-bottom: 2.2rem;
    animation: fade-up 0.7s 0.2s ease both;
}

.lp-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fade-up 0.7s 0.3s ease both;
}

/* Primary CTA */
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font, 'Barlow', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: var(--lp-cyan);
    border: 2px solid var(--lp-cyan);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.lp-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.2s;
}

.lp-btn-primary:hover {
    background: #2292d4;
    border-color: #2292d4;
    box-shadow: 0 0 28px rgba(57, 168, 234, 0.55), 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

.lp-btn-primary:hover::after {
    opacity: 1;
}

/* Ghost CTA */
.lp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font, 'Barlow', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.lp-btn-ghost:hover {
    background: var(--lp-surface-h);
    border-color: rgba(57, 168, 234, 0.4);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Stats row */
.lp-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fade-up 0.7s 0.4s ease both;
}

.lp-stat {
    text-align: center;
}

.lp-stat-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--lp-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-stat-label {
    display: block;
    font-size: 0.73rem;
    color: var(--lp-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
    font-weight: 600;
}

.lp-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--lp-border);
    align-self: center;
}

/* ── Hero Right — Code Card ────────────────────────────────── */
.lp-hero-right {
    animation: fade-up 0.7s 0.25s ease both;
    display: flex;
    justify-content: center;
}

.lp-code-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: float-card 6s ease-in-out infinite;
    box-shadow:
        0 0 0 1px rgba(57, 168, 234, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
}

/* Animated top border */
.lp-code-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--lp-cyan) 30%,
            var(--lp-cyan-b) 50%,
            var(--lp-cyan) 70%,
            transparent 100%);
    background-size: 200% 100%;
    animation: border-scan 3s linear infinite;
}

.lp-card-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-dot-row {
    display: flex;
    gap: 0.35rem;
    margin-right: 0.5rem;
}

.lp-dot-row span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.lp-dot-row span:nth-child(1) {
    background: #ff5f57;
}

.lp-dot-row span:nth-child(2) {
    background: #febc2e;
}

.lp-dot-row span:nth-child(3) {
    background: #28c840;
}

.lp-card-title-text {
    font-size: 0.77rem;
    color: var(--lp-muted);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}

.lp-method-pill {
    margin-left: auto;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.5rem;
    background: rgba(57, 168, 234, 0.18);
    color: var(--lp-cyan);
    border: 1px solid rgba(57, 168, 234, 0.3);
}

.lp-code-area {
    padding: 1.2rem 1.3rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.84rem;
    line-height: 1.75;
    color: #a8d8f8;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-code-area .t-key {
    color: #79c0ff;
}

.lp-code-area .t-str {
    color: #a5d6ff;
}

.lp-code-area .t-brk {
    color: rgba(255, 255, 255, 0.45);
}

.lp-code-area .t-op {
    color: var(--lp-muted);
}

.lp-code-area .t-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--lp-cyan);
    vertical-align: text-bottom;
    animation: cursor-blink 1.1s step-end infinite;
    margin-left: 1px;
}

.lp-response-area {
    padding: 0.9rem 1.3rem;
}

.lp-response-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.lp-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 6px rgba(40, 200, 64, 0.7);
    flex-shrink: 0;
}

.lp-status-ok {
    font-weight: 700;
    color: #28c840;
    font-family: monospace;
}

.lp-status-code {
    color: var(--lp-muted);
    font-family: monospace;
    font-size: 0.76rem;
}

.lp-response-json {
    font-family: monospace;
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.lp-response-json .t-bool {
    color: #79c0ff;
}

.lp-response-json .t-str {
    color: #a5d6ff;
}

/* ── Scroll-in sections ────────────────────────────────────── */
.lp-section {
    padding: 5rem 0;
}

/* ── Tech ticker strip ─────────────────────────────────────── */
.lp-ticker {
    background: rgba(57, 168, 234, 0.07);
    border-top: 1px solid rgba(57, 168, 234, 0.15);
    border-bottom: 1px solid rgba(57, 168, 234, 0.15);
    padding: 0.85rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.lp-ticker-inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lp-cyan);
    white-space: nowrap;
    width: max-content;
    animation: lp-ticker-scroll 30s linear infinite;
}

@keyframes lp-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lp-ticker:hover .lp-ticker-inner {
    animation-play-state: paused;
}

.lp-ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lp-ticker-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(57, 168, 234, 0.35);
}

/* ── Features Section ──────────────────────────────────────── */
.lp-features {
    background: #f8fbfe;
    padding: 5rem 0;
}

.lp-section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-cyan);
    margin-bottom: 0.9rem;
}

.lp-section-label::before,
.lp-section-label::after {
    content: '';
    flex: none;
    width: 32px;
    height: 1px;
    background: var(--lp-cyan);
    opacity: 0.5;
}

.lp-features-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.lp-features-header h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #122c5c;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.lp-features-header p {
    color: #5c6b7b;
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Dark-page overrides — only Services and Pricing dark sections (not the light .lp-features section) */
body.dark-page .lp-services .lp-features-header h2,
body.dark-page .lp-pricing .lp-features-header h2 {
    color: rgba(255, 255, 255, 0.93);
}

body.dark-page .lp-services .lp-features-header p,
body.dark-page .lp-pricing .lp-features-header p {
    color: rgba(255, 255, 255, 0.55);
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e0eaf2;
    border: 1px solid #e0eaf2;
}

.lp-feature-card {
    background: #fff;
    padding: 2rem 1.8rem;
    position: relative;
    transition: background 0.2s;
    cursor: default;
}

.lp-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-cyan), var(--lp-cyan-b));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.lp-feature-card:hover {
    background: #f0f8ff;
}

.lp-feature-card:hover::after {
    transform: scaleX(1);
}

.lp-feat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(57, 168, 234, 0.12) 0%, rgba(0, 212, 255, 0.08) 100%);
    border: 1px solid rgba(57, 168, 234, 0.2);
    font-size: 1.1rem;
    color: #1a78b4;
    margin-bottom: 1.1rem;
    transition: background 0.2s, transform 0.2s;
}

.lp-feature-card:hover .lp-feat-icon {
    background: linear-gradient(135deg, rgba(57, 168, 234, 0.22) 0%, rgba(0, 212, 255, 0.14) 100%);
    transform: scale(1.06);
}

.lp-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #122c5c;
    margin-bottom: 0.55rem;
}

.lp-feature-card p {
    font-size: 0.87rem;
    color: #5c6b7b;
    line-height: 1.65;
}

/* ── AI / Insight section ─────────────────────────────────── */
.lp-insight {
    background: var(--lp-bg-1);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.lp-insight::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.lp-insight-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.lp-insight-label {
    position: sticky;
    top: 100px;
}

.lp-insight-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-cyan);
    background: rgba(57, 168, 234, 0.1);
    border: 1px solid rgba(57, 168, 234, 0.2);
    padding: 0.32rem 0.75rem;
    margin-bottom: 1rem;
}

.lp-insight-label h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lp-insight-label h2 em {
    font-style: normal;
    color: var(--lp-cyan);
}

.lp-insight-body {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
    line-height: 1.8;
}

.lp-insight-body p+p {
    margin-top: 1.1rem;
}

/* ── API Preview ───────────────────────────────────────────── */
.lp-api-preview {
    background: var(--lp-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.lp-api-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(57, 168, 234, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lp-api-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 2.5rem;
}

.lp-api-inner h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.lp-api-inner p {
    color: var(--lp-muted);
    font-size: 0.95rem;
}

.lp-api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

.lp-api-pane {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
}

.lp-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: monospace;
    font-size: 0.77rem;
    color: var(--lp-muted);
}

.lp-pane-header .lp-lang-tag {
    font-size: 0.68rem;
    background: rgba(57, 168, 234, 0.15);
    color: var(--lp-cyan);
    border: 1px solid rgba(57, 168, 234, 0.25);
    padding: 0.15rem 0.45rem;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.lp-pane-body {
    padding: 1.3rem 1.4rem;
    font-family: monospace;
    font-size: 0.83rem;
    line-height: 1.75;
    color: #8ab8d8;
}

.lp-pane-body .t-key {
    color: #79c0ff;
}

.lp-pane-body .t-str {
    color: #a5d6ff;
}

.lp-pane-body .t-bool {
    color: #79c0ff;
}

.lp-pane-body .t-null {
    color: #f78c6c;
}

/* ── Payment Partners Section ──────────────────────────────── */
.lp-partners {
    background: var(--lp-bg-1);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    padding: 4rem 0;
}

.lp-partners-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lp-muted);
    margin-bottom: 0.6rem;
}

.lp-partners-label i {
    margin-right: 0.4rem;
    color: var(--lp-cyan);
}

.lp-partners-sub {
    text-align: center;
    font-size: 0.9rem;
    color: var(--lp-muted);
    margin: 0 auto 2.5rem;
    max-width: 480px;
}

.lp-partners-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.lp-partner-card {
    flex: 1 1 240px;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    padding: 1.6rem 1.8rem;
    transition: border-color 0.2s, background 0.2s;
}

.lp-partner-card:first-child {
    border-radius: 0;
}

.lp-partner-card:hover {
    background: var(--lp-surface-h);
}

.lp-partner-logo-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
}

.lp-partner-logo {
    max-width: 56px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lp-partner-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.lp-partner-desc {
    font-size: 0.8rem;
    color: var(--lp-muted);
    margin-bottom: 0.5rem;
}

.lp-partner-trust {
    font-size: 0.75rem;
    color: var(--lp-muted);
}

.lp-partner-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    color: var(--lp-muted);
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--lp-bg-1);
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
}

@media (max-width: 540px) {
    .lp-partners-row {
        flex-direction: column;
        max-width: 340px;
    }

    .lp-partner-divider {
        width: auto;
        height: 36px;
        border: none;
        border-left: 1px solid var(--lp-border);
        border-right: 1px solid var(--lp-border);
    }
}

/* ── Final CTA Section ─────────────────────────────────────── */
.lp-cta {
    background: linear-gradient(135deg, var(--lp-bg-2) 0%, var(--lp-bg) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 168, 234, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.lp-cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.lp-cta h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.025em;
}

.lp-cta p {
    color: var(--lp-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Dark Footer ───────────────────────────────────────────── */
.lp-footer {
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--lp-border);
    padding: 1.6rem 0;
}

.lp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--lp-muted);
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.lp-footer-brand i {
    color: var(--lp-cyan);
}

/* ── Light-page footer overrides (non-dark pages) ──────────── */
body:not(.dark-page) .lp-footer {
    background: var(--secondary, #122c5c);
    border-top: 3px solid var(--primary, #39a8ea);
    margin-top: 3rem;
}

body:not(.dark-page) .lp-footer-inner {
    color: rgba(255, 255, 255, 0.5);
}

body:not(.dark-page) .lp-footer-brand {
    color: rgba(255, 255, 255, 0.7);
}

body:not(.dark-page) .lp-footer-brand img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* ─────────────────────────────────────────────────────────────
   AUTH PAGES — Dark Glass Form Design
   ───────────────────────────────────────────────────────────── */

.auth-dark-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-bg);
    position: relative;
    overflow: hidden;
    padding: 80px 1.5rem 3rem;
}

/* Background orbs for auth pages */
.auth-dark-page .auth-orb-a {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 168, 234, 0.14) 0%, transparent 70%);
    filter: blur(60px);
    top: -150px;
    right: -100px;
    animation: orb-drift-a 20s ease-in-out infinite;
    pointer-events: none;
}

.auth-dark-page .auth-orb-b {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 60, 140, 0.3) 0%, transparent 70%);
    filter: blur(70px);
    bottom: -100px;
    left: -80px;
    animation: orb-drift-b 18s ease-in-out infinite;
    pointer-events: none;
}

/* Dot grid */
.auth-dark-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}

.auth-glass-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2.2rem;
    box-shadow:
        0 0 0 1px rgba(57, 168, 234, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    animation: fade-up 0.6s ease both;
}

/* Animated top border on card */
.auth-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent, var(--lp-cyan) 30%, var(--lp-cyan-b) 50%, var(--lp-cyan) 70%, transparent);
    background-size: 200% 100%;
    animation: border-scan 3s linear infinite;
}

.auth-glass-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
    text-decoration: none;
}

.auth-glass-brand:hover {
    text-decoration: none;
}

.auth-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--lp-cyan), #0070b8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(57, 168, 234, 0.45);
}

.auth-brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
}

.auth-glass-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.auth-glass-sub {
    font-size: 0.87rem;
    color: var(--lp-muted);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* Dark inputs */
.auth-dark-group {
    margin-bottom: 1rem;
}

.auth-dark-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.auth-dark-field {
    position: relative;
}

.auth-dark-field i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.82rem;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-dark-field input {
    width: 100%;
    padding: 0.7rem 0.9rem 0.7rem 2.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font, 'Barlow', sans-serif);
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.auth-dark-field input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.auth-dark-field input:focus {
    outline: none;
    background: rgba(57, 168, 234, 0.07);
    border-color: rgba(57, 168, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(57, 168, 234, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #fff;
}

.auth-dark-field:focus-within i {
    color: var(--lp-cyan);
}

.auth-input-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.3rem;
}

/* Primary submit button */
.auth-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    min-height: 46px;
    background: var(--lp-cyan);
    border: 2px solid var(--lp-cyan);
    color: #fff;
    font-family: var(--font, 'Barlow', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.4rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.auth-btn-submit:hover {
    background: #2292d4;
    border-color: #2292d4;
    box-shadow: 0 0 28px rgba(57, 168, 234, 0.5), 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

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

/* Divider */
.auth-dark-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.4rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-dark-divider::before,
.auth-dark-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* OAuth buttons */
.auth-oauth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.auth-oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font, 'Barlow', sans-serif);
    font-size: 0.87rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.auth-oauth-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.auth-glass-footer {
    margin-top: 1.4rem;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.35);
}

.auth-glass-footer a {
    color: var(--lp-cyan);
    font-weight: 600;
    text-decoration: none;
}

.auth-glass-footer a:hover {
    text-decoration: underline;
    color: var(--lp-cyan-b);
}

/* Flash messages in dark context */
.auth-flash {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border-left: 3px solid;
    font-size: 0.87rem;
    margin-bottom: 1.2rem;
    border-radius: 0;
}

.auth-flash.success {
    background: rgba(40, 200, 64, 0.1);
    border-color: #28c840;
    color: #6de87a;
}

.auth-flash.error {
    background: rgba(220, 50, 50, 0.1);
    border-color: #dc3232;
    color: #f08080;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lp-hero-right {
        display: none;
    }

    .lp-headline {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .lp-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-insight-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lp-insight-label {
        position: static;
    }

    .lp-api-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lp-hero {
        padding: 100px 0 60px;
    }

    .lp-feature-grid {
        grid-template-columns: 1fr;
    }

    .lp-actions {
        flex-direction: column;
    }

    .lp-btn-primary,
    .lp-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .lp-stats {
        gap: 1.2rem;
    }

    .lp-section {
        padding: 3.5rem 0;
    }

    .auth-glass-card {
        padding: 2rem 1.5rem;
    }

    .auth-oauth-row {
        grid-template-columns: 1fr;
    }
}

/* ── Dark-page hamburger & mobile-nav overrides ─────────────── */
.dark-page .mobile-nav {
    background: #081426;
    border-left: 1px solid rgba(57, 168, 234, 0.15);
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.55);
}

.dark-page .mobile-nav-head {
    border-bottom-color: rgba(57, 168, 234, 0.12);
}

.dark-page .mobile-nav-links a,
.dark-page .mobile-nav-links .mob-nav-btn {
    color: rgba(255, 255, 255, 0.6);
}

.dark-page .mobile-nav-links a:hover,
.dark-page .mobile-nav-links .mob-nav-btn:hover {
    color: #fff;
    background: rgba(57, 168, 234, 0.07);
    border-left-color: var(--lp-cyan);
}

.dark-page .mobile-nav-divider {
    border-top-color: rgba(57, 168, 234, 0.1);
}