/* ══════════════════════════════════════════════
   Agairo Landing — styles.css
   ══════════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #FFFFFF;
  --primary-dark:  #D4D4D4;
  --primary-glow:  rgba(255,255,255,0.06);
  --dark:          #0D0D0D;
  --dark-2:        #161616;
  --dark-3:        #2B2B2B;
  --text:          #FFFFFF;
  --text-article:  rgba(255, 255, 255, 0.85);
  --text-muted:    #A3A3A3;
  --border:        #2B2B2B;
  --white:         #FFFFFF;
  --red:           #FF4D4D;
  --wa-green:      #25D366;

  --font:          'Outfit', sans-serif;
  --radius-sm:     8px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-full:   100px;
  --transition:    0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav__left   { display: flex; align-items: center; gap: 20px; }
.nav__logo   { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.nav__logo img { 
  display: block; 
  mix-blend-mode: multiply; 
}
.nav__by     { font-size: 11px; font-weight: 500; color: #666666; letter-spacing: 0.5px; }
.nav__links  { display: flex; gap: 28px; }
.nav__links a {
  font-size: 13px; font-weight: 600;
  color: #666666;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--dark); }

.nav__cta {
  background: var(--dark); color: var(--white);
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 13px;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.nav__cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 120px 60px 80px;
  max-width: 1260px; margin: 0 auto;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted); border-radius: var(--radius-full);
  padding: 6px 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900; line-height: 1.08; letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero__title .accent {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 6px;
}

.hero__sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 480px; line-height: 1.7; margin-bottom: 32px;
}

.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn--primary {
  background: var(--white); color: var(--dark);
  padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px;
  transition: transform 0.15s, background var(--transition);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--primary-dark); }

.btn--ghost {
  border: 1px solid var(--border); color: var(--text);
  padding: 14px 28px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px;
  transition: border-color var(--transition);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.5); }

/* ── WHATSAPP CHAT MOCKUP ── */
.wa-mockup {
  width: 320px; background: #0B141A;
  border-radius: 20px; overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,200,150,0.1),
    0 0 0 1px rgba(255,255,255,0.06);
}

.wa-mockup__header {
  background: #1F2C34; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wa-mockup__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #2B2B2B;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--white);
  border: 1px solid #444;
}
.wa-mockup__info h4 { font-size: 14px; font-weight: 700; color: #E9EDEF; }
.wa-mockup__info p  { font-size: 11px; color: #8696A0; }

.wa-mockup__body {
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 260px;
}

.wa-msg {
  max-width: 82%; padding: 8px 12px;
  border-radius: 8px; font-size: 13px; line-height: 1.5;
}
.wa-msg--user {
  background: #005C4B; color: #E9EDEF;
  align-self: flex-end; border-bottom-right-radius: 2px;
}
.wa-msg--bot {
  background: #1F2C34; color: #E9EDEF;
  align-self: flex-start; border-bottom-left-radius: 2px;
}
.wa-msg__time {
  font-size: 10px; color: #8696A0;
  display: block; text-align: right; margin-top: 4px;
}

.wa-qr-card {
  background: #1F2C34; border-radius: 8px; padding: 14px;
  align-self: flex-start; max-width: 82%; text-align: center;
}
.wa-qr-card__placeholder {
  width: 100px; height: 100px; margin: 0 auto 8px;
  background: white; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.wa-qr-card p             { font-size: 11px; color: #8696A0; }
.wa-qr-card__visitor-name { font-size: 13px; color: #E9EDEF; font-weight: 600; }

/* ── PROOF BAR ── */
.proof-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px; text-align: center;
}
.proof-bar p { color: var(--text-muted); font-size: 13px; font-weight: 500; line-height: 1.6; }

/* ── SHARED SECTION ── */
.section {
  padding: 96px 24px;
  max-width: 1100px; margin: 0 auto;
}
.section--center { text-align: center; }
.section--center .section__sub { margin: 0 auto; }

.section__label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1px;
  line-height: 1.12; margin-bottom: 16px;
}
.section__sub {
  color: var(--text-muted); font-size: 17px;
  max-width: 520px; line-height: 1.7;
}

/* ── VS COMPARISON ── */
.vs-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Scrollable wrapper for mobile */
.vs-table-wrap {
  margin-top: 56px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}

.vs-table {
  width: 100%; min-width: 560px;
  border-collapse: separate; border-spacing: 0;
}
.vs-table th,
.vs-table td {
  padding: 14px 18px; text-align: left;
  font-size: 14px; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.vs-table thead th {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); padding-bottom: 12px;
}
.vs-table thead th:last-child { color: var(--primary); }
.vs-table td:first-child  { color: var(--text-muted); font-weight: 500; white-space: normal; }
.vs-table td:nth-child(2) { color: var(--text-muted); }
.vs-table td:last-child   { color: var(--text); font-weight: 600; }
.vs-table tr:last-child td { border-bottom: none; }

.vs-x     { color: var(--red); font-weight: 700; }
.vs-check { color: var(--white); font-weight: 700; }
.agairo-col {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--white);
}

/* ── STEPS ── */
.steps-wrapper { background: var(--dark); }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 56px;
}

.step-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover {
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-4px);
}
.step-card__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--dark);
  font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 56px;
}

.benefit {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px;
  transition: border-color var(--transition), transform var(--transition);
}
.benefit:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.benefit__icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.benefit h4   { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.benefit p    { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── PLANS ── */
.plans-bg {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; margin-top: 56px;
}

.plan-card {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  position: relative; overflow: hidden;
  transition: border-color var(--transition);
}
.plan-card--featured {
  border-color: rgba(255,255,255,0.4);
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, var(--dark) 60%);
}

.plan-card__badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--white); color: var(--dark);
  font-size: 11px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.plan-card__name {
  font-size: 13px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 8px;
}
.plan-card__title { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.plan-card__desc  { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }
.plan-card__price {
  font-size: 42px; font-weight: 900;
  letter-spacing: -1.5px; margin-bottom: 4px;
}
.plan-card__price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.plan-card__note { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; }
.plan-card__divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5;
}
.plan-features li .check { color: var(--white); flex-shrink: 0; }
.plan-features li .star  { color: #F5A623; flex-shrink: 0; }

.plan-btn {
  display: block; text-align: center; padding: 14px;
  border-radius: var(--radius-md); font-weight: 700; font-size: 15px;
  transition: all var(--transition);
}
.plan-btn--solid { background: var(--white); color: var(--dark); }
.plan-btn--solid:hover { background: var(--primary-dark); transform: translateY(-2px); }
.plan-btn--outline { border: 1px solid var(--border); color: var(--text); }
.plan-btn--outline:hover { border-color: rgba(255,255,255,0.5); }

/* ── FAQ ── */
.faq-list {
  max-width: 800px; margin: 40px auto 0;
  display: flex; flex-direction: column; gap: 16px;
}
.faq-item {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.faq-item summary {
  padding: 20px 24px; font-size: 16px; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); outline: none; transition: color var(--transition);
}
.faq-item summary:hover { color: var(--text-muted); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 24px; color: var(--text-muted); font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 24px; color: var(--text-muted); font-size: 15px; line-height: 1.6;
}

/* ── LEGAL PAGES ── */
.legal-page {
  padding: 140px 24px 80px;
  max-width: 840px; margin: 0 auto;
}
.legal-page-inner {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 64px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .legal-page-inner { padding: 32px 24px; }
}
.legal-title {
  font-size: clamp(32px, 5vw, 42px); font-weight: 800;
  margin-bottom: 12px; letter-spacing: -1px;
}
.legal-date {
  font-size: 14px; color: var(--text-muted); margin-bottom: 40px;
  font-weight: 500;
}
.legal-content h2 {
  font-size: 22px; font-weight: 700; margin: 48px 0 16px;
  color: var(--white);
}
.legal-content p, .legal-content li {
  font-size: 16px; line-height: 1.7; color: var(--text-article);
  margin-bottom: 16px;
}
.legal-content ul { padding-left: 24px; margin-bottom: 24px; }
.legal-content a { text-decoration: underline; color: var(--white); }

/* ── CONTACT ── */
.contact-section { background: var(--dark); }

.contact-inner {
  max-width: 1100px; margin: 0 auto; padding: 96px 24px;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 56px; align-items: start;
}

.contact-channels { display: flex; flex-direction: column; gap: 16px; }

.channel-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 24px;
  transition: border-color var(--transition), transform 0.15s;
  color: var(--text);
}
.channel-card:hover { border-color: rgba(255,255,255,0.4); transform: translateX(4px); }
.channel-card--wa:hover  { border-color: var(--wa-green); }
.channel-card--tel:hover { border-color: rgba(255,255,255,0.4); }

.channel-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  background: var(--primary-glow);
}
.channel-card__info h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.channel-card__info p  { font-size: 13px; color: var(--text-muted); }
.channel-card__arrow   { margin-left: auto; color: var(--text-muted); font-size: 18px; }

/* Contact form */
.contact-form-wrap {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-form-wrap h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.contact-form-wrap > p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
}
.form-group label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark); border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px; font-family: inherit;
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,0.5); }
.form-group select option { background: var(--dark-2); }
.form-group textarea { resize: vertical; min-height: 80px; }

.form-submit {
  width: 100%; padding: 14px;
  background: var(--white); color: var(--dark);
  border: none; border-radius: var(--radius-md);
  font-weight: 700; font-size: 15px; font-family: inherit;
  cursor: pointer; margin-top: 6px;
  transition: background var(--transition), transform 0.15s;
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Form success state */
.form-success {
  display: none; text-align: center; padding: 32px 0;
}
.form-success__icon  { font-size: 42px; margin-bottom: 12px; }
.form-success__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.form-success__text  { color: var(--text-muted); font-size: 14px; }

/* ── FOOTER ── */
.footer {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer__logo { font-size: 18px; font-weight: 800; }
.footer__logo img { 
  display: block; 
  mix-blend-mode: multiply; 
}
.footer__by   { font-size: 12px; color: #666666; margin-top: 4px; }
.footer__by a { color: #666666; }
.footer p     { font-size: 13px; color: #666666; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg   { width: 28px; height: 28px; fill: white; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */

/* Tablet landscape & below */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 24px 60px;
  }
  .hero__left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__right { justify-self: center; }
  .hero__btns  { justify-content: center; }
  .hero__sub   { margin-left: auto; margin-right: auto; }

  .section { padding: 72px 20px; }
  .contact-inner { padding: 72px 20px; }
}

/* Tablet portrait */
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
  .plans-grid   { grid-template-columns: 1fr; }
}

/* Tablet small / large phone */
@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav__left { gap: 12px; }
  .nav__by   { display: none; }  /* hide "by Hestany" on small nav */
  .nav__links { display: none; }

  .steps-grid  { grid-template-columns: 1fr; }
  .step-card   { padding: 24px; }

  .section__title { letter-spacing: -0.5px; }
}

/* Mobile */
@media (max-width: 640px) {
  .nav__logo  { font-size: 18px; }
  .nav__logo img { height: 28px; }
  .nav__cta   { padding: 7px 12px; font-size: 11px; }

  .hero__title {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -1px;
    line-height: 1.1;
  }
  .hero__sub  { font-size: 15px; }
  .hero__btns {
    flex-direction: column;   /* stack buttons vertically */
    align-items: center;
    gap: 10px;
  }
  .btn--primary,
  .btn--ghost {
    width: 100%; max-width: 320px;
    text-align: center;
    padding: 14px 20px;
  }

  .wa-mockup  { width: 100%; max-width: 320px; }

  .proof-bar  { padding: 16px; }

  .section__title { font-size: clamp(22px, 6vw, 32px); }
  .section__sub   { font-size: 15px; }

  .benefits-grid  { grid-template-columns: 1fr; }

  .plan-card     { padding: 24px; }
  .plan-card__price { font-size: 34px; }

  .contact-form-wrap { padding: 24px; }
  .form-row          { grid-template-columns: 1fr; }

  .footer { flex-direction: column; text-align: center; padding: 24px 24px 96px; }

  .wa-float { bottom: 24px; right: 16px; width: 48px; height: 48px; }
  .wa-float svg { width: 24px; height: 24px; }
}
