/* =============================================================================
   AI CLASS — LANDING PAGE STYLES
   ============================================================================= */

/* -----------------------------------------------------------------------------
   HEADER
   ----------------------------------------------------------------------------- */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.landing-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.landing-logo {
  height: 32px;
  width: auto;
}

.landing-brand-name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
}

.landing-nav a:not(.btn) {
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.landing-nav a:not(.btn):hover {
  color: var(--color-primary);
}

.landing-whatsapp {
  color: #25d366;
  font-weight: 600;
}

.landing-whatsapp:hover {
  color: #128c7e;
}

.landing-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: transparent;
  border: none;
  cursor: pointer;
}

.landing-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* -----------------------------------------------------------------------------
   HERO
   ----------------------------------------------------------------------------- */
.hero {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6d1a;
  background: rgba(212, 175, 55, 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.hero-highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: rgba(212, 175, 55, 0.35);
  z-index: -1;
  border-radius: 2px;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-note {
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  margin: 0;
}

/* Hero mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.hero-mockup-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: #f1f5f9;
  border-bottom: 1px solid var(--color-border);
}

.hero-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.hero-mockup-dot:nth-child(1) { background: #ef4444; }
.hero-mockup-dot:nth-child(2) { background: #f59e0b; }
.hero-mockup-dot:nth-child(3) { background: #22c55e; }

.hero-mockup-title {
  margin-left: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero-mockup-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-mockup-line {
  height: 10px;
  background: #e2e8f0;
  border-radius: 4px;
  width: 100%;
}

.hero-mockup-line-strong {
  height: 16px;
  background: var(--color-primary);
  width: 60%;
}

.hero-mockup-line-short {
  width: 40%;
}

.hero-mockup-q {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: #f8fafc;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero-mockup-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-mockup-answer {
  padding: var(--space-3);
  background: var(--color-info-bg);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   SECTIONS
   ----------------------------------------------------------------------------- */
.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background: var(--color-bg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}

.section-header h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0;
}

/* -----------------------------------------------------------------------------
   FEATURES
   ----------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  line-height: 1;
}

.feature-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------------------------------------------
   STEPS
   ----------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.step {
  position: relative;
  min-width: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.step h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.step code {
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
}

/* -----------------------------------------------------------------------------
   MARKETPLACE
   ----------------------------------------------------------------------------- */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.marketplace-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
  min-height: 120px;
}

.marketplace-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.marketplace-card span {
  font-size: 1.75rem;
  line-height: 1;
}

.marketplace-card strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.marketplace-card-more {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  border-color: var(--color-primary);
}

.marketplace-card-more:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
}

.marketplace-note {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------------------------
   CTA
   ----------------------------------------------------------------------------- */
.cta {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, #0a3d62 0%, #062a44 100%);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.cta > .container > p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-whatsapp {
  margin-top: var(--space-5);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0 !important;
}

.cta-whatsapp a {
  color: #25d366;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-whatsapp a:hover {
  color: #4ae080;
}

/* -----------------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------------- */
.landing-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: var(--space-12) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-2);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: #94a3b8;
  margin: 0;
}

.landing-footer h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
  list-style: none;
}

.landing-footer a {
  color: #94a3b8;
  font-size: var(--text-sm);
}

.landing-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: var(--text-sm);
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
}

/* -----------------------------------------------------------------------------
   WHATSAPP FLOAT
   ----------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #25d366;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}

.whatsapp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
   RESPONSIVE — TABLET
   ----------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-whatsapp {
    display: none;
  }
}

/* -----------------------------------------------------------------------------
   RESPONSIVE — MOBILE
   ----------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .landing-header-inner {
    height: 56px;
  }

  .landing-menu-btn {
    display: flex;
  }

  .landing-nav {
    display: none;
  }

  .landing-nav-open {
    display: flex;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .landing-nav-open a {
    padding: var(--space-2) 0;
    text-align: center;
  }

  .landing-nav-open .btn {
    width: 100%;
  }

  .hero {
    padding: var(--space-10) 0;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: var(--space-10) 0;
  }

  .section-header h2 {
    font-size: var(--text-2xl);
  }

  .section-header p {
    font-size: var(--text-base);
  }

  .features-grid,
  .steps,
  .marketplace-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-float-text {
    display: none;
  }
}

@media (max-width: 400px) {
  .whatsapp-float {
    bottom: 80px;
  }
}