/* ============================================================
   NAUTIXO — PUBLIC SITE
   ============================================================ */

:root {
  --navy:   #0A1628;
  --ocean:  #1B4F8A;
  --teal:   #00B4D8;
  --gold:   #FFD21E;
  --white:  #FFFFFF;
  --off:    #F4F7FB;
  --muted:  #6B7A99;
  --line:   #E2E8F4;
  --red:    #E53E3E;
  --green:  #38A169;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(10,22,40,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.site-wrap    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-wrap-sm { max-width: 800px;  margin: 0 auto; padding: 0 24px; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.site-logo {
  font-weight: 800; font-size: 20px; letter-spacing: -.5px;
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  align-self: center;
}
.site-logo img { height: 48px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; align-self: center; }
.site-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; align-self: center; }
.footer-brand img { height: 48px; width: auto; }
.site-logo .badge {
  background: var(--gold); padding: 2px 8px;
  border-radius: 6px; font-size: 18px;
}
.site-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.site-nav a {
  padding: 6px 12px; border-radius: 8px; font-size: 15px;
  color: var(--muted); font-weight: 500;
  transition: color .15s, background .15s;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--navy); background: var(--off);
}
.site-header-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.btn-login {
  padding: 7px 16px; border-radius: 8px; font-size: 14px;
  font-weight: 600; border: 1.5px solid var(--line);
  color: var(--navy); transition: border-color .15s, background .15s;
}
.btn-login:hover { border-color: var(--ocean); background: var(--off); }

.btn-register {
  padding: 7px 16px; border-radius: 8px; font-size: 14px;
  font-weight: 600; background: var(--navy); color: var(--white);
  transition: background .15s;
}
.btn-register:hover { background: var(--ocean); }

/* Lang selector */
.lang-sel { position: relative; }
.lang-sel summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: var(--muted);
  border: 1.5px solid var(--line);
  transition: border-color .15s;
}
.lang-sel summary:hover { border-color: var(--ocean); color: var(--navy); }
.lang-sel[open] summary { border-color: var(--ocean); color: var(--navy); }
.lang-pop {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow);
  min-width: 130px; overflow: hidden; z-index: 200;
}
.lang-pop a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 14px; font-weight: 500;
  color: var(--navy); transition: background .1s;
}
.lang-pop a:hover { background: var(--off); }
.lang-pop a.active { background: var(--off); font-weight: 700; }

/* ── Mobile hamburger menu (hidden on desktop) ───────────── */
.mobile-menu { position: relative; display: none; }
.mobile-menu summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 36px; border-radius: 8px;
  color: var(--navy); border: 1.5px solid var(--line);
  font-size: 20px; transition: border-color .15s;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary:hover { border-color: var(--ocean); }
.mobile-menu[open] summary { border-color: var(--ocean); }
.mobile-menu-pop {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow);
  min-width: 190px; overflow: hidden; z-index: 200;
  display: flex; flex-direction: column;
}
.mobile-menu-pop a {
  padding: 11px 16px; font-size: 15px; font-weight: 500;
  color: var(--navy); transition: background .1s;
}
.mobile-menu-pop a:hover, .mobile-menu-pop a.active { background: var(--off); }
.mobile-menu-pop a.active { font-weight: 700; }
.mobile-menu-pop .mm-register {
  border-top: 1px solid var(--line); color: var(--ocean); font-weight: 700;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 16px;
  font-weight: 700; background: var(--navy); color: var(--white);
  transition: background .15s, transform .1s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--ocean); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-size: 16px;
  font-weight: 600; border: 2px solid var(--navy); color: var(--navy);
  transition: border-color .15s, background .15s, transform .1s;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-1px); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-size: 16px;
  font-weight: 700; background: var(--gold); color: var(--navy);
  transition: filter .15s, transform .1s; border: none; cursor: pointer;
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 60%, #0e2d5c 100%);
  color: var(--white);
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .18;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 100px 24px 90px;
  max-width: 1200px; margin: 0 auto;
}
.hero-kicker {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  background: rgba(255,210,30,.15); border: 1px solid rgba(255,210,30,.3);
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 60px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px;
  max-width: 750px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.75);
  max-width: 580px; line-height: 1.6; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HOME SWITCH ─────────────────────────────────────────── */
.home-switch {
  background: var(--off); border-bottom: 1px solid var(--line);
}
.home-switch-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 4px; height: 60px;
}
.switch-btn {
  padding: 8px 22px; border-radius: 8px; font-size: 15px;
  font-weight: 600; cursor: pointer; border: none;
  transition: background .15s, color .15s; background: transparent;
  color: var(--muted);
}
.switch-btn.active {
  background: var(--white); color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.switch-btn:hover:not(.active) { color: var(--navy); }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-sm { padding: 56px 24px; }
.section-dark {
  background: var(--navy); color: var(--white);
  padding: 80px 24px;
}
.section-off { background: var(--off); padding: 80px 24px; }

.section-label {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px); font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px;
}
.section-sub {
  font-size: 18px; color: var(--muted); line-height: 1.6;
  max-width: 580px; margin-bottom: 48px;
}
.section-dark .section-sub { color: rgba(255,255,255,.65); }

/* ── FEATURE CARDS ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow); transform: translateY(-2px);
}
.section-dark .feature-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
}
.section-dark .feature-card:hover {
  background: rgba(255,255,255,.1);
}
.fc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: var(--off);
}
.fc-icon.teal  { background: rgba(0,180,216,.12); color: var(--teal); }
.fc-icon.gold  { background: rgba(255,210,30,.15); color: #C89A00; }
.fc-icon.navy  { background: rgba(27,79,138,.1);  color: var(--ocean); }
.fc-icon.green { background: rgba(56,161,105,.12); color: var(--green); }
.section-dark .fc-icon.teal { background: rgba(0,180,216,.2); color: var(--teal); }
.section-dark .fc-icon.gold { background: rgba(255,210,30,.2); color: var(--gold); }

.fc-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.fc-desc  { font-size: 15px; color: var(--muted); line-height: 1.5; }
.section-dark .fc-desc { color: rgba(255,255,255,.6); }

/* ── PLACEHOLDER IMAGE ────────────────────────────────────── */
.img-placeholder {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #1a3a6b 0%, #0e2d5c 50%, #00B4D8 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-size: 14px; font-weight: 500;
  letter-spacing: .05em;
}

/* ── SPLIT SECTION ────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ── BENEFITS LIST ────────────────────────────────────────── */
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; line-height: 1.5;
}
.benefit-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,180,216,.15); color: var(--teal);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px; align-items: stretch;
}
.plan-card {
  background: var(--white); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  transition: box-shadow .2s; position: relative;
  display: flex; flex-direction: column;
}
.plan-card:hover { box-shadow: var(--shadow); }
.plan-card.featured {
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(27,79,138,.08);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 3px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: var(--gold); color: var(--navy);
}
.plan-name  { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.plan-price { margin: 16px 0 6px; }
.plan-price .amount {
  font-size: 36px; font-weight: 800; letter-spacing: -.02em;
}
.plan-price .period { font-size: 14px; color: var(--muted); }
.plan-price .free   { font-size: 28px; font-weight: 800; color: var(--green); }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; line-height: 1.4;
}
.plan-features li i { color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.plan-cta {
  display: block; width: 100%; padding: 11px; text-align: center;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  background: var(--navy); color: var(--white);
  transition: background .15s;
}
.plan-cta:hover { background: var(--ocean); }
.plan-cta.outline {
  background: transparent; border: 2px solid var(--line); color: var(--navy);
}
.plan-cta.outline:hover { border-color: var(--navy); background: var(--off); }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  color: var(--white); text-align: center;
  padding: 80px 24px;
}
.cta-band h2 {
  font-size: clamp(24px, 4vw, 40px); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 16px;
}
.cta-band p { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── STATS ───────────────────────────────────────────────── */
.stats-row {
  display: flex; gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-item {
  flex: 1; text-align: center; padding: 32px 16px;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-num  { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.stat-lab  { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; color: inherit;
  transition: color .15s;
}
.footer-social:hover { color: var(--white); }
.footer-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; margin-bottom: 8px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { transition: color .15s; }
.footer-bottom a:hover { color: var(--white); }

/* ── FORM INPUTS ─────────────────────────────────────────── */
.site-input {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid var(--line); font-size: 15px;
  font-family: var(--font); color: var(--navy);
  background: var(--white); outline: none;
  transition: border-color .15s;
}
.site-input:focus { border-color: var(--ocean); }
.site-input::placeholder { color: #aab; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { min-width: 50%; }
}
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .site-nav { display: none; }
  .btn-register { display: none; }
  .mobile-menu { display: block; }
  .site-header-inner { gap: 12px; }
  .site-header-actions { margin-left: auto; }
  .hero-inner { padding: 60px 24px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline, .btn-gold { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
}
