/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.section-padding { padding: 100px 0; }
.bg-darker { background: var(--dark-light); }

/* =========================================
   GLASSMORPHISM UTILITIES
   ========================================= */
.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: var(--radius);
    box-shadow: var(--shadow);
}

.btn-primary, .btn-secondary, .btn-glow {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6); }

.btn-secondary {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: white;
}

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

.btn-glow {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.full-width { width: 100%; border: none; }

/* =========================================
   NAVIGATION
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn-glow):hover { color: var(--accent); }

.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 25px; height: 3px; background: white; border-radius: 2px; transition: var(--transition); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--accent); bottom: 10%; left: -50px; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    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(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-text { font-size: 1.2rem; color: var(--gray); margin-bottom: 40px; max-width: 600px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 60px; }

.trust-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.stat-card { padding: 20px; text-align: center; }
.stat-card span { font-size: 2.5rem; font-weight: 800; color: var(--accent); display: block; }
.stat-card p { font-size: 0.9rem; color: var(--gray); margin-top: 5px; }

/* Animation Classes */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   SERVICES GRID
   ========================================= */
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--gray); font-size: 1.1rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 40px 30px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }

.icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* =========================================
   TIMELINE
   ========================================= */
.timeline { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 50px; }
.timeline-item { flex: 1 1 200px; max-width: 250px; text-align: center; position: relative; }
.step-number {
    font-size: 3rem; font-weight: 900; color: rgba(255,255,255,0.05);
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%); z-index: 0;
}
.timeline-item h3 { position: relative; z-index: 1; margin-top: 20px; color: var(--accent); }
.timeline-item p { position: relative; z-index: 1; font-size: 0.9rem; color: var(--gray); margin-top: 10px; }

/* =========================================
   ARTICLE STYLES
   ========================================= */
.article-container { max-width: 900px; }
.article-meta { margin-bottom: 50px; border-left: 4px solid var(--accent); padding-left: 20px; }
.tag { color: var(--accent); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.article-meta h1 { font-size: 2.8rem; margin-bottom: 20px; }
.lead { font-size: 1.3rem; color: var(--gray); font-weight: 300; }

.content-body h2 { font-size: 2rem; margin-top: 50px; margin-bottom: 20px; color: white; }
.content-body h3 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: var(--accent); }
.content-body p { margin-bottom: 20px; color: #cbd5e1; font-size: 1.05rem; }
.content-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.content-body a:hover { color: var(--accent); }

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.faq-item { padding: 25px; cursor: pointer; transition: var(--transition); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 15px; color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: #cbd5e1; flex-grow: 1; }
.author { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.initials {
    width: 45px; height: 45px; background: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.author strong { display: block; font-size: 0.95rem; }
.author span { font-size: 0.8rem; color: var(--gray); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-info > p { color: var(--gray); margin-bottom: 40px; font-size: 1.1rem; }
.info-item { margin-bottom: 25px; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 5px; }
.info-item a, .info-item p { font-size: 1.2rem; font-weight: 500; }
.map-btn { margin-top: 20px; }

.contact-form { padding: 40px; }
.contact-form h3 { margin-bottom: 25px; font-size: 1.5rem; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 20px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border); border-radius: 10px; color: white;
    font-family: inherit; font-size: 1rem; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); background: rgba(255,255,255,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* =========================================
   FOOTER
   ========================================= */
footer { background: #0b1120; padding-top: 80px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: white; }
.footer-col p { color: var(--gray); font-size: 0.95rem; margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.footer-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.copyright { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0; text-align: center; }
.copyright p { color: var(--gray); font-size: 0.85rem; }

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: var(--dark-light); flex-direction: column; justify-content: center;
        transition: var(--transition); padding: 40px;
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: flex; z-index: 1001; }
    
    .hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .article-meta h1 { font-size: 2rem; }
    .faq-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .trust-stats { grid-template-columns: 1fr; }
}