/* =========================================
   CSS VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-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: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* =========================================
   GLASSMORPHISM UTILITIES
   ========================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-glow {
    background: var(--accent);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.full-width { width: 100%; text-align: center; display: block; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   NAVIGATION
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-glow):hover { color: var(--accent); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

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

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

.shape-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; right: -100px;
}

.shape-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: -50px; left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px; height: 300px;
    background: #8b5cf6;
    top: 40%; left: 50%;
    animation-delay: -10s;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.9rem;
    color: var(--gray);
}

.trust-item strong { color: white; }

/* Animations */
.animate-fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 0.8s ease forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section { padding: 4rem 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label { color: var(--gray); font-size: 0.95rem; }

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section { padding: 6rem 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card .icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--gray); margin-bottom: 1rem; font-size: 0.95rem; }

.feature-list li {
    font-size: 0.85rem;
    color: var(--gray);
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.process-section { padding: 6rem 0; background: rgba(255,255,255,0.02); }

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-item {
    position: relative;
    padding-top: 3rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.timeline-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.timeline-item p { font-size: 0.9rem; color: var(--gray); position: relative; z-index: 1; }

/* =========================================
   ARTICLE SECTION
   ========================================= */
.content-section { padding: 6rem 0; }

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-container h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.article-container h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.article-container p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.article-container a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-container a:hover { color: white; }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section { padding: 6rem 0; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1rem;
}

.faq-item {
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.05rem;
    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: 1rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { padding: 6rem 0; background: rgba(255,255,255,0.02); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.reviewer strong { display: block; color: white; }
.reviewer span { font-size: 0.85rem; color: var(--gray); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section { padding: 6rem 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--gray); margin-bottom: 2rem; }

.info-item { margin-bottom: 1.5rem; }
.info-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.info-item a, .info-item address, .info-item p {
    color: white;
    font-style: normal;
    font-size: 1.05rem;
}

.info-item a:hover { color: var(--accent); }

.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    padding: 4rem 0 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: white;
}

.footer-col p, .footer-col li {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p { font-size: 0.85rem; color: var(--gray); }

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

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active { right: 0; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas a { text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .timeline { grid-template-columns: 1fr; }
    .timeline-item { padding-top: 2rem; padding-left: 3rem; }
    .step-number { font-size: 2rem; }
}

@media (max-width: 480px) {
    .glass-card { padding: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}