/* --- VARIABLES & RESET --- */
:root {
    --primary: #0ea5e9; /* Sky Blue */
    --secondary: #6366f1; /* Indigo */
    --accent: #f59e0b; /* Amber */
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --font-main: 'Manrope', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--dark);
    color: #cbd5e1;
    line-height: 1.8;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }
.bg-darker { background: var(--darker); }
.bg-gradient { background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%); }

.text-link {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--primary);
    transition: var(--transition);
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.section-header { text-align: center; margin-bottom: 80px; }
.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-header.light h2 { color: white; }

/* --- GLASSMORPHISM --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.glass-pill {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 8px 24px;
    display: inline-block;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 30px;
    font-weight: 600;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.btn-glow:hover {
    box-shadow: 0 0 35px rgba(14, 165, 233, 0.5);
    transform: translateY(-3px);
}
.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: white;
}
.full-width { width: 100%; }

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}
.accent { color: var(--primary); }
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 600; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--primary); }
.mobile-toggle { display: none; cursor: pointer; }
.mobile-toggle span {
    display: block; width: 28px; height: 2px;
    background: white; margin: 6px 0;
    transition: var(--transition);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    overflow: hidden;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 600px; height: 600px; background: var(--secondary); top: -15%; left: -20%; opacity: 0.2; }
.shape-2 { width: 500px; height: 500px; background: var(--primary); bottom: -10%; right: -15%; opacity: 0.15; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -50px) scale(1.1); }
}

.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 28px;
    color: white;
    letter-spacing: -0.5px;
}
.hero-text { font-size: 1.25rem; color: #94a3b8; margin-bottom: 45px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: 20px; justify-content: center; margin-bottom: 70px; flex-wrap: wrap; }

.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 35px 50px;
    margin-top: 20px;
}
.stat-item { text-align: center; }
.stat-item span {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-main);
}
.stat-item p { font-size: 0.85rem; color: #94a3b8; margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 50px; background: var(--glass-border); }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 45px 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
}
.icon-box { font-size: 2.8rem; margin-bottom: 24px; }
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: white;
}
.service-card p { font-size: 0.95rem; margin-bottom: 20px; }
.features { display: flex; gap: 10px; flex-wrap: wrap; }
.features li {
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    font-weight: 600;
}

/* --- ARTICLE --- */
.article-container { max-width: 880px; }
.glass-article {
    padding: 80px 70px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
}
.prose h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 60px 0 24px;
    color: white;
}
.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 40px 0 18px;
    color: #e2e8f0;
}
.prose p { margin-bottom: 24px; color: #cbd5e1; font-size: 1.05rem; }
.prose ul, .prose ol { margin: 24px 0 30px 24px; }
.prose li { margin-bottom: 14px; padding-left: 12px; position: relative; }
.prose li::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: var(--primary);
    font-weight: bold;
}
.callout-box {
    margin: 50px 0;
    padding: 35px;
    border-left: 4px solid var(--accent);
    background: rgba(245, 158, 11, 0.05);
}
.callout-box h4 { color: var(--accent); margin-bottom: 12px; font-family: var(--font-heading); font-size: 1.3rem; }

/* --- TIMELINE --- */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 60px;
}
.timeline-item {
    padding: 40px 28px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    font-family: var(--font-main);
    margin-bottom: 18px;
    line-height: 1;
}
.timeline-item h3 { color: white; margin-bottom: 12px; font-size: 1.15rem; font-family: var(--font-heading); }
.timeline-connector {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    z-index: 1;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.testimonial-card { padding: 50px; }
.stars { color: var(--accent); margin-bottom: 24px; letter-spacing: 4px; font-size: 1.2rem; }
.client-info { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.avatar {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: white; font-size: 1.1rem;
}
.client-info strong { display: block; color: white; font-size: 1.05rem; }
.client-info span { font-size: 0.85rem; color: #64748b; font-weight: 500; }

/* --- FAQ --- */
.faq-container { max-width: 800px; }
.faq-item { margin-bottom: 14px; border-radius: 16px; overflow: hidden; }
.faq-item summary {
    padding: 24px 32px;
    cursor: pointer;
    font-weight: 700;
    color: white;
    list-style: none;
    position: relative;
    font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 32px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
    font-weight: 300;
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item p {
    padding: 0 32px 28px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 20px;
    line-height: 1.8;
}

/* --- CONTACT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info, .contact-form { padding: 55px; }
.contact-info h2 { font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 18px; color: white; }
.info-item { margin: 30px 0; }
.info-item .label {
    display: block; font-size: 0.75rem; color: #64748b;
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
}
.info-item a, .info-item p { font-size: 1.25rem; color: white; font-weight: 600; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 18px 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 14px; color: white;
    font-family: var(--font-main); font-size: 1rem; outline: none;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.05);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* --- FOOTER --- */
.footer {
    background: var(--darker);
    padding: 90px 0 35px;
    border-top: 1px solid var(--glass-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 70px;
}
.footer-col h4 { color: white; margin-bottom: 30px; font-family: var(--font-heading); font-size: 1.2rem; }
.footer-col p { color: #64748b; margin-bottom: 14px; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 16px; }
.footer-col ul li a { color: #64748b; font-size: 0.95rem; font-weight: 500; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 6px; }
.copyright {
    text-align: center; padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: #475569; font-size: 0.85rem; font-weight: 500;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .timeline { grid-template-columns: 1fr 1fr; }
    .timeline-connector { display: none; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .glass-article { padding: 50px 35px; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 85%; height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column; justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    .hero h1 { font-size: 2.4rem; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .trust-indicators { flex-direction: column; gap: 25px; padding: 35px; }
    .stat-divider { width: 50px; height: 1px; }
    .timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-info, .contact-form { padding: 35px; }
}

/* --- ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }