/* assets/css/pages/index.css */
/* Contains styles from landing.css (Index design) and relevant parts of style.css */

/* Landing Page Advanced Styles (from landing.css) */

:root {
    --hero-gradient: radial-gradient(circle at 50% 0%, rgba(137, 63, 252, 0.3) 0%, transparent 70%);
    --card-hover-bg: rgba(255, 255, 255, 0.05);
    --glow-color: rgba(137, 63, 252, 0.6);
}

body {
    background: #050505;
    /* Darker background for landing */
    overflow-x: hidden;
}

/* Navbar Transparent Override */
.navbar-landing {
    background: rgba(5, 5, 5, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 1.2rem 0;
}

/* Navbar container override for dashboard alignment */
.navbar .container {
    max-width: 1400px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
    background: var(--hero-gradient);
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    animation: pulseGlow 5s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.2;
        transform: translateX(-50%) scale(0.9);
    }

    100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero-title span {
    background: linear-gradient(to right, #893FFC, #03DAC6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    /* Pill shape */
}

/* Floating Stats/Cards in Hero */
.hero-visuals {
    position: relative;
    margin-top: 50px;
    perspective: 1000px;
}

.floating-card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    position: absolute;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 0;
    left: 10%;
    width: 200px;
    animation-delay: 0s;
}

.float-2 {
    top: 40px;
    right: 10%;
    width: 220px;
    animation-delay: 2s;
}

.float-3 {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features Grid */
.feature-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    border-color: rgba(137, 63, 252, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(137, 63, 252, 0.1), rgba(137, 63, 252, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Steps Section */
.step-card {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.step-card::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Marquee/Ticker */
.crypto-ticker {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 50px;
    animation: tickerMove 30s linear infinite;
    width: max-content;
}

@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .hero-title {
        font-size: 3rem;
    }

    /* Show floating cards as static stack on mobile */
    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-btns {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-visuals {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        height: auto !important;
        margin-top: 40px;
        padding: 0 20px;
    }

    .floating-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        animation: none !important;
        margin: 0 !important;
    }
}

/* --- Extracted from style.css (Promo Slider & Banner) --- */

/* Promo Slider - Advanced Design */
.promo-container {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.promo-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 12px;
}

.promo-slider::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    min-height: 85px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:active {
    cursor: grabbing;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Decorative element */
.promo-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Specific Gradients with enhanced depth */
.promo-card.bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.promo-card.bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.promo-card.bg-3 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.promo-card.bg-4 {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
}

.promo-card.bg-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.promo-content {
    flex: 1;
    z-index: 1;
}

.promo-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.promo-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.promo-btn {
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.promo-btn::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.promo-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3c72;
    border-color: rgba(255, 255, 255, 0.95);
    transform: translateX(2px);
}

.promo-btn:hover::after {
    transform: translateX(3px);
}

/* Slider Dots - Enhanced */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    width: 24px;
    border-radius: 4px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .promo-card {
        min-height: 80px;
        padding: 14px 16px;
    }

    .promo-title {
        font-size: 0.95rem;
    }

    .promo-desc {
        font-size: 0.75rem;
    }

    .promo-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    /* Add padding between nav and container */
    .container {
        padding-top: 15px;
    }

    main.container,
    .main-content {
        padding-top: 15px;
    }
}

/* Banner Slider */
.banner-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #6c63ff, #03dac6);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

.banner-slider {
    display: flex;
    white-space: nowrap;
    animation: slideBanner 15s linear infinite;
    animation-delay: -5s;
    /* Start mid-animation so text is visible immediately */
}

.banner-item {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    padding: 0 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes slideBanner {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* ===== SUDT – Spend USDT Section ===== */

.sudt-section {
    position: relative;
    border-top: 0 !important;
}

.sudt-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.1;
    animation: sudtOrbFloat 16s ease-in-out infinite alternate;
}

.sudt-orb--green {
    width: clamp(220px, 40vw, 480px);
    height: clamp(220px, 40vw, 480px);
    background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 72%);
    top: -60px;
    left: -80px;
    animation-delay: 0s;
}

.sudt-orb--blue {
    width: clamp(180px, 30vw, 380px);
    height: clamp(180px, 30vw, 380px);
    background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 72%);
    right: -60px;
    bottom: 40px;
    animation-delay: 3s;
}

.sudt-orb--purple {
    width: clamp(140px, 22vw, 280px);
    height: clamp(140px, 22vw, 280px);
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 72%);
    left: 50%;
    top: 60%;
    transform: translateX(-50%);
    animation-delay: 6s;
}

@keyframes sudtOrbFloat {
    0%   { opacity: 0.05; transform: scale(0.96) translate(0,0); }
    100% { opacity: 0.13; transform: scale(1.03) translate(10px, -14px); }
}

/* Header */
.sudt-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.sudt-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.82);
    border-radius: 9999px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.sudt-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    animation: sudtPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.sudt-heading {
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 14px;
}

.sudt-heading--gradient {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.72) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sudt-subtext {
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    color: rgba(255,255,255,0.62);
    line-height: 1.6;
}

/* Actions Grid */
.sudt-actions-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    grid-template-rows: repeat(3, auto);
    column-gap: clamp(12px, 1.8vw, 18px);
    row-gap: 10px;
    align-items: stretch;
}

.sudt-card--recharge{ grid-column: 1; grid-row: 1; }
.sudt-card--gift    { grid-column: 1; grid-row: 2; }
.sudt-card--bills   { grid-column: 1; grid-row: 3; }
.sudt-card--scanpay { grid-column: 2; grid-row: 1 / 4; }

/* Base card */
.sudt-card {
    position: relative;
    border-radius: clamp(18px, 2.5vw, 26px);
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: clamp(16px, 2.2vw, 22px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.sudt-card:hover {
    border-color: hsla(var(--primary), 0.5);
}

.sudt-card:focus-visible {
    outline: none;
    border-color: rgba(255,255,255,0.34);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 18px 40px rgba(0,0,0,0.28);
}

/* Per-card glow accent on hover */
.sudt-card__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
}

.sudt-card__bg-mark {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2.5rem;
    opacity: 0.1;
    color: rgba(255,255,255,0.9);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.sudt-card:hover .sudt-card__bg-mark {
    opacity: 0.2;
}

.sudt-card--gift .sudt-card__glow,
.sudt-card--recharge .sudt-card__glow,
.sudt-card--bills .sudt-card__glow,
.sudt-card--scanpay .sudt-card__glow {
    background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,0.08), transparent 56%),
        radial-gradient(circle at 80% 100%, rgba(255,255,255,0.05), transparent 48%);
}

/* Card inner row */
.sudt-card__inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Icon wraps */
.sudt-card__icon-wrap {
    width: clamp(40px, 5vw, 50px);
    height: clamp(40px, 5vw, 50px);
    border-radius: clamp(12px, 1.5vw, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 21px;
    transition: transform 0.28s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.sudt-card:hover .sudt-card__icon-wrap {
    transform: none;
}

.sudt-card__icon-wrap--amber,
.sudt-card__icon-wrap--sky,
.sudt-card__icon-wrap--violet,
.sudt-card__icon-wrap--emerald {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Card body */
.sudt-card__body {
    flex: 1;
    min-width: 0;
}

.sudt-card__eyebrow {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.46);
    margin-bottom: 4px;
}

.sudt-card__label {
    font-weight: 700;
    font-size: clamp(0.96rem, 1.45vw, 1.14rem);
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.15;
}

.sudt-card__sub,
.sudt-card__subline {
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.64);
}

.sudt-card--scanpay .sudt-card__sub {
    display: block;
    margin-top: 6px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.72);
}

.sudt-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.58);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
    flex-shrink: 0;
}

.sudt-card:hover .sudt-card__arrow {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateX(2px);
}

/* Gift card brands */
.sudt-card__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.sudt-brand-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.84);
    white-space: nowrap;
}

.sudt-brand-pill--more {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.42);
}

/* Gift card flow */
.sudt-card__flow {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    position: relative;
    z-index: 1;
}

.sudt-flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.sudt-flow-node__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.sudt-flow-node--active .sudt-flow-node__icon {
    animation: sudtNodePop 2.4s ease-in-out infinite;
}

@keyframes sudtNodePop {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.08); }
}

.sudt-flow-node__icon--white  { background: #fff; color: #09090b; }
.sudt-flow-node__icon--amber {
    background: #ffffff;
    color: #111111;
    border: 1px solid rgba(255,255,255,0.9);
}

.sudt-flow-node__icon--green  {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
}

.sudt-flow-node__icon--amber,
.sudt-flow-node__icon--green  {
    overflow: hidden;
}

.sudt-flow-brand-logo {
    width: 26px;
    height: 26px;
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
    display: block;
    filter: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.sudt-flow-brand-logo.is-switching {
    opacity: 0.3;
    transform: scale(0.9);
}

.sudt-flow-node__text {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    text-align: center;
}

.sudt-flow-connector {
    display: flex;
    gap: 3px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.sudt-flow-connector span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.65);
    animation: sudtDotChase 1.4s ease-in-out infinite;
}

.sudt-flow-connector span:nth-child(2) { animation-delay: 0.2s; }
.sudt-flow-connector span:nth-child(3) { animation-delay: 0.4s; }

@keyframes sudtDotChase {
    0%, 100% { opacity: 0.28; transform: scale(0.7); }
    50%       { opacity: 1;    transform: scale(1.1); }
}

/* Recharge bar */
.sudt-recharge-preview {
    margin-top: 8px;
}

.sudt-recharge-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 28px;
}

.sudt-recharge-summary__carrier-stack {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.sudt-recharge-summary__carrier {
    display: none;
}

.sudt-recharge-summary__plan-stack,
.sudt-recharge-preview__number-stack,
.sudt-recharge-preview__amount-stack {
    display: none;
}

.sudt-recharge-preview {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sudt-recharge-preview__caption {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
}

.sudt-recharge-preview__number {
    display: inline-block;
    color: rgba(255,255,255,0.88);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.sudt-recharge-preview__amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}

.sudt-recharge-preview__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8rem;
    min-height: 28px;
    flex-wrap: wrap;
}

.sudt-recharge-bar {
    margin-top: 2px;
    padding-top: 2px;
}

.sudt-recharge-bar__track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
    margin-bottom: 8px;
}

.sudt-recharge-bar__fill {
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.45), rgba(255,255,255,0.95));
    box-shadow: 0 0 12px rgba(125, 211, 252, 0.22);
    transition: width 0.5s ease, opacity 0.3s ease;
}

.sudt-recharge-bar__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.42);
    gap: 10px;
}

.sudt-recharge-bar__done {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    opacity: 0;
    white-space: nowrap;
    text-align: right;
    transition: opacity 0.3s ease;
}

.sudt-recharge-steps {
    display: flex;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 0;
}

.sudt-recharge-step {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 5px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.56);
    font-size: 0.58rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.sudt-recharge-step.is-active {
    color: rgba(255,255,255,0.96);
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.42);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.sudt-recharge-step.is-done {
    color: rgba(220, 252, 231, 0.95);
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.34);
}

.sudt-recharge-bar__done.is-visible {
    opacity: 1;
}

.sudt-op-tag {
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sudt-op-tag.is-active {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.36);
    transform: translateY(-1px);
}

/* Operator tags */
.sudt-card__operators {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.sudt-op-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.78);
}

/* Bill tags */
.sudt-bills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.sudt-bill-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.78);
}

.sudt-bills-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.sudt-bills-step {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    min-width: 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    transition: transform 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.sudt-card:hover .sudt-bills-step {
    border-color: rgba(255,255,255,0.12);
}

.sudt-bills-step:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.05);
}

.sudt-bills-step__num {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
}

.sudt-bills-step__text {
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255,255,255,0.92);
}

/* === Scan & Pay card (wide) === */
.sudt-card--wide {
    padding: clamp(16px, 3vw, 28px);
}

.sudt-card--scanpay {
    width: 100%;
    margin: 0;
    height: 100%;
    min-height: 100%;
}

.sudt-scanpay-layout {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    width: 100%;
    min-height: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sudt-scanpay-info {
    width: 100%;
}

.sudt-card--scanpay .sudt-card__inner {
    width: 100%;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
}

.sudt-card--scanpay .sudt-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    text-align: center;
    width: 100%;
}

.sudt-card--scanpay .sudt-card__label {
    margin-bottom: 4px;
}

/* Scansteps */
.sudt-scansteps {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    align-items: stretch;
}

.sudt-scanstep {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    text-align: center;
    position: relative;
    transition: border-color 0.32s ease, background 0.32s ease, transform 0.32s ease, box-shadow 0.32s ease;
}

.sudt-scanstep__dot {
    position: absolute;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.28s ease, box-shadow 0.28s ease;
}

.sudt-scanstep.sudt-scanstep--active {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.sudt-scanstep.sudt-scanstep--active .sudt-scanstep__dot {
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255,255,255,0.35);
}

.sudt-scanstep__icon {
    font-size: 20px !important;
    color: rgba(255,255,255,0.35);
    transition: color 0.28s ease;
}

.sudt-scanstep.sudt-scanstep--active .sudt-scanstep__icon {
    color: #ffffff;
}

.sudt-scanstep.sudt-scanstep--done {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}

.sudt-scanstep.sudt-scanstep--done .sudt-scanstep__dot {
    background: rgba(255,255,255,0.75);
    box-shadow: none;
}

.sudt-scanstep__title {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.sudt-scanstep__desc {
    font-size: 10px;
    color: rgba(255,255,255,0.38);
    line-height: 1.3;
}

/* Phone mock */
.sudt-phone-mock {
    width: clamp(150px, 20vw, 220px);
    min-height: clamp(340px, 40vw, 420px);
    border-radius: clamp(20px, 3vw, 32px);
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    padding: 10px;
    flex-shrink: 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

.sudt-card--scanpay .sudt-phone-mock {
    margin: 0 auto;
}

.sudt-phone-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 auto;
}

.sudt-scanpay-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sudt-scanpay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sudt-scanpay-cta--secondary {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
}

.sudt-scanpay-cta--primary {
    background: linear-gradient(180deg, rgba(40,40,46,0.98), rgba(24,24,30,0.98));
    border-color: rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    color: #ffffff;
}

.sudt-scanpay-cta:hover {
    border-color: rgba(255,255,255,0.34);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.sudt-scanpay-cta--primary:hover {
    background: linear-gradient(180deg, rgba(52,52,58,1), rgba(33,33,38,1));
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}

.sudt-phone-mock__notch {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    margin: 0 auto 10px;
}

.sudt-phone-mock__screen {
    border-radius: clamp(14px, 2vw, 22px);
    background: rgba(8,8,10,0.88);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 14px 14px 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* QR box */
.sudt-qr-box {
    position: relative;
    height: clamp(84px, 10vw, 118px);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    margin-bottom: 14px;
}

.sudt-qr-box.is-success .sudt-qr-grid,
.sudt-qr-box.is-success .sudt-qr-image,
.sudt-qr-box.is-success .sudt-qr-scanline,
.sudt-qr-box.is-success .sudt-qr-corners,
.sudt-qr-box.is-success .sudt-upi-badge,
.sudt-qr-box.is-success .sudt-processing-state {
    opacity: 0;
}

.sudt-qr-box.is-processing .sudt-qr-image,
.sudt-qr-box.is-processing .sudt-qr-scanline,
.sudt-qr-box.is-processing .sudt-qr-corners,
.sudt-qr-box.is-processing .sudt-upi-badge {
    opacity: 0;
}

.sudt-qr-image {
    position: absolute;
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 8px;
    transition: opacity 0.24s ease;
}

.sudt-qr-scanline {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.96), transparent);
    box-shadow: 0 0 14px rgba(255,255,255,0.24);
    animation: sudtScanSweep 2.2s linear infinite;
    transition: opacity 0.24s ease;
}

@keyframes sudtScanSweep {
    0%   { top: 10px;              }
    50%  { top: calc(100% - 12px); }
    100% { top: 10px;              }
}

/* QR corner brackets */
.sudt-qr-corners {
    position: absolute;
    inset: 8px;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.sudt-qr-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: rgba(255,255,255,0.76);
    border-style: solid;
}

.sudt-qr-corner--tl { top:0; left:0;  border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.sudt-qr-corner--tr { top:0; right:0; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.sudt-qr-corner--bl { bottom:0; left:0;  border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.sudt-qr-corner--br { bottom:0; right:0; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

.sudt-upi-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 24px rgba(0,0,0,0.24);
    transition: opacity 0.24s ease, transform 0.24s ease;
    z-index: 2;
}

.sudt-upi-badge__mark {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #111827;
}

.sudt-processing-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: radial-gradient(circle at center, rgba(18,18,22,0.94), rgba(8,8,10,0.98));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 3;
}

.sudt-processing-state.is-active {
    opacity: 1;
}

.sudt-processing-state__spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.16);
    border-top-color: rgba(255,255,255,0.96);
    animation: sudtSpin 0.9s linear infinite;
}

.sudt-processing-state__text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-align: center;
}

@keyframes sudtSpin {
    to { transform: rotate(360deg); }
}

.sudt-success-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px 10px;
    background: radial-gradient(circle at center, rgba(15, 23, 18, 0.92), rgba(8, 8, 10, 0.98));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.sudt-success-state.is-active {
    opacity: 1;
}

.sudt-success-state__anim {
    width: 100%;
    max-width: 64px;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.sudt-success-state__anim svg {
    width: 100% !important;
    height: 100% !important;
}

.sudt-success-state__text {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-align: center;
    max-width: 100%;
}

/* Phone rows */
.sudt-phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow: hidden;
    padding: 7px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 6px;
}

.sudt-phone-row--highlight {
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
}

.sudt-phone-row--focus {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.sudt-phone-label {
    font-size: 10px;
    color: rgba(255,255,255,0.44);
    white-space: nowrap;
    flex-shrink: 0;
}

.sudt-phone-value {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}

.sudt-phone-value--green {
    color: #ffffff;
}

.sudt-phone-value--success {
    color: #22c55e;
}

.sudt-phone-value--danger {
    color: #ef4444;
}

.sudt-phone-progress {
    height: 6px;
    margin: 8px 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.sudt-phone-progress__bar {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255,255,255,0.35), rgba(255,255,255,0.95));
    box-shadow: 0 0 12px rgba(255,255,255,0.18);
    transition: width 0.4s ease;
}

/* Phone status */
.sudt-phone-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.sudt-phone-dots {
    display: flex;
    gap: 4px;
}

.sudt-phone-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffffff;
    animation: sudtDotPulse 1.2s ease-in-out infinite;
}

.sudt-phone-dots span:nth-child(2) { animation-delay: 0.18s; }
.sudt-phone-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes sudtDotPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.75); }
    50%       { opacity: 1;    transform: scale(1); }
}

.sudt-phone-status-text {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stats row */
.sudt-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 40px);
    margin-top: clamp(2rem, 4vw, 3.5rem);
    padding: clamp(16px, 3vw, 22px) clamp(20px, 4vw, 40px);
    border-radius: clamp(16px, 2vw, 22px);
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.sudt-stat {
    text-align: center;
}

.sudt-stat__num {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.sudt-stat__plus,
.sudt-stat__unit {
    font-size: 0.6em;
    opacity: 0.65;
}

.sudt-stat__num--live {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.sudt-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: sudtPulse 1.6s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sudtPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.38); opacity: 1; }
    70%       { box-shadow: 0 0 0 8px rgba(255,255,255,0); opacity: 0.85; }
}

.sudt-stat__label {
    font-size: clamp(10px, 1.5vw, 12px);
    color: rgba(255,255,255,0.38);
    font-weight: 500;
    white-space: nowrap;
}

.sudt-stat-div {
    display: none;
}


@media (prefers-reduced-motion: reduce) {
    .sudt-orb,
    .sudt-badge__dot,
    .sudt-flow-node--active .sudt-flow-node__icon,
    .sudt-flow-connector span,
    .sudt-recharge-bar__fill,
    .sudt-recharge-bar__done,
    .sudt-qr-scanline,
    .sudt-phone-dots span,
    .sudt-live-dot {
        animation: none !important;
    }

    .sudt-card,
    .sudt-scanstep,
    .sudt-card__icon-wrap,
    .sudt-card__arrow {
        transition: none !important;
    }
}

/* ===== RESPONSIVE ===== */

/* Large tablets / small desktop */
@media (max-width: 1024px) {
    .sudt-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
    }

    .sudt-card--gift    { grid-column: 1; grid-row: 1; }
    .sudt-card--recharge{ grid-column: 2; grid-row: 1; }
    .sudt-card--bills   { grid-column: 1; grid-row: 2; }
    .sudt-card--scanpay { grid-column: 1 / -1; grid-row: 3; }

    .sudt-scanpay-layout {
        gap: 20px;
    }
}

/* Tablets and large phones (≤768px) */
@media (max-width: 768px) {
    .sudt-actions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sudt-card--recharge,
    .sudt-card--gift,
    .sudt-card--bills,
    .sudt-card--scanpay {
        grid-column: 1;
        grid-row: auto;
    }

    .sudt-card {
        padding: 16px;
        gap: 12px;
    }

    .sudt-card__inner {
        gap: 10px;
    }

    .sudt-card__icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 20px;
    }

    .sudt-card:hover {
        transform: translateY(-3px);
    }

    .sudt-card__flow {
        padding: 10px;
        gap: 8px;
    }

    .sudt-scanpay-layout {
        gap: 16px;
    }

    .sudt-phone-mock {
        width: min(200px, 60vw);
        margin: 0 auto;
    }

    .sudt-phone-stack {
        width: min(200px, 60vw);
    }

    .sudt-scanpay-actions {
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .sudt-scanpay-cta {
        padding: 11px 14px;
        font-size: 0.86rem;
    }

    .sudt-phone-row {
        padding: 7px 8px;
    }

    .sudt-phone-label,
    .sudt-phone-value,
    .sudt-phone-status-text {
        font-size: 9px;
    }

    .sudt-recharge-summary {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .sudt-recharge-preview__row {
        gap: 10px;
        margin-bottom: 12px;
    }

    .sudt-recharge-steps {
        gap: 6px;
        flex-wrap: wrap;
    }

    .sudt-recharge-step {
        flex: 1 1 calc(50% - 6px);
        font-size: 0.64rem;
        padding: 6px 8px;
    }

    .sudt-card__operators,
    .sudt-bills-tags,
    .sudt-card__brands {
        gap: 8px;
    }

    .sudt-bills-steps {
        grid-template-columns: 1fr;
    }

    .sudt-scansteps {
        flex-direction: row;
    }

    .sudt-stat-div--hide-sm,
    .sudt-stat--hide-sm {
        display: none;
    }

    .sudt-stats-row {
        gap: 18px;
    }
}

/* Mobile phones (≤480px) — iPhone Pro Max etc. */
@media (max-width: 480px) {
    .sudt-heading {
        font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    }

    .sudt-actions-grid {
        grid-template-columns: 1fr;
    }

    .sudt-card--gift,
    .sudt-card--recharge,
    .sudt-card--bills,
    .sudt-card--scanpay {
        grid-column: 1;
        grid-row: auto;
    }

    .sudt-card {
        border-radius: 18px;
        padding: 14px;
    }

    .sudt-card--wide {
        padding: 16px;
    }

    .sudt-scanpay-layout {
        gap: 14px;
    }

    .sudt-phone-mock {
        width: min(196px, calc(100vw - 88px));
        min-height: 0;
        margin: 0 auto;
    }

    .sudt-phone-stack {
        width: min(196px, calc(100vw - 88px));
        gap: 8px;
    }

    .sudt-card__bg-mark {
        display: none;
    }

    .sudt-phone-mock {
        padding: 8px;
        border-radius: 24px;
    }

    .sudt-phone-mock__notch {
        width: 34px;
        margin-bottom: 8px;
    }

    .sudt-phone-mock__screen {
        padding: 10px 10px 12px;
        border-radius: 18px;
    }

    .sudt-qr-box {
        height: 108px;
        margin-bottom: 10px;
    }

    .sudt-qr-image {
        inset: 12px;
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        padding: 6px;
    }

    .sudt-upi-badge {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .sudt-upi-badge__mark {
        font-size: 8px;
    }

    .sudt-phone-row {
        gap: 6px;
        padding: 6px 7px;
        margin-bottom: 5px;
    }

    .sudt-phone-label,
    .sudt-phone-value {
        font-size: 8px;
    }

    .sudt-phone-progress {
        margin: 6px 0 8px;
    }

    .sudt-phone-status {
        gap: 8px;
        padding: 6px 7px;
    }

    .sudt-phone-status-text {
        font-size: 8px;
        text-align: right;
    }

    .sudt-scanpay-actions {
        gap: 8px;
        margin-top: 8px;
        padding-top: 8px;
    }

    .sudt-scanpay-cta {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .sudt-scansteps {
        gap: 6px;
    }

    .sudt-card__label {
        font-size: 0.98rem;
    }

    .sudt-card__eyebrow {
        font-size: 0.66rem;
    }

    .sudt-card__subline {
        font-size: 0.78rem;
    }

    .sudt-recharge-preview__number-stack {
        min-width: 0;
    }

    .sudt-recharge-step {
        flex-basis: 100%;
        font-size: 0.64rem;
        padding: 6px 8px;
    }

    .sudt-op-tag,
    .sudt-bill-tag,
    .sudt-brand-pill {
        font-size: 0.68rem;
        padding: 5px 9px;
    }

    .sudt-recharge-preview {
        padding: 10px;
    }

    .sudt-recharge-preview__row {
        align-items: flex-start;
    }

    .sudt-recharge-preview__caption {
        width: 100%;
    }

    .sudt-recharge-preview__amount {
        margin-left: auto;
    }

    .sudt-recharge-bar__meta {
        flex-wrap: wrap;
    }

    .sudt-recharge-bar__done {
        width: 100%;
        text-align: left;
    }

    .sudt-flow-node__icon {
        width: 34px;
        height: 34px;
    }

    .sudt-flow-node__text {
        font-size: 0.62rem;
    }

    .sudt-bills-step {
        padding: 10px;
    }

    .sudt-bills-step__text {
        font-size: 0.74rem;
    }

    .sudt-scanstep {
        padding: 8px 4px;
        border-radius: 12px;
    }

    .sudt-scanstep__title {
        font-size: 10px;
    }

    .sudt-stats-row {
        gap: 12px;
        padding: 14px 16px;
        border-radius: 16px;
    }
}

/* iPhone SE and very small (≤375px) */
@media (max-width: 375px) {
    .sudt-heading {
        font-size: 1.65rem;
    }

    .sudt-card__label {
        font-size: 0.96rem;
    }

    .sudt-card__icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .sudt-card__subline {
        font-size: 0.8rem;
    }

    .sudt-card__flow {
        display: none;
    }

    .sudt-scanstep__icon {
        font-size: 16px !important;
    }

    .sudt-phone-mock {
        width: min(172px, calc(100vw - 80px));
        padding: 7px;
    }

    .sudt-phone-stack {
        width: min(172px, calc(100vw - 80px));
    }

    .sudt-phone-mock__screen {
        padding: 9px 9px 11px;
    }

    .sudt-qr-box {
        height: 96px;
    }

    .sudt-phone-label,
    .sudt-phone-value,
    .sudt-phone-status-text {
        font-size: 7.5px;
    }

    .sudt-scanpay-cta {
        padding: 9px 10px;
        font-size: 0.78rem;
    }

    .sudt-brand-pill {
        font-size: 9px;
        padding: 2px 7px;
    }

    .sudt-stat__num {
        font-size: 1.35rem;
    }
}

/* =================================================================
   WHITE MODE OVERRIDES FOR INDEX PAGE
   Matching dashboard.css + theme.css color palette
   (orange-gradient primary: #ff824e → #ffb347)
   ================================================================= */

/* --- Navbar --- */

html[data-app-theme="white"] nav,
body.white-mode nav {
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(248,250,255,0.58)) !important;
    border-bottom-color: rgba(17, 24, 39, 0.07) !important;
    box-shadow: 0 12px 30px rgba(28,37,54,0.06), inset 0 1px 0 rgba(255,255,255,0.55) !important;
    backdrop-filter: blur(20px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.1) !important;
}

/* Logo icon */
html[data-app-theme="white"] nav .bg-primary,
body.white-mode nav .bg-primary {
    background: linear-gradient(135deg, #ff824e 0%, #ffb347 100%) !important;
    color: #ffffff !important;
}

/* Logo text */
html[data-app-theme="white"] nav .font-heading.font-bold,
body.white-mode nav .font-heading.font-bold {
    color: #141414 !important;
}

/* Nav links */
html[data-app-theme="white"] nav .text-muted-foreground,
body.white-mode nav .text-muted-foreground {
    color: #6f7a8f !important;
}
html[data-app-theme="white"] nav a:hover,
body.white-mode nav a:hover {
    color: #ff7a45 !important;
}

/* Theme toggle icon */
html[data-app-theme="white"] nav button[data-theme-toggle],
body.white-mode nav button[data-theme-toggle] {
    color: #6f7a8f !important;
}

/* Mobile menu */
html[data-app-theme="white"] #mobile-menu,
body.white-mode #mobile-menu {
    background: linear-gradient(180deg, rgba(255,250,244,0.98), rgba(244,247,255,0.98)) !important;
    border-top-color: rgba(17, 24, 39, 0.07) !important;
}

/* --- Hero section body background --- */
html[data-app-theme="white"] body,
body.white-mode {
    background-color: #f6f8fc !important;
    background-image:
        radial-gradient(circle at top left, rgba(255,197,158,0.26), transparent 28%),
        radial-gradient(circle at top right, rgba(120,196,255,0.18), transparent 24%),
        linear-gradient(180deg, #fffaf4 0%, #f6f8fc 30%, #f3f7ff 100%) !important;
}

/* Hero heading — was text-white, in white mode make it dark */
html[data-app-theme="white"] .hero-section h1,
html[data-app-theme="white"] h1.text-white,
body.white-mode .hero-section h1,
body.white-mode h1.text-white {
    color: #141414 !important;
    -webkit-text-fill-color: #141414 !important;
    background: none !important;
}

html[data-app-theme="white"] h1.text-white span,
body.white-mode h1.text-white span {
    background: linear-gradient(135deg, #ff824e 0%, #ffb347 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Hero gradient orb — tone down for white mode */
html[data-app-theme="white"] .hero-gradient,
body.white-mode .hero-gradient {
    background: linear-gradient(to tr, rgba(255,130,78,0.45), rgba(255,179,71,0.35), rgba(255,100,100,0.25)) !important;
    opacity: 0.18 !important;
}

/* "Zero Fees P2P" badge */
html[data-app-theme="white"] .inline-flex.rounded-full.border.border-border.bg-secondary\/50,
body.white-mode .inline-flex.rounded-full.border.border-border.bg-secondary\/50 {
    background: rgba(255,130,78,0.08) !important;
    border-color: rgba(255,130,78,0.22) !important;
    color: #ff7a45 !important;
}

/* Dashboard preview panel in hero */
html[data-app-theme="white"] .rounded-xl.border.border-border.bg-background\/50.p-2.glass,
body.white-mode .rounded-xl.border.border-border.bg-background\/50.p-2.glass {
    background: rgba(255,255,255,0.85) !important;
    border-color: rgba(17,24,39,0.1) !important;
    box-shadow: 0 24px 60px rgba(28,37,54,0.12) !important;
}

html[data-app-theme="white"] .rounded-lg.border.border-border.bg-card,
body.white-mode .rounded-lg.border.border-border.bg-card {
    background: #ffffff !important;
    border-color: rgba(17,24,39,0.08) !important;
}

html[data-app-theme="white"] .bg-background,
html[data-app-theme="white"] .bg-background\/50,
body.white-mode .bg-background,
body.white-mode .bg-background\/50 {
    background: #f6f8fc !important;
}

html[data-app-theme="white"] .bg-card,
body.white-mode .bg-card {
    background: #ffffff !important;
}

html[data-app-theme="white"] .h-10.border-b.border-border.bg-muted\/20,
body.white-mode .h-10.border-b.border-border.bg-muted\/20 {
    background: #f7f8fb !important;
}

/* Ticker / price scroll strip */
html[data-app-theme="white"] .border-y.border-border.bg-background\/50,
body.white-mode .border-y.border-border.bg-background\/50 {
    background: rgba(255,255,255,0.72) !important;
    border-color: rgba(17,24,39,0.08) !important;
}

/* --- SUDT Section (Spend USDT) White Mode --- */
html[data-app-theme="white"] .sudt-section,
body.white-mode .sudt-section {
    background: transparent !important;
}

html[data-app-theme="white"] .sudt-heading,
body.white-mode .sudt-heading {
    color: #141414 !important;
}

html[data-app-theme="white"] .sudt-heading--gradient,
body.white-mode .sudt-heading--gradient {
    background: linear-gradient(135deg, #141414 0%, #4a5568 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

html[data-app-theme="white"] .sudt-subtext,
body.white-mode .sudt-subtext {
    color: #6f7a8f !important;
}

html[data-app-theme="white"] .sudt-badge,
body.white-mode .sudt-badge {
    background: rgba(255,130,78,0.08) !important;
    border-color: rgba(255,130,78,0.22) !important;
    color: #ff7a45 !important;
}

html[data-app-theme="white"] .sudt-badge__dot,
body.white-mode .sudt-badge__dot {
    background: #ff7a45 !important;
}

html[data-app-theme="white"] .sudt-card,
body.white-mode .sudt-card {
    background: #ffffff !important;
    border-color: rgba(17,24,39,0.09) !important;
    box-shadow: 0 4px 18px rgba(28,37,54,0.07) !important;
}

html[data-app-theme="white"] .sudt-card:hover,
body.white-mode .sudt-card:hover {
    border-color: rgba(255,130,78,0.35) !important;
    box-shadow: 0 8px 28px rgba(255,130,78,0.12) !important;
}

html[data-app-theme="white"] .sudt-card__label,
body.white-mode .sudt-card__label {
    color: #141414 !important;
}

html[data-app-theme="white"] .sudt-card__eyebrow,
html[data-app-theme="white"] .sudt-card__subline,
body.white-mode .sudt-card__eyebrow,
body.white-mode .sudt-card__subline {
    color: #6f7a8f !important;
}

html[data-app-theme="white"] .sudt-card__bg-mark,
body.white-mode .sudt-card__bg-mark {
    color: rgba(255,130,78,0.25) !important;
    opacity: 1 !important;
}

/* Scanpay CTA buttons */
html[data-app-theme="white"] .sudt-scanpay-cta,
body.white-mode .sudt-scanpay-cta {
    background: linear-gradient(135deg, #ff824e 0%, #ffb347 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(255,122,69,0.28) !important;
}

html[data-app-theme="white"] .sudt-scanpay-cta--outline,
body.white-mode .sudt-scanpay-cta--outline {
    background: #ffffff !important;
    color: #141414 !important;
    border-color: rgba(17,24,39,0.12) !important;
    box-shadow: 0 4px 12px rgba(28,37,54,0.06) !important;
}

html[data-app-theme="white"] .sudt-scanpay-cta--outline:hover,
body.white-mode .sudt-scanpay-cta--outline:hover {
    border-color: #ff7a45 !important;
    color: #ff7a45 !important;
}

/* Flow nodes */
html[data-app-theme="white"] .sudt-flow-node__icon,
body.white-mode .sudt-flow-node__icon {
    background: rgba(255,130,78,0.1) !important;
    border-color: rgba(255,130,78,0.22) !important;
    color: #ff7a45 !important;
}

html[data-app-theme="white"] .sudt-flow-connector,
body.white-mode .sudt-flow-connector {
    background: rgba(17,24,39,0.1) !important;
}

html[data-app-theme="white"] .sudt-flow-node__text,
body.white-mode .sudt-flow-node__text {
    color: #6f7a8f !important;
}

/* Recharge preview */
html[data-app-theme="white"] .sudt-recharge-preview,
body.white-mode .sudt-recharge-preview {
    background: rgba(255,130,78,0.05) !important;
    border-color: rgba(255,130,78,0.18) !important;
}

html[data-app-theme="white"] .sudt-recharge-preview__number,
body.white-mode .sudt-recharge-preview__number {
    color: #141414 !important;
}

html[data-app-theme="white"] .sudt-recharge-preview__carrier,
html[data-app-theme="white"] .sudt-recharge-preview__caption,
body.white-mode .sudt-recharge-preview__carrier,
body.white-mode .sudt-recharge-preview__caption {
    color: #6f7a8f !important;
}

html[data-app-theme="white"] .sudt-recharge-bar__track,
body.white-mode .sudt-recharge-bar__track {
    background: rgba(17,24,39,0.08) !important;
}

html[data-app-theme="white"] .sudt-recharge-bar__fill,
body.white-mode .sudt-recharge-bar__fill {
    background: linear-gradient(90deg, #ff824e, #ffb347) !important;
}

html[data-app-theme="white"] .sudt-recharge-step,
body.white-mode .sudt-recharge-step {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(17,24,39,0.09) !important;
    color: #6f7a8f !important;
}

html[data-app-theme="white"] .sudt-recharge-step.is-active,
body.white-mode .sudt-recharge-step.is-active {
    background: rgba(255,130,78,0.08) !important;
    border-color: rgba(255,130,78,0.28) !important;
    color: #ff7a45 !important;
}

html[data-app-theme="white"] .sudt-recharge-step.is-done,
body.white-mode .sudt-recharge-step.is-done {
    background: rgba(31,191,143,0.08) !important;
    border-color: rgba(31,191,143,0.28) !important;
    color: #1fbf8f !important;
}

/* Operator / brand tags */
html[data-app-theme="white"] .sudt-op-tag,
html[data-app-theme="white"] .sudt-bill-tag,
html[data-app-theme="white"] .sudt-brand-pill,
body.white-mode .sudt-op-tag,
body.white-mode .sudt-bill-tag,
body.white-mode .sudt-brand-pill {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(17,24,39,0.1) !important;
    color: #374151 !important;
}

/* Bills steps */
html[data-app-theme="white"] .sudt-bills-step,
body.white-mode .sudt-bills-step {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(17,24,39,0.09) !important;
}

html[data-app-theme="white"] .sudt-bills-step__icon,
body.white-mode .sudt-bills-step__icon {
    color: #ff7a45 !important;
}

html[data-app-theme="white"] .sudt-bills-step__title,
body.white-mode .sudt-bills-step__title {
    color: #141414 !important;
}

html[data-app-theme="white"] .sudt-bills-step__text,
body.white-mode .sudt-bills-step__text {
    color: #6f7a8f !important;
}

/* Scan steps */
html[data-app-theme="white"] .sudt-scanstep,
body.white-mode .sudt-scanstep {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(17,24,39,0.09) !important;
}

html[data-app-theme="white"] .sudt-scanstep.is-active,
body.white-mode .sudt-scanstep.is-active {
    background: rgba(255,130,78,0.08) !important;
    border-color: rgba(255,130,78,0.28) !important;
}

html[data-app-theme="white"] .sudt-scanstep__icon,
body.white-mode .sudt-scanstep__icon {
    color: #ff7a45 !important;
}

html[data-app-theme="white"] .sudt-scanstep__title,
body.white-mode .sudt-scanstep__title {
    color: #141414 !important;
}

/* Stats row */
html[data-app-theme="white"] .sudt-stats-row,
body.white-mode .sudt-stats-row {
    background: rgba(255,255,255,0.85) !important;
    border-color: rgba(17,24,39,0.08) !important;
    box-shadow: 0 4px 18px rgba(28,37,54,0.07) !important;
}

html[data-app-theme="white"] .sudt-stat__num,
body.white-mode .sudt-stat__num {
    color: #141414 !important;
}

html[data-app-theme="white"] .sudt-stat__label,
body.white-mode .sudt-stat__label {
    color: #6f7a8f !important;
}

html[data-app-theme="white"] .sudt-stat-div,
body.white-mode .sudt-stat-div {
    background: rgba(17,24,39,0.1) !important;
}

/* Phone mock */
html[data-app-theme="white"] .sudt-phone-mock,
body.white-mode .sudt-phone-mock {
    background: linear-gradient(160deg, #1c1c1e, #000000) !important;
    border-color: rgba(255,255,255,0.12) !important;
}

/* Card inner / flow */
html[data-app-theme="white"] .sudt-card__flow,
body.white-mode .sudt-card__flow {
    background: rgba(255,130,78,0.04) !important;
    border-color: rgba(255,130,78,0.14) !important;
}

/* Icon wraps */
html[data-app-theme="white"] .sudt-card__icon-wrap,
body.white-mode .sudt-card__icon-wrap {
    background: linear-gradient(135deg, #ff824e, #ffb347) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* --- Steps / How it works / Features sections --- */
html[data-app-theme="white"] .step-card,
body.white-mode .step-card {
    border-left-color: rgba(255,130,78,0.3) !important;
}

html[data-app-theme="white"] .step-card::before,
body.white-mode .step-card::before {
    background: #ff7a45 !important;
    box-shadow: 0 0 10px rgba(255,122,69,0.4) !important;
}

html[data-app-theme="white"] .feature-box,
body.white-mode .feature-box {
    background: rgba(255,255,255,0.85) !important;
    border-color: rgba(17,24,39,0.09) !important;
    box-shadow: 0 4px 18px rgba(28,37,54,0.06) !important;
}

html[data-app-theme="white"] .feature-box:hover,
body.white-mode .feature-box:hover {
    background: #ffffff !important;
    border-color: rgba(255,130,78,0.32) !important;
    box-shadow: 0 12px 32px rgba(255,130,78,0.12) !important;
}

html[data-app-theme="white"] .feature-icon,
body.white-mode .feature-icon {
    background: linear-gradient(135deg, rgba(255,130,78,0.12), rgba(255,179,71,0.08)) !important;
    color: #ff7a45 !important;
}

/* Blog section cards (dynamically rendered) */
html[data-app-theme="white"] #blog .rounded-xl,
body.white-mode #blog .rounded-xl {
    background: #ffffff !important;
    border-color: rgba(17,24,39,0.09) !important;
    box-shadow: 0 4px 18px rgba(28,37,54,0.06) !important;
}

html[data-app-theme="white"] #blog a:hover .rounded-xl,
body.white-mode #blog a:hover .rounded-xl {
    border-color: rgba(255,130,78,0.35) !important;
    box-shadow: 0 8px 28px rgba(255,130,78,0.12) !important;
}

/* Blog dot indicators */
html[data-app-theme="white"] .blog-dot.bg-primary,
body.white-mode .blog-dot.bg-primary {
    background: #ff7a45 !important;
}

html[data-app-theme="white"] .blog-dot.bg-border,
body.white-mode .blog-dot.bg-border {
    background: rgba(17,24,39,0.15) !important;
}

/* Section headings in white mode */
html[data-app-theme="white"] section h2,
html[data-app-theme="white"] section h3,
body.white-mode section h2,
body.white-mode section h3 {
    color: #141414 !important;
}

html[data-app-theme="white"] section p.text-muted-foreground,
body.white-mode section p.text-muted-foreground {
    color: #6f7a8f !important;
}

/* Promo cards — keep colorful, no override needed */

/* Footer or CTA section */
html[data-app-theme="white"] .bg-secondary\/20,
body.white-mode .bg-secondary\/20 {
    background: rgba(255,255,255,0.8) !important;
    border-color: rgba(17,24,39,0.08) !important;
}

/* Floating dashboard cards (hero visuals) in white mode */
html[data-app-theme="white"] .floating-card,
body.white-mode .floating-card {
    background: rgba(255,255,255,0.92) !important;
    border-color: rgba(17,24,39,0.1) !important;
    box-shadow: 0 20px 50px rgba(28,37,54,0.12) !important;
    color: #141414 !important;
}

/* Ticker strip text */
html[data-app-theme="white"] .font-mono.font-bold.text-sm.text-foreground,
body.white-mode .font-mono.font-bold.text-sm.text-foreground {
    color: #141414 !important;
}

/* Inline text-white fix (hero H1 already handled above) */
html[data-app-theme="white"] .text-white:not(h1):not(h1 *):not(.sudt-phone-mock *):not(.promo-card *):not(.floating-card .text-white),
body.white-mode .text-white:not(h1):not(h1 *):not(.sudt-phone-mock *):not(.promo-card *):not(.floating-card .text-white) {
    color: #141414 !important;
}

/* ============================================================
   END WHITE MODE INDEX OVERRIDES
   ============================================================ */