:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --dark: #0f172a;
    --dark2: #1e293b;
    --dark3: #334155;
    --white: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: rgba(0, 0, 0, 0.05);
    --gradient: linear-gradient(135deg, #6366f1, #a855f7);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fdfdfd;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* --- NAVBAR --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
    display: flex; align-items: center; gap: 12px;
    font-size: 24px; font-weight: 800; color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo i { font-size: 32px; color: var(--primary); filter: drop-shadow(0 4px 6px var(--primary-glow)); }
.logo span span { color: var(--primary); }

.nav-links { display: flex; list-style: none; align-items: center; gap: 36px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted);
    font-weight: 600; font-size: 15px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary) !important; color: white !important;
    padding: 12px 24px !important; border-radius: 12px !important;
    box-shadow: 0 10px 15px -3px var(--primary-glow);
}
.nav-cta:hover { 
    background: var(--primary-dark) !important; 
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px var(--primary-glow);
}
.hamburger { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--dark); }

/* --- HERO --- */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    display: flex; align-items: center;
    padding: 160px 0 100px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.05; pointer-events: none;
}
.hero-glow {
    position: absolute; border-radius: 50%;
    filter: blur(150px); opacity: 0.2;
    animation: pulse-glow 8s ease-in-out infinite;
}
.g1 { width: 800px; height: 800px; background: #6366f1; top: -300px; left: -200px; }
.g2 { width: 600px; height: 600px; background: #a855f7; bottom: -200px; right: -100px; animation-delay: 4s; }

@keyframes pulse-glow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.2; }
    50% { transform: scale(1.1) translate(20px, 20px); opacity: 0.3; }
}

.hero-inner {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 80px; align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #e2e8f0; padding: 10px 20px; border-radius: 100px;
    font-size: 14px; font-weight: 600; margin-bottom: 32px;
}
.pulse-dot {
    width: 10px; height: 10px; background: #10b981;
    border-radius: 50%; box-shadow: 0 0 15px #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-text h1 {
    font-size: 64px; font-weight: 900; line-height: 1.05;
    color: #fff; margin-bottom: 28px; letter-spacing: -2px;
}
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p { color: #94a3b8; font-size: 20px; line-height: 1.7; margin-bottom: 48px; max-width: 600px; }

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 32px; border-radius: 14px; font-weight: 700;
    font-size: 16px; text-decoration: none; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; border: none; font-family: 'Inter', sans-serif;
}
.btn-primary { 
    background: var(--gradient); color: #fff; 
    box-shadow: 0 10px 25px -5px var(--primary-glow);
}
.btn-primary:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 20px 35px -5px var(--primary-glow);
}
.btn-xl { padding: 20px 48px; font-size: 18px; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.4); }

.trust-bar { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #cbd5e1; font-size: 15px; font-weight: 600; }
.trust-item i { color: #10b981; font-size: 20px; }

/* Hero Visual */
.hero-visual { position: relative; perspective: 2000px; }
.hero-img-wrap { 
    position: relative; 
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
}
.hero-img-wrap:hover { transform: rotateY(-5deg) rotateX(5deg); }

.dashboard-img {
    width: 100%; border-radius: 24px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-float {
    position: absolute; background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px; padding: 16px 24px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 5s ease-in-out infinite;
}
.f1 { top: -20px; left: -40px; }
.f2 { bottom: 40px; right: -40px; animation-delay: 2.5s; }
.f3 { top: 45%; left: -60px; animation-delay: 1.2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.card-float-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.card-float-icon.green { background: #d1fae5; color: #059669; }
.card-float-icon.blue { background: #dbeafe; color: #2563eb; }
.card-float-icon.orange { background: #ffedd5; color: #d97706; }
.card-float-label { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.card-float-val { font-size: 18px; font-weight: 800; color: var(--dark); }

/* --- SECTION HELPERS --- */
.section-tag {
    display: inline-block; background: #eef2ff; color: var(--primary);
    padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px;
}
.section-title { font-size: 48px; font-weight: 950; line-height: 1.1; margin-bottom: 20px; color: var(--dark); letter-spacing: -1.5px; }
.section-sub { font-size: 20px; color: var(--text-muted); max-width: 650px; line-height: 1.6; }

/* --- FEATURES --- */
.features { padding: 140px 0; background: #fdfdfd; }
.features .container > .section-tag,
.features .container > .section-title,
.features .container > .section-sub { display: block; text-align: center; }
.features .container > .section-sub { margin: 0 auto 80px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feat-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 28px; padding: 48px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}
.feat-card:hover { 
    transform: translateY(-12px); 
    box-shadow: var(--shadow-xl); 
    border-color: rgba(99, 102, 241, 0.2); 
}
.feat-big { grid-column: span 2; }

.feat-icon {
    width: 64px; height: 64px; border-radius: 18px;
    background: #f5f3ff; color: #7c3aed;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin-bottom: 28px;
    transition: transform 0.3s ease;
}
.feat-card:hover .feat-icon { transform: scale(1.1) rotate(5deg); }

.feat-icon.orange { background: #fff7ed; color: #ea580c; }
.feat-icon.green { background: #f0fdf4; color: #16a34a; }
.feat-icon.purple { background: #f5f3ff; color: #7c3aed; }
.feat-icon.blue { background: #eff6ff; color: #2563eb; }
.feat-icon.red { background: #fef2f2; color: #dc2626; }
.feat-icon.teal { background: #f0fdfa; color: #0d9488; }
.feat-icon.purple-dark { background: #faf5ff; color: #6b21a8; }

.feat-card h3 { font-size: 24px; font-weight: 850; margin-bottom: 16px; color: var(--dark); letter-spacing: -0.5px; }
.feat-card p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

.feat-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--dark2); }
.feat-list li i { color: #10b981; font-size: 18px; }

/* --- CONTACT SECTION --- */
.contact { padding: 140px 0; background: #fff; position: relative; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.contact-options { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }

.contact-btn {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 32px; border-radius: 20px; font-weight: 700;
    font-size: 18px; text-decoration: none; transition: all 0.3s;
    border-width: 2px; border-style: solid;
}
.contact-btn.whatsapp { background: #f0fdf4; color: #16a34a; border-color: #dcfce7; }
.contact-btn.whatsapp:hover { background: #16a34a; color: #fff; transform: scale(1.02); }
.contact-btn.email { background: #f5f3ff; color: #7c3aed; border-color: #ede9fe; }
.contact-btn.email:hover { background: #7c3aed; color: #fff; transform: scale(1.02); }

.contact-box {
    background: var(--dark); border-radius: 32px; padding: 56px;
    color: #fff; box-shadow: 0 40px 80px rgba(15, 23, 42, 0.2);
}
.contact-box h4 { font-size: 24px; font-weight: 800; margin-bottom: 32px; color: #fff; }
.contact-box ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-box li { display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; color: #cbd5e1; }
.contact-box li i { color: #10b981; font-size: 24px; }

/* --- FOOTER --- */
footer { background: #020617; padding: 60px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #64748b; font-size: 14px; width: 100%; text-align: center; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .hero-text h1 { font-size: 54px; }
    .hero-inner { gap: 40px; }
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-big { grid-column: span 2; }
    .contact-inner { gap: 60px; }
}

@media (max-width: 768px) {
    header { padding: 16px 0; }
    .hero { padding: 120px 0 80px; text-align: center; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .nav-links { 
        display: none; flex-direction: column; position: absolute; 
        top: 100%; left: 0; right: 0; background: #fff; padding: 32px; 
        gap: 24px; box-shadow: var(--shadow-xl); border-bottom: 1px solid #f1f5f9;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .feat-big { grid-column: span 1; }
    .section-title { font-size: 36px; }
    .contact-inner { grid-template-columns: 1fr; }
    .contact-box { padding: 40px 24px; }
}
