/* ===== IPTV Store — Modern Dark Theme ===== */

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --border: #2a2a3a;
    --text: #e4e4ef;
    --text-dim: #8888a0;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --gold: #f9ca24;
    --gold-glow: rgba(249, 202, 36, 0.2);
    --green: #00b894;
    --green-glow: rgba(0, 184, 148, 0.2);
    --whatsapp: #25D366;
    --radius: 16px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand svg {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 32px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 550px;
    margin: 0 auto 32px;
    position: relative;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
}

.hero-feature .check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green-glow);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ===== Section ===== */
.section {
    padding: 80px 32px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 16px;
    margin-bottom: 48px;
}

/* ===== Pricing Cards ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.price-card.popular {
    border-color: var(--gold);
    box-shadow: 0 4px 30px var(--gold-glow);
}

.price-card.popular:hover {
    box-shadow: 0 8px 50px var(--gold-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold), #f0932b);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 20px;
    border-radius: 20px;
}

.card-tier {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.card-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px;
}

.price-period {
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 4px;
}

.card-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.card-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features .feat-icon {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: var(--accent);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-order:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-order svg {
    width: 20px;
    height: 20px;
}

.price-card.popular .btn-order {
    background: linear-gradient(135deg, var(--gold), #f0932b);
    color: #000;
}

.price-card.popular .btn-order:hover {
    box-shadow: 0 6px 20px var(--gold-glow);
}

/* ===== How It Works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent-light);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-arrow {
    transition: transform 0.3s;
    color: var(--text-dim);
    font-size: 13px;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 80px 32px;
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--gold));
}

.cta-box h2 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-dim);
    margin-bottom: 28px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--whatsapp);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #20c157;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #5865F2;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

/* ===== Footer ===== */
.footer {
    padding: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-dim);
}

/* ===== CGV Page ===== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 32px 60px;
}

.legal-page h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-page p, .legal-page li {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-page ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--accent-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    transition: all 0.3s;
}

.back-link:hover {
    color: #fff;
    background: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar { padding: 12px 20px; }
    .nav-links { gap: 16px; }
    .hero { padding: 120px 20px 60px; }
    .section { padding: 60px 20px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .hero-features { gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; max-width: 320px; }
}
