/* GoIPTV Pro – Support site styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6366F1;
    --primary-light: #818CF8;
    --secondary: #8B5CF6;
    --bg: #0F0F1E;
    --bg-surface: #1A1A2E;
    --bg-elevated: #252542;
    --text: #FFFFFF;
    --text-muted: #A1A1B5;
    --text-dim: #6B6B8D;
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --radius: 14px;
    --maxw: 860px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 8px;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); text-decoration: none; }
.nav-links a.active { color: var(--text); background: rgba(99,102,241,0.15); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 1.2rem;
}

/* Hero */
.hero {
    padding: 72px 0 56px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.18) 0%, transparent 60%);
}
.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 28px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 20px rgba(99,102,241,0.35); }
.btn-secondary { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 48px 0; }
.section h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.section h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 8px; }
.section p, .section li { color: var(--text-muted); }
.section ul, .section ol { padding-left: 22px; margin: 10px 0; }
.section li { margin-bottom: 6px; }
.lead { font-size: 1.05rem; }

/* Disclaimer banner */
.disclaimer {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin: 8px 0 36px;
}
.disclaimer strong { color: var(--text); }
.disclaimer p { color: var(--text-muted); }

/* Cards grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; }
.card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

/* FAQ accordion */
.faq { margin-top: 16px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-surface);
}
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 600;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-q .chev { transition: transform 0.25s ease; color: var(--text-dim); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--text-muted); }

/* Contact box */
.contact-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 24px;
    text-align: center;
}
.contact-box .email {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 8px 0 18px;
    display: block;
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
    position: relative;
    padding-left: 44px;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 30px; height: 30px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}

/* Legal pages */
.legal { padding: 48px 0; }
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 10px; }

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    margin-top: 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-copy { color: var(--text-dim); font-size: 0.88rem; }

/* Responsive */
@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        gap: 4px;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px;
    }
    .nav-links.show { display: flex; }
    .nav-links a { padding: 10px 12px; }
    .footer-inner { flex-direction: column; text-align: center; }
}
