/* SYBER — company site. Fintech-bold: near-white canvas, elevated rounded cards,
   teal brand gradient, big confident type. */

:root {
  --teal: #0F766E;
  --teal-dark: #0B5A54;
  --teal-soft: #E6F4F2;
  --amber: #D97706;
  --amber-soft: #FEF3C7;
  --indigo: #4F46E5;
  --indigo-soft: #EEF2FF;
  --rose: #E11D48;
  --rose-soft: #FFE4E6;
  --emerald: #059669;
  --emerald-soft: #D1FAE5;
  --sky: #0284C7;
  --sky-soft: #E0F2FE;
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-2: #64748B;
  --border: #E8EEF2;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 4px 16px rgba(15, 23, 42, 0.06);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Flexibility safety net: decorative absolute mockups must never open a horizontal scrollbar. */
  overflow-x: hidden;
}

/* Scroll-reveal: site.js tags elements with .reveal and flips .visible on intersection. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 19px; letter-spacing: 0.14em; }
.brand-name small { color: var(--text-2); font-size: 11px; letter-spacing: 0.06em; }

.nav { display: flex; gap: 22px; margin-left: auto; }

.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}

.nav a:hover { color: var(--teal); }

.header-cta { margin-left: 8px; padding: 11px 20px; font-size: 15px; }

/* Hamburger — hidden on desktop, revealed at the mobile breakpoint below. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* The in-drawer CTA is only shown inside the mobile nav panel. */
.nav-cta-mobile { display: none; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  cursor: pointer;
}

.button:active { transform: translateY(1px); }

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.32);
}

.button.primary:hover { box-shadow: 0 10px 26px rgba(15, 118, 110, 0.42); }

.button.light {
  background: #fff;
  color: var(--teal);
  box-shadow: var(--shadow-soft);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.button.ghost:hover { background: rgba(255, 255, 255, 0.22); }

.text-link {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.text-link:hover { text-decoration: underline; }

/* ---------- Hero (SYBER) ---------- */

.hero {
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-dark) 60%, #08423E 100%);
  color: #fff;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 56px) clamp(56px, 8vw, 96px);
  border-radius: 0 0 32px 32px;
}

.hero-inner { max-width: 1080px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero .lead {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 760px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.hero-stats strong { display: block; font-size: clamp(23px, 5vw, 30px); font-weight: 800; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* Hero mockup visual (pure CSS, no images) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-visual { position: relative; min-height: 380px; }

.mock-desktop {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border);
}

.mock-titlebar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E1; }
.mock-titlebar span:first-child { background: #FCA5A5; }
.mock-titlebar span:nth-child(2) { background: #FCD34D; }
.mock-titlebar span:nth-child(3) { background: #86EFAC; }
.mock-titlebar b { margin-left: 8px; font-size: 12px; color: var(--text-2); font-weight: 700; }

.mock-desktop-body { padding: 16px; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mock-kpis div { background: var(--teal-soft); border-radius: 10px; padding: 10px 12px; }
.mock-kpis small { display: block; font-size: 10.5px; color: var(--text-2); }
.mock-kpis strong { font-size: 15px; font-weight: 800; color: var(--teal); }

.mock-rows div { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 13px; border-bottom: 1px dashed var(--border); }
.mock-rows span { flex: 1; color: var(--text); }
.mock-rows i { font-style: normal; color: var(--text-2); font-size: 12px; }
.mock-rows b { font-weight: 700; }
.mock-rows .mock-total { border-bottom: none; font-weight: 800; }
.mock-rows .mock-total b { color: var(--teal); font-size: 15px; }

.mock-phone {
  position: absolute;
  right: -8px;
  bottom: -26px;
  width: 168px;
  background: #fff;
  border-radius: 22px;
  padding: 20px 14px 16px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
  transform: rotate(2.5deg);
}

.mock-phone-notch { width: 54px; height: 5px; border-radius: 999px; background: #E2E8F0; margin: 0 auto 12px; }
.mock-phone small { display: block; font-size: 10px; color: var(--text-2); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.mock-phone-kpi { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border-radius: 12px; padding: 10px 12px; color: #fff; margin-bottom: 10px; }
.mock-phone-kpi span { font-size: 10px; opacity: 0.85; display: block; }
.mock-phone-kpi strong { font-size: 18px; font-weight: 800; }
.mock-phone-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-bottom: 10px; }
.mock-phone-bars i { flex: 1; background: var(--teal-soft); border-radius: 4px 4px 0 0; }
.mock-phone-bars i:nth-child(6) { background: var(--teal); }
.mock-phone-row { display: flex; justify-content: space-between; font-size: 11.5px; padding: 5px 0; border-top: 1px solid var(--border); }
.mock-phone-row span { color: var(--text-2); }
.mock-phone-row b { font-weight: 700; }
.mock-phone-row b.ok { color: var(--emerald); }

/* ---------- Sections ---------- */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 56px) 0;
}

.section-heading { max-width: 680px; margin-bottom: 40px; }

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-heading p { color: var(--text-2); font-size: 17px; }

/* ---------- Icon chips ---------- */

.chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.chip svg { width: 24px; height: 24px; }

.chip-teal { background: var(--teal-soft); color: var(--teal); }
.chip-amber { background: var(--amber-soft); color: var(--amber); }
.chip-indigo { background: var(--indigo-soft); color: var(--indigo); }
.chip-rose { background: var(--rose-soft); color: var(--rose); }
.chip-emerald { background: var(--emerald-soft); color: var(--emerald); }
.chip-sky { background: var(--sky-soft); color: var(--sky); }

/* ---------- Products (SYBER) ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-card.flagship { border: 2px solid var(--teal); }

.product-card.muted { background: #F4F7F9; box-shadow: none; }

.product-card h3 { font-size: 22px; font-weight: 800; }

.product-tag {
  color: var(--teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-card p:not(.product-tag) { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }

.product-card .text-link { margin-top: auto; }

/* ---------- DORU showcase ---------- */

.doru-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.feature h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 14px; }

.doru-panel {
  background: linear-gradient(160deg, var(--teal), var(--teal-dark));
  border-radius: 24px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}

.doru-logo { width: 104px; height: auto; margin-bottom: 20px; border-radius: 18px; box-shadow: 0 10px 26px rgba(0,0,0,0.20); }

.mock-screen {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  color: var(--text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-metrics div {
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.mock-metrics strong { display: block; font-size: 16px; font-weight: 800; color: var(--teal); }
.mock-metrics small { font-size: 11px; color: var(--text-2); }

.mock-receipt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  font-size: 13px;
}

.mock-receipt span { color: var(--text-2); }
.mock-receipt b { font-weight: 700; }
.mock-receipt .total { border-top: 1px dashed var(--border); padding-top: 8px; color: var(--text); font-weight: 800; }

.panel-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }

/* ---------- Downloads ---------- */

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.download-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.download-card p { color: var(--text-2); font-size: 15px; }

.download-action { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.download-action span { color: var(--text-2); font-size: 14px; font-weight: 600; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 30px 28px;
}

.price-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow);
}

.price-label {
  display: block;
  color: var(--text-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-value { font-size: clamp(30px, 6vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.price-period { display: block; color: var(--text-2); font-size: 14px; margin: 2px 0 12px; }
.price-card p { color: var(--text-2); font-size: 14.5px; }

.payment-note {
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: 20px 26px;
  color: var(--teal-dark);
  font-size: 15px;
}

.price-card { position: relative; }

.popular-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.35);
}

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 16px;
}

.step-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step-card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 780px; }

.faq details {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  transition: transform 0.2s;
}

.faq details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }

.faq details p { padding: 0 24px 20px; color: var(--text-2); font-size: 15px; }

/* ---------- Contacts ---------- */

.contacts { padding-bottom: 0; }

.contact-card {
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  border-radius: 28px;
  color: #fff;
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.contact-card h2 { color: #fff; margin-bottom: 10px; }
.contact-card p { color: rgba(255, 255, 255, 0.86); max-width: 520px; }

.contact-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-actions .button { font-size: 20px; padding: 16px 30px; }
.contact-actions span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }

/* ---------- Footer ---------- */

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px clamp(20px, 5vw, 56px) 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 14px;
}

.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: var(--text); letter-spacing: 0.12em; }

.footer-links { display: flex; gap: 18px; margin-left: auto; }
.footer-links a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--teal); }

.footer-copy { width: 100%; padding-top: 14px; border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */

/* Tablet: stack the two-column showcases into one flexible column. */
@media (max-width: 900px) {
  .doru-showcase { grid-template-columns: 1fr; }
  .doru-panel { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* Phones & small tablets: collapse the nav into a hamburger drawer so the
   header never crowds or wraps, regardless of how many links exist. */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-header { gap: 14px; }
  .brand { margin-right: auto; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px clamp(20px, 5vw, 56px) 18px;
    background: rgba(250, 251, 252, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 16px; padding: 13px 8px; border-radius: 11px; }
  .nav a:hover { background: var(--teal-soft); color: var(--teal); }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; width: 100%; }
  .hero-actions .button { width: 100%; }
  .footer-links { margin-left: 0; }
}

/* Small phones: tighten rhythm, drop the mock rotation, keep everything inside
   the viewport (no horizontal scroll), and let stats/cards reflow. */
@media (max-width: 560px) {
  .hero { border-radius: 0 0 24px 24px; }
  .hero-actions { margin-bottom: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-visual { min-height: 340px; }
  .mock-desktop { transform: none; }
  .mock-phone { right: 0; bottom: -18px; transform: rotate(2deg); }
  .products-grid, .features-grid, .downloads, .pricing-grid, .steps-grid { gap: 16px; }
  .product-card, .feature, .download-card, .price-card, .step-card { padding: 22px; }
  .download-action { width: 100%; }
  .download-action .button { width: 100%; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}

/* Very small phones: single-column stats and a smaller decorative phone mock. */
@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .mock-phone { width: 142px; padding: 16px 12px 14px; }
  .mock-kpis { grid-template-columns: 1fr 1fr; }
}
