/* ------------------------------------------
   PREMIUM DARK THEME ENGINE
   ------------------------------------------
*/
:root {
    /* Color Palette - Midnight Slate Theme */
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Brand Gradients */
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    
    /* Layout Variables */
    --nav-height: 80px;
    --border-radius: 24px;
    
    /* Fluid Typography (Clamp) */
    --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(2rem, 4vw + 1rem, 3.5rem);
    --fs-body: clamp(1rem, 1vw + 0.5rem, 1.1rem);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utility: Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ------------------------------------------
   PRELOADER
   ------------------------------------------
*/
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark); z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-content { text-align: center; }
.loader-text { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; display: block; margin-bottom: 20px;}
.loader-line {
    width: 0; height: 3px; background: var(--gradient-main);
    margin: 0 auto; animation: loadLine 1.5s ease-in-out forwards;
}
@keyframes loadLine { 0% { width: 0; } 100% { width: 100%; } }
#preloader.hide { opacity: 0; visibility: hidden; }

/* ------------------------------------------
   AMBIENT GLOWS (The "Premium" Look)
   ------------------------------------------
*/
.ambient-glow {
    position: fixed; width: 500px; height: 500px;
    background: var(--accent-blue); filter: blur(150px); opacity: 0.15;
    z-index: 0; pointer-events: none; border-radius: 50%;
}
.glow-1 { top: -100px; left: -100px; background: #3b82f6; }
.glow-2 { bottom: -100px; right: -100px; background: #06b6d4; }

/* ------------------------------------------
   NAVIGATION
   ------------------------------------------
*/
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000; display: flex; align-items: center;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-symbol {
    width: 40px; height: 40px; background: var(--gradient-main);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; color: white;
}
.logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; }
.text-gradient {
    background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--text-secondary); }
.nav-link:hover { color: white; }
.highlight-link { color: var(--accent-cyan); font-weight: 600; }

.btn-nav {
    background: rgba(255,255,255,0.1); color: white;
    padding: 0.6rem 1.2rem; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; gap: 8px;
}
.btn-nav:hover { background: #25D366; border-color: #25D366; color: white; } /* WhatsApp Green */

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1002; }
.line { width: 25px; height: 2px; background: white; transition: 0.3s; }

/* ------------------------------------------
   HERO SECTION
   ------------------------------------------
*/
.hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 5rem; min-height: 100vh;
    display: flex; align-items: center; position: relative;
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }

.badge {
    background: rgba(59, 130, 246, 0.1); color: var(--accent-cyan);
    padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2); display: inline-block; margin-bottom: 1.5rem;
}

.hero h1 { font-family: 'Outfit', sans-serif; font-size: var(--fs-h1); line-height: 1.1; margin-bottom: 1.5rem; color: white; }
.hero p { font-size: var(--fs-body); color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 500px; }

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn {
    padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
    cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-primary { background: var(--gradient-main); color: white; box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.5); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.7); }

.btn-glass { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.1); }
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: white; }

.stats-row { display: flex; gap: 3rem; align-items: center; }
.stat-item h3 { font-size: 1.8rem; font-family: 'Outfit', sans-serif; color: white; }
.stat-item p { font-size: 0.9rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.stat-separator { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* Hero Abstract Visuals */
.hero-visual { position: relative; height: 450px; width: 100%; display: flex; justify-content: center; align-items: center; }

.card-glass {
    position: absolute; background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; border-radius: 20px;
    width: 160px; z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.card-icon { width: 40px; height: 40px; background: rgba(59, 130, 246, 0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent-blue); margin-bottom: 10px; }
.icon-blue { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan); }
.card-glass h4 { font-size: 1rem; margin-bottom: 5px; color: white; }
.card-glass p { font-size: 0.8rem; color: var(--text-secondary); }

.card-main { top: 10%; left: 0; animation: float 6s ease-in-out infinite; }
.card-float { bottom: 10%; right: 0; animation: float 6s ease-in-out infinite 2s; }

.code-snippet {
    background: #0f172a; padding: 2rem; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1); width: 100%; max-width: 320px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5); z-index: 1; transform: rotate(-5deg);
}
.dot-row { display: flex; gap: 6px; margin-bottom: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; } .yellow { background: #eab308; } .green { background: #22c55e; }
.code-snippet code { font-family: 'Courier New', monospace; font-size: 0.9rem; color: #94a3b8; }
.purple { color: #c084fc; } .blue { color: #60a5fa; } .yellow { color: #fcd34d; } .green { color: #4ade80; }

/* ------------------------------------------
   SECTIONS
   ------------------------------------------
*/
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-family: 'Outfit', sans-serif; font-size: var(--fs-h2); margin-bottom: 1rem; color: var(--text-secondary); }
.text-white { color: white; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.feature-box {
    background: var(--gradient-glass); border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem; border-radius: var(--border-radius); transition: 0.4s;
}
.feature-box:hover { background: rgba(255,255,255,0.05); transform: translateY(-10px); border-color: var(--accent-blue); }
.box-icon { font-size: 2rem; color: var(--accent-cyan); margin-bottom: 1.5rem; }
.feature-box h3 { font-size: 1.5rem; color: white; margin-bottom: 1rem; font-family: 'Outfit', sans-serif; }
.feature-box p { color: var(--text-secondary); }

/* ------------------------------------------
   EDVERVE SECTION (Distinct Look)
   ------------------------------------------
*/
.edverve-wrapper { padding: 4rem 0; }
.edverve-card {
    background: #0f172a; border-radius: 40px; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(255,255,255,0.1); position: relative;
}

.edverve-content { padding: 4rem; z-index: 2; }
.brand-tag { color: var(--accent-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.8rem; margin-bottom: 1rem; display: block; }
.edverve-content h2 { font-size: var(--fs-h2); font-family: 'Outfit', sans-serif; color: white; line-height: 1; }
.dot-accent { color: var(--accent-cyan); }
.edverve-content h3 { font-size: 1.5rem; font-weight: 300; color: #cbd5e1; margin-bottom: 2rem; }

.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
.benefit-item { display: flex; align-items: center; gap: 12px; color: white; font-weight: 500; }
.benefit-item i { color: var(--accent-cyan); }

.btn-white { background: white; color: var(--bg-dark); padding: 1rem 2.5rem; font-weight: 700; border-radius: 50px; display: inline-flex; align-items: center; gap: 10px; }
.btn-white:hover { background: #f1f5f9; transform: scale(1.05); }

.edverve-image { position: relative; width: 100%; height: 100%; min-height: 400px; background: #0b1121; overflow: hidden; }
.abstract-circle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    filter: blur(60px); opacity: 0.6; animation: pulse 4s infinite alternate;
}
.glass-overlay {
    position: absolute; bottom: 30px; left: 30px; right: 30px;
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    padding: 1.5rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2);
    text-align: center; color: white;
}

/* ------------------------------------------
   CONTACT & FOOTER
   ------------------------------------------
*/
.cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    text-align: center; padding: 4rem 2rem; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}
.pulse-btn { animation: pulse-shadow 2s infinite; }

.footer { padding: 4rem 0 2rem; background: #020617; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem; }
.footer-brand h3 { font-family: 'Outfit', sans-serif; color: white; font-size: 1.5rem; }
.footer-brand p { color: var(--text-secondary); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-cyan); }
.copyright { text-align: center; color: rgba(255,255,255,0.3); font-size: 0.85rem; }

/* ------------------------------------------
   ANIMATIONS & RESPONSIVE
   ------------------------------------------
*/
/* Animate Up logic for Scroll Observer */
.animate-up, .scroll-reveal { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.animate-fade { opacity: 0; transition: 1s ease; }
.in-view { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes pulse { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); } }
@keyframes pulse-shadow { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero p { margin: 0 auto 2rem; }
    .cta-group { justify-content: center; }
    .stats-row { justify-content: center; }
    .edverve-card { grid-template-columns: 1fr; }
    .edverve-content { padding: 3rem 2rem; }
    .edverve-image { height: 300px; min-height: auto; order: -1; }
    .code-snippet { display: none; } /* Hide complex graphic on tablet to save space */
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: #0f172a; flex-direction: column; justify-content: center;
        transition: 0.4s ease; box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.5rem; }
    
    .hero-visual { height: 300px; }
    .card-glass { width: 120px; padding: 1rem; }
    .card-glass h4 { font-size: 0.9rem; }
    
    /* Ensure Edverve Image doesn't collapse */
    .edverve-image { height: 250px; }
    .btn { width: 100%; justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 1rem; }
}