/* --- Variables & Reset --- */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --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-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #f0f4f8;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 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: #ffffff; }
.bg-dark { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: white; }

.highlight { color: var(--primary); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

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

/* --- Glassmorphism --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

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

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
}

.shape-1 { width: 300px; height: 300px; background: #c7d2fe; top: -50px; right: -50px; }
.shape-2 { width: 400px; height: 400px; background: #fbcfe8; bottom: -100px; left: -100px; }

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

.badge {
    background: #e0e7ff;
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

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

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

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

/* --- Services --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: #e0e7ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: #64748b;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

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

.article-content {
    padding: 50px;
}

.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 30px;
}

.category-tag {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.article-content h1 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: var(--dark);
}

.meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #334155;
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #475569;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.faq-wrapper {
    margin-top: 40px;
}

.faq-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* --- Testimonials --- */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.client-info {
    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-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.contact-info .icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 20px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 { color: white; margin-bottom: 20px; }
.footer-col h4 { color: white; margin-bottom: 20px; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--primary); }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-icons a:hover { background: var(--primary); }

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom a { color: var(--primary); text-decoration: none; }

/* --- Animations --- */
.fade-in { animation: fadeIn 1s ease forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 1s ease forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .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; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-content { padding: 30px 20px; }
}