/* ============================================================
   F3 Solutions — design variant "2026"
   Light fintech aesthetic: mesh-gradient hero, glass sticky nav,
   bento service cards, segmented pricing control, soft shadows.
   Mobile-first.
   ============================================================ */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #161a23;
  --muted: #5d6573;
  --primary: #4338ca;
  --primary-soft: #eceafd;
  --accent: #0ea5a6;
  --accent-soft: #e2f7f5;
  --gradient: linear-gradient(120deg, #4338ca, #6d5ef0 55%, #0ea5a6);
  --border: #e7e6e1;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(22, 26, 35, 0.07);
  --shadow-hover: 0 18px 44px rgba(22, 26, 35, 0.13);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

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

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 26px rgba(67, 56, 202, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(67, 56, 202, 0.45); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-soft {
  background: var(--primary-soft);
  color: var(--primary);
}
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-lg { height: 56px; padding: 0 36px; font-size: 1rem; }
.btn-md { height: 46px; padding: 0 26px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
#site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 14px;
}
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav > a:hover { color: var(--ink); background: rgba(67, 56, 202, 0.07); }

.lang-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  margin-left: 6px;
}
.lang-btn {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--ink); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto;
  height: 130%;
  z-index: -1;
  background:
    radial-gradient(42% 50% at 18% 22%, rgba(109, 94, 240, 0.16), transparent 65%),
    radial-gradient(38% 46% at 85% 12%, rgba(14, 165, 166, 0.14), transparent 60%),
    radial-gradient(50% 60% at 60% 90%, rgba(67, 56, 202, 0.08), transparent 65%);
  filter: blur(6px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  max-width: 800px;
  background: linear-gradient(120deg, var(--ink) 30%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 660px; margin-bottom: 52px; }
.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.section-subtitle { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

/* ---------- Services (bento) ---------- */
.services { background: var(--surface); border-block: 1px solid var(--border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(67, 56, 202, 0.35);
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 18px; }
.service-benefits { display: grid; gap: 8px; }
.service-benefits li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.service-benefits li i { color: var(--accent); font-size: 0.8rem; }

/* ---------- Pricing ---------- */
.pricing-tabs {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 46px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { background: var(--ink); color: #fff; }

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 10px 32px rgba(67, 56, 202, 0.16); }

.pricing-chip {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 19px;
  margin-bottom: 18px;
}
.pricing-card h3 { font-size: 1.25rem; }
.pricing-focus { margin-top: 6px; font-size: 0.88rem; color: var(--muted); }
.pricing-price { margin: 20px 0 4px; font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.02em; }
.pricing-period { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.pricing-features { display: grid; gap: 9px; margin-bottom: 24px; flex-grow: 1; }
.pricing-features li { display: flex; align-items: baseline; gap: 10px; font-size: 0.92rem; }
.pricing-features li i { color: var(--accent); font-size: 0.78rem; }

/* Hourly */
.rate-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.rate-banner h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.rate-banner p { opacity: 0.9; font-size: 0.95rem; margin-top: 4px; }
.rate-banner .rate-price { font-size: 2.4rem; font-weight: 800; white-space: nowrap; }
.rate-banner .rate-price span { font-size: 1rem; font-weight: 600; opacity: 0.85; }

.accordion-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.accordion-item.open { border-color: var(--primary); }
.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-weight: 700;
  padding: 19px 22px;
}
.accordion-button i:first-child { color: var(--primary); }
.accordion-button::after {
  content: '\2304';
  margin-left: auto;
  font-size: 1.2rem;
  line-height: 0.4;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.accordion-item.open .accordion-button::after { transform: rotate(180deg) translateY(-4px); }
.accordion-body { display: none; padding: 0 22px 22px; color: var(--muted); }
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { margin-bottom: 16px; }

/* Mentorship */
.mentorship-intro { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.mentorship-intro h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 14px; }
.mentorship-intro p { color: var(--muted); }
.mentorship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 34px;
}
.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.plan-card.featured { border-color: var(--accent); }
.plan-card h4 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.plan-card h4 i { color: var(--primary); }
.plan-price { margin: 18px 0 2px; font-size: 2rem; font-weight: 800; color: var(--primary); }
.plan-period { font-size: 0.85rem; color: var(--muted); }
.plan-discount {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 14px;
  margin-top: 10px;
}
.plan-discount:empty { display: none; }
.plan-features { margin-top: 18px; display: grid; gap: 9px; }
.plan-features li { display: flex; align-items: baseline; gap: 10px; font-size: 0.92rem; }
.plan-features li i { color: var(--accent); font-size: 0.78rem; }
.mentorship-cta { text-align: center; }

/* Accounting tables */
.accounting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.table-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.table-card h4 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.table-card h4 i { color: var(--primary); }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.price-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
}
.price-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: var(--primary-soft); }
.price-table td:last-child { font-weight: 800; color: var(--primary); white-space: nowrap; }

.accounting-note {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.95rem;
}
.accounting-note i { color: var(--primary); }

/* ---------- Contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info .section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.contact-form {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 16px;
}
.contact-form label { font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 6px; }
.contact-form label span:last-child { color: var(--accent); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn[disabled] { opacity: 0.55; pointer-events: none; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ---------- Footer ---------- */
footer { padding: 34px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner img { height: 38px; }
.footer-copy { color: var(--muted); font-size: 0.88rem; }

/* ---------- Toast ---------- */
.rp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  z-index: 200;
  max-width: 90vw;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 16px 44px rgba(22, 26, 35, 0.3);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.rp-toast.show { opacity: 1; transform: translate(-50%, 0); }
.rp-toast.error { background: #9b1c1c; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav > a { text-align: center; padding: 13px; }
  .lang-switch { margin: 10px auto 0; }
  .burger { display: flex; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .accounting-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-tabs { width: 100%; justify-content: flex-start; }
}

@media (max-width: 767.98px) {
  .hero { padding: 64px 0 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .mentorship-grid { grid-template-columns: 1fr; }
  .rate-banner { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
}

@media (max-width: 420px) {
  .logo img { height: 38px; }
  .tab-btn { padding: 10px 15px; font-size: 0.84rem; }
}
