/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
    --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: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section { padding: 6rem 0; position: relative; z-index: 1; }

/* =========================================
   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; }
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.accent { color: var(--accent); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header p { font-size: 1.2rem; margin-top: 1rem; }

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

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

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

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

.full-width { width: 100%; }

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

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links .btn-glow { padding: 0.6rem 1.5rem; font-size: 0.9rem; opacity: 1; }

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

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

.hero-content { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-sub { font-size: 1.3rem; max-width: 700px; margin: 1.5rem auto 2.5rem; color: var(--text-muted); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

.trust-indicators { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.stat-card { text-align: center; min-width: 140px; font-weight: 700; font-size: 1.1rem; }
.stat-card span { font-size: 2.5rem; display: block; color: var(--accent); margin-bottom: 0.2rem; }

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

/* =========================================
   SERVICES GRID
   ========================================= */
.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: 1.5rem;
    background: rgba(255,255,255,0.05);
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.timeline-item {
    flex: 1 1 200px;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    font-family: var(--font-heading);
}

.timeline-item h3, .timeline-item p { position: relative; z-index: 1; }

/* =========================================
   ARTICLE SECTION
   ========================================= */
.article-container { max-width: 850px; }
.article-header { margin-bottom: 3rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 2rem; }
.article-meta { display: flex; gap: 1.5rem; color: var(--accent); font-size: 0.9rem; font-weight: 500; margin-top: 1rem; }

.article-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; color: var(--text-main); }
.article-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--accent); }
.article-content p { margin-bottom: 1.5rem; }

.callout-box {
    margin: 2.5rem 0;
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem !important;
}
.callout-box h4 { color: var(--accent); margin-bottom: 0.5rem; }

.styled-list { margin: 1.5rem 0 2rem 1rem; }
.styled-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}
.styled-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.comparison-table { overflow-x: auto; margin: 2.5rem 0; padding: 0 !important; }
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 500px; }
.comparison-table th, .comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}
.comparison-table th { color: var(--accent); font-weight: 600; background: rgba(255,255,255,0.03); }
.comparison-table tr:last-child td { border-bottom: none; }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 1.5rem; }
.faq-item { padding: 0 !important; overflow: hidden; }
.faq-item summary {
    padding: 1.5rem 2rem;
    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(--accent); transition: var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 2rem 1.5rem; margin: 0; font-size: 0.95rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.client-info { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-item { margin: 1.5rem 0; }
.info-item .label { display: block; font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 1px; }
.info-item a:hover { color: var(--accent); }
.contact-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    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-top: 4rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.brand-col p { margin-top: 1rem; font-size: 0.95rem; max-width: 300px; }
.footer-col h4 { color: var(--text-main); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.copyright { border-top: 1px solid var(--glass-border); padding: 1.5rem 0; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 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: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { transform: translateY(0); }
    .mobile-toggle { display: flex; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; max-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .trust-indicators { gap: 1rem; }
    .stat-card { min-width: 100px; padding: 1rem; }
    .stat-card span { font-size: 1.8rem; }
    h1 { font-size: 2.2rem; }
    .section { padding: 4rem 0; }
}