/* =======================
   ELO11.SHOP – LANDING PAGE
   Premium IPTV Website CSS
   ======================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ── DESIGN TOKENS ── */
:root {
    --c-bg: #020611;
    --c-surface: #0d1224;
    --c-border: rgba(255, 255, 255, 0.07);
    --c-text: #f1f5f9;
    --c-muted: #64748b;
    --c-slate: #94a3b8;

    --c-violet: #7c3aed;
    --c-indigo: #4f46e5;
    --c-cyan: #06b6d4;

    --grad-brand: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%);
    --grad-text: linear-gradient(90deg, #a78bfa, #818cf8, #67e8f9);

    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.3);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
}

/* ── RESET ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* ── LAYOUT ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── BACKGROUND GLOW ORBS ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: #4f46e5;
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #06b6d4;
    bottom: -150px;
    right: -150px;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 999;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.navbar.solid {
    background: rgba(2, 6, 17, 0.85);
    backdrop-filter: blur(16px);
    border-color: var(--c-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--c-slate);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.55);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    border: 1px solid var(--c-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── HERO ── */
.hero {
    padding: 180px 0 120px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

/* Left Text */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #a78bfa;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 62px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.hero-title .gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 18px;
    color: var(--c-slate);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
}

.trust-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--c-slate);
    font-weight: 600;
}

.trust-pill svg {
    color: #10b981;
}

/* Right Visual */
.hero-visual {
    position: relative;
}

.screen-card {
    position: relative;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-glow), 0 50px 100px rgba(0, 0, 0, 0.6);
    transform: perspective(1200px) rotateY(-12deg) rotateX(3deg);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screen-card:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.screen-inner {
    background: linear-gradient(135deg, #0d1224 0%, #0a0f1e 100%);
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Fake TV UI inside the card */
.tv-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 20px;
}

.tv-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.tv-dot-r {
    background: #f43f5e;
}

.tv-dot-y {
    background: #fbbf24;
}

.tv-dot-g {
    background: #10b981;
}

.tv-title-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.live-badge {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.tv-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.tv-sidebar {
    width: 120px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.tv-ch {
    padding: 8px 14px;
    font-size: 11px;
    color: var(--c-slate);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.tv-ch.active {
    background: rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    border-left: 2px solid #7c3aed;
}

.tv-ch-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.tv-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse, #0c1a3a 0%, #060a14 100%);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    position: relative;
    flex-direction: column;
    gap: 12px;
}

.tv-play-btn {
    width: 52px;
    height: 52px;
    background: rgba(124, 58, 237, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-quality {
    font-size: 11px;
    color: #a78bfa;
    background: rgba(124, 58, 237, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Floating sticker */
.float-badge {
    position: absolute;
    bottom: -20px;
    left: -28px;
    background: rgba(13, 18, 36, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.float-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
}

.float-label strong {
    display: block;
    font-size: 14px;
}

.float-label span {
    font-size: 12px;
    color: #10b981;
}

/* ── STATS BAR ── */
.stats-bar {
    margin-top: 80px;
    padding: 48px 0;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 32px;
}

.stat-val {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -2px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-lbl {
    color: var(--c-slate);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── SECTION HEADER ── */
.sec-head {
    text-align: center;
    margin-bottom: 64px;
}

.sec-tag {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.25);
    color: #818cf8;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sec-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}

.sec-sub {
    color: var(--c-slate);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

/* ── FEATURES ── */
.features-section {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feat-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s, box-shadow 0.35s;
}

.feat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(79, 70, 229, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    margin-bottom: 24px;
}

.feat-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feat-card p {
    color: var(--c-slate);
    font-size: 14px;
    line-height: 1.7;
}

/* ── PRICING ── */
.pricing-section {
    padding: 120px 0;
    background: radial-gradient(ellipse 800px 400px at 50% 100%, rgba(79, 70, 229, 0.05), transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 64px;
}

.price-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 52px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.popular {
    border-color: var(--c-violet);
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.08) 0%, var(--c-surface) 100%);
    transform: scale(1.04);
    box-shadow: 0 32px 80px rgba(124, 58, 237, 0.2), var(--shadow-glow);
}

.price-card.popular:hover {
    transform: scale(1.04) translateY(-8px);
}

.pop-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.price-plan {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-slate);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.price-amount {
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 8px;
}

.price-amount .curr {
    font-size: 24px;
    font-weight: 600;
    color: var(--c-slate);
    letter-spacing: 0;
    vertical-align: top;
    margin-top: 12px;
    display: inline-block;
}

.price-note {
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: 36px;
}

.price-list {
    margin-bottom: 40px;
    flex: 1;
}

.price-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
    color: var(--c-slate);
}

.price-list li svg {
    color: #10b981;
    flex-shrink: 0;
}

/* ── FOOTER ── */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--c-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--c-slate);
    font-size: 14px;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--c-muted);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--c-muted);
    font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-sub {
        margin: 0 auto 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions,
    .trust-row {
        justify-content: center;
    }

    .screen-card {
        transform: none;
        max-width: 560px;
        margin: 0 auto;
    }

    .screen-card:hover {
        transform: none;
    }

    .float-badge {
        display: none;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 64px auto 0;
    }

    .price-card.popular {
        transform: none;
    }

    .price-card.popular:hover {
        transform: translateY(-8px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

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

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

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

    .sec-title {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .nav-links .btn-sm {
        display: flex;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ── MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 17, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    position: relative;
    box-shadow: var(--shadow-glow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--c-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

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

.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    text-align: center;
}

.modal-text {
    color: var(--c-slate);
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--c-violet);
    background: rgba(255, 255, 255, 0.07);
}

.error-msg {
    color: #ef4444;
    font-size: 12px;
    display: block;
    margin-top: 6px;
    min-height: 18px;
}

.resend-text {
    text-align: center;
    font-size: 13px;
    color: var(--c-muted);
    margin-top: 20px;
}

.resend-text a {
    color: var(--c-violet);
    font-weight: 600;
}

/* Success State */
.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.credentials-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 32px;
}

.cred-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
}

.cred-item:last-child {
    margin-bottom: 0;
}

.cred-item span {
    color: var(--c-muted);
}

.cred-item strong {
    color: #fff;
}

.modal-hint {
    text-align: center;
    font-size: 11px;
    color: var(--c-muted);
    margin-top: 16px;
}

/* Loader */
.modal-loader {
    position: absolute;
    inset: 0;
    background: rgba(13, 18, 36, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.modal-loader.active {
    opacity: 1;
    pointer-events: auto;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(124, 58, 237, 0.2);
    border-top-color: var(--c-violet);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 40px 24px;
        margin: 0 16px;
    }
}