/* 
 * BetPro Hub - Modern White Theme 
 * CSS Architecture
 */

:root {
  --primary-color: #10B981; /* Action Green */
  --primary-hover: #059669;
  --secondary-color: #2563EB; /* Trust Blue */
  --secondary-hover: #1D4ED8;
  
  --bg-color: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  
  --text-dark: #0F172A;
  --text-base: #334155;
  --text-secondary: #64748B;
  
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  
  --transition: all 0.3s ease;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-base);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.text-muted { color: var(--text-secondary) !important; }
.h5 { font-size: 1.25rem; font-weight: 600; }
.d-block { display: block; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.pb-2 { padding-bottom: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-secondary);
}

.small-btn { padding: 0.6rem 1.25rem; font-size: 0.95rem; }
.large-btn { padding: 1rem 2rem; font-size: 1.1rem; }

/* Header Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-text { color: var(--text-dark); }
.logo-highlight { color: var(--primary-color); }

.nav-menu .nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-base);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover { color: var(--primary-color); }
.nav-links li a:hover::after { width: 100%; }

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Base sections */
.section-padding { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.section-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-dark); }
.section-description { font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at center top, rgba(16,185,129,0.05) 0%, rgba(255,255,255,0) 60%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.trust-badge i { color: var(--primary-color); font-size: 1rem; }

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Trust Banner */
.trust-banner {
    padding: 5rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box i { font-size: 24px; color: var(--primary-color); }

.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* Services */
.services { padding: 6rem 0; }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-block {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.service-block:hover {
    box-shadow: var(--shadow-md);
}

.service-block:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-content h3 { font-size: 1.4rem; margin-bottom: 1rem;}
.service-content p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.95rem;}
.text-cta {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.text-cta i { transition: transform 0.3s; }
.text-cta:hover i { transform: translateX(5px); }
.text-cta:hover { color: var(--secondary-hover); }

/* How It Works */
.how-it-works { padding: 6rem 0; }
.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: -55px auto 1.5rem;
    border: 4px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.step-card h3 { margin-bottom: 1rem; font-size: 1.25rem;}
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }

.step-arrow { font-size: 2rem; color: var(--text-secondary); opacity: 0.5; }

/* SEO Guide */
.seo-guide { padding: 6rem 0; border-top: 1px solid var(--border-color); }
.article-container { max-width: 800px; margin: 0 auto; }
.article-title { font-size: 2.5rem; margin-bottom: 2rem; font-weight: 900; letter-spacing: -0.5px; }
.lead-paragraph { font-size: 1.2rem; font-weight: 500; color: var(--text-base); margin-bottom: 3rem; line-height: 1.8;}
.seo-guide h3 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--text-dark); border-bottom: 2px solid var(--bg-light); padding-bottom: 0.5rem; }
.seo-guide p { margin-bottom: 1.5rem; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8;}
.seo-guide strong { color: var(--text-dark); }
.in-article-cta { 
    background: var(--bg-light); 
    padding: 3rem; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
}

/* FAQs */
.faqs { padding: 6rem 0; border-top: 1px solid var(--border-color); }
.faq-container { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: var(--primary-color); }

.faq-question {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question .icon { color: var(--primary-color); font-size: 1.25rem; transition: transform 0.3s; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #020617;
    color: white;
    padding-top: 4rem;
}

.footer-logo .logo-text, .footer-logo .logo-highlight { color: #fff;}
.footer-logo .logo-highlight { color: var(--primary-color); }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about p { color: #94A3B8; font-size: 0.95rem; line-height: 1.7;}

.footer-links h4, .footer-contact h4 { font-size: 1.1rem; font-weight: 600; }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links ul li a { color: #94A3B8; font-size: 0.95rem; }
.footer-links ul li a:hover { color: var(--primary-color); padding-left: 5px; }

.footer-bottom { padding: 2rem 0; text-align: center; }
.footer-bottom p { color: #64748B; font-size: 0.85rem; }
.footer-bottom .disclaimer { margin-top: 0.5rem; font-size: 0.75rem; color: #475569; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .three-col, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.8rem; }
    .steps-container { flex-direction: column; gap: 4rem;}
    .step-arrow { display: none; }
    .step-card { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    body { padding-top: 60px; /* because of fixed header */ }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        display: none;
        flex-direction: column;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu.active { display: flex; }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    
    .hero { padding: 6rem 0 4rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; width: 100%; padding: 0 1rem; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .three-col, .services-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
}
