/* Reset & Variables */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

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

a { text-decoration: none; color: inherit; }

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

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px 0 var(--primary-glow);
    transform: translateY(-5px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}
.desktop-nav a:hover::after { width: 100%; }
.desktop-nav a:hover { color: var(--primary); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Mobile Nav (Off-canvas) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.off-canvas-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 2000;
    padding: 40px 20px;
    transition: transform 0.3s ease;
}

.off-canvas-nav.active { transform: translateX(-320px); }

.off-canvas-nav a {
    display: block;
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1; visibility: visible;
}

/* Sections */
.section { padding: 100px 0; }
.bg-darker { background-color: var(--bg-darker); }
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 20px; color: #fff; font-weight: 800; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 700px; margin: 0 auto 50px; font-size: 1.15rem; line-height: 1.8; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(135deg, rgba(2,6,23,0.95) 0%, rgba(15,23,42,0.6) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 24px; font-weight: 800; }
.hero-title span { color: var(--primary); background: -webkit-linear-gradient(#10B981, #059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.25rem; max-width: 650px; margin-bottom: 40px; color: #e2e8f0; line-height: 1.8; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Feature Cards */
.feature-card { padding: 40px 30px; text-align: center; }
.feature-card svg { margin-bottom: 20px; transition: transform 0.3s ease; }
.feature-card:hover svg { transform: scale(1.1); }
.feature-card h3 { margin: 0 0 15px; font-size: 1.4rem; color: #fff; }
.feature-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* Timeline / Steps */
.timeline { display: flex; flex-direction: column; gap: 30px; }
.timeline-item { display: flex; gap: 20px; align-items: flex-start; }
.timeline-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(16, 185, 129, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: bold; font-size: 1.2rem; flex-shrink: 0; border: 2px solid var(--primary); }
.timeline-content h4 { color: #fff; font-size: 1.2rem; margin-bottom: 5px; }
.timeline-content p { color: var(--text-muted); }

/* Content Image */
.content-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; color: #cbd5e1; font-weight: 500; }
.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); background: rgba(0,0,0,0.6); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Footer */
.footer { padding: 80px 0 30px; background: #020617; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-contact { display: flex; flex-direction: column; gap: 15px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); }

/* Floating Buttons */
.btn-floating {
    position: fixed;
    bottom: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 999;
    border: none;
    transition: transform 0.2s, opacity 0.3s;
}
.btn-floating:hover { transform: translateY(-5px) scale(1.05); }
.btn-scroll-top { left: 20px; background: var(--primary); opacity: 0; pointer-events: none; }
.btn-scroll-top.visible { opacity: 1; pointer-events: auto; }
.btn-whatsapp { right: 20px; background: #25D366; animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FAQ */
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(16, 185, 129, 0.3); }
.faq-q { 
    font-size: 1.15rem; font-weight: 600; cursor: pointer; 
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; color: #fff;
}
.faq-q svg { transition: transform 0.3s ease; }
.faq-item.active .faq-q svg { transform: rotate(180deg); color: var(--primary); }
.faq-a { 
    color: var(--text-muted); 
    padding: 0 20px 20px; 
    display: none; 
    line-height: 1.7;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .header-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.8rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2.2rem; }
}
