/* ===== CSS Variables: Modern Deep Indigo & Electric Cyan ===== */
:root {
    --primary: #1E1B4B;       /* Deep Indigo */
    --primary-light: #312E81; /* Lighter Indigo */
    --primary-dark: #0F0E2A;  /* Darkest Indigo */
    
    --accent: #06B6D4;        /* Bright Cyan */
    --accent-light: #22D3EE;  /* Light Cyan */
    --accent-dark: #0891B2;   /* Dark Cyan */
    
    --highlight: #F43F5E;     /* Vibrant Rose for urgency */
    
    --bg-main: #FAFAF9;       /* Warm Off-White */
    --bg-card: #FFFFFF;       /* Pure White */
    --bg-alt: #F5F5F4;        /* Soft Stone */
    
    --text-main: #0F172A;     /* Deep Slate Black */
    --text-secondary: #334155;/* Slate Gray */
    --text-muted: #64748B;    /* Medium Slate */
    
    --border: #E7E5E4;        /* Stone Border */
    --shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.04);
    --shadow-md: 0 8px 24px rgba(30, 27, 75, 0.08);
    --shadow-lg: 0 20px 50px rgba(30, 27, 75, 0.12);
    
    --radius: 12px;
    --radius-lg: 20px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: var(--accent-dark); transition: var(--transition); font-weight: 600; }
a:hover { color: var(--primary); }

h1, h2, h3 {
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }

p { margin-bottom: 1.2rem; color: var(--text-secondary); font-size: 1.05rem; }

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===== Header ===== */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.3rem;
}

.brand-logo em {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: normal;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

.main-nav { display: flex; gap: 32px; }
.main-nav a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.header-cta:hover { background: var(--primary-light); transform: translateY(-2px); }

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: var(--primary);
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--accent-light);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark) !important;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.4);
}

.btn-outline {
    background: transparent;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.btn.large { padding: 18px 36px; font-size: 1.1rem; }

/* ===== Main Content ===== */
.article-content { padding: 80px 24px; }
.article-content section { margin-bottom: 80px; }

/* ===== FAQ Section ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: var(--accent); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-num {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: rgba(6, 182, 212, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-main);
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
    font-weight: 300;
}

.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px 72px;
}

.faq-answer p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; margin: 0; }

/* ===== Contact Section ===== */
.contact-section {
    background: var(--primary);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(80px);
}

.contact-section > .container { position: relative; z-index: 2; }

.contact-header h2 { color: white; }
.contact-header p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin: 0 auto 50px; font-size: 1.1rem; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.contact-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.contact-card h3 { color: white; font-size: 1.2rem; margin-bottom: 12px; }
.contact-card a, .contact-value { display: block; font-size: 1.2rem; font-weight: 700; color: var(--accent-light); margin-bottom: 8px; }
.contact-card a:hover { color: white; }
.contact-sub { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.contact-cta-center { margin-top: 20px; }

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    text-align: center;
}

.footer-content { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; font-size: 1.2rem; }
.footer-brand .logo-mark { width: 32px; height: 32px; font-size: 1.2rem; }
.site-footer p { color: rgba(255, 255, 255, 0.5); margin: 0; font-size: 0.9rem; }

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        gap: 20px;
        border-top: 1px solid var(--border);
    }
    .main-nav.active { display: flex; }
    .mobile-toggle { display: flex; }
    .header-cta { display: none; }
    
    .hero { padding: 80px 0; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; justify-content: center; }
    
    .faq-item.active .faq-answer { padding: 0 24px 24px 24px; }
    .faq-num { display: none; }
}