/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --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: var(--font-body);
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
}

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 1.5rem;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* =========================================
   COMPONENTS: BUTTONS & CARDS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.glow-btn {
    position: relative;
    z-index: 1;
}

.glow-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    background: var(--gradient);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
    transition: var(--transition);
}

.glow-btn:hover::before { opacity: 1; filter: blur(20px); }

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

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

.btn-block { width: 100%; }

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: var(--glass-shadow);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover { color: white; }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

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

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

.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: 10%; left: -10%;
    opacity: 0.2;
}

.shape-2 {
    width: 300px; height: 300px;
    background: var(--accent);
    bottom: 10%; right: -5%;
    opacity: 0.2;
    animation-delay: -5s;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-item i { color: var(--primary); }

/* Animation Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    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: 800;
    font-family: var(--font-heading);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label { color: var(--text-muted); font-weight: 500; }

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

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

.service-card .icon-box {
    width: 60px; height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-list {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.process-section { padding: 6rem 0; }

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-num {
    width: 60px; height: 60px;
    background: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.timeline-item:hover .step-num {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
}

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

.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.article-body h1 { font-size: 2.5rem; margin-bottom: 2rem; }
.article-body h2 { margin-top: 3rem; margin-bottom: 1rem; color: white; }
.article-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; color: var(--primary); }
.article-body p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--accent); }

.callout-box {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

.callout-box h4 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--primary); }

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.comparison-table th, .comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: rgba(255,255,255,0.05);
    color: white;
    font-weight: 600;
}

.comparison-table td { color: var(--text-muted); }

/* Sidebar Widgets */
.sidebar { display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 100px; }
.widget h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.widget p { margin-bottom: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.75rem; }
.widget i { color: var(--primary); width: 20px; }

.area-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.area-list li::before { content: '📍'; font-size: 0.8rem; }

.cta-widget {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
    border-color: rgba(59,130,246,0.3);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { padding: 6rem 0; }

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

.stars { color: #fbbf24; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-card p { font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; }

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 48px; height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.client-info strong { display: block; color: white; font-size: 0.95rem; }
.client-info span { font-size: 0.8rem; color: var(--text-muted); }

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

.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item { padding: 0 !important; overflow: hidden; }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question i { transition: var(--transition); color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
}

.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); }

.faq-item.active .faq-answer { max-height: 300px; }

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

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

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    width: 40px; height: 40px;
    background: rgba(59,130,246,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-item strong { display: block; color: white; margin-bottom: 0.25rem; }
.info-item a, .info-item span { color: var(--text-muted); }
.info-item a:hover { color: var(--primary); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: var(--font-body);
    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: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 0;
    margin-top: 4rem;
}

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

.footer-col p { color: var(--text-muted); margin-top: 1rem; font-size: 0.95rem; }
.footer-col h4 { color: white; margin-bottom: 1.25rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }

.social-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icons a {
    width: 40px; height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover { background: var(--gradient); border-color: transparent; transform: translateY(-3px); }

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .hero { padding-top: 7rem; min-height: auto; padding-bottom: 4rem; }
    h1 { font-size: 2.25rem; }
    .timeline { flex-direction: column; }
    .timeline::before { width: 2px; height: 100%; top: 0; left: 30px; right: auto; }
    .timeline-item { text-align: left; padding-left: 80px; min-width: auto; }
    .step-num { position: absolute; left: 0; margin: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .trust-bar { gap: 1rem; }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
}