/* ── Reset & Variables ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #ffffff;
  --bg2:     #f8f9fa;
  --card:    #ffffff;
  --border:  #e9ecef;
  --text:    #333333;
  --muted:   #6c757d;
  --heading: #2c3e50;
  --primary: #ff8c42;
  --primary2:#e67a33;
  --green:   #2d9e4e;
  --blue:    #0369a1;
  --yellow:  #e09200;
  --orange:  #ff8c42;
  --red:     #dc2626;
  --teal:    #0d9488;
  --purple:  #7c3aed;
  --navy:    #2c3e50;
  --navy-d:  #1a3a5c;
  --radius:  14px;
  --shadow:  0 2px 12px rgba(0,0,0,0.08);
  --shadow-h:0 6px 24px rgba(0,0,0,0.13);
  --font:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,252,248,.82)),
              url('../img/bg.webp?v=2');
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
code {
  font-family: 'Courier New', monospace;
  background: rgba(255,140,66,.08);
  color: var(--primary2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .85em;
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: background .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.brand .bi { color: var(--primary); font-size: 1.4rem; }

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: 1.5rem;
}

.nav-links a {
  font-size: .9rem;
  color: var(--navy);
  font-weight: 600;
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: var(--primary);
  transition: all .3s;
  transform: translateX(-50%);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 70%; }

.btn-login {
  margin-left: auto;
  padding: .45rem 1.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s, transform .15s, box-shadow .2s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,140,66,.3);
}

.btn-login:hover {
  background: var(--primary2);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,140,66,.4);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--navy);
  border-radius: 8px;
  padding: .35rem .55rem;
  cursor: pointer;
  font-size: 1.2rem;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 24px 1.5rem;
  border-top: 1px solid var(--border);
  gap: .75rem;
  background: #fff;
}

.mobile-menu a { color: var(--navy); font-size: .95rem; font-weight: 500; }
.mobile-menu .mobile-login {
  margin-top: .5rem;
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .btn-login { display: none; }
  .nav-toggle { display: block; }
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,140,66,.04), rgba(44,62,80,.03));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .12;
  pointer-events: none;
}

.glow-1 { width: 600px; height: 600px; background: var(--primary); top: -150px; left: -100px; }
.glow-2 { width: 500px; height: 500px; background: #ff6b00; bottom: 0; right: -100px; }

.hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,140,66,.1);
  border: 1px solid rgba(255,140,66,.3);
  color: var(--primary2);
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #e67a33 50%, #d45504 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  padding: .8rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(255,140,66,.35);
}

.btn-primary-lg:hover {
  background: var(--primary2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,140,66,.5);
}

.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  padding: .8rem 1.75rem;
  border: 2px solid var(--border);
  color: var(--navy);
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color .2s, color .2s, background .2s;
}

.btn-ghost-lg:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,140,66,.04);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .75rem 2rem;
  box-shadow: var(--shadow);
}

.stat { text-align: center; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.stat-lbl { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ── Screen Mock ─────────────────────────────────────────────────────────────── */
.screen-mock {
  margin: 4rem auto 0;
  max-width: 860px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.03);
  position: relative;
  z-index: 1;
}

.screen-bar {
  background: #f8f9fa;
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red    { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green  { background: #22c55e; }

.screen-url {
  margin-left: .5rem;
  font-size: .75rem;
  color: var(--muted);
  font-family: monospace;
}

.screen-body {
  display: flex;
  height: 300px;
}

.mock-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #fefefe 0%, #f8f9fa 100%);
  border-right: 1px solid var(--border);
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.mock-brand { font-size: .85rem; font-weight: 700; color: var(--primary); padding: .5rem .5rem .75rem; border-bottom: 1px solid var(--border); margin-bottom: .25rem; }

.mock-nav-item {
  font-size: .78rem;
  padding: .4rem .6rem;
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.mock-nav-item.active { background: rgba(255,140,66,.1); color: var(--primary2); }

.mock-content {
  flex: 1;
  padding: 1.25rem;
  overflow: hidden;
  background: #fafbfc;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.mock-card {
  background: #fff;
  border-radius: 8px;
  padding: .75rem;
  text-align: center;
  border-left: 3px solid;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.mock-card.green  { border-color: var(--green); }
.mock-card.blue   { border-color: var(--blue); }
.mock-card.yellow { border-color: var(--yellow); }
.mock-card.purple { border-color: var(--purple); }

.mock-num { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.mock-lbl { font-size: .65rem; color: var(--muted); }

.mock-table { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.mock-row { display: grid; grid-template-columns: 1fr 1fr 80px; padding: .5rem .75rem; font-size: .75rem; align-items: center; border-bottom: 1px solid var(--border); color: var(--text); }
.mock-row:last-child { border-bottom: none; }
.mock-row.header { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; background: #f8f9fa; }
.badge-online { color: var(--green); font-weight: 600; font-size: .7rem; }
.badge-offline { color: var(--muted); font-size: .7rem; }

/* ── Section commons ─────────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(255,140,66,.1);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label.light { color: rgba(255,255,255,.85); background: rgba(255,255,255,.15); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Features ────────────────────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg2);
}

.features > .container { text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  text-align: left;
}

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  border-bottom-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.feature-icon.purple { background: rgba(124,58,237,.1); color: var(--purple); }
.feature-icon.blue   { background: rgba(3,105,161,.1);  color: var(--blue); }
.feature-icon.green  { background: rgba(45,158,78,.1);   color: var(--green); }
.feature-icon.orange { background: rgba(255,140,66,.12);  color: var(--orange); }
.feature-icon.red    { background: rgba(220,38,38,.1);   color: var(--red); }
.feature-icon.teal   { background: rgba(13,148,136,.1);  color: var(--teal); }

.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── How it works ────────────────────────────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: #fff;
}

.how > .container { text-align: center; }

.steps {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,140,66,.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
  letter-spacing: -.04em;
}

.step-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.step-body p  { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-bottom: .75rem; }

.code-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .75rem 1rem;
  font-family: 'Courier New', monospace;
  font-size: .78rem;
  color: var(--primary2);
  line-height: 1.7;
  border-left: 3px solid var(--primary);
}

@media (max-width: 580px) {
  .step { flex-direction: column; gap: .75rem; }
  .step-num { font-size: 2rem; }
}

/* ── Pricing ─────────────────────────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--bg2);
}

.pricing > .container { text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; } }

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 8px 30px rgba(255,140,66,.18);
}

.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(255,140,66,.3);
}

.price-tier {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .75rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.currency { font-size: 1.2rem; vertical-align: super; font-weight: 600; color: var(--muted); }
.period   { font-size: 1rem; color: var(--muted); font-weight: 400; }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem;
  font-size: .875rem;
}

.price-features li { display: flex; align-items: center; gap: .5rem; color: var(--text); }
.price-features li .bi-check-circle-fill { color: var(--green); }
.price-features li.disabled { color: var(--muted); }
.price-features li.disabled .bi-x-circle { color: #ccc; }

.price-btn {
  display: block;
  text-align: center;
  padding: .75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s;
}

.price-btn.solid {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,140,66,.3);
}
.price-btn.solid:hover {
  background: var(--primary2);
  box-shadow: 0 4px 14px rgba(255,140,66,.4);
}
.price-btn.outline {
  border: 2px solid var(--border);
  color: var(--navy);
}
.price-btn.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,140,66,.04);
}

/* ── Contact ─────────────────────────────────────────────────────────────────── */
.contact { padding: 100px 0; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) { .contact-card { grid-template-columns: 1fr; } }

.contact-left {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-d) 100%);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-left h2 { font-size: 1.75rem; font-weight: 800; color: #fff; }
.contact-left p  { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.65; }

.contact-info { margin-top: .5rem; display: flex; flex-direction: column; gap: .5rem; }
.contact-info div {
  display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; color: rgba(255,255,255,.8);
}
.contact-info .bi { color: var(--primary); }

.contact-right { padding: 2.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: .7rem 1rem;
  font-size: .9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,140,66,.12);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #b0b0b0; }

.w-100 { width: 100%; border: none; cursor: pointer; }
.form-msg { font-size: .85rem; text-align: center; color: var(--green); min-height: 20px; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 2rem 0;
  color: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: #fff;
  font-size: .95rem;
}

.footer-brand span { font-size: .75rem; color: rgba(255,255,255,.6); font-weight: 400; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.footer-links a { font-size: .85rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: var(--primary); }

.footer-copy { font-size: .8rem; color: rgba(255,255,255,.5); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { margin-left: 0; }
}

/* ── Scroll animation ────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Helper classes */
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }
.ms-1 { margin-left: .25rem; }
