/* =============================================
   BetPro Accounts — Dark Premium Theme
   Full readability, WCAG AA contrast compliant
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
    --primary:          #F47439;
    --primary-dark:     #d95e26;
    --primary-light:    #ff8b54;

    --bg-main:          #0b0f1a;   /* Page background */
    --bg-card:          #111827;   /* Cards, sections */
    --bg-alt:           #0f1623;   /* Alternating section bg */
    --bg-elevated:      #1a2235;   /* Elevated cards */

    --text-white:       #ffffff;
    --text-bright:      #f1f5f9;   /* Headings */
    --text-body:        #cbd5e1;   /* Body paragraphs — high contrast */
    --text-muted:       #94a3b8;   /* Secondary text */
    --text-subtle:      #64748b;   /* Footer fine print */

    --border:           rgba(255, 255, 255, 0.08);
    --border-accent:    rgba(244, 116, 57, 0.3);

    --whatsapp-green:   #25D366;
    --whatsapp-dark:    #1aad52;

    --shadow-card:      0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow:      0 0 30px rgba(244, 116, 57, 0.2);

    --font-sans:        'Inter', system-ui, -apple-system, sans-serif;
    --radius-card:      1rem;
    --radius-pill:      9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.25s ease;
}

a:hover { color: var(--primary-light); }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; color: var(--text-body); line-height: 1.75; }

strong { color: var(--text-bright); font-weight: 700; }
em     { color: var(--primary-light); font-style: normal; }

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }

/* Alternating section backgrounds */
.bg-gray { background-color: var(--bg-alt); }

.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(244, 116, 57, 0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(244, 116, 57, 0.55);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-bright);
}
.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--primary); }

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-hidden { display: flex; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .mobile-hidden { display: none; }
    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #111827;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 32px rgba(0,0,0,0.5);
        display: none;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--text-body); font-size: 1rem; }
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244,116,57,0.12) 0%, transparent 70%), var(--bg-main);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F47439' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

.hero h1 { color: var(--text-white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--primary); }

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    color: var(--text-body);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    color: var(--text-body);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Stats Row */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}
.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.5rem 1rem;
    text-align: center;
}
.stat-box .stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-box .stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== GRID CARDS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
}
.card h3 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}
.card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* ===== BENEFIT LIST ===== */
.benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}
.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.98rem;
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list li i {
    color: var(--whatsapp-green);
    font-size: 1rem;
    flex-shrink: 0;
    padding-top: 3px;
}

/* ===== USE CASE CARDS ===== */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}
.use-case-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.use-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}
.use-case-card .sport-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.use-case-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}
.use-case-card p {
    color: var(--text-body);
    font-size: 0.93rem;
    line-height: 1.75;
    margin: 0;
}

/* ===== SECURITY GRID ===== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    border-left: 3px solid var(--primary);
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.security-item .s-icon {
    font-size: 1.75rem;
    color: var(--primary);
    flex-shrink: 0;
    padding-top: 2px;
}
.security-item h4 {
    color: var(--text-bright);
    margin-bottom: 0.35rem;
    font-size: 1rem;
}
.security-item p {
    color: var(--text-body);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ===== PAYMENT GRID ===== */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.payment-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}
.payment-card:hover { border-color: var(--border-accent); }
.payment-card .p-icon { font-size: 2.25rem; margin-bottom: 0.75rem; display: block; }
.payment-card h4 { color: var(--text-bright); margin-bottom: 0.4rem; font-size: 1rem; }
.payment-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; line-height: 1.6; }

/* ===== STEPS ===== */
.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.75rem;
}
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(244,116,57,0.45);
}
.step-item h3 {
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.step-item p {
    color: var(--text-body);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: linear-gradient(135deg, rgba(244,116,57,0.1), rgba(244,116,57,0.05));
    border: 1px solid rgba(244,116,57,0.3);
    border-radius: var(--radius-card);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}
.highlight-box p {
    color: var(--text-bright) !important;
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
}

/* ===== INLINE CTA BLOCK ===== */
.cta-inline {
    background: linear-gradient(135deg, #d95e26, #F47439);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}
.cta-inline h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}
.cta-inline p {
    color: rgba(255,255,255,0.92);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.cta-inline .btn-whatsapp {
    background: white;
    color: #128C7E;
    font-weight: 800;
}
.cta-inline .btn-whatsapp:hover {
    background: #f0faf7;
    color: #128C7E;
    transform: translateY(-2px);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}
.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.comparison-table th {
    background: #1a2235;
    color: var(--text-bright);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.comparison-table th.highlight {
    background: var(--primary);
    color: white;
}
.comparison-table td {
    color: var(--text-body);
}
.comparison-table td:nth-child(2) {
    color: var(--whatsapp-green);
    font-weight: 700;
}
.comparison-table td:nth-child(3) {
    color: var(--text-muted);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== SEO CONTENT SECTION ===== */
.seo-content h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-bright);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.seo-content h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--primary-light);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.seo-content h4 {
    font-size: 1.05rem;
    color: var(--text-bright);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.seo-content p {
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.seo-content ul,
.seo-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.seo-content li {
    color: var(--text-body);
    margin-bottom: 0.6rem;
    line-height: 1.75;
}
.seo-content strong { color: var(--text-bright); }
.seo-content em     { color: var(--primary-light); font-style: italic; }

/* ===== FAQ ACCORDION ===== */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.25s;
}
.faq-item:hover { border-color: var(--border-accent); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-sans);
    line-height: 1.5;
}
.faq-question:hover { color: var(--primary); }

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
}
.faq-answer.open { display: block; }
.faq-answer p {
    color: var(--text-body);
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

.faq-icon {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.faq-icon.rotated { transform: rotate(180deg); }

/* ===== TESTIMONIAL CARDS ===== */
.card.testimonial {
    text-align: center;
}
.card.testimonial p {
    color: var(--text-body);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.card.testimonial strong {
    color: var(--primary);
    font-size: 0.9rem;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: var(--whatsapp-green);
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 100;
    animation: pulse 2.5s infinite;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { color: white; transform: scale(1.1); }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== STICKY BOTTOM CTA ===== */
.sticky-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111827;
    border-top: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.sticky-bottom-cta.visible { transform: translateY(0); }
.sticky-bottom-cta p {
    color: var(--text-bright);
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: #060a12;
    color: var(--text-body);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    color: var(--text-bright);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    font-weight: 700;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.25s;
}
.footer-links a:hover { color: var(--primary); }
.footer-links span { color: var(--text-muted); font-size: 0.9rem; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-subtle);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-padding { padding: 3.5rem 0; }
    .hero { padding: 130px 0 60px; }
    .hero-subtitle { font-size: 1rem; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
    .use-case-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .payment-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inline { padding: 2rem 1.25rem; }
    .cta-inline h3 { font-size: 1.3rem; }
    .sticky-bottom-cta { flex-direction: column; gap: 0.5rem; padding: 0.75rem 1rem; }
    .whatsapp-float { bottom: 85px; }
    .faq-question { font-size: 0.9rem; padding: 1rem 1.25rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.75rem 0.9rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .hero-cta { flex-direction: column; align-items: center; }
    .trust-badges { gap: 1rem; font-size: 0.85rem; }
    .btn { font-size: 0.95rem; padding: 0.8rem 1.5rem; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
}
