/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 10px; font-weight: 600;
  font-size: 14px; transition: all 0.3s; cursor: pointer;
  border: none; gap: 8px;
}
.btn-primary { background: #0f172a; color: #fff; }
.btn-primary:hover { background: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(15,23,42,0.3); }
.btn-outline { background: transparent; color: #0f172a; border: 1.5px solid #cbd5e1; }
.btn-outline:hover { border-color: #0f172a; background: #f8fafc; }
.btn-ghost { color: #475569; background: transparent; }
.btn-ghost:hover { color: #0f172a; background: #f1f5f9; }
.btn-white { background: #fff; color: #0f172a; }
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,255,255,0.3); }
.btn-ghost-white { color: rgba(255,255,255,0.8); background: transparent; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost-white:hover { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 12px; }
.btn-full { width: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06); padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #0f172a; }
.logo-img { width: 100px; height: 100px; border-radius: 14px; object-fit: contain; }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #64748b; transition: color 0.2s; }
.nav-links a:hover { color: #0f172a; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #1e293b;
  margin: 5px 0; transition: all 0.3s; border-radius: 2px;
}

/* === HERO === */
.hero {
  position: relative; padding: 160px 0 100px; overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}
.hero-bg {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,23,42,0.03) 0%, transparent 70%);
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 600;
  margin-bottom: 24px; border: 1px solid #e2e8f0;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.gradient-text {
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 17px; color: #64748b; line-height: 1.7; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 24px; font-weight: 800; color: #0f172a; }
.hero-stat-label { font-size: 12px; color: #94a3b8; font-weight: 500; }
.hero-stat-divider { width: 1px; height: 40px; background: #e2e8f0; }

/* Hero Mockup */
.hero-mockup {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s;
}
.hero-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.mockup-header {
  background: #f8fafc; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }
.mockup-url { font-size: 11px; color: #94a3b8; background: #fff; padding: 4px 12px; border-radius: 6px; flex: 1; text-align: center; }
.mockup-body { display: flex; min-height: 280px; }
.mockup-sidebar { width: 60px; background: #0f172a; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.mockup-menu-item { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.mockup-menu-item.active { background: rgba(255,255,255,0.3); }
.mockup-content { flex: 1; padding: 16px; background: #f8fafc; }
.mockup-card-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.mockup-stat-card { height: 40px; border-radius: 8px; }
.mockup-stat-card.c1 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.mockup-stat-card.c2 { background: linear-gradient(135deg, #10b981, #059669); }
.mockup-stat-card.c3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.mockup-stat-card.c4 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.mockup-chart { height: 80px; background: #fff; border-radius: 8px; margin-bottom: 12px; border: 1px solid #e2e8f0; }
.mockup-table-row { height: 20px; background: #fff; border-radius: 6px; margin-bottom: 6px; border: 1px solid #e2e8f0; }

/* === SECTIONS === */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: #f1f5f9; color: #475569; font-size: 13px; font-weight: 600;
  margin-bottom: 16px; border: 1px solid #e2e8f0;
}
.section-header h2 { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { font-size: 16px; color: #64748b; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* === FEATURES === */
.features { background: #f8fafc; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  border: 1px solid #e2e8f0; transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: transparent; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* === MODULES === */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-card {
  background: #fff; border-radius: 16px; padding: 32px;
  border: 1px solid #e2e8f0; transition: all 0.3s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: transparent; }
.module-icon {
  width: 56px; height: 56px; border-radius: 14px; color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.module-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.module-card > p { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 20px; }
.module-features { display: flex; flex-direction: column; gap: 8px; }
.module-features li {
  font-size: 13px; color: #475569; padding-left: 20px; position: relative;
}
.module-features li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: #10b981;
}

/* === AI SECTION === */
.ai-section { background: #f8fafc; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-content .section-badge { margin-bottom: 16px; }
.ai-content h2 { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.ai-content > p { font-size: 16px; color: #64748b; line-height: 1.7; margin-bottom: 32px; }
.ai-features { display: flex; flex-direction: column; gap: 20px; }
.ai-feature { display: flex; gap: 16px; align-items: flex-start; }
.ai-feature-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: #0f172a; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ai-feature h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.ai-feature p { font-size: 13px; color: #64748b; }

/* AI Chat Mockup */
.ai-chat-mockup {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
}
.ai-chat-header {
  background: #0f172a; padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.ai-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
}
.ai-chat-name { color: #fff; font-size: 14px; font-weight: 600; }
.ai-chat-status { color: #22c55e; font-size: 11px; }
.ai-chat-messages { padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; }
.ai-msg {
  max-width: 85%; padding: 12px 16px; border-radius: 12px;
  font-size: 13px; line-height: 1.6;
}
.ai-msg.user {
  align-self: flex-end; background: #0f172a; color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg.bot {
  align-self: flex-start; background: #f1f5f9; color: #334155;
  border-bottom-left-radius: 4px;
}
.ai-msg.typing { display: flex; gap: 4px; padding: 16px 20px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: #94a3b8;
  animation: typing 1.4s infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* === MOBILE SECTION === */
.mobile-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mobile-feature {
  background: #f8fafc; border-radius: 16px; padding: 32px 24px;
  border: 1px solid #e2e8f0; transition: all 0.3s;
}
.mobile-feature:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); background: #fff; }
.mobile-feature-num {
  font-size: 32px; font-weight: 800; color: #e2e8f0; margin-bottom: 16px;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.mobile-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.mobile-feature p { font-size: 13px; color: #64748b; line-height: 1.6; }

/* === CTA === */
.cta-section { padding: 60px 0; }
.cta-box {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 24px; padding: 80px 60px; text-align: center;
}
.cta-box h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.cta-box p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 12px; justify-content: center; }

/* === CONTACT === */
.contact-section { background: #f8fafc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: #0f172a; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 13px; color: #64748b; line-height: 1.5; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px;
  border: 1px solid #e2e8f0; font-family: inherit; font-size: 14px;
  color: #1e293b; background: #fff; transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #0f172a; }
.contact-form textarea { resize: vertical; min-height: 100px; }

/* === FOOTER === */
.footer { background: #0f172a; padding: 60px 0 30px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: #94a3b8; margin-top: 16px; line-height: 1.6; max-width: 300px; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 13px; color: #94a3b8; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.footer-bottom p { font-size: 12px; color: #64748b; text-align: center; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: 1fr; }
  .mobile-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff;
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-actions.open {
    display: flex; position: absolute; top: calc(100% + 200px);
    left: 0; right: 0; background: #fff; padding: 0 24px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .mobile-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
  .cta-box h2 { font-size: 24px; }
  .cta-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 20px; }
  .ai-content h2 { font-size: 28px; }
}
