:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #10b981;
    --bg-dark: #090e17;
    --bg-darker: #05080f;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-1: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
}

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

html { scroll-behavior: smooth; }

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

/* Helpers */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-green { color: #10b981; }
.text-red { color: #ef4444; }
.text-blue { color: #3b82f6; }
.text-orange { color: #f59e0b; }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.w-100 { width: 100%; }
.ml-2 { margin-left: 0.5rem; }
.bg-darker { background-color: var(--bg-darker); }
.bg-red { background-color: #ef4444; }
.border-top-bottom { border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); padding: 40px 0; }
.relative { position: relative; }

/* Blobs */
.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary); }
.blob-2 { top: 30%; right: -20%; width: 60vw; height: 60vw; background: #10b981; }
.blob-3 { bottom: 10%; left: 10%; width: 40vw; height: 40vw; background: #ec4899; }
.blob-4 { bottom: -20%; right: 20%; width: 50vw; height: 50vw; background: #8b5cf6; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
}

/* Typography */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
.section-title { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: -0.02em; }
.section-subtitle { color: var(--text-muted); font-size: 1.25rem; max-width: 700px; margin: 0 auto; }

/* Buttons */
button, .btn-login, .btn-secondary {
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -5px rgba(99, 102, 241, 0.8);
}
.pulse-btn { animation: pulse-shadow 2s infinite; }
@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 28px;
    border-radius: 12px;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.large { padding: 18px 40px; font-size: 1.15rem; border-radius: 16px; }

/* Navbar */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 1280px; z-index: 1000; padding: 15px 30px;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 0; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.75rem; font-weight: 900; }
.logo-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
}
.badge-pro {
    font-size: 0.7rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 2px 8px; border-radius: 20px; vertical-align: middle; margin-left: 5px; color: #cbd5e1;
}
.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 1rem; transition: color 0.3s; }
.nav-links a:hover { color: #a855f7; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.btn-login { color: var(--text-light); font-size: 1rem; }
.btn-login:hover { color: #a855f7; }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; }

/* Hero Section */
.hero { min-height: 100vh; padding-top: 160px; padding-bottom: 80px; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-text { flex: 1; max-width: 600px; }
.hero-badge {
    display: inline-block; padding: 8px 16px; background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 30px; color: #c084fc;
    font-weight: 700; font-size: 0.875rem; margin-bottom: 24px;
}
.hero-title { font-size: 4rem; margin-bottom: 24px; }
.hero-description { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.8; }
.hero-stats { display: flex; align-items: center; gap: 30px; margin-bottom: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: white; }
.stat-desc { color: var(--text-muted); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 50px; background: var(--glass-border); }
.hero-buttons { display: flex; gap: 20px; }

/* Hero Visual & Mockup */
.hero-visual { flex: 1; position: relative; }
.mockup-card {
    padding: 0; overflow: hidden; height: 450px; display: flex; flex-direction: column;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-visual:hover .mockup-card { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.mockup-header { background: #0f172a; padding: 12px 20px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--glass-border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; } .dot.yellow { background: #eab308; } .dot.green { background: #22c55e; }
.mockup-url { margin-left: 20px; background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 8px; font-size: 0.75rem; color: #64748b; font-family: monospace; flex: 1; text-align: center; }
.mockup-body { display: flex; flex: 1; background: #020617; }
.mockup-sidebar { width: 80px; background: #0f172a; padding: 20px; display: flex; flex-direction: column; gap: 15px; border-right: 1px solid var(--glass-border); }
.m-line { height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; }
.m-line.short { width: 60%; margin-bottom: 20px; background: var(--primary); }
.m-line.active { background: rgba(99, 102, 241, 0.5); }
.mockup-content { flex: 1; padding: 30px; }
.m-header { display: flex; justify-content: space-between; margin-bottom: 30px; }
.m-title { width: 150px; height: 20px; background: rgba(255,255,255,0.2); border-radius: 10px; }
.m-user { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.m-stats { display: flex; gap: 20px; margin-bottom: 30px; }
.m-stat-box { flex: 1; height: 80px; border-radius: 16px; opacity: 0.2; }
.m-stat-box.green { background: #10b981; } .m-stat-box.blue { background: #3b82f6; } .m-stat-box.orange { background: #f59e0b; }
.m-chart { height: 150px; background: linear-gradient(to top, rgba(99,102,241,0.2), transparent); border-bottom: 2px solid var(--primary); border-radius: 8px 8px 0 0; }

.floating-widget {
    position: absolute; padding: 16px 20px; display: flex; align-items: center; gap: 15px;
    animation: float 4s ease-in-out infinite;
}
.widget-1 { top: 40px; right: -40px; animation-delay: 0s; }
.widget-2 { bottom: 60px; left: -60px; animation-delay: 2s; }
.floating-widget i { font-size: 1.5rem; }
.fw-title { font-weight: 800; font-size: 0.9rem; }
.fw-desc { color: var(--text-muted); font-size: 0.75rem; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Trusted By */
.trusted-text { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.logos-flex { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; opacity: 0.6; filter: grayscale(100%); transition: all 0.5s; }
.logos-flex:hover { opacity: 1; filter: grayscale(0%); }
.t-logo { font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; gap: 10px; color: #cbd5e1; }

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

/* Features */
.feature-box { padding: 40px 30px; transition: transform 0.3s; }
.hover-up:hover { transform: translateY(-15px); border-color: rgba(99, 102, 241, 0.4); }
.f-icon-wrap {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin-bottom: 24px;
}
.f-icon-wrap.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.f-icon-wrap.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.f-icon-wrap.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.feature-box h3 { font-size: 1.5rem; margin-bottom: 16px; }
.feature-box p { color: var(--text-muted); font-size: 1.05rem; }

/* Split Section (Modules) */
.flex-split { display: flex; align-items: center; gap: 60px; }
.split-content { flex: 1; }
.split-visual { flex: 1; min-height: 400px; }
.split-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 30px; }
.check-list { list-style: none; }
.check-list li { margin-bottom: 20px; font-size: 1.1rem; display: flex; align-items: flex-start; gap: 15px; }
.check-list i { margin-top: 5px; }

.p-card { border-radius: 20px; }
.main-panel { width: 80%; padding: 30px; position: relative; z-index: 2; margin-top: 60px; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8); }
.absolute-top-right { position: absolute; top: -40px; right: -30px; width: 250px; z-index: 3; animation: float 5s ease-in-out infinite alternate; background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.progress-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-top: 15px; overflow: hidden; }
.fill { height: 100%; border-radius: 4px; }
.task-item { display: flex; align-items: center; gap: 12px; padding: 15px; background: rgba(0,0,0,0.2); border-radius: 12px; margin-top: 15px; font-weight: 600; }
.task-item.done { color: var(--text-muted); text-decoration: line-through; }
.task-item.done i { color: #10b981; }
.task-item.pending i { color: #f59e0b; }
.auto-deduct { background: rgba(245, 158, 11, 0.1); padding: 8px 12px; border-radius: 8px; display: inline-block; }

/* Security */
.sec-item { padding: 30px 20px; background: rgba(255,255,255,0.02); border-radius: 20px; border: 1px solid var(--glass-border); text-align: left; }
.sec-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.sec-item h4 { font-size: 1.25rem; margin-bottom: 12px; }

/* Pricing */
.pricing-grid { display: flex; justify-content: center; gap: 30px; align-items: center; flex-wrap: wrap; margin-top: 60px; }
.price-card { padding: 40px; flex: 1; min-width: 320px; max-width: 380px; position: relative; transition: transform 0.3s; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-10px); }
.price-card.premium { transform: scale(1.05); background: rgba(99, 102, 241, 0.08); border-color: rgba(99, 102, 241, 0.4); z-index: 10; }
.price-card.premium:hover { transform: scale(1.05) translateY(-10px); }
.popular-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #f59e0b, #ef4444); padding: 8px 20px; border-radius: 30px; font-size: 0.875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: white; box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.5); }
.tier { font-size: 1.75rem; margin-bottom: 5px; }
.tier-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; min-height: 40px; }
.price { font-size: 2.5rem; font-weight: 900; margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 30px; }
.currency { font-size: 1rem; color: var(--text-muted); font-weight: normal; }
.features-list { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.features-list li { margin-bottom: 16px; display: flex; align-items: center; gap: 15px; font-weight: 500; }
.features-list .disabled { color: var(--text-muted); text-decoration: line-through; opacity: 0.5; }

/* Footer */
.footer { border-top: 1px solid var(--glass-border); padding: 80px 20px 30px; background: var(--bg-darker); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; margin-bottom: 60px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h4 { margin-bottom: 25px; font-size: 1.25rem; color: white; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: var(--text-muted); border-top: 1px solid var(--glass-border); padding-top: 30px; font-size: 0.9rem; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(2, 6, 23, 0.8); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { width: 90%; max-width: 500px; padding: 40px; position: relative; transform: translateY(50px) scale(0.95); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #0f172a; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8); }
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.close-btn { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.05); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background 0.3s; }
.close-btn:hover { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.input-group { margin-bottom: 24px; text-align: left; }
.input-group label { display: block; margin-bottom: 10px; font-size: 0.95rem; color: #cbd5e1; font-weight: 600; }
.input-wrapper { position: relative; }
.input-wrapper i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-wrapper input { width: 100%; padding: 16px 16px 16px 45px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: white; font-size: 1rem; transition: all 0.3s; }
.input-wrapper input:focus { border-color: var(--primary); outline: none; background: rgba(0,0,0,0.5); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }
.success-icon { font-size: 5rem; color: #10b981; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-text { max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .flex-split { flex-direction: column; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .price-card.premium { transform: scale(1); }
    .price-card.premium:hover { transform: translateY(-10px); }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.5rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .stat-num { font-size: 2rem; }
    .floating-widget { display: none; }
    .section-title { font-size: 2.5rem; }
}
