/* ============================================================
   NETODIN — style.css
   Stack: Static HTML + GitHub + Bunny CDN
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: "Inter", sans-serif; background: #080808; color: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { line-height: 1.8; }

/* ── Colors ── */
:root {
  --bg:         #080808;
  --bg-card:    #0f0f0f;
  --border:     #1a1a1a;
  --border-mid: #1e1e1e;
  --text:       #ffffff;
  --text-muted: #aaaaaa;
  --text-dim:   #555555;
  --text-faint: #333333;
  --accent-ops: #6366f1;
  --accent-crm: #22d3ee;
  --accent-ana: #34d399;
  --accent-big: #fbbf24;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.section { padding: 64px 0; }
.section--hero { padding: 80px 0 72px; }
.divider { border-top: 1px solid var(--border); margin: 0 56px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.grid-3-free { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Nav ── */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 56px; border-bottom: 1px solid var(--border-mid); }
.nav__logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 32px; }
.nav__link { font-size: 0.8125rem; color: #888; text-transform: uppercase; letter-spacing: 0.04em; transition: color 0.15s; }
.nav__link:hover,
.nav__link--active { color: var(--text); }

/* ── Buttons ── */
.btn { display: inline-block; padding: 13px 28px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid transparent; transition: background 0.15s, color 0.15s; }
.btn--primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--primary:hover { background: #e5e5e5; }
.btn--ghost { background: transparent; color: var(--text-dim); border-color: #222; border-left: none; }
.btn--ghost:hover { color: var(--text); border-color: #444; }
.btn--nav { background: var(--text); color: var(--bg); border: none; padding: 9px 20px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.btn--nav:hover { background: #e5e5e5; }
.btn-group { display: flex; }

/* ── Label ── */
.label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: #999; margin-bottom: 20px; }
.label--accent { color: var(--accent-ops); }

/* ── Inner page hero split ── */
.inner-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.inner-hero-split__right { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.plan-tile { background: var(--bg-card); padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; transition: background 0.15s; }
.plan-tile:hover { background: #141414; }
.plan-tile__name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.plan-tile__flow { font-size: 0.75rem; color: var(--text-dim); }
.plan-tile__price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--accent-ops); text-align: right; }

/* ── Badge ── */
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #222; padding: 6px 14px; margin-bottom: 40px; }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ana); flex-shrink: 0; }
.badge__text { font-size: 0.6875rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; }

/* ── Hero ── */
.hero__title { margin-bottom: 24px; max-width: 720px; }
.hero__sub { font-size: 1.125rem; color: var(--text-muted); max-width: 560px; margin-bottom: 48px; }

/* ── Index tagline ── */
.tagline { font-size: clamp(3rem, 8vw, 4.75rem); }

/* ── Product Cards (index) ── */
.product-card { background: var(--bg); padding: 56px 40px; transition: background 0.15s; display: flex; flex-direction: column; }
.product-card:hover { background: var(--bg-card); }
.product-card__num { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: #999; margin-bottom: 24px; }
.product-card__title { font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; transition: color 0.15s; }
.product-card__desc { font-size: 0.9375rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 40px; flex: 1; }
.product-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-card__from { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 0.08em; }
.product-card__arrow { font-size: 0.875rem; font-weight: 600; }
.product-card--ops .product-card__arrow { color: var(--accent-ops); }
.product-card--crm .product-card__arrow { color: var(--accent-crm); }
.product-card--ana .product-card__arrow { color: var(--accent-ana); }
.product-card--big .product-card__arrow { color: var(--accent-big); }

/* ── Hero Split ── */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-split__left { display: flex; flex-direction: column; }
.hero-split__right { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.hero-tile { background: var(--bg-card); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; transition: background 0.15s; }
.hero-tile:hover { background: #141414; }
.hero-tile__num { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-faint); }
.hero-tile__name { font-weight: 700; font-size: 1.0625rem; }
.hero-tile__from { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: auto; padding-top: 16px; }
.hero-tile--ops .hero-tile__from { color: var(--accent-ops); }
.hero-tile--crm .hero-tile__from { color: var(--accent-crm); }
.hero-tile--ana .hero-tile__from { color: var(--accent-ana); }
.hero-tile--big .hero-tile__from { color: var(--accent-big); }

/* ── Mirror right centered ── */
.mirror__right--centered { display: flex; align-items: center; }
.mirror { padding: 64px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.mirror__left p { font-size: 1.125rem; color: var(--text-muted); line-height: 1.9; }
.mirror__right p { font-size: 1.5rem; font-weight: 800; line-height: 1.5; letter-spacing: -0.03em; }
.what-we-do { padding: 48px 0; }
.what-we-do__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.what-we-do__heading { font-size: 1.375rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; color: var(--text); }
.bullet-list { display: flex; flex-direction: column; gap: 20px; }
.bullet-list__item { display: flex; gap: 16px; align-items: flex-start; }
.bullet-list__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); margin-top: 9px; flex-shrink: 0; }
.bullet-list__dot--accent { background: var(--accent-ops); }
.bullet-list__text { font-size: 1.125rem; color: var(--text-muted); line-height: 1.9; }

/* ── Inner page — How It Works ── */
.step-card { background: var(--bg); padding: 40px 36px; }
.step-card__num { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-faint); margin-bottom: 20px; }
.step-card__title { font-weight: 700; font-size: 1.125rem; margin-bottom: 14px; }
.step-card__body { font-size: 0.9375rem; color: var(--text-dim); line-height: 1.8; }

/* ── Inner page — Who It's For ── */
.sector-card { background: var(--bg); padding: 36px 32px; }
.sector-card__icon { font-size: 1.5rem; margin-bottom: 16px; }
.sector-card__title { font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.sector-card__body { font-size: 0.875rem; color: var(--text-dim); line-height: 1.8; }

/* ── Pricing ── */
.period-toggle { display: flex; border: 1px solid var(--border-mid); width: fit-content; margin-bottom: 40px; }
.period-btn { padding: 10px 24px; background: transparent; color: var(--text-dim); border: none; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; transition: background 0.15s, color 0.15s; }
.period-btn--active { background: var(--text); color: var(--bg); }
.period-badge { font-size: 0.625rem; background: var(--accent-ops); color: var(--text); padding: 2px 6px; margin-left: 6px; }
.plan-card { background: var(--bg); padding: 40px 32px; border-top: 2px solid transparent; }
.plan-card--highlight { border-top-color: var(--accent-ops); }
.plan-card__num { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); margin-bottom: 12px; }
.plan-card__name { font-weight: 700; font-size: 1.25rem; margin-bottom: 6px; }
.plan-card__flow { font-size: 0.8125rem; color: #aaa; margin-bottom: 8px; }
.plan-card__who { font-size: 0.8125rem; color: #888; margin-bottom: 28px; }
.plan-card__price { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 4px; }
.plan-card__period { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.plan-card__setup { font-size: 0.75rem; color: #444; margin-bottom: 32px; }
.plan-card__cta { display: block; width: 100%; background: transparent; color: var(--text); border: 1px solid #333; padding: 12px; font-weight: 700; font-size: 0.8125rem; text-align: center; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 32px; transition: background 0.15s; }
.plan-card__cta:hover { background: #1a1a1a; }
.plan-card--highlight .plan-card__cta { background: var(--accent-ops); border-color: var(--accent-ops); }
.plan-card--highlight .plan-card__cta:hover { background: #4f52d9; }
.plan-card__features { display: flex; flex-direction: column; gap: 12px; }
.plan-card__feature { display: flex; gap: 12px; align-items: center; }
.plan-card__feat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-ops); flex-shrink: 0; }
.plan-card__feat-text { font-size: 0.8125rem; color: var(--text-dim); }

/* ── Support ── */
.support-item { display: flex; gap: 20px; align-items: flex-start; }
.support-item__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ops); margin-top: 8px; flex-shrink: 0; }
.support-item__title { font-weight: 700; font-size: 0.875rem; margin-bottom: 4px; }
.support-item__body { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn { width: 100%; background: transparent; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; text-align: left; gap: 32px; }
.faq-btn__q { font-size: 1rem; font-weight: 600; color: var(--text); }
.faq-btn__icon { font-size: 1.25rem; color: #444; flex-shrink: 0; transition: transform 0.15s; }
.faq-btn__icon--open { transform: rotate(45deg); }
.faq-answer { padding-bottom: 24px; }
.faq-answer p { font-size: 0.9375rem; color: var(--text-dim); line-height: 1.8; max-width: 640px; }

/* ── Bottom bar ── */
.bottom-bar { border-top: 1px solid var(--border); padding: 20px 56px; display: flex; justify-content: space-between; align-items: center; }
.bottom-bar__text { font-size: 0.75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── About ── */
.about-card { padding: 40px 36px; border: 1px solid #333; }
.about-card__num { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: #999; margin-bottom: 20px; }
.about-card__title { font-weight: 700; font-size: 1.125rem; margin-bottom: 14px; }
.about-card__body { font-size: 0.9375rem; color: #aaa; line-height: 1.8; }
.about-offer__title { font-weight: 700; font-size: 0.9375rem; margin-bottom: 4px; }
.about-offer__body { font-size: 0.875rem; color: var(--text-dim); line-height: 1.7; }
.about-link { color: var(--text-muted); border-bottom: 1px solid #333; transition: border-color 0.15s; }
.about-link:hover { border-color: #888; }
.bullet-list__dot--ops { background: var(--accent-ops); }
.bullet-list__dot--crm { background: var(--accent-crm); }
.bullet-list__dot--ana { background: var(--accent-ana); }
.bullet-list__dot--big { background: var(--accent-big); }
.accent-crm  { --accent-ops: var(--accent-crm); }
.accent-ana  { --accent-ops: var(--accent-ana); }
.accent-big  { --accent-ops: var(--accent-big); }

/* ── Legal ── */
.legal-body { max-width: 720px; }
.legal-block { margin-bottom: 48px; }
.legal-block__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; }
.legal-block p { font-size: 0.9375rem; color: #aaa; line-height: 1.9; margin-bottom: 12px; }
.legal-block strong { color: var(--text); font-weight: 600; }
.bottom-bar__link { color: var(--text-faint); transition: color 0.15s; }
.bottom-bar__link:hover { color: #aaa; }
.text-muted  { color: var(--text-muted); }
.text-dim    { color: var(--text-dim); }
.text-faint  { color: var(--text-faint); }
.mt-0 { margin-top: 0; }
.hidden { display: none; }

/* ── Cookie Banner ── */
.cookie-banner { position: fixed; bottom: 28px; left: 28px; max-width: 320px; background: #111; border: 1px solid #222; padding: 20px 24px; display: none; flex-direction: column; gap: 16px; z-index: 999; }
.cookie-banner--visible { display: flex; }
.cookie-banner__text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.cookie-banner__link { color: var(--accent-ops); border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.cookie-banner__link:hover { border-color: var(--accent-ops); }
.cookie-banner__btn { background: var(--accent-ops); color: #fff; border: none; padding: 10px 20px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; align-self: flex-start; transition: opacity 0.15s; }
.cookie-banner__btn:hover { opacity: 0.85; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  /* ── Layout ── */
  .container { padding: 0 24px; }
  .divider { margin: 0 24px; }
  .section { padding: 48px 0; }
  .section--hero { padding: 56px 0 48px; }

  /* ── Nav ── */
  .nav { padding: 16px 24px; }
  .nav__links { display: none; }
  .btn--nav { display: none; }

  /* ── Typography ── */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.5rem; }
  .tagline { font-size: 2.5rem; }

  /* ── Grids → single column ── */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-3-free { grid-template-columns: 1fr; gap: 1px; }

  .grid-3-free { gap: 16px; }

  /* ── Hero split ── */
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-split__right { grid-template-columns: 1fr 1fr; }

  /* ── Inner hero split ── */
  .inner-hero-split { grid-template-columns: 1fr; gap: 40px; }
  .inner-hero-split__right { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); }

  /* ── Mirror ── */
  .mirror { grid-template-columns: 1fr; gap: 32px; }
  .what-we-do__grid { grid-template-columns: 1fr; gap: 32px; }

  /* ── Plan tiles ── */
  .plan-tile { grid-template-columns: 1fr auto; }

  /* ── Pricing toggle ── */
  .period-toggle { width: 100%; }
  .period-btn { flex: 1; text-align: center; font-size: 0.75rem; padding: 10px 12px; }

  /* ── Plan cards ── */
  .plan-card { padding: 32px 24px; }

  /* ── Bottom bar ── */
  .bottom-bar { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }

  /* ── Cookie banner ── */
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: 100%; }

  /* ── Legal ── */
  .legal-body { max-width: 100%; }
}
/* ── Hamburger button ── */
.nav__hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: none; padding: 4px; cursor: pointer; }
.nav__hamburger-bar { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav__hamburger--open .nav__hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger--open .nav__hamburger-bar:nth-child(2) { opacity: 0; }
.nav__hamburger--open .nav__hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu { display: none; flex-direction: column; background: #0a0a0a; border-bottom: 1px solid var(--border); padding: 16px 24px 24px; gap: 4px; }
.mobile-menu--open { display: flex; }
.mobile-menu__link { font-size: 0.9375rem; font-weight: 600; color: #888; padding: 12px 0; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.04em; transition: color 0.15s; }
.mobile-menu__link:hover { color: var(--text); }
.mobile-menu__cta { margin-top: 16px; background: var(--text); color: var(--bg); padding: 14px; text-align: center; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__hamburger { display: flex; }
}