/* --- VARIABLES & RESET --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --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.3);
    --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; position: relative; z-index: 1; }
.bg-alt { background: rgba(15, 23, 42, 0.95); }
.full-width { width: 100%; text-align: center; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-header p { color: #94a3b8; font-size: 1.1rem; }

/* --- GLASSMORPHISM CARDS --- */
.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: 30px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
    border-color: rgba(255,255,255,0.2);
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: var(--gradient);
    color: white;
}
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
}
.btn-secondary:hover { background: var(--primary); color: white; }

.btn-glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.4); }
    50% { box-shadow: 0 0 30px rgba(6, 182, 212, 0.6); }
    100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.4); }
}

/* --- NAVIGATION --- */
.glass-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}
.glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; 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); }
.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 25px; height: 2px; background: white; transition: 0.3s; }

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}
.hero-subtitle { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 20px; justify-content: center; margin-bottom: 60px; flex-wrap: wrap; }

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

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

/* --- SERVICES GRID --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { display: flex; flex-direction: column; gap: 15px; }
.icon-box { font-size: 2.5rem; margin-bottom: 10px; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.service-card p { color: #94a3b8; font-size: 0.95rem; flex-grow: 1; }
.features { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--glass-border); display: flex; gap: 10px; flex-wrap: wrap; }
.features li { font-size: 0.8rem; background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 4px; color: var(--accent); }

/* --- TIMELINE --- */
.timeline { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; gap: 30px; }
.timeline::before {
    content: ''; position: absolute; top: 30px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    z-index: 0;
}
.timeline-item { position: relative; z-index: 1; flex: 1; min-width: 200px; text-align: center; }
.step-number {
    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: 800; font-size: 1.2rem; margin: 0 auto 20px; color: var(--accent);
    transition: 0.3s;
}
.timeline-item:hover .step-number { background: var(--primary); color: white; transform: scale(1.1); }
.timeline-item h3 { margin-bottom: 10px; font-size: 1.1rem; }
.timeline-item p { font-size: 0.9rem; color: #94a3b8; }

/* --- ARTICLE STYLES --- */
.article-container { max-width: 800px; margin: 0 auto; }
.article-meta { color: #64748b; font-size: 0.9rem; margin-bottom: 40px; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; }
.article-container h1 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.article-container h2 { font-family: var(--font-heading); font-size: 1.8rem; margin: 50px 0 20px; color: var(--accent); }
.article-container h3 { font-size: 1.4rem; margin: 30px 0 15px; color: white; }
.article-container p { margin-bottom: 20px; color: #cbd5e1; font-size: 1.05rem; }
.lead { font-size: 1.25rem !important; color: white !important; font-weight: 500; }

.callout-box {
    padding: 25px; border-radius: 12px; margin: 30px 0;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(6,182,212,0.1), transparent);
}
.callout-box strong { color: var(--accent); }

.comparison-table { overflow-x: auto; margin: 40px 0; }
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.comparison-table th { background: rgba(37,99,235,0.1); color: var(--accent); font-weight: 700; }
.comparison-table tr:hover { background: rgba(255,255,255,0.02); }

/* --- FAQ --- */
.faq-grid { display: grid; gap: 15px; max-width: 900px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    padding: 20px 25px; 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: 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 25px 25px; color: #94a3b8; line-height: 1.6; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { display: flex; flex-direction: column; gap: 20px; }
.stars { color: #fbbf24; letter-spacing: 2px; }
.author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.avatar {
    width: 50px; height: 50px; background: var(--gradient); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.author small { color: #64748b; }

/* --- CONTACT --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 15px; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #64748b; margin-bottom: 5px; }
.info-item a, .info-item p { font-size: 1.2rem; font-weight: 500; }
.info-item a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 15px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border); border-radius: 8px; color: white;
    font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent); background: rgba(255,255,255,0.05);
}
.form-group select option { background: var(--dark); }

/* --- FOOTER --- */
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, .footer-col h4 { font-family: var(--font-heading); margin-bottom: 20px; }
.footer-col h3 { font-size: 1.5rem; color: white; }
.footer-col h4 { color: var(--accent); font-size: 1.1rem; }
.footer-col p { color: #64748b; font-size: 0.95rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; font-size: 0.95rem; }
.footer-col ul li a:hover { color: white; padding-left: 5px; }
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons span {
    width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: 0.3s; font-weight: 700; font-size: 0.8rem;
}
.social-icons span:hover { background: var(--primary); color: white; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #475569; font-size: 0.85rem; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { display: none; }
    .timeline { flex-direction: column; }
    .timeline-item { text-align: left; display: flex; align-items: center; gap: 20px; min-width: 100%; }
    .step-number { margin: 0; flex-shrink: 0; }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; padding: 40px;
        transition: 0.4s; border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-padding { padding: 60px 0; }
}