/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --bg: #FAFAF8;
  --bg-white: #FFFFFF;
  --dark: #1C1009;
  --dark-section: #1C0E05;
  --accent: #C8601A;
  --accent-hover: #A84E12;
  --muted: #6B5E54;
  --border: #E8E0D8;
  --card-bg: #FFFFFF;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(28, 16, 9, 0.10);
  --shadow-lg: 0 12px 48px rgba(28, 16, 9, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid transparent;
}
.btn--ghost:hover { color: var(--accent); }

.btn--dark {
  background: var(--dark);
  color: #fff;
  padding: 13px 26px;
  font-size: 15px;
}
.btn--dark:hover { background: #2e1a0e; }

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
  padding: 12px 24px;
  font-size: 15px;
}
.btn--outline-dark:hover { background: var(--dark); color: #fff; }

.btn--full { width: 100%; }

/* =============================================
   SECTION LABELS / TITLES
   ============================================= */
.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 10px;
}

.section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 56px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}

.navbar__nav {
  display: flex;
  gap: 28px;
  margin: 0 auto;
}

.navbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}
.navbar__nav a:hover { color: var(--accent); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* =============================================
   TICKER
   ============================================= */
.ticker {
  background: var(--dark);
  overflow: hidden;
  padding: 9px 0;
}

.ticker__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.ticker__track span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #e8d8c8;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 0 72px;
  overflow: hidden;
}

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

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 22px;
  color: var(--dark);
}

.hero__headline em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 380px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Device Mockup --- */
.hero__mockup {
  position: relative;
  height: 340px;
}

.mockup__back,
.mockup__front {
  position: absolute;
  background: #1a1a2e;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup__back {
  width: 78%;
  height: 82%;
  top: 0;
  right: 0;
  transform: rotate(2deg);
  background: #0f1923;
}

.mockup__front {
  width: 70%;
  height: 76%;
  bottom: 0;
  left: 0;
  transform: rotate(-1.5deg);
  background: #131c28;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255,255,255,0.06);
}

.mockup__screen {
  width: 100%;
  height: 100%;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* CSS-drawn line chart */
.chart--line {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.chart--line::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 60%, rgba(200,96,26,0.12) 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 40px);
}
.chart--line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'%3E%3Cpolyline points='0,110 40,95 80,105 120,70 160,80 200,50 240,60 300,30' fill='none' stroke='%23C8601A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpolyline points='0,130 40,120 80,125 120,100 160,110 200,85 240,90 300,65' fill='none' stroke='rgba(200,96,26,0.3)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/cover no-repeat;
}

/* CSS-drawn bar chart */
.chart--bar {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.chart--bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 35px);
}
.chart--bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 140'%3E%3Crect x='8' y='80' width='28' height='55' rx='3' fill='%23C8601A' opacity='0.85'/%3E%3Crect x='48' y='50' width='28' height='85' rx='3' fill='%23C8601A'/%3E%3Crect x='88' y='65' width='28' height='70' rx='3' fill='%23C8601A' opacity='0.75'/%3E%3Crect x='128' y='30' width='28' height='105' rx='3' fill='%23C8601A'/%3E%3Crect x='168' y='55' width='28' height='80' rx='3' fill='%23C8601A' opacity='0.9'/%3E%3Crect x='208' y='45' width='28' height='90' rx='3' fill='%23C8601A'/%3E%3Crect x='248' y='25' width='28' height='110' rx='3' fill='%23C8601A' opacity='0.95'/%3E%3C/svg%3E") bottom/contain no-repeat;
}

/* =============================================
   FEATURES
   ============================================= */
.features {
  padding: 80px 0;
  background: var(--bg-white);
}

.features__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.features__headline {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.features__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 6px;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); }

.feature-card--accent {
  background: var(--bg-white);
  border-color: rgba(200, 96, 26, 0.25);
  box-shadow: 0 2px 16px rgba(200, 96, 26, 0.08);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(200, 96, 26, 0.10);
  color: var(--accent);
}

.feature-card--accent .feature-card__icon {
  background: var(--accent);
  color: #fff;
}

.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================
   SCREENSHOT SHOWCASE
   ============================================= */
.showcase {
  padding: 96px 0;
  background: var(--dark-section);
  overflow: hidden;
}

.showcase .section__label {
  color: rgba(200, 96, 26, 0.85);
}

.showcase__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
}

.showcase__headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #f5ece3;
  line-height: 1.18;
}

.showcase__headline em {
  font-style: italic;
  color: var(--accent);
}

.showcase__sub {
  font-size: 15px;
  color: rgba(245, 236, 227, 0.6);
  line-height: 1.65;
  padding-top: 6px;
}

.showcase__stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.showcase__shot--main {
  transform: translateY(0);
}

.showcase__shot--secondary {
  transform: translateY(48px);
}

.showcase__browser {
  background: #0f1923;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.showcase__browser:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255,255,255,0.09);
}

.showcase__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1a2535;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.showcase__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.showcase__dots span:first-child  { background: #ff5f57; }
.showcase__dots span:nth-child(2) { background: #febc2e; }
.showcase__dots span:last-child   { background: #28c840; }

.showcase__browser img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase__caption {
  font-size: 13px;
  color: rgba(245, 236, 227, 0.5);
  line-height: 1.55;
  padding: 0 4px;
}

.showcase__caption strong {
  color: rgba(245, 236, 227, 0.85);
  font-weight: 600;
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
  padding: 96px 0;
  background: var(--bg);
}

.pricing__wrapper {
  display: flex;
  justify-content: center;
}

.pricing-card {
  position: relative;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 36px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #e8d0b8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.pricing-card__amount {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
}

.pricing-card__currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.pricing-card__period {
  font-size: 14px;
  color: var(--muted);
  align-self: flex-end;
  padding-bottom: 4px;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pricing-card__features li span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.4;
}

.check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__free {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

.pricing-card__free a {
  color: var(--dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pricing-card__free a:hover { color: var(--accent); }

/* =============================================
   DARK CTA
   ============================================= */
.cta-dark {
  position: relative;
  background: var(--dark-section);
  overflow: hidden;
  padding: 96px 0;
}

.cta-dark__waves {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}
.cta-dark__waves svg {
  width: 100%;
  height: 100%;
}

.cta-dark__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-dark__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #f5ece3;
  margin-bottom: 18px;
  line-height: 1.25;
}

.cta-dark__inner p {
  font-size: 15px;
  color: rgba(245, 236, 227, 0.65);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 96px 0;
  background: var(--bg-white);
}

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

.contact__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.contact__info > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark);
}

.contact__details li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact__details a:hover { color: var(--accent); }

/* --- Form --- */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c0b4ab;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.form__status {
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  color: var(--accent);
}

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

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

.footer__logo {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.footer__tagline {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--dark); }

.footer__copy {
  width: 100%;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

/* =============================================
   HERO TRUST LINE
   ============================================= */
.hero__trust {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.how-it-works .section__title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--dark);
  margin: 12px 0 48px;
}

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

.step {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
}

.step__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* =============================================
   USE CASES
   ============================================= */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.use-case {
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 20px;
}

.use-case__query {
  font-size: 14px;
  font-weight: 500;
  color: #FAFAF8;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.5;
}

.use-case__result {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

/* =============================================
   RESPONSIVE — TABLET & MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {

  /* Navbar */
  .navbar__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .navbar__nav.is-open { display: flex; }
  .navbar__nav a {
    padding: 12px 24px;
  }

  .navbar__actions {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__inner {
    position: relative;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__sub { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__trust { text-align: center; }
  .hero__mockup {
    height: 260px;
    order: -1;
  }

  /* Features */
  .features__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Showcase */
  .showcase__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .showcase__stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase__shot--secondary {
    transform: translateY(0);
  }

  /* Pricing */
  .pricing-card {
    padding: 36px 24px;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer__tagline { flex: unset; }
  .footer__links {
    gap: 14px;
  }

  /* How it works */
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Use cases */
  .use-cases {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
}
