/* Codev Accounting — landing page styles.
   Visual feel matched to co-dev.ai:
     - white background, near-black foreground
     - vivid blue primary
     - 0.65rem radius
     - generous whitespace
     - system Geist-like sans stack */

:root {
  --bg:           #ffffff;
  --fg:           #18181b;
  --fg-soft:      #52525b;
  --fg-mute:      #71717a;
  --border:       #e4e4e7;
  --border-soft:  #f1f1f3;
  --surface:      #ffffff;
  --surface-2:    #fafafa;
  --primary:      #2563eb;          /* matches oklch(.623 .214 259.815) */
  --primary-hover:#1d4ed8;
  --primary-soft: #eff6ff;
  --primary-fg:   #ffffff;
  --accent:       #3b82f6;
  --radius:       0.65rem;
  --radius-lg:    1rem;
  --shadow-sm:    0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md:    0 8px 24px -8px rgba(15, 23, 42, .12);
  --shadow-glow:  0 0 64px -12px rgba(37, 99, 235, .30);
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ----- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius);
  font: inherit; font-weight: 500; font-size: 14px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: background .12s ease, border-color .12s ease,
              transform .08s ease, box-shadow .12s ease;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}
.btn:disabled, .btn[disabled] {
  opacity: .55; cursor: not-allowed;
}
.btn-primary {
  background: var(--primary); color: var(--primary-fg);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent; color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }
.btn-lg {
  padding: 14px 22px; font-size: 15px; border-radius: var(--radius);
}
.btn .arrow {
  transition: transform .15s ease; display: inline-block;
}
.btn:hover .arrow { transform: translateX(2px); }
.badge-soon {
  font-size: 10.5px; font-weight: 600;
  background: rgba(255,255,255,.20); color: rgba(255,255,255,.95);
  padding: 2px 7px; border-radius: 999px; letter-spacing: .03em;
  text-transform: uppercase;
}

/* ----- Top nav -------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); font-weight: 600; letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  box-shadow: 0 0 0 1px rgba(37,99,235,.18),
              0 0 24px -6px rgba(37,99,235,.40);
  display: inline-block;
}
.brand-name { font-size: 15px; }
.brand-sub {
  font-weight: 400; color: var(--fg-soft); margin-left: 2px;
}
.nav-links {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 14px;
}
.nav-links a:not(.btn) { color: var(--fg-soft); }
.nav-links a:not(.btn):hover { color: var(--fg); text-decoration: none; }
.lang-toggle {
  background: transparent; border: 1px solid var(--border);
  color: var(--fg-soft);
  padding: 4px 10px; border-radius: 999px;
  font: inherit; font-size: 11px; font-weight: 600;
  letter-spacing: .04em; cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.lang-toggle:hover { background: var(--surface-2); color: var(--fg); }
.lang-toggle:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}

/* ----- Hero ----------------------------------------------------------- */
.hero {
  position: relative; padding: 88px 24px 96px;
  overflow: hidden;
}
.hero-inner {
  max-width: 920px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.hero-bg {
  position: absolute; inset: -10% -5% -20% -5%;
  background:
    radial-gradient(45% 55% at 50% 30%,
      rgba(37, 99, 235, .14) 0%,
      transparent 70%),
    radial-gradient(60% 80% at 50% 90%,
      rgba(99, 102, 241, .10) 0%,
      transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, .12);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}
.hero-title {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.05; letter-spacing: -.025em;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--fg);
}
.hero-accent {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 60%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px; line-height: 1.55;
  color: var(--fg-soft);
  max-width: 640px; margin: 0 auto 36px;
}
.hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-note {
  margin-top: 28px; font-size: 13px; color: var(--fg-mute);
}

/* ----- Features ------------------------------------------------------- */
.features {
  padding: 80px 24px 88px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.features-inner {
  max-width: 1180px; margin: 0 auto;
}
.section-eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--primary); margin-bottom: 8px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15; letter-spacing: -.02em;
  font-weight: 600; margin: 0 0 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease,
              border-color .15s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .25);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 17px; font-weight: 600; margin: 0 0 10px;
  letter-spacing: -.01em;
}
.feature p {
  margin: 0; color: var(--fg-soft); font-size: 14.5px; line-height: 1.6;
}

/* ----- About ---------------------------------------------------------- */
.about { padding: 88px 24px 80px; }
.about-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.about-body {
  font-size: 16px; color: var(--fg-soft); line-height: 1.7;
  margin: 0 0 16px;
}

/* ----- Footer --------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--fg-mute);
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg);
}
.footer-links {
  display: inline-flex; gap: 18px;
}
.footer-links a { color: var(--fg-soft); }
.footer-links a:hover { color: var(--fg); }
.footer-copy { font-size: 12.5px; }

/* ----- Mobile --------------------------------------------------------- */
@media (max-width: 720px) {
  .nav-links a:not(.btn):nth-child(2),
  .nav-links a:not(.btn):nth-child(3) { display: none; }
  .nav-inner { padding: 12px 18px; }
  .hero { padding: 56px 18px 64px; }
  .features, .about { padding: 64px 18px; }
  .feature { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
