/*
Theme Name: TabitaOS Landing
Description: Landing page a medida para tabitaos.com
Version: 1.0
Author: TabitaOS
*/

:root {
  /* Deep-space blues, sampled from the TabitaOS mark's own gradient */
  --navy-950: #05081f;
  --navy-900: #0a1442;
  --navy-800: #11205e;
  --navy-700: #1a2c82;
  --navy-100: #eef1fc;

  /* The mark's actual gradient: electric blue -> violet -> magenta,
     plus the olive branch's green as a third, sparing accent. */
  --brand-blue: #0057fe;
  --brand-blue-light: #29c8fe;
  --brand-purple: #8b0cfe;
  --brand-magenta: #e20efe;
  --brand-green: #1fb81c;
  --brand-green-dark: #128f10;
  --brand-gradient: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-purple) 58%, var(--brand-magenta) 100%);

  --ink: #14202e;
  --muted: #5c6b7a;
  --line: #e4e9ee;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 20px 50px -20px rgba(8, 16, 40, 0.4);
  --max: 1120px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
}
p { margin: 0; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-purple);
}
.eyebrow.on-dark { color: var(--brand-blue-light); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-brand {
  background: var(--brand-gradient);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: 0 12px 26px -8px rgba(139, 12, 254, 0.5);
}
.btn-brand:hover { background-position: 100% 50%; }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.7); }
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 16, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(55% 55% at 88% -4%, rgba(226, 14, 254, 0.22), transparent 62%),
    radial-gradient(45% 45% at 8% 12%, rgba(0, 87, 254, 0.28), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-900));
  color: var(--white);
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  color: var(--white);
  margin-top: 18px;
}
.hero h1 em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(234, 241, 248, 0.8);
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust div {
  font-size: 13px;
  color: rgba(234, 241, 248, 0.65);
}
.hero-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--white);
  font-weight: 600;
}
.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero-panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(41, 200, 254, 0.14);
  color: var(--brand-blue-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-panel-row strong { display: block; font-size: 14.5px; color: var(--white); }
.hero-panel-row span { display: block; font-size: 13px; color: rgba(234, 241, 248, 0.6); margin-top: 2px; }

/* ---------- Section shell ---------- */
section { padding: 100px 0; }
.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--navy-950);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Problem/value ---------- */
.value {
  background: var(--navy-100);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--brand-purple);
  font-weight: 700;
}
.value-card h3 { font-size: 19px; margin-top: 12px; color: var(--navy-950); }
.value-card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Features / modules ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; color: var(--navy-950); }
.feature-card p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- How it works ---------- */
.steps {
  background: var(--navy-950);
  color: var(--white);
}
.steps .section-head h2, .steps .section-head p { color: var(--white); }
.steps .section-head p { color: rgba(234, 241, 248, 0.7); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--brand-blue-light);
  font-weight: 700;
}
.step-card h3 { font-size: 18px; margin-top: 10px; }
.step-card p { margin-top: 10px; font-size: 14.5px; color: rgba(234, 241, 248, 0.7); }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--navy-100);
}
.why-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}
.why-item h3 { font-size: 16px; color: var(--navy-950); }
.why-item p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 45%, #4a12c4 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); max-width: 22ch; }
.cta-banner p { margin-top: 10px; color: rgba(234, 241, 248, 0.75); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy-950);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand-green-dark);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(234, 241, 248, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 32ch; color: rgba(234, 241, 248, 0.55); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(234, 241, 248, 0.5);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; font-size: 14.5px; color: rgba(234, 241, 248, 0.75); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(234, 241, 248, 0.45);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .value-grid, .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 26px; }
}
