/* ============================================================
   DhiDoc Website Styles
   Theme: Cream + Orange, minimal, futuristic, natural
   ============================================================ */

:root {
  /* Brand colors - matching product UI screenshots */
  --cream: #FAF7F2;
  --cream-soft: #FDFAF5;
  --cream-deep: #F4EFE6;
  --orange: #FF7A1A;
  --orange-hover: #E66800;
  --orange-soft: #FFE8D6;
  --orange-light: #FFF4EB;

  /* Text */
  --ink: #1F1B16;
  --ink-soft: #5C544A;
  --ink-muted: #9A9088;

  /* Lines */
  --line: #EDE6D8;
  --line-soft: #F5F0E5;

  /* Accents (subtle) */
  --green-dot: #1FA56F;
  --purple-soft: #6B5BD2;

  /* Type & spacing */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max: 1200px;
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== Container ===== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top nav ===== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.05em;
}

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

.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--orange-light);
  color: var(--orange-hover);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--orange-soft);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero h1 .accent { color: var(--orange); }

.hero .sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.hero-trust {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ===== Section ===== */
.section {
  padding: 80px 0;
}

.section-tight { padding: 56px 0; }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(32px, 4.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 20px;
}

.section .lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===== Feature grid ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s;
}

.feature:hover {
  border-color: var(--orange-soft);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

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

.feature p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== Product mockup section ===== */
.product-showcase {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
}

.mockup-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.mockup-tab {
  padding: 8px 16px;
  background: var(--cream-deep);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.mockup-tab.active {
  background: var(--orange);
  color: white;
}

/* ===== Stats row ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 40px 0;
}

.stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 14px;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

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

.price-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--orange);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.price-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.price-amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-amount .period {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-muted);
}

.price-tagline {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 8px 0 24px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF7A1A' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== City/Local Hero ===== */
.local-hero {
  padding: 60px 0 80px;
  position: relative;
}

.local-hero .breadcrumb {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.local-hero .breadcrumb a {
  color: var(--ink-soft);
}

.local-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 800px;
}

/* ===== Two column layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Mock-up card for product previews ===== */
.mockup-card {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.mockup-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.mockup-bar span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--orange-soft); }

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  color: var(--orange);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===== CTA section ===== */
.cta-banner {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  margin: 40px 0;
}

.cta-banner h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: var(--orange);
}

/* ===== Footer ===== */
.footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-brand p {
  color: var(--ink-soft);
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-made {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.footer-made .heart {
  color: var(--orange);
  font-size: 14px;
}

/* ===== Mobile nav ===== */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }
  .cta-banner { padding: 40px 24px; }
  .stats { padding: 32px 24px; }
}

/* ===== Trust logos / pill row ===== */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0;
}

.pill {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ===== Local proof box ===== */
.local-proof {
  background: var(--orange-light);
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.local-proof-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.local-proof p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}

.local-proof p strong { color: var(--orange-hover); }
