/* ===== Reset & Variables ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #253ceb;      /* Trustworthy Blue */
    --primary-dark: #1D4ED8;
    --accent: #F97316;       /* Energetic Orange */
    --accent-dark: #EA580C;
    --bg: #F8FAFC;           /* Soft Slate Background */
    --card-bg: #FFFFFF;
    --text-main: #7986a6;    /* Deep Slate for Headings */
    --text-body: #334155;    /* Readable Gray for Body */
    --text-muted: #64748B;
    --border: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    gap: 10px;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #FB923C 100%);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    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.35rem;
    color: var(--text-main);
}

.logo-icon {
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--white);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--primary);
}

.shape-2 {
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    max-width: 950px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-intro strong { color: var(--accent); }

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ===== Main Content ===== */
.content {
    padding: 100px 0;
}

article section {
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}

article section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

article h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    padding-left: 25px;
    letter-spacing: -0.02em;
}

article h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 6px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 3px;
}

article h3 {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 700;
    margin: 30px 0 15px;
}

article p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
}

article ul, article ol {
    margin: 20px 0 25px 25px;
}

article li {
    margin-bottom: 12px;
    padding-left: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
}

article a {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 2px;
    transition: var(--transition);
}

article a:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

/* ===== FAQ ===== */
.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 25px 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
}

.faq-item h3 {
    color: var(--text-main);
    font-size: 1.15rem;
    margin: 0 0 12px;
    font-weight: 700;
}

.faq-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 40px 25px;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.contact-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-card a, .contact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
}

.contact-card a:hover { color: var(--accent); }

.contact-cta { 
    margin-top: 20px; 
    position: relative;
    z-index: 2;
}

/* ===== Footer ===== */
.footer {
    background: #020617;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-col p { font-size: 0.95rem; line-height: 1.8; }

.footer-col ul { list-style: none; }

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

/* ===== 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: 25px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }

    .hero { padding: 140px 0 80px; }
    .hero-stats { gap: 30px; }
    .stat strong { font-size: 1.6rem; }
    .content { padding: 80px 0; }
    article section { margin-bottom: 50px; padding-bottom: 40px; }
}

@media (max-width: 600px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .back-to-top { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 1.3rem; }
    .contact-grid { grid-template-columns: 1fr; }
    article h2 { font-size: 1.6rem; }
    article h3 { font-size: 1.2rem; }
    .faq-item { padding: 20px; }
}