/* ===== THEME VARIABLES ===== */
:root[data-theme="light"] {
  --bg: #f3f1f0;
  --bg-alt: #fad8b2;
  --surface: #ffffff;
  --text: #1e1b1d;
  --text-soft: #686567;
  --border: rgba(30,27,29,0.1);
  --primary: #f39c3a;
  --primary-soft: #f8c388;
  --primary-strong: #f5ac5b;
  --shadow: 0 8px 30px rgba(30,27,29,0.08);
  --whatsapp: #25D366;
  --grey: #686567;
  --google-form: #7372fe;
  --google-form-dark: #5746e3;
}

:root[data-theme="dark"] {
  --bg: #1e1b1d;
  --bg-alt: #262226;
  --surface: #2a2628;
  --text: #f3f1f0;
  --text-soft: #b8b3b5;
  --border: rgba(255,255,255,0.08);
  --primary: #f39c3a;
  --primary-soft: #f8c388;
  --primary-strong: #f5ac5b;
  --shadow: 0 8px 30px rgba(0,0,0,0.4);
  --whatsapp: #25D366;
  --white: #ffffff;
  --google-form: #7372fe;
  --google-form-dark: #5746e3;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Helvetica', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.accent { color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 10px 24px rgba(243,156,58,0.35);
}
.btn-whatsapp {
  background: var(--google-form); color: #fff;
  box-shadow: 0 10px 24px rgba(115, 114, 254, 0.3);
}
[data-theme="dark"] .btn-whatsapp {
  background: var(--google-form); 
  box-shadow: 0 10px 24px rgba(87, 70, 227, 0.3);
}
.btn-whatsapp iconify-icon { font-size: 1.3rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== IMAGE LIGHTBOX ===== */
.img-card img { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  overflow: hidden;
}
.lightbox-overlay.active { display: flex; }

.lightbox-img {
  max-width: 90vw; max-height: 90vh;
  cursor: grab;
  transition: transform 0.15s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-img.dragging { cursor: grabbing; transition: none; }

.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-controls {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 2;
}
.lightbox-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-controls button:hover { background: rgba(255,255,255,0.2); }

.lightbox-hint {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.8rem;
}

@media (max-width: 768px) {
  .lightbox-controls { bottom: 16px; }
  .lightbox-hint { display: none; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap-hero-logo { display: flex; align-items: center; gap: 10px; justify-content: center; padding-bottom: 30px; }
.logo-img { height: 36px; width: auto; }
.logo-img-hero { height: 45px; width: auto; }
.logo-text { font-family: 'Helvetica', sans-serif; font-weight: 700; font-size: 1.15rem; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-soft); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--primary); }

.navbar-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: none; background: transparent; padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-soft); cursor: pointer; transition: all 0.2s ease;
}
.lang-btn.active { background: var(--primary); color: #1e1b1d; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 1.1rem;
}
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: inline-flex; color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 180px 0 100px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 140%);
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: 0;
}
.hero-orb-1 { width: 360px; height: 360px; background: var(--primary-soft); top: -120px; right: -80px; }
.hero-orb-2 { width: 280px; height: 280px; background: var(--primary-strong); bottom: -100px; left: -60px; }

.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-tag {
  display: inline-block; background: var(--surface); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  color: var(--primary-strong);
}
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.accent-line { color: var(--primary); }
.hero-desc { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-soft); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { margin-bottom: 14px; }
.hero-cta-secondary { margin-bottom: 50px; }

.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-family: 'Helvetica', sans-serif; font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat span:last-child { font-size: 0.82rem; color: var(--text-soft); }

/* ===== SECTIONS ===== */
.section { padding: 110px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-kicker { display: inline-block; color: var(--primary-strong); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-sub { color: var(--text-soft); font-size: 1.02rem; }

/* ===== COMPARE / IMAGE CARDS ===== */
.compare-block { margin-bottom: 56px; text-align: center; }
.compare-block h3 { font-size: 1.2rem; margin-bottom: 22px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-grid.mini { margin: 14px 0; }
.img-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow);
}
.img-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--bg-alt); }
.img-card figcaption { padding: 10px; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text-soft); }
.img-card.small img { aspect-ratio: 16/9; }

/* ===== FEATURE GRID ===== */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 24px; }
.feat-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.feat-grid-no-img {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center;
}
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat-card iconify-icon { font-size: 2rem; color: var(--primary); margin-bottom: 16px; display: flex; }
.icon-no-img {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.feat-card h4 { font-size: 1.08rem; margin-bottom: 10px; }
.feat-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.6; }
.feat-card .img-card { margin-top: 16px; }

/* ===== LIST GRID (HR / Tools) ===== */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.list-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 26px;
}
.list-card iconify-icon { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; display: block; }
.list-card h4 { font-size: 1.02rem; margin-bottom: 10px; }
.list-card p { color: var(--text-soft); font-size: 0.9rem; line-height: 1.55; }
.list-card ul { display: flex; flex-direction: column; gap: 8px; }
.list-card li {
  font-size: 0.88rem; color: var(--text-soft); padding-left: 18px; position: relative; line-height: 1.5;
}
.list-card li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
}

/* ===== SIORA AI ===== */
.siora-section { background: linear-gradient(135deg, var(--bg-alt), var(--bg)); }
.siora-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.siora-example {
  display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px; margin: 22px 0; max-width: 420px;
}
.siora-example iconify-icon { font-size: 1.6rem; color: var(--primary); flex-shrink: 0; }
.siora-example p { font-size: 0.95rem; font-weight: 500; }

/* ===== ACCORDION (Q&A) ===== */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.accordion-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  font-weight: 600; font-size: 0.96rem; color: var(--text);
}
.accordion-q iconify-icon { color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 12px; }
.accordion-item.open .accordion-q iconify-icon { transform: rotate(45deg); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-a-inner { padding: 0 24px 20px; color: var(--text-soft); font-size: 0.9rem; line-height: 1.6; }

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-strong));
  color: #1e1b1d;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta-inner p { color: #fff; margin-bottom: 32px; font-size: 1.02rem; opacity: 0.85; max-width: 520px; margin-left: auto; margin-right: auto; }
/* .cta-section .btn-whatsapp { background: #1e1b1d; } */

/* ===== FOOTER ===== */
.footer { padding: 50px 0; text-align: center; background: var(--surface); border-top: 1px solid var(--border); }
.footer-logos { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-logo { height: 32px; }
.footer-inner p { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 18px; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--text-soft); }
.footer-links a:hover { color: var(--primary); }

/* ===== FADE ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feat-grid, .feat-grid-no-img { grid-template-columns: repeat(2, 1fr); }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .logo-wrap { gap: 6px; }
  .logo-img { height: 30px; }
  .logo-text { font-size: 0.8rem; }
  .nav-links { display: none; }
  .navbar-actions { gap: 8px; }
  .theme-toggle { width: 29px; height: 26px; font-size: 1rem; }
  .lang-btn { padding: 4px 10px; font-size: 0.75rem; }
  .hamburger { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
  }
  .feat-grid, .feat-grid.two-col, .list-grid, .compare-grid, .siora-inner, .feat-grid-no-img { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 70px; }
  .hero-stats { gap: 28px; }
  .section { padding: 70px 0; }
}

@media (max-width: 400px) {
  .logo-text { font-size: 0.8rem; }
  .lang-switch { display: flex; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  /* .lang-switch { display: none; } */
}
