:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.1);
    --secondary: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-main: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-shadow: 0 10px 40px -10px rgba(31, 38, 135, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for Light Theme */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.6;
    animation: float 25s infinite ease-in-out alternate;
}
.blob-1 { width: 550px; height: 550px; background: #c7d2fe; top: -100px; left: -100px; }
.blob-2 { width: 650px; height: 650px; background: #fbcfe8; bottom: -200px; right: -100px; animation-delay: -5s; }
.blob-3 { width: 450px; height: 450px; background: #ddd6fe; top: 40%; left: 30%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(150px, 150px) scale(1.1) rotate(45deg); }
}

/* Layout Utilities */
.container { max-width: 1250px; margin: 0 auto; padding: 0 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Premium Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}
.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Navigation */
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-main); }
.logo span { color: var(--primary); }
nav ul { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
nav a { color: var(--text-main); text-decoration: none; font-weight: 600; transition: var(--transition); }
nav a:not(.btn):hover { color: var(--primary); }

/* Buttons */
.btn {
    padding: 0.85rem 2rem;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.4);
}
.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-3px);
}
.hover-scale:hover { transform: scale(1.05); transition: var(--transition); }

/* Typography */
.section-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-main);
}
.section-subheading {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 90px; }
.hero-content { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: white;
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--glass-border);
}
.hero-text h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; color: #0f172a;}
.hero-text p { font-size: 1.3rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1.5rem; }

/* Animated Spectacular Chart / Mockup */
.hero-image { padding: 2.5rem; aspect-ratio: 1/1; position: relative; display: flex; flex-direction: column; overflow: visible; background: white;}
.mockup-header { display: flex; gap: 8px; margin-bottom: 2rem; }
.mockup-header span { width: 14px; height: 14px; border-radius: 50%; background: #e2e8f0; }
.mockup-header span:nth-child(1) { background: #ef4444; }
.mockup-header span:nth-child(2) { background: #f59e0b; }
.mockup-header span:nth-child(3) { background: #10b981; }

.mockup-body { flex: 1; position: relative; }
.animated-chart-container { height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 40px;}

.chart-bars { display: flex; justify-content: space-between; align-items: flex-end; height: 150px; position: relative; z-index: 2; padding: 0 10px; }
.bar-col { width: 12%; height: 100%; background: #f1f5f9; border-radius: 8px 8px 0 0; position: relative; overflow: hidden; }
.bar-fill { position: absolute; bottom: 0; left: 0; width: 100%; background: var(--primary); border-radius: 8px 8px 0 0; transform-origin: bottom; animation: growBar 2s cubic-bezier(0.1, 0.8, 0.2, 1) forwards; }
.fill-1 { height: 40%; animation-delay: 0.5s; }
.fill-2 { height: 60%; animation-delay: 0.7s; }
.fill-3 { height: 35%; animation-delay: 0.9s; }
.fill-4 { height: 80%; animation-delay: 1.1s; }
.fill-5 { height: 95%; animation-delay: 1.3s; }

@keyframes growBar { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }

.chart-line-svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none;}
.animated-path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawLine 3s ease-in-out forwards; animation-delay: 1s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.path-fill { opacity: 0; animation: fadeInFill 1s forwards; animation-delay: 3s; }
@keyframes fadeInFill { to { opacity: 0.2; } }

.floating-bubble { position: absolute; background: white; border-radius: 16px; padding: 1rem; box-shadow: 0 15px 35px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; z-index: 10; animation: floatBubble 6s ease-in-out infinite alternate; border: 1px solid var(--glass-border);}
.bubble-1 { top: -20px; right: -30px; animation-delay: 0s; }
.bubble-2 { bottom: 20px; left: -40px; animation-delay: -3s; }
.floating-bubble span { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.floating-bubble small { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}
@keyframes floatBubble { 0% { transform: translateY(0px); } 100% { transform: translateY(-15px); } }


/* About Section */
.about { padding: 8rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: center; }
.about-image { height: 100%; min-height: 450px; background: rgba(255,255,255,0.8); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;}
.stats { display: flex; flex-direction: column; gap: 2.5rem; z-index: 5; background: rgba(255,255,255,0.8); padding: 2rem; border-radius: 20px; box-shadow: var(--glass-shadow); border: 1px solid white;}
.stat-box { text-align: center; }
.stat-num { display: inline-block; font-size: 4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-text { color: var(--text-muted); font-size: 1.2rem; font-weight: 500; display: block; margin-top: 0.5rem;}
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.15rem; }
.feature-list { list-style: none; margin-top: 2.5rem; }
.feature-list li { margin-bottom: 1.2rem; font-size: 1.1rem; display: flex; align-items: center; gap: 1rem; font-weight: 500;}
.feature-list .check { color: white; font-weight: bold; background: #10b981; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem;}

/* Animated Orbit in About */
.orbit-container { position: absolute; right: -50px; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; z-index: 1;}
.orbit-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2.5rem; background: white; width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--glass-shadow); z-index: 10; border: 1px solid #e2e8f0;}
.orbit-path { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px dashed #cbd5e1; transform: translate(-50%, -50%); }
.orbit-1 { width: 160px; height: 160px; animation: spin 15s linear infinite; }
.orbit-2 { width: 240px; height: 240px; animation: spin 25s linear infinite reverse; }
.orbit-3 { width: 320px; height: 320px; animation: spin 35s linear infinite; }
.orbit-item { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); font-size: 1.5rem; background: white; padding: 0.5rem; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }


/* Services Section */
.services { padding: 8rem 0; background: linear-gradient(180deg, var(--bg-main) 0%, #ffffff 100%); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card { padding: 3rem; background: white; transition: var(--transition); border-top: 3px solid transparent; }
.service-card:hover { transform: translateY(-10px); border-top-color: var(--primary); box-shadow: 0 30px 60px -15px rgba(31,38,135,0.15); }
.icon-wrap { width: 70px; height: 70px; background: var(--primary-light); border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.icon { font-size: 2.5rem; }
.service-card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text-main); font-weight: 800;}
.service-card p { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; font-size: 1.1rem;}
.service-features { list-style: none; border-top: 1px solid #e2e8f0; padding-top: 1.5rem; }
.service-features li { color: var(--text-main); margin-bottom: 0.75rem; position: relative; padding-left: 1.75rem; font-weight: 500;}
.service-features li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: 800;}

/* Process Section */
.process { padding: 8rem 0; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; position: relative; }
.step { padding: 3rem 2.5rem; text-align: left; background: white; border: 1px solid white;}
.step:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.05); transform: translateY(-5px); transition: var(--transition);}
.step-num { font-size: 4.5rem; font-weight: 800; color: #f1f5f9; line-height: 1; margin-bottom: 1.5rem; text-shadow: 1px 1px 0 #e2e8f0; }
.step h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); font-weight: 800;}
.step p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7;}

/* Contact Section */
.contact { padding: 8rem 0; background: #ffffff; }
.contact-wrapper { padding: 5rem; background: white;}
.contact-info p { color: var(--text-muted); margin-bottom: 3rem; font-size: 1.2rem; }
.info-item { display: flex; align-items: center; gap: 1.5rem; transition: var(--transition);}
.info-icon { font-size: 1.8rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* Footer */
footer { background: white; border-top: 1px solid #e2e8f0; padding: 5rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-muted); margin-top: 1.5rem; max-width: 320px; font-size: 1.1rem;}
.footer-links h4 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--text-main); font-weight: 800;}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); font-weight: 500;}
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #e2e8f0; color: #94a3b8; font-size: 1rem; font-weight: 500;}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .about-grid { grid-template-columns: 1fr; }
    .hero-text { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-image { max-width: 650px; margin: 3rem auto 0; }
    .about-image { min-height: 400px; margin-top: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
    .hero-text h1 { font-size: 3.2rem; }
    .section-heading { font-size: 2.5rem; }
    .nav-content ul { display: none; }
    .contact-wrapper { padding: 3rem 1.5rem; }
    .floating-bubble { display: none; }
}
