/* =========================================================
   VJ New Launch - Upper Kharadi | Landing Page Styles
   ========================================================= */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --bg: #ffffff;
  --tint: #f5f5f7;
  --accent: #0f6b3f;
  --accent-2: #0b5431;
  --accent-soft: #e8f3ec;
  --gold: #b8873b;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow-light { color: #8fd3ad; }

.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; margin: 20px 0 28px; }
.micro { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(15, 107, 63, 0.25); }
.btn-primary:hover { background: var(--accent-2); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--tint); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { filter: brightness(0.95); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 0.85rem; padding: 9px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; flex-wrap: wrap; }
.topbar-timer { background: rgba(255, 255, 255, 0.14); padding: 2px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; font-weight: 600; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.header.scrolled { border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
}
.brand-mark-sm { width: 34px; height: 34px; font-size: 0.85rem; margin-bottom: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-weight: 700; font-size: 0.95rem; }
.brand-sub { font-size: 0.78rem; color: var(--muted); }

.nav { display: flex; gap: 28px; font-size: 0.9rem; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; gap: 8px; }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform 0.25s ease, top 0.25s ease; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { font-size: 0.8rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.chip-live { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.hero-price {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 24px; max-width: 580px;
}
.hero-price .label { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-price .value { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-price .value-sm { font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
.hero-price .divider { width: 1px; align-self: stretch; background: var(--line); }
sup { font-size: 0.55em; color: var(--muted); }

.hero-points li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-2); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f6b3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-visual { margin-top: 56px; position: relative; }
.hero-visual img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; border-radius: 24px; }
.hero-visual figcaption, .g-item figcaption {
  position: absolute; left: 36px; bottom: 14px;
  font-size: 0.72rem; color: #fff; background: rgba(0, 0, 0, 0.45);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Form card ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.form-card-head h2 { font-size: 1.55rem; margin-bottom: 8px; }
.form-card-head p { font-size: 0.92rem; color: var(--muted); margin-bottom: 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 0.98rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease; appearance: none; -webkit-appearance: none;
}
.field select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center/12px no-repeat;
  padding-right: 38px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 107, 63, 0.12); }
.field.error input { border-color: #d70015; }
.field .err-msg { display: block; color: #d70015; font-size: 0.78rem; margin-top: 5px; }

.phone-wrap { display: flex; }
.phone-wrap .cc {
  display: grid; place-items: center; padding: 0 14px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid var(--line); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--tint);
}
.phone-wrap input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.consent { display: flex; gap: 10px; font-size: 0.75rem; color: var(--muted); margin: 6px 0 18px; line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 12px; }
.lead-form button[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 28px; }
.step-no { display: block; font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card-featured { border: 2px solid var(--accent); }
.pc-badge {
  position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.pc-type { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.pc-area { font-size: 0.9rem; color: var(--muted); }
.pc-price { font-size: 1.3rem; font-weight: 700; margin: 14px 0 20px; }
.pc-price small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.price-card .btn { margin-top: auto; }

.disclaimer-box {
  margin-top: 28px; font-size: 0.82rem; color: var(--muted); background: var(--tint);
  border-radius: var(--radius-sm); padding: 16px 20px; line-height: 1.55;
}

/* Highlights */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hl { background: #fff; border-radius: var(--radius); padding: 32px 28px; }
.hl-num { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); margin-bottom: 10px; line-height: 1; }
.hl h3 { margin-bottom: 8px; }
.hl p { color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { left: 14px; }
.g-large { grid-row: span 2; }
.g-wide { grid-column: span 2; }

.am-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 56px 0 40px; }
.am-col h3 { padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.am-col li { padding: 6px 0; color: var(--ink-2); font-size: 0.95rem; }

/* Developer */
.section-dark { background: #0d0d0f; color: #f5f5f7; }
.section-dark p { color: #a1a1a6; margin-top: 18px; font-size: 1.05rem; }
.section-dark strong { color: #fff; }
.dev-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.dev-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ds { background: #1c1c1e; border-radius: var(--radius); padding: 26px 22px; }
.ds-num { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 6px; }
.ds-label { font-size: 0.86rem; color: #a1a1a6; line-height: 1.45; display: block; }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.loc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.loc-group h3 { font-size: 1rem; margin-bottom: 10px; color: var(--accent); }
.loc-group li { padding: 5px 0 5px 18px; position: relative; color: var(--ink-2); font-size: 0.94rem; }
.loc-group li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); margin-bottom: 14px; background: var(--tint); }

.infra { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.infra-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.infra-num { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.infra-label { font-size: 0.86rem; color: var(--muted); }

/* FAQ */
.faq details { background: #fff; border-radius: var(--radius-sm); margin-bottom: 12px; padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Final CTA */
.final-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.final-cta p { color: var(--muted); margin: 16px 0 28px; font-size: 1.08rem; }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--tint); padding: 56px 0 110px; font-size: 0.85rem; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.footer-title { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.76rem; line-height: 1.6; margin-bottom: 16px; }
.footer-copy { font-size: 0.76rem; }

/* Mobile bar */
.mobile-bar { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity 0.25s ease, visibility 0.25s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 34px 30px 28px;
  box-shadow: var(--shadow-lg); transform: translateY(20px) scale(0.98); transition: transform 0.3s ease; max-height: 92vh; overflow-y: auto;
}
.modal.open .modal-dialog { transform: none; }
.modal-dialog h2 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-sub { color: var(--muted); font-size: 0.93rem; margin-bottom: 22px; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; line-height: 1; color: var(--muted); background: var(--tint); }
.modal-close:hover { color: var(--ink); }
.tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--accent-soft); color: var(--accent); font-size: 1.8rem; font-weight: 700; }
body.modal-lock { overflow: hidden; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn-ghost { display: none; }
  .nav-open .nav {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .am-grid { grid-template-columns: repeat(2, 1fr); }
  .infra { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-grid, .dev-grid, .loc-grid, .final-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .hl-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
  .g-large { grid-row: auto; grid-column: span 2; }
  .g-wide { grid-column: span 2; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .topbar { font-size: 0.76rem; }
  .header-cta { display: none; }
  .hero-price { gap: 16px; padding: 16px 18px; }
  .hero-price .divider { display: none; }
  .hero-price > div { flex: 1 1 40%; }
  .price-grid, .am-grid, .infra, .loc-list, .dev-stats, .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .hero-visual { margin-top: 36px; }
  .hero-visual figcaption { left: 28px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .g-item { height: 220px; }
  .g-large, .g-wide { grid-column: auto; }
  .final-actions .btn { flex: 1; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mb-btn { display: grid; place-items: center; height: 46px; border-radius: 12px; font-weight: 600; font-size: 0.92rem; border: 1.5px solid var(--line); }
  .mb-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
  .mb-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
}
