/* ============================================
   TIMOTIA — style.css
   ============================================ */

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

:root {
  --white: #FFFFFF;
  --black: #111111;
  --gray: #666666;
  --gray-light: #F5F5F5;
  --gray-border: #E8E8E8;
  --green: #22C55E;
  --green-bg: #DCFCE7;
  --font: 'Inter', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.22s ease;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  padding: 15px 32px;
}

.btn--primary:hover {
  opacity: 0.82;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn--full {
  width: 100%;
  padding: 17px 32px;
  font-size: 16px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 48px;
}

.section-title--light {
  color: var(--white);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 96px 0 80px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

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

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--gray-border);
  border-radius: 40px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero__title {
  font-size: clamp(26px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--black);
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 460px;
}

/* ---- WhatsApp Mockup ---- */
.hero__mockup {
  display: flex;
  justify-content: center;
}

.wpp-window {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-border);
  background: #ECE5DD;
}

.wpp-header {
  background: #128C7E;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wpp-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.wpp-info { display: flex; flex-direction: column; }

.wpp-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.wpp-status {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}

.wpp-body {
  padding: 16px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}

.wpp-bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 0;
}

.wpp-bubble--in {
  background: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  color: var(--black);
}

.wpp-bubble--out {
  background: #DCF8C6;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  color: var(--black);
}

.wpp-radar {
  box-sizing: border-box;
  align-self: center;
  width: 100%;
  max-width: 260px;
  background: #111111;
  border: 1px solid #2E2E2E;
  border-radius: 16px;
  padding: 14px 16px 12px;
  opacity: 0;
  margin-top: 6px;
}

.wpp-radar__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 8px;
}

.wpp-radar__icon { font-size: 14px; }

.wpp-radar__priority {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1A1A1A;
  border: 1px solid #333333;
  border-radius: 40px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 10px;
}

.wpp-radar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  flex-shrink: 0;
}

.wpp-radar__grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.wpp-radar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
}

.wpp-radar__label {
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 10px;
  flex-shrink: 0;
}

.wpp-radar__value {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.wpp-radar__footer {
  font-size: 10.5px;
  color: #9CA3AF;
  border-top: 1px solid #222222;
  padding-top: 8px;
}

/* Bubble animation */
.animate-bubble {
  animation: bubbleIn 0.4s ease forwards;
  animation-delay: var(--delay);
}

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

/* ============================================
   PROBLEMS
   ============================================ */
.problems {
  padding: 96px 0;
  background: var(--gray-light);
}

.problems__intro {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 640px;
  margin-top: -28px;
  margin-bottom: 40px;
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.problem-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.problem-card p {
  font-size: 15px;
  color: var(--black);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 96px 0;
}

.how__intro {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 640px;
  margin-top: -28px;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  max-width: 640px;
}

.timeline__item {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}

.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

.timeline__line {
  width: 2px;
  flex: 1;
  background: var(--gray-border);
  margin: 4px 0;
  min-height: 40px;
}

.timeline__content {
  padding-bottom: 40px;
}

.timeline__step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  display: block;
  margin-bottom: 6px;
}

.timeline__content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline__content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   LEAD SECTION
   ============================================ */
.lead-section {
  background: var(--black);
  padding: 96px 0;
}

.lead-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lead-section__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 400px;
}

.lead-card {
  background: #1A1A1A;
  border: 1px solid #2E2E2E;
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111;
  border: 1px solid #333;
  border-radius: 40px;
  padding: 7px 15px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  align-self: flex-start;
  margin-bottom: 4px;
}

.lead-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #222;
  padding-bottom: 14px;
}

.lead-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lead-card__label {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-card__value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.lead-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ============================================
   IDEAL FOR
   ============================================ */
.ideal {
  padding: 96px 0;
  background: var(--gray-light);
}

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

.ideal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ideal__list li {
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
}

.check {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   FORM SECTION
   ============================================ */
.form-section {
  padding: 96px 0 112px;
  background: var(--white);
}

.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.form-subtitle {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
  margin-top: -32px;
  line-height: 1.6;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
}

.field-group input {
  font-family: var(--font);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.field-group input::placeholder {
  color: #BDBDBD;
}

.field-group input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

.field-group input.input--error {
  border-color: #EF4444;
}

.field-error {
  font-size: 12px;
  color: #EF4444;
  font-weight: 500;
  min-height: 16px;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--gray-border);
  padding: 28px 0;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--gray);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__mockup {
    order: -1;
  }

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

  .lead-section__inner,
  .ideal__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .lead-section__desc {
    max-width: 100%;
  }

  .lead-card { margin: 0 auto; max-width: 360px; }

  .ideal__list { align-items: flex-start; }

  .timeline { max-width: 100%; }
}

/* Mobile */
@media (max-width: 560px) {
  .hero {
    padding: 72px 0 64px;
    min-height: auto;
  }

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

  .problems,
  .how,
  .lead-section,
  .ideal,
  .form-section {
    padding: 72px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .ideal__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .wpp-window { max-width: 290px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-bubble,
  .reveal,
  .status-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
