:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-card: #121824;
  --bg-card-hover: #172030;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan: #06b6d4;
  --amber: #f59e0b;
  
  --text-main: #f9fafb;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.15;
}
.glow-1 {
  top: -150px;
  left: 20%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
.glow-2 {
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--emerald) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.brand-name span {
  color: var(--emerald);
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover {
  color: #fff;
}

@media (max-width: 800px) {
  .nav-links { display: none; }
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-content {
  max-width: 880px;
}
.hero-badge {
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Proof Bar */
.proof-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.proof-item {
  text-align: center;
}
.proof-val {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
}
.proof-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .proof-bar { flex-direction: column; gap: 1.5rem; }
  .proof-divider { display: none; }
}

/* Section Common */
.section {
  padding: 5rem 0;
}
.bg-alt {
  background-color: var(--bg-secondary);
}
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid 3 Feature Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}
.feature-card.highlighted {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px var(--emerald-glow);
}
.popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--emerald);
  color: #022c22;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.feature-list {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}
.feature-list li {
  color: var(--text-main);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-list li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
}

/* Live Simulator Layout */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .simulator-layout { grid-template-columns: 1fr; }
}
.simulator-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.simulator-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.sim-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Smartphone Mockup */
.smartphone-frame {
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
  background: #000;
  border: 4px solid #334155;
  border-radius: 40px;
  padding: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}
.phone-screen {
  background: #090e17;
  border-radius: 28px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #1e293b;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}
.avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.header-name {
  font-weight: 700;
  font-size: 0.85rem;
}
.header-status {
  font-size: 0.7rem;
  color: var(--emerald);
}
.message-feed {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}
.chat-bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
  animation: fadeIn 0.3s ease-out;
}
.bubble-in {
  background: #1e293b;
  color: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.bubble-out {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.system-bubble {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  margin: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ROI Calculator Section */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.slider-group {
  margin-bottom: 2rem;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.slider-display {
  color: var(--emerald);
  font-size: 1.15rem;
  font-family: var(--font-heading);
}
input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  accent-color: var(--emerald);
}
.roi-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.roi-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.roi-card.highlight {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(7, 9, 14, 0.9) 100%);
}
.roi-val {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--emerald);
}
.roi-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.timeline-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.timeline-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.timeline-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  background: #040609;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0.35rem 0;
}
.footer-address {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-copy {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-backdrop.active {
  display: flex;
}
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.form-group input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus {
  border-color: var(--primary);
}
.form-guarantee {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
}
.modal-success {
  text-align: center;
  padding: 1.5rem 0;
}
.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
