/* ============================================================
   InOneOS — Premium dark theme, inspired by kavayainfotech.com's
   own site (parent company): bold type, marquee strip, numbered
   sections, animated stats, FAQ accordion. Product accent (indigo/
   violet) kept for InOneOS's own identity within that frame.
   ============================================================ */

:root {
  --bg: #f7f9fd;
  --bg-raised: #ffffff;
  --bg-panel: #ffffff;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #64748b;

  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: rgba(79, 70, 229, 0.12);

  --success: #16a34a;
  --amber: #d97706;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--accent-soft); color: var(--ink); }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- shared panels ---------- */
.neu-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.neu-pressed {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* ---------- utility ---------- */
.mono { font-family: var(--font-mono); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 60px; height: 70px; flex-shrink: 0; border-radius: 12px; object-fit: cover; background: var(--bg-panel); border: 1px solid var(--line); display: block; }
.logo-mark-fallback {
  width: 60px; height: 70px; border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #fff; display: none; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.logo-mark--sm { width: 60px; height: 70px; }
.logo-mark-fallback--sm { width: 60px; height: 70px; font-size: 12px; }
.logo-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.logo-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; display: flex; align-items: center; }
.logo-by { font-family: var(--font-body); font-size: 10.5px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0.01em; }
footer .logo-title { font-size: 15px; }
footer .logo-by { font-size: 10px; }
.logo .os {
  color: var(--accent); font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  /* background: var(--accent-soft); border: 1px solid rgba(107,123,247,0.3); */
  padding: 2px 7px; border-radius: 6px; margin-left: 6px;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--ink-soft); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px; text-decoration: none;
  padding: 13px 22px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; border: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(145deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 24px rgba(107, 123, 247, 0.35); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(107, 123, 247, 0.45); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink-faint); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 0; }
.hero-inner { max-width: 780px; }
.hero-title-block { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-title-logo { width: 54px; height: 54px; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); background: var(--bg-panel); flex-shrink: 0; }
.hero .kicker { margin-bottom: 8px; }
h1 {
  font-weight: 700;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
h1 .accent {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-ctas .link { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--ink-faint); padding-bottom: 2px; }
.hero-ctas .link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-raised);
}
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
  padding: 0 20px;
  letter-spacing: 0.02em;
}
.marquee-track span b { color: var(--accent); font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- quick preview (3-up) ---------- */
.quickgrid { padding: 64px 0 40px; }
.quick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quick-item { padding: 28px; }
.quick-item .qicon {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 19px; margin-bottom: 18px;
}
.quick-item h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
.quick-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.quickgrid .more { text-align: center; margin-top: 30px; font-size: 14px; color: var(--ink-soft); }
.quickgrid .more a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(107,123,247,0.35); }

/* ---------- numbered "how it works" ---------- */
.howwork { padding: 88px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.section-head--tight { margin-bottom: 40px; }
.section-head h2 { font-size: 34px; font-weight: 700; margin: 16px 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-soft); font-size: 15.5px; }
.eyebrow--center { justify-content: center; margin-bottom: 16px; }
.numbered { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.numbered-item { background: var(--bg-panel); padding: 34px 30px; }
.numbered-item .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 22px; display: block; }
.numbered-item h3 { font-size: 19px; font-weight: 600; margin: 0 0 12px; }
.numbered-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- stats ---------- */
.stats { padding: 20px 0 96px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--bg-panel); padding: 36px 28px; text-align: center; }
.stat .stat-num {
  font-family: var(--font-display); font-weight: 700; font-size: 40px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 8px;
}
.stat .stat-label { font-size: 12.5px; color: var(--ink-soft); font-family: var(--font-mono); }

/* ---------- why us ---------- */
.why { padding: 20px 0 96px; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.why-list { display: flex; flex-direction: column; }
.why-list-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line-soft);
  cursor: pointer; transition: color 0.15s ease;
}
.why-list-item:first-child { border-top: 1px solid var(--line-soft); }
.why-list-item .idx { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); width: 26px; }
.why-list-item h3 { font-size: 16px; font-weight: 500; color: var(--ink-soft); transition: color 0.15s ease; }
.why-list-item.active h3 { color: var(--ink); font-weight: 600; }
.why-list-item.active .idx { color: var(--accent); }
.why-detail { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.why-detail h4 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.why-detail p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- module strip ---------- */
.modstrip { padding: 20px 0 96px; }
.modstrip-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.modstrip-item {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft);
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px;
  display: flex; align-items: center; gap: 9px;
}
.modstrip-item b { color: var(--ink); font-weight: 500; }
.modstrip-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- pricing ---------- */
.pricing { padding: 20px 0 96px; }
.pricing-inner { max-width: 760px; margin: 0 auto; }
.price-card { padding: 46px 48px 40px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.price-num {
  font-family: var(--font-display); font-size: 48px; font-weight: 700;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-num span { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); font-weight: 500; -webkit-text-fill-color: var(--ink-soft); }
.price-card ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 13px; }
.price-card li { font-size: 15px; color: var(--ink-soft); display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--success); font-family: var(--font-mono); flex-shrink: 0; }
.price-cta { margin-top: 24px; width: 100%; justify-content: center; }
.price-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.free-note { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--ink-faint); }

/* ---------- FAQ ---------- */
.faq { padding: 10px 0 96px; max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  font-size: 16px; font-weight: 500; font-family: var(--font-display); line-height: 1.5; overflow-wrap: anywhere;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  color: var(--ink-faint); transition: transform 0.2s ease; font-family: var(--font-mono);
  flex-shrink: 0; margin-left: auto; padding-top: 2px;
}
.faq-item[open] summary .chev { transform: rotate(45deg); color: var(--accent); }
.faq-item .faq-body {
  padding: 0 0 20px; color: var(--ink-soft); font-size: 14.5px; max-width: 62ch; line-height: 1.7; overflow-wrap: anywhere;
}

/* ---------- newsletter / cta ---------- */
.cta-banner { padding: 20px 0 110px; }
.cta-card { padding: 56px; text-align: center; background: linear-gradient(160deg, var(--bg-panel), var(--bg-raised)); }
.cta-card h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.cta-card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 30px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer { padding: 56px 0 32px; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about p { font-size: 13.5px; color: var(--ink-faint); margin: 16px 0 0; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 13.5px; color: var(--ink-soft); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.footer-copy { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); line-height: 1.7; }
.footer-legal { display: flex; gap: 20px; font-size: 12.5px; color: var(--ink-faint); flex-wrap: wrap; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--ink-soft); }

@media (max-width: 1024px) {
  .hero { padding-top: 60px; }
  .hero-inner { text-align: center; }
  .hero-title-block { justify-content: center; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .quick-row { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  h1 { font-size: 42px; }
  .numbered { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 18px; gap: 10px; }
  .nav-links { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { padding: 9px 12px; font-size: 12px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 44px; }
  .hero-title-block { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-inner { text-align: left; }
  .hero p.sub { margin-left: 0; margin-right: 0; font-size: 16px; }
  .hero-ctas { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-ctas .btn,
  .hero-ctas .link { width: 100%; }
  .quickgrid { padding: 40px 0 28px; }
  .howwork { padding: 56px 0; }
  .pricing { padding: 20px 0 56px; }
  .faq { padding: 14px 0 56px; }
  .faq-item summary { font-size: 15px; padding: 16px 0; }
  .faq-item .faq-body { font-size: 14px; padding-bottom: 16px; }
  .cta-banner { padding: 20px 0 72px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 28px; }
  .quick-row { grid-template-columns: 1fr; }
  .footer { padding-top: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .cta-card { padding: 28px 18px; }
  .price-card { padding: 24px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 560px) {
  h1 { font-size: 30px; line-height: 1.16; margin-bottom: 18px; }
  .hero-title-logo { width: 48px; height: 48px; }
  .logo-text { display: flex; }
  .logo-mark { width: 60px; height: 70px; }
  .nav-inner { align-items: center; }
  .nav-links { width: 100%; justify-content: flex-end; margin-top: 2px; }
  .nav-links .btn { padding: 8px 11px; }
  .price-row { flex-direction: column; align-items: flex-start; }
  .footer-col a { margin-bottom: 8px; }
  .footer-copy { font-size: 10.5px; }
  .footer-legal { gap: 12px; }
}
