﻿/* ================================================
   INERTI — Landing Page Styles
   Minimal dark design · Mobile-first
   ================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --border: #1A1A1A;
  --accent: #0088CC;
  --accent-hover: #00AAFF;
  --text: #FFFFFF;
  --text-secondary: #888888;
  --radius: 10px;
  --radius-sm: 6px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97) translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid #333;
  padding: 12px 24px;
}
.btn-secondary:hover {
  color: var(--text);
  border-color: #555;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* ---- Section shared ---- */
.section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar--scrolled {
  background: rgba(8, 8, 8, 0.95);
  border-bottom-color: #222;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}

.logo-text {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.logo-curve {
  margin-top: -2px;
}

/* ================================================
   HERO
   ================================================ */
.hero {
  padding: 80px 0 60px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 600px;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

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

/* ================================================
   CHAT PROOF GALLERY / WA MOCKUPS
   ================================================ */
.rubro-demo-grid {
  display: grid;
  gap: 18px;
}

.demo-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.demo-tab {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid #222;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
}

.demo-tab:hover {
  transform: translateY(-2px);
  border-color: #2e2e2e;
}

.demo-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.demo-tab.active {
  border-color: rgba(0, 136, 204, 0.65);
  background: linear-gradient(180deg, rgba(0, 136, 204, 0.18) 0%, rgba(17, 17, 17, 0.98) 85%);
  box-shadow: 0 10px 28px rgba(0, 136, 204, 0.16);
}

.demo-tab-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.demo-tab-copy {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.rubro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.wa-mockup {
  background: #111;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wa-mockup:hover {
  transform: translateY(-3px);
  border-color: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.wa-demo {
  background: #111;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 456px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.wa-demo .wa-body {
  min-height: 376px;
  justify-content: flex-end;
}

.wa-demo .wa-msg {
  animation: demoBubbleIn 0.26s ease-out;
}

.wa-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 54px;
  padding: 10px 12px 8px;
}

.wa-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: typingPulse 1s infinite ease-in-out;
}

.wa-typing span:nth-child(2) {
  animation-delay: 0.16s;
}

.wa-typing span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typingPulse {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@keyframes demoBubbleIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #0d1418;
  border-bottom: 1px solid var(--border);
}

.wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.wa-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.wa-status {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
}

.wa-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Subtle wallpaper pattern */
  background:
    radial-gradient(circle, #151515 1px, transparent 1px) 0 0 / 24px 24px,
    #0e0e0e;
}

.wa-msg {
  display: flex;
  max-width: 88%;
}

.wa-msg--out {
  align-self: flex-end;
}

.wa-msg--in {
  align-self: flex-start;
}

.wa-bubble {
  padding: 7px 10px 5px;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
}

.wa-msg--out .wa-bubble {
  background: #0b4a3e;
  color: #dceee8;
  border-top-right-radius: 2px;
}

.wa-msg--in .wa-bubble {
  background: #1a1d21;
  color: #e4e4e4;
  border-top-left-radius: 2px;
}

.wa-meta {
  display: inline-block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 8px;
  vertical-align: bottom;
  line-height: 1;
  float: right;
  margin-top: 4px;
}

/* ================================================
   PROOF BAR
   ================================================ */
.proof-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: center;
}

.proof-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
}

.proof-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ================================================
   VIDEO DEMO
   ================================================ */
.video-placeholder {
  max-width: 720px;
}

.video-box {
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ================================================
   CARD GRID (Problems / Targets)
   ================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}

.card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.step {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
  /* Subtle stroke effect */
  -webkit-text-stroke: 1px #333;
}

.step-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ================================================
   FEATURES
   ================================================ */
.features-list {
  max-width: 500px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-check {
  flex-shrink: 0;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 136, 204, 0.12);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 4px;
}

/* ================================================
   PRICING
   ================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pricing-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card--featured {
  border-color: var(--accent);
  background: #0d1117;
  box-shadow:
    0 0 0 1px rgba(0, 136, 204, 0.35),
    0 12px 32px rgba(0, 0, 0, 0.45);
}

.pricing-card--featured:hover {
  border-color: var(--accent-hover);
  box-shadow:
    0 0 0 1px rgba(0, 170, 255, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #ccc;
  position: relative;
  padding-left: 18px;
}

.pricing-features li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-secondary);
}

/* ================================================
   FAQ
   ================================================ */
.faq-list {
  max-width: 680px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Remove default marker */
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::marker {
  content: "";
}

/* Plus/minus indicator */
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item[open] .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding: 0 0 20px;
}

/* ================================================
   FINAL CTA
   ================================================ */
.final-cta {
  text-align: center;
  padding: 100px 0;
}

.final-cta .section-title {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@media (min-width: 640px) {
  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ================================================
   FADE-IN ON SCROLL
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ================================================
   RESPONSIVE — Tablet+
   ================================================ */
@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .demo-tab {
    flex-basis: 300px;
  }

  .rubro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================================================
   RESPONSIVE — Desktop
   ================================================ */
@media (min-width: 960px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .section {
    padding: 108px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .rubro-demo-grid {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
  }

  .demo-tabs {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .demo-tab {
    width: 100%;
    flex-basis: auto;
  }

  .wa-demo {
    min-height: 500px;
  }

  .wa-demo .wa-body {
    min-height: 420px;
    padding: 20px 18px;
  }

  .step-number {
    font-size: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  body::after {
    animation: none;
  }

  .btn,
  .card,
  .pricing-card,
  .demo-tab,
  .wa-demo,
  .wa-msg,
  .fade-in {
    transition: none;
    animation: none;
  }

  .wa-typing span {
    animation: none;
    opacity: 0.7;
  }
}




