/* Variables & Reset */
:root {
    --primary: #6C63FF;
    --primary-dark: #5a52d5;
    --secondary: #FF6584;
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #1e293b;
}

h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: #475569; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

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

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: #f1f5f9; }
.mt-2 { margin-top: 2rem; }
.full-width { width: 100%; }

/* Glassmorphism & Cards */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    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(108, 99, 255, 0.15);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid white;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 10px;
}

.glow-btn {
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
}

.glow-btn:hover {
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.8);
    transform: scale(1.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-dark);
    font-family: var(--font-heading);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover { color: var(--primary); }

.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--bg-dark);
    margin: 5px 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #e0e7ff, transparent),
                radial-gradient(circle at bottom left, #fce7f3, transparent);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #64748b;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 1;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #c7d2fe;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #fbcfe8;
    bottom: 50px;
    left: -50px;
    animation-delay: 2s;
}

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

/* 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: 15px;
}

.feature-list {
    list-style: none;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #64748b;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 8px;
    font-weight: bold;
}

/* Article Styling */
.article-container {
    max-width: 900px;
}

.category-tag {
    background: var(--secondary);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.meta-info {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.article-content h2 {
    margin-top: 40px;
    color: var(--bg-dark);
}

.article-content h3 {
    margin-top: 30px;
    color: var(--primary-dark);
}

.article-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.callout-box {
    background: #eff6ff;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.lead {
    font-size: 1.2rem;
    color: #334155;
    font-weight: 500;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--bg-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #64748b;
}

.faq-answer p { padding-top: 10px; }

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

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stars { color: #fbbf24; margin-bottom: 15px; }

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    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: 50px;
    align-items: start;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    font-size: 1.5rem;
    background: #e0e7ff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.form-group { margin-bottom: 20px; }

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    background: rgba(255,255,255,0.5);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer h3 span { color: var(--primary); }
.footer h4 { color: white; margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #94a3b8; }
.footer ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 30px; color: #64748b; }

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 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; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .btn-secondary { margin-left: 0; }
}