/* ===== Stayrent Website: design board ke rang ===== */
:root {
  --teal: #0e9fb8;
  --blue: #2563eb;
  --deep: #0b3b4a;
  --ink: #1b1f23;
  --muted: #6b7280;
  --line: #e8e8ec;
  --soft: #e3f6f9;
  --bg: #f4fafb;
  --card: #ffffff;
  --radius: 18px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6;
  overflow-x: clip; /* side-scroll band (sticky header ko nahi todta) */
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p, li, a, h1, h2, h3 { overflow-wrap: break-word; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.muted { color: var(--muted); }

/* Menu link click par section header ke neeche na chhupe */
section[id], [id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Keyboard focus saaf dikhe */
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(14, 159, 184, 0.45);
  outline-offset: 2px;
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--deep); font-size: 18px; flex-shrink: 0; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); font-size: 14px; }
.nav a.nav-app { display: none; } /* "Get the app" menu item: sirf phone par */

/* Hamburger button (sirf mobile par dikhega) */
.menu-btn {
  display: none; width: 42px; height: 42px; flex-shrink: 0;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  color: var(--deep); font-size: 20px; line-height: 1; cursor: pointer;
  font-family: inherit;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: linear-gradient(90deg, var(--teal), var(--blue)); color: #fff; border: none; }
.btn-lang { padding: 6px 12px; border-radius: 999px; }

/* Hover sirf mouse wale devices par (phone par "chipka hua" hover nahi) */
@media (hover: hover) {
  .nav a:hover { color: var(--teal); }
  .btn-primary:hover { filter: brightness(1.05); }
  .footer .links a:hover { color: var(--teal); }
}

/* ===== Hero ===== */
.hero { background: linear-gradient(160deg, #c9f0f6, #eefbfd 60%, #fff); padding: 60px 0 40px; }
.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.pill {
  display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--deep);
}
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.15; margin: 14px 0; color: var(--deep); font-weight: 800; }
.hero h1 span {
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); max-width: 520px; }
.search {
  display: flex; gap: 10px; flex-wrap: wrap; background: #fff; padding: 10px;
  border-radius: 14px; box-shadow: 0 10px 30px rgba(14, 159, 184, 0.12); margin-top: 18px; max-width: 560px;
}
.search select {
  flex: 1; min-width: 140px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--soft); font-family: inherit; font-size: 14px; color: var(--ink);
}
.ticks { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--deep); }
.phone {
  justify-self: center; width: 240px; height: 460px; border: 10px solid #0b1b24; border-radius: 34px;
  background: linear-gradient(180deg, #6366f1, #0e9fb8); display: grid; place-items: center;
  box-shadow: 0 30px 60px rgba(11, 59, 74, 0.25);
}
.phone img { width: 96px; height: 96px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.number { background: #fff; border-radius: 14px; padding: 16px; text-align: center; border: 1px solid var(--line); }
.number b { display: block; font-size: 26px; color: var(--teal); font-weight: 800; }
.number span { font-size: 12px; color: var(--muted); }

/* ===== Sections ===== */
section { padding: 60px 0; }
section.alt { background: #e9f8fa; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(22px, 3.5vw, 32px); margin: 0; color: var(--deep); font-weight: 800; line-height: 1.25; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
.cards { display: grid; gap: 16px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.card h3 { margin: 10px 0 4px; font-size: 16px; color: var(--deep); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--soft);
  display: grid; place-items: center; font-size: 20px;
}
.step-no {
  width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--blue)); display: grid; place-items: center;
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }

/* ===== Owners ===== */
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.owners h2 { color: var(--deep); font-size: clamp(22px, 3.5vw, 30px); margin: 0 0 6px; line-height: 1.25; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { padding: 16px 18px; cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--teal); font-size: 20px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ===== App banner ===== */
.app-banner {
  background: linear-gradient(135deg, #0b3b4a, #0e7490); color: #fff; border-radius: 22px;
  padding: 40px 20px; text-align: center;
}
.app-banner h2 { margin: 0; font-size: clamp(22px, 4vw, 28px); line-height: 1.25; }
.app-banner p { color: #cde9ef; }
.store-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; }
.footer .container { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer .links { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.footer .links a { color: var(--muted); }

/* ===== Legal pages (Privacy, Terms, Delete) ===== */
.legal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin: 30px auto; max-width: 820px; }
.legal h1 { color: var(--deep); margin-top: 0; font-size: clamp(24px, 4vw, 32px); line-height: 1.25; }
.legal h2 { color: var(--deep); font-size: 18px; margin-top: 26px; }
.legal li { margin: 4px 0; }
.legal ul, .legal ol { padding-left: 22px; }
.legal a { overflow-wrap: anywhere; } /* lambe email/URL screen se bahar na jaayein */
.legal table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; font-size: 14px; }

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

/* ----- Chhota laptop / bada tablet ----- */
@media (max-width: 1024px) {
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; }
}

/* ----- Tablet + phone: hamburger menu ----- */
@media (max-width: 860px) {
  :root { --header-h: 60px; }

  .header .container { gap: 10px; }
  .header .logo { margin-right: auto; font-size: 17px; }
  .header .btn { padding: 8px 12px; font-size: 13px; }

  .menu-btn { display: inline-flex; order: 99; }

  /* Nav band; hamburger dabane par header ke neeche khulega */
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 4%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(11, 59, 74, 0.12);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .header.menu-open .nav { display: flex; }
  .nav a {
    display: block; padding: 14px 6px; font-size: 15px; font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: none; }
  .nav a.nav-app { display: none; }

  .hero { padding: 40px 0 32px; }
  .hero .container, .owners { grid-template-columns: 1fr; }
  .hero p, .search { max-width: 100%; }
  .phone { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
  .cards.c3, .cards.c4 { grid-template-columns: 1fr 1fr; }
  .owners { gap: 20px; }
  .footer .container { justify-content: center; text-align: center; }
  .footer .links { margin-left: 0; justify-content: center; }
}

/* ----- Phone ----- */
@media (max-width: 520px) {
  section { padding: 44px 0; }
  .section-head { margin-bottom: 22px; }

  .logo img { width: 28px; height: 28px; }

  /* Header me jagah kam hai: "Get the app" button menu ke andar chala jaye */
  .header .btn-primary { display: none; }
  .nav a.nav-app {
    display: block; margin-top: 8px; text-align: center; color: #fff;
    border-bottom: none; border-radius: 12px; font-weight: 700;
    background: linear-gradient(90deg, var(--teal), var(--blue));
  }

  /* Search box: dropdown aur button poori width me, ek ke neeche ek */
  .search { padding: 8px; gap: 8px; }
  .search > * { flex: 1 1 100%; width: 100%; }
  .search select { font-size: 16px; padding: 12px; } /* 16px se kam par phone zoom karta hai */
  .search .btn { padding: 12px 18px; font-size: 15px; }

  .numbers { gap: 10px; }
  .number { padding: 12px 8px; }
  .number b { font-size: 22px; }

  .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .card { padding: 18px; }

  .chip { padding: 7px 13px; font-size: 13px; }

  .faq summary { padding: 14px 16px; font-size: 15px; }
  .faq details p { padding: 0 16px 14px; font-size: 14px; }

  .app-banner { padding: 30px 16px; border-radius: 18px; }
  .store-btns { flex-direction: column; align-items: stretch; }
  .store-btns .btn, .store-btns a { width: 100%; }

  .legal { padding: 20px; margin: 16px auto; border-radius: 14px; }
  .legal h2 { font-size: 17px; }
}

/* ----- Bahut chhote phone (320–360px) ----- */
@media (max-width: 360px) {
  .container { width: 94%; }
  .logo { font-size: 15px; gap: 6px; }
  .header .btn { padding: 7px 10px; font-size: 12px; }
  .menu-btn { width: 38px; height: 38px; font-size: 18px; }
  .hero h1 { font-size: 26px; }
  .ticks { font-size: 12px; }
  .number b { font-size: 20px; }
  .number span { font-size: 11px; }
}

/* Jo log animation kam chahte hain */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}