/* Variables & Reset */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { color: var(--text-gray); margin-bottom: 1.5rem; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-darker { background-color: var(--bg-darker); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}
.btn-glow:hover { box-shadow: 0 0 30px rgba(79, 70, 229, 0.6); transform: scale(1.05); }

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

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

/* Glassmorphism Card */
.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(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); }
.logo span { color: var(--secondary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--secondary); }

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

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

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite alternate;
}

.hero-content { max-width: 800px; position: relative; z-index: 1; }
.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.hero-sub { font-size: 1.2rem; max-width: 600px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 15px; margin-bottom: 50px; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 20px; }
.stat-card h3 { font-size: 2rem; color: var(--secondary); margin-bottom: 5px; }
.stat-card p { font-size: 0.9rem; margin: 0; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-item { margin-bottom: 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; padding-right: 40px; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 40px; }

/* Article Styling */
.article-container { max-width: 900px; }
.premium-article { padding: 50px; }
.category-tag { color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; font-weight: 700; }
.meta-info { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-gray); margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; }

.article-body h2 { margin-top: 40px; color: white; }
.article-body h3 { margin-top: 25px; color: var(--secondary); }
.article-body ul { margin-bottom: 20px; padding-left: 20px; }
.article-body li { margin-bottom: 10px; list-style-type: disc; color: var(--text-gray); }
.article-body a { color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }

.info-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}
.info-box.warning { background: rgba(234, 179, 8, 0.1); border-color: #eab308; color: #fef08a; }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--glass-border); padding: 20px 0; }
.faq-item h3 { font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; }
.faq-item p { margin-top: 10px; display: none; font-size: 0.95rem; }
.faq-item.active p { display: block; animation: fadeIn 0.3s ease; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.stars { color: #fbbf24; margin-bottom: 15px; }
.client-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.avatar { width: 40px; height: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

/* Contact Section */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: center; }
.info-item .icon { font-size: 1.5rem; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { background: var(--bg-darker); padding: 60px 0 20px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { margin-bottom: 20px; }
.footer-col h4 { margin-bottom: 20px; color: white; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-gray); }
.footer-col ul li a:hover { color: var(--secondary); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { width: 35px; height: 35px; background: var(--glass-bg); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.footer-bottom { text-align: center; border-top: 1px solid var(--glass-border); padding-top: 20px; font-size: 0.9rem; color: var(--text-gray); }

/* Animations */
@keyframes float { 0% { transform: translateY(0px); } 100% { transform: translateY(-20px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.animate-up { opacity: 0; animation: fadeIn 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-btns { flex-direction: column; }
    .stats-row { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 50px !important; text-align: left !important; }
    .contact-wrapper { grid-template-columns: 1fr; }
}