/* Variables & Reset */
:root {
    --primary: #0066cc;
    --primary-dark: #004c99;
    --secondary: #00d4ff;
    --accent: #ff6b6b;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; color: var(--dark); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--gray); }

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

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

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.bg-light { background-color: #e2e8f0; }
.bg-dark { background-color: var(--dark); color: white; }

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

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

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

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

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

.glow-btn {
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: 0.3s;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.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;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
    padding-top: 80px;
}

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -100px;
    right: -100px;
    animation: float 10s infinite alternate;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    bottom: -50px;
    left: -50px;
    animation: float 8s infinite alternate-reverse;
}

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

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

.hero-badge {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.hero-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

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

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-list {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

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

.text-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
    display: none; /* Hidden on mobile, shown on desktop via media query */
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 150px;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.premium-article {
    padding: 3rem;
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 2rem;
}

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

.meta-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 1rem;
}

.article-content h2 {
    margin-top: 2.5rem;
    color: var(--primary-dark);
    font-size: 1.8rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    color: var(--dark);
}

.article-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.summary-box {
    background: rgba(0, 102, 204, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-top: 3rem;
    border-radius: 0 8px 8px 0;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    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;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

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

.rating { color: #fbbf24; margin-bottom: 1rem; }

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.initials {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info { color: white; }
.contact-info h2, .contact-info p { color: white; }
.contact-info .info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-info .icon { font-size: 1.5rem; }
.contact-info a { color: var(--secondary); }

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    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.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

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

/* Footer */
.footer {
    background: #0b1120;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

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

.footer h3 { color: white; margin-bottom: 1.5rem; }
.footer h4 { color: white; margin-bottom: 1.5rem; }
.footer ul li { margin-bottom: 0.8rem; }
.footer ul li a:hover { color: var(--secondary); }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero-buttons { flex-direction: column; }
    .stats-row { flex-wrap: wrap; gap: 1.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .timeline::before { display: none; }
}