/* ========================================
   Dr. USDT — Cinematic Edition
   Lighter, brighter, professional
   ======================================== */

:root {
    --bg-base: #0a1f1d;
    --bg-deep: #061513;
    --bg-soft: #102b28;
    --primary: #5eead4;
    --primary-bright: #7df5e2;
    --gold: #fbbf24;
    --cyan-glow: #67e8f9;
    --text: #f0fdfa;
    --text-soft: #94a3b8;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    background: var(--bg-base);
    color: var(--text);
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 0; background: transparent; }

::selection { background: rgba(94, 234, 212, 0.3); color: #fff; }

/* ========================================
   Cinematic Background — luminous, lighter
   ======================================== */
.cinematic-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(94, 234, 212, 0.18), transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 30%, rgba(103, 232, 249, 0.14), transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(251, 191, 36, 0.10), transparent 70%),
        linear-gradient(180deg, #0a1f1d 0%, #061513 50%, #0a1f1d 100%);
    pointer-events: none;
}

.cinematic-grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(94, 234, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94, 234, 212, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 30%, transparent 80%);
    pointer-events: none;
}

.cinematic-vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(6, 21, 19, 0.7) 100%);
    pointer-events: none;
}

/* ========================================
   Hero Video
   ======================================== */
.hero-video-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(94, 234, 212, 0.25),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(94, 234, 212, 0.25);
}

.hero-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 29, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-video-frame::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.5), transparent 40%, rgba(251, 191, 36, 0.4));
    z-index: -1;
    filter: blur(16px);
    opacity: 0.7;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

/* Light bars (mimics video light columns) */
.light-bar {
    position: absolute;
    width: 4px;
    background: linear-gradient(180deg, transparent, var(--cyan-glow), transparent);
    box-shadow: 0 0 30px var(--cyan-glow);
    opacity: 0.6;
    animation: bar-flicker 3s ease-in-out infinite;
}

@keyframes bar-flicker {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 0.9; transform: scaleY(1.1); }
}

/* ========================================
   Glassmorphism — lighter & cleaner
   ======================================== */
.glass {
    background: rgba(20, 55, 52, 0.45);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(94, 234, 212, 0.15);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-strong {
    background: rgba(29, 71, 68, 0.55);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(94, 234, 212, 0.2);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(94, 234, 212, 0.4);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(94, 234, 212, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ========================================
   Gradient text — luminous
   ======================================== */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--cyan-glow) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(94, 234, 212, 0.4));
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #fcd34d 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4));
}

/* ========================================
   Buttons — cinematic CTA
   ======================================== */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan-glow) 100%);
    color: #062021;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 10px 40px rgba(94, 234, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-bright), #fff 50%, var(--primary-bright));
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(94, 234, 212, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover::before { opacity: 0.3; }

.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(94, 234, 212, 0.3);
    background: rgba(94, 234, 212, 0.05);
    border-radius: 999px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(94, 234, 212, 0.15);
    border-color: rgba(94, 234, 212, 0.6);
    transform: translateY(-2px);
}

/* ========================================
   Section dividers — clean, organized
   ======================================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(94, 234, 212, 0.08);
    border: 1px solid rgba(94, 234, 212, 0.25);
    border-radius: 999px;
    color: var(--primary-bright);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.section-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-bright);
    box-shadow: 0 0 10px var(--primary-bright);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

/* ========================================
   Step cards (timeline)
   ======================================== */
.step-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: rgba(20, 55, 52, 0.4);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(94, 234, 212, 0.12);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    border-color: rgba(94, 234, 212, 0.4);
    background: rgba(29, 71, 68, 0.55);
    transform: translateX(-8px);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright, #fcd34d));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
}

/* ========================================
   Price ticker
   ======================================== */
.price-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(29, 71, 68, 0.5);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(94, 234, 212, 0.15);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.6s;
}

.price-card:hover::before { opacity: 1; }

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(94, 234, 212, 0.4);
}

.price-value {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.price-up { color: var(--success, #34d399); }
.price-down { color: var(--danger, #fb7185); }

/* ========================================
   Reveal animations base
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

/* Slow flicker for orbital rings */
.orbital-ring {
    border-radius: 50%;
    border: 1px solid rgba(94, 234, 212, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Focus ring for a11y */
a:focus-visible, button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px var(--primary);
    border-radius: 8px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .step-card:hover { transform: none; }
    .price-card:hover { transform: none; }
}
