/* --- VARIABLES & RESET --- */
:root {
    --primary: #6366f1; /* Indigo */
    --secondary: #ec4899; /* Pink */
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
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; }
.bg-light { background: #1e293b; }
.bg-dark { background: var(--dark); }
.bg-gradient { 
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); 
}

.text-link {
    color: var(--secondary);
    font-weight: 600;
    border-bottom: 1px dashed var(--secondary);
}
.text-link:hover { color: var(--primary); border-color: var(--primary); }

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

/* --- GLASSMORPHISM COMPONENTS --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

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

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    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: 700;
    color: white;
}
.accent { color: var(--secondary); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}
.nav-links a:hover { opacity: 1; color: var(--secondary); }

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

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}
.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: 10%; left: -10%;
    opacity: 0.3;
}
.shape-2 {
    width: 300px; height: 300px;
    background: var(--secondary);
    bottom: 10%; right: -5%;
    opacity: 0.3;
    animation-delay: 2s;
}

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

.hero-content { max-width: 800px; }

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: white;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
}

.hero-text {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

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

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.stat-item { text-align: center; }
.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}
.stat-item p { font-size: 0.9rem; color: #94a3b8; }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

/* --- ARTICLE SECTION --- */
.article-container { max-width: 900px; }
.glass-article {
    padding: 60px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.prose h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 40px 0 20px;
    color: white;
}
.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #e2e8f0;
}
.prose p { margin-bottom: 20px; color: #cbd5e1; }
.prose ul, .prose ol {
    margin: 20px 0 20px 20px;
    color: #cbd5e1;
}
.prose li { margin-bottom: 10px; }

/* --- TIMELINE --- */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 50px;
}
.timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}
.number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}
.timeline-item h3 { color: white; margin-bottom: 10px; }
.timeline-connector {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    padding: 40px;
}
.stars { color: #fbbf24; margin-bottom: 20px; letter-spacing: 3px; }
.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}
.avatar {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}
.client-info strong { display: block; color: white; }
.client-info span { font-size: 0.85rem; color: #94a3b8; }

/* --- FAQ ACCORDION --- */
.faq-container { max-width: 800px; }
.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}
.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    list-style: none;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    color: var(--secondary);
}
.faq-item[open] summary::after { content: '-'; }
.faq-item p {
    padding: 0 25px 20px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info, .contact-form { padding: 40px; }
.contact-info h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 20px; color: white; }
.info-item { margin: 25px 0; }
.info-item .label { display: block; font-size: 0.85rem; color: #94a3b8; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.info-item a, .info-item p { font-size: 1.2rem; color: white; font-weight: 500; }

.form-group { margin-bottom: 20px; }
.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    outline: none;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }

/* --- 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 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 { color: white; margin-bottom: 25px; font-family: var(--font-heading); }
.footer-col p { color: #94a3b8; margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #94a3b8; }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .timeline { flex-direction: column; gap: 40px; }
    .timeline-connector { display: none; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

/* --- ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}