:root {
    --bg-dark: #131722;
    --bg-darker: #0e1118;
    --bg-card: #1e222d;
    --accent: #2962ff;
    --accent-hover: #1e54ff;
    --text-main: #d1d4dc;
    --text-muted: #787b86;
    --border: #2a2e39;
}

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

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

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* UTILS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.small-container { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.bg-darker { background-color: var(--bg-darker); }
.full-width { width: 100%; display: block; text-align: center; }

/* BUTTONS */
.btn {
    display: inline-block; padding: 10px 24px; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(41, 98, 255, 0.3); }
.btn-secondary { background: var(--bg-card); color: var(--text-main); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--text-muted); }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: rgba(41, 98, 255, 0.1); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%; background: rgba(19, 23, 34, 0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.logo-k { color: var(--accent); }
.dot { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; gap: 15px; }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; }

/* HERO */
.hero { padding: 140px 0 80px; position: relative; overflow: hidden; }
.hero-content { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 56px; line-height: 1.1; margin-bottom: 20px; color: #fff; font-weight: 800; background: linear-gradient(to right, #fff, #a5b4fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; max-width: 500px; }
.hero-buttons { display: flex; gap: 15px; }
.badge { display: inline-block; background: rgba(41, 98, 255, 0.15); color: var(--accent); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(41, 98, 255, 0.3); }

/* HERO VISUAL (MOCKUP) */
.hero-visual { flex: 1; position: relative; }
.mockup-window { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform 0.5s; }
.mockup-window:hover { transform: perspective(5000px) rotateY(0) rotateX(0); }
.mockup-header { background: #2a2e39; padding: 10px 15px; display: flex; gap: 6px; }
.mockup-header span { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.mockup-header span:nth-child(1) { background: #ff5f57; }
.mockup-header span:nth-child(2) { background: #febc2e; }
.mockup-header span:nth-child(3) { background: #28c840; }
.mockup-body { weight: 200px; position: relative; background: linear-gradient(135deg, #131722 0%, #0e1118 100%); display: flex; align-items: center; justify-content: center; }
.chart-line { width: 80%; height: 2px; background: var(--accent); position: relative; box-shadow: 0 0 20px var(--accent); }
.chart-line::after { content:''; position: absolute; right: 0; top: -4px; width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 10px #fff; }
.chart-overlay-text { position: absolute; color: rgba(255,255,255,0.05); font-size: 40px; font-weight: 900; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header h2 { font-size: 36px; margin-bottom: 15px; color: #fff; }
.section-header p { color: var(--text-muted); font-size: 16px; }

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-card); padding: 30px; border-radius: 12px; border: 1px solid var(--border); transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.feature-card .icon { font-size: 30px; margin-bottom: 20px; }
.feature-card h3 { color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* SPLIT SECTION */
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-text { flex: 1; }
.split-image { flex: 1; background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.feature-list { margin-top: 30px; }
.feature-list li { margin-bottom: 20px; border-left: 2px solid var(--accent); padding-left: 20px; }
.feature-list strong { color: #fff; display: block; margin-bottom: 5px; }
.feature-list p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ABSTRACT UI */
.abstract-ui { font-family: monospace; font-size: 12px; color: var(--text-muted); }
.abstract-ui .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.abstract-ui .row.active { color: #fff; background: rgba(41, 98, 255, 0.1); padding: 8px; border-radius: 4px; border: none; }
.abstract-ui .highlight { color: var(--accent); font-weight: bold; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: center; }
.pricing-card { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--accent); transform: scale(1.05); background: #1a1e29; }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.pricing-card h3 { color: var(--text-muted); font-size: 18px; margin-bottom: 15px; }
.pricing-card .price { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.pricing-card .price .period { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-card ul { text-align: left; margin: 30px 0; }
.pricing-card ul li { padding: 8px 0; border-bottom: 1px solid #2a2e39; color: var(--text-main); font-size: 14px; }
.pricing-card ul li:last-child { border: none; }

/* CONTACT */
.contact-box { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.contact-form { margin-top: 30px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; background: var(--bg-dark); border: 1px solid var(--border); color: #fff; border-radius: 6px; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.contact-info { margin-top: 30px; text-align: center; font-size: 14px; color: var(--text-muted); }
.contact-info a { color: var(--accent); }

/* FOOTER */
footer { padding: 60px 0 20px; background: var(--bg-card); border-top: 1px solid var(--border); margin-top: 100px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.copyright { text-align: center; color: var(--text-muted); font-size: 12px; border-top: 1px solid var(--border); padding-top: 20px; }

/* ANIMATION UTILS */
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.delay-200 { animation-delay: 0.2s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-text h1 { font-size: 40px; }
    .hero-buttons { justify-content: center; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; color: #fff; }
    .split-layout { flex-direction: column; }
    .pricing-card.featured { transform: scale(1); }
}