/* ============================================================
   main.css — Smootix Landing
   Base styles, layout, components
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --color-primary:      #ABC270;
  --color-primary-dark: #96AD5A;
  --color-brown:        #473C33;
  --color-brown-mid:    #8A8079;
  --color-brown-light:  #A09080;
  --color-bg:           #F0EAE2;
  --color-bg-alt:       #F9F6F2;
  --color-border:       #E8E2DA;
  --color-border-light: #EDE8E2;
  --color-yellow:       #FEC876;
  --color-white:        #ffffff;

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter',   -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-card: 16px;
  --radius-btn:  50px;

  --shadow-card:       0 2px 16px rgba(71, 60, 51, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(71, 60, 51, 0.12);

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-brown);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.nav.is-scrolled {
  box-shadow: 0 4px 24px rgba(71, 60, 51, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}

.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: -0.04em;
}

.logo span { color: var(--color-primary); }

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__link {
  font-size: 13.5px;
  color: var(--color-brown-mid);
  transition: color var(--transition);
}

.nav__link:hover { color: var(--color-brown); }

.nav__cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(171, 194, 112, 0.4);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn:active { transform: translateY(0) !important; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 13px 28px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(171, 194, 112, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(171, 194, 112, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-brown);
  padding: 12px 26px;
  font-size: 14px;
}

.btn-outline:hover {
  border-color: var(--color-brown-mid);
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: transparent;
  border: 1.5px solid #6A5A50;
  color: #B0A090;
  padding: 12px 26px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-ghost-dark:hover {
  border-color: #8A7A6A;
  color: #C8B8A8;
  transform: translateY(-2px);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--color-bg);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 500px;
}

.hero-tag {
  display: inline-block;
  background: var(--color-yellow);
  color: #7A4A10;
  border-radius: var(--radius-btn);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
  font-family: var(--font-body);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.hero-title em {
  color: var(--color-primary);
  font-style: normal;
}

.hero-sub {
  font-size: 16px;
  color: var(--color-brown-mid);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 420px;
}

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

/* Hero mockup card */
.hero-mockup {
  flex-shrink: 0;
  background: #fff;
  border-radius: 22px;
  border: 0.5px solid #E0D8CE;
  padding: 20px;
  width: 268px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
}

.hero-mockup__label {
  font-size: 10px;
  color: #A09080;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.hs-card {
  background: var(--color-bg-alt);
  border-radius: 11px;
  padding: 11px;
}

.hs-label { font-size: 10px; color: #A09080; margin-bottom: 2px; }

.hs-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brown);
  line-height: 1.2;
}

.hs-sub { font-size: 10px; color: var(--color-primary); margin-top: 2px; }

.chat-preview {
  background: var(--color-bg-alt);
  border-radius: 11px;
  padding: 10px;
}

.cprow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 0.5px solid var(--color-border-light);
}

.cprow:last-child { border: none; }

.cpav {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.cpname { font-size: 11px; color: var(--color-brown); flex: 1; font-weight: 500; }

.cptag {
  font-size: 9px;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}

.cptag--tg { background: #E0EDFA; color: #1A5A9A; }
.cptag--wa { background: #E0F4E8; color: #1A6A3A; }

.cpbadge {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: #7A4A10;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--color-white);
  padding: 48px 0;
}

.stats-bar__inner {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-item__label {
  font-size: 12.5px;
  color: var(--color-brown-light);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ─── Sections ───────────────────────────────────────────── */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-brown);
}

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.sec-label {
  font-size: 11px;
  color: var(--color-brown-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  font-weight: 600;
}

.sec-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-brown);
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sec-sub {
  font-size: 15px;
  color: var(--color-brown-mid);
  line-height: 1.68;
  max-width: 520px;
}

.sec-sub--center { margin: 0 auto; }

/* ─── Grids ──────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ─── Problem cards ──────────────────────────────────────── */
.problem-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.problem-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.prob-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.prob-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 8px;
}

.prob-text {
  font-size: 13.5px;
  color: var(--color-brown-mid);
  line-height: 1.62;
}

/* ─── Feature rows ───────────────────────────────────────── */
.feature-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--color-border-light);
  transition: transform var(--transition);
}

.feature-row:last-child { border: none; }
.feature-row:hover { transform: translateX(4px); }

.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.feat-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 5px;
}

.feat-text {
  font-size: 13px;
  color: var(--color-brown-mid);
  line-height: 1.6;
}

/* ─── Inline screen mockup ───────────────────────────────── */
.inline-screen {
  background: var(--color-bg-alt);
  border: 0.5px solid #E0D8CE;
  border-radius: 22px;
  padding: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.inline-screen__header {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inline-screen__tag {
  background: #E8F2D8;
  color: #3A6018;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
}

.is-inner-card {
  background: var(--color-white);
  border-radius: 13px;
  padding: 13px;
  margin-bottom: 9px;
}

.is-inner-card__label {
  font-size: 10px;
  color: #A09080;
  margin-bottom: 7px;
}

.is-inner-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.is-inner-card__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brown);
}

.is-inner-card__sub {
  font-size: 11px;
  color: #A09080;
  margin-top: 2px;
}

.is-inner-card__price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}

.is-inner-card__msg {
  font-size: 13px;
  color: var(--color-brown);
  margin-top: 2px;
}

.is-inner-card__time {
  font-size: 10px;
  color: #B0A898;
  margin-top: 5px;
}

.is-actions {
  display: flex;
  gap: 8px;
}

.is-actions__btn {
  flex: 1;
  border-radius: 10px;
  padding: 9px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.is-actions__btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.is-actions__btn--primary { background: var(--color-primary); color: #fff; }
.is-actions__btn--secondary { background: #F0EBE4; color: var(--color-brown); }

/* ─── Steps ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

/* Connector line between steps */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: calc(-1px);
  width: 50%;
  height: 1px;
  background: var(--color-border);
}

.step-item:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(-1px);
  width: 50%;
  height: 1px;
  background: var(--color-border);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.step-num--yellow {
  background: var(--color-yellow);
  color: #7A4A10;
}

.step-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 8px;
}

.step-text {
  font-size: 13px;
  color: var(--color-brown-mid);
  line-height: 1.62;
}

/* ─── Review cards ───────────────────────────────────────── */
.review-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.review-card--featured { border-color: var(--color-primary); }

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.star {
  width: 13px;
  height: 13px;
  background: var(--color-yellow);
  border-radius: 3px;
}

.review-text {
  font-size: 14px;
  color: var(--color-brown);
  line-height: 1.68;
  margin-bottom: 18px;
  font-style: italic;
}

.review-author { display: flex; align-items: center; gap: 12px; }

.rev-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.rev-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-brown);
}

.rev-role { font-size: 12px; color: var(--color-brown-light); }

/* ─── Pricing cards ──────────────────────────────────────── */
.price-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: 20px;
  padding: 30px 26px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.price-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.price-card--featured {
  border: 2px solid var(--color-primary);
}

.price-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 6px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 4px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.price-period {
  font-size: 12.5px;
  color: var(--color-brown-light);
  margin-bottom: 22px;
}

.price-divider {
  height: 0.5px;
  background: var(--color-border-light);
  margin-bottom: 18px;
}

.price-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-brown);
  padding: 5px 0;
}

.price-feat--disabled { color: #C0B4A8; }

.pf-check { color: var(--color-primary); font-size: 15px; }
.pf-x     { color: #D8D0C6; font-size: 15px; }

.price-btn {
  display: block;
  margin-top: 22px;
  border-radius: var(--radius-btn);
  padding: 13px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.price-btn--outline {
  background: var(--color-bg-alt);
  color: var(--color-brown);
}

.price-btn--outline:hover { background: #EDE8E2; }

.price-btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(171, 194, 112, 0.35);
}

.price-btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(171, 194, 112, 0.45);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 620px; margin: 0 auto; }

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

.faq-q {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-brown);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  transition: color var(--transition);
  user-select: none;
}

.faq-q:hover { color: var(--color-primary); }

.faq-icon {
  font-size: 17px;
  color: var(--color-brown-light);
  flex-shrink: 0;
  transition: transform 0.35s ease, color var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-a {
  font-size: 14px;
  color: var(--color-brown-mid);
  line-height: 1.68;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.35s ease;
}

.faq-item.is-open .faq-a {
  max-height: 240px;
  padding-bottom: 22px;
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section {
  background: var(--color-brown);
  padding: 104px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta__inner { position: relative; z-index: 2; }

.cta-label {
  font-size: 11px;
  color: #8A7A6A;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-weight: 600;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: #F0EAE2;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.cta-sub {
  font-size: 15px;
  color: #8A7A6A;
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: #3A3028;
  padding: 30px 0;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #F0EAE2;
  letter-spacing: -0.03em;
}

.footer-logo span { color: var(--color-primary); }

.footer-links { display: flex; gap: 24px; }

.footer-link {
  font-size: 12.5px;
  color: #8A7A6A;
  transition: color var(--transition);
}

.footer-link:hover { color: #B0A090; }

.footer-copy {
  font-size: 12px;
  color: #6A5A50;
}

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  height: 0.5px;
  background: var(--color-border);
}
