/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #1e3a8a;
    --secondary-dark: #1e293b;
    --dark: #0f172a;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary-dark);
}

.logo-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--secondary-dark);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--secondary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: var(--white);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-intro strong { color: var(--primary); }

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}

.stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ===== Main Content ===== */
.content {
    padding: 80px 0;
}

article section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-100);
}

article section:last-of-type {
    border-bottom: none;
}

article h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--secondary-dark);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-left: 20px;
}

article h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    background: var(--primary);
    border-radius: 3px;
}

article h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 600;
    margin: 25px 0 12px;
}

article p {
    margin-bottom: 16px;
    font-size: 1.02rem;
    color: var(--gray-700);
}

article ul, article ol {
    margin: 15px 0 20px 20px;
}

article li {
    margin-bottom: 10px;
    padding-left: 5px;
}

article a {
    color: var(--secondary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1px;
}

article a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.faq-item:hover {
    background: #fef3c7;
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--secondary-dark);
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.faq-item p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--gray-700);
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.contact-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 30px 20px;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card a, .contact-card p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-card a:hover { color: var(--primary); }

.contact-cta { margin-top: 20px; }

/* ===== Footer ===== */
.footer {
    background: #0a0f1c;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-col p { font-size: 0.95rem; line-height: 1.7; }

.footer-col ul { list-style: none; }

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
    }

    .hero { padding: 120px 0 60px; }
    .hero-stats { gap: 25px; }
    .stat strong { font-size: 1.5rem; }
    .content { padding: 60px 0; }
    article section { margin-bottom: 40px; padding-bottom: 30px; }
}

@media (max-width: 600px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.3rem; }
    .contact-grid { grid-template-columns: 1fr; }
    article h2 { font-size: 1.5rem; }
    article h3 { font-size: 1.15rem; }
}