/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #0ea5e9; /* Sky Blue */
    --primary-dark: #0284c7;
    --accent: #38bdf8;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 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; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.section-padding { padding: 80px 0; }
.bg-darker { background: rgba(0,0,0,0.2); }

/* =========================================
   GLASSMORPHISM UTILITIES
   ========================================= */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 50px;
    font-weight: 600;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.full-width { width: 100%; text-align: center; }
.mt-2 { margin-top: 1.5rem; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.accent { color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn-glow):hover { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }

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

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
    z-index: -1;
}
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: #6366f1; bottom: 10%; left: -50px; animation-delay: 2s; }

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

.hero-content { max-width: 800px; }
.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }
.hero-ctas { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 60px; }

.trust-indicators { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-card {
    padding: 20px 30px;
    text-align: center;
    min-width: 120px;
}
.stat-card span { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card p { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }

/* 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); } }

/* =========================================
   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(--text-muted); 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);
    box-shadow: var(--shadow-glow);
}
.icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.service-card p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.service-card ul li { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-bottom: 8px; 
    padding-left: 15px; 
    position: relative; 
}
.service-card ul li::before {
    content: "•"; color: var(--primary); position: absolute; left: 0;
}

/* =========================================
   ARTICLE SECTION
   ========================================= */
.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    padding: 30px;
}
.toc-list li { margin-bottom: 12px; }
.toc-list a { color: var(--text-muted); font-size: 0.95rem; display: block; padding: 5px 0; border-left: 2px solid transparent; padding-left: 15px; }
.toc-list a:hover, .toc-list a.active { color: var(--primary); border-left-color: var(--primary); }
.sidebar-cta { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--glass-border); text-align: center; }
.sidebar-cta p { margin-bottom: 15px; font-weight: 600; }

.article-content h2 { font-size: 2rem; margin: 50px 0 20px; color: white; }
.article-content h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--accent); }
.article-content p { margin-bottom: 20px; color: #cbd5e1; font-size: 1.05rem; }
.article-content ul, .article-content ol { margin: 0 0 25px 25px; color: #cbd5e1; }
.article-content li { margin-bottom: 10px; }
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }

.lead { font-size: 1.3rem !important; color: white !important; font-weight: 500; border-left: 4px solid var(--primary); padding-left: 20px; margin-bottom: 30px !important; }

.inline-link { 
    color: var(--primary); 
    text-decoration: underline; 
    text-underline-offset: 3px; 
    font-weight: 600; 
}
.inline-link:hover { color: var(--accent); }

.callout-box, .warning-box { padding: 25px; margin: 30px 0; border-left: 4px solid var(--primary); }
.warning-box { border-left-color: #ef4444; background: rgba(239, 68, 68, 0.1); }
.tip-box { background: rgba(14, 165, 233, 0.1); }

.comparison-table { padding: 0; overflow: hidden; margin: 30px 0; }
.comparison-table table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { background: rgba(255,255,255,0.05); color: var(--primary); font-weight: 700; }
.comparison-table td { color: var(--text-muted); }

.article-meta { display: flex; gap: 10px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid { max-width: 900px; margin: 0 auto; display: grid; gap: 15px; }
.faq-item { padding: 0; overflow: hidden; transition: var(--transition); }
.faq-item summary {
    padding: 25px 30px;
    cursor: pointer;
    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(--primary); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 30px 25px; color: var(--text-muted); line-height: 1.6; }
.faq-item:hover { border-color: var(--primary); }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.stars { color: #fbbf24; font-size: 1.2rem; letter-spacing: 2px; }
.reviewer { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.avatar-initials {
    width: 50px; height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}
.reviewer strong { display: block; color: white; }
.reviewer span { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
}
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; }
.contact-info > p { color: var(--text-muted); 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(--text-muted); margin-bottom: 5px; }
.info-item .value { font-size: 1.3rem; font-weight: 600; color: white; }
.info-item a.value:hover { color: var(--primary); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    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 select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: #020617; padding: 80px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3 { font-size: 1.5rem; margin-bottom: 20px; color: white; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--primary); }
.footer-col p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul a:hover { color: white; padding-left: 5px; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; }

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .sticky-sidebar { position: static; margin-bottom: 40px; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 70px; left: 0; right: 0; 
        background: rgba(15, 23, 42, 0.98); 
        backdrop-filter: blur(20px);
        flex-direction: column; 
        padding: 40px; 
        gap: 25px; 
        transform: translateY(-150%); 
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: block; }
    
    h1 { font-size: 2.2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas a { text-align: center; }
    .trust-indicators { justify-content: center; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-padding { padding: 60px 0; }
}