/* ==========================================================================
   GetRent — landing site design system
   Brand: royal cobalt blue + white, bold geometric grotesque.
   ========================================================================== */

:root {
  /* Brand */
  --blue-900: #0d1f63;
  --blue-800: #122a86;
  --blue-700: #16309b;   /* icon background */
  --blue-600: #1c3fbf;
  --blue-500: #2f63e0;   /* button / accent */
  --blue-400: #5b86ee;
  --blue-100: #e7edff;
  --blue-50:  #f2f6ff;

  --ink:      #0e1533;
  --ink-70:   #3a4265;
  --ink-50:   #6b7291;
  --line:     #e6e9f5;
  --bg:       #ffffff;
  --bg-soft:  #f6f8ff;
  --white:    #ffffff;

  --green:    #16a06a;
  --red:      #e2543f;

  --radius:   18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(16, 30, 90, .06);
  --shadow:    0 18px 44px rgba(16, 30, 90, .12);
  --shadow-lg: 0 34px 80px rgba(13, 31, 99, .28);

  --maxw: 1160px;
  --gap:  clamp(1rem, 3vw, 2rem);

  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
ul { padding-left: 1.2em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--soft { background: var(--bg-soft); }
.section--blue { background: linear-gradient(160deg, var(--blue-700), var(--blue-900)); color: #fff; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: .9rem;
}
.section--blue .eyebrow { color: var(--blue-400); }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.section-head p { margin-top: 1rem; color: var(--ink-70); font-size: 1.08rem; }
.section--blue .section-head p { color: rgba(255,255,255,.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 12px 26px rgba(47, 99, 224, .38); }
.btn--primary:hover { background: var(--blue-600); }
.btn--light { background: #fff; color: var(--blue-700); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); }
.section--blue .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }

/* App Store badge */
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; border: 1px solid #a6a6a6; border-radius: 12px;
  padding: 9px 18px; min-width: 190px;
  transition: transform .15s ease, border-color .15s ease;
}
.store-badge:hover { transform: translateY(-2px); text-decoration: none; border-color: #fff; }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; fill: #fff; }
.store-badge .sb-text { line-height: 1.12; text-align: left; }
.store-badge .sb-small { display: block; font-size: .68rem; font-weight: 400; color: #fff; letter-spacing: .01em; }
.store-badge .sb-big { display: block; font-size: 1.22rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--ink-70); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--blue-600); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; font-size: .92rem; color: var(--ink-70); padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + .5rem); background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: .4rem; min-width: 148px;
}
.lang-menu a { display: block; padding: .55rem .8rem; border-radius: 9px; color: var(--ink-70); font-weight: 600; font-size: .92rem; }
.lang-menu a:hover { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn { padding: .7rem 1.1rem; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(165deg, var(--blue-700) 0%, var(--blue-900) 62%, #0a1852 100%); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 82% 12%, rgba(91,134,238,.42), transparent 60%),
              radial-gradient(45% 45% at 8% 88%, rgba(47,99,224,.34), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-badges { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .4rem .9rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #fff; margin-bottom: 1.4rem; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 3.9rem); letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--blue-400); }
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: rgba(255,255,255,.86); max-width: 34ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-trust { margin-top: 1.6rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600; }
.hero-trust .stars { color: #ffcf4d; letter-spacing: .1em; }
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-media .phone { max-width: 320px; width: 78%; }
.hero-shot { width: 82%; max-width: 380px; height: auto; transform: rotate(-3deg); filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
@media (max-width: 980px) { .hero-shot { transform: none; max-width: 300px; } }

/* Phone frame */
.phone { position: relative; border-radius: 42px; box-shadow: var(--shadow-lg); overflow: hidden; border: 6px solid #0b1330; background: #0b1330; }
.phone img { display: block; width: 100%; border-radius: 36px; }
.phone--tilt { transform: rotate(-4deg); }

/* ---------- Logos / trust strip ---------- */
.trust-strip { border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; padding-block: 2rem; }
.trust-grid .stat { }
.trust-grid .num { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: #fff; }
.trust-grid .lbl { font-size: .86rem; color: rgba(255,255,255,.72); font-weight: 600; margin-top: .2rem; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.1rem; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--ink-70); font-size: .98rem; }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 1.8rem); align-items: start; }
.shot { text-align: center; }
.shot .phone { margin-inline: auto; max-width: 260px; }
.shot figcaption { margin-top: 1.1rem; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.shot p { color: var(--ink-50); font-size: .9rem; margin-top: .25rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--blue-700); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.step p { color: var(--ink-70); font-size: .95rem; }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.guide-card {
  display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); text-decoration: none; }
.guide-card .tag { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); }
.guide-card h3 { font-size: 1.14rem; color: var(--ink); }
.guide-card p { color: var(--ink-70); font-size: .95rem; }
.guide-card .more { margin-top: auto; font-weight: 700; color: var(--blue-600); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0; font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 26px; height: 26px; position: relative; transition: transform .2s ease; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--blue-500); border-radius: 2px; }
.faq-item summary .plus::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-item summary .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2px; transition: transform .2s ease; }
.faq-item[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding-bottom: 1.4rem; color: var(--ink-70); }
.faq-body p { margin-bottom: .6rem; }
.faq-body .learn-more { font-weight: 700; color: var(--blue-600); }

/* ---------- CTA ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--blue-700), var(--blue-900)); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 10%, rgba(91,134,238,.4), transparent 60%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.cta-box p { margin: 1rem auto 2rem; max-width: 46ch; color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1330; color: rgba(255,255,255,.7); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { }
.footer-about { margin-top: 1rem; max-width: 34ch; font-size: .94rem; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,.7); padding: .3rem 0; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }
.footer-store img { height: 48px; }

/* ---------- Guide article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.breadcrumbs { font-size: .86rem; color: var(--ink-50); margin-bottom: 1.4rem; }
.breadcrumbs a { color: var(--ink-50); font-weight: 600; }
.article h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 1rem; }
.article .lead { font-size: 1.18rem; color: var(--ink-70); margin-bottom: 2rem; }
.article h2 { font-size: 1.5rem; margin: 2.4rem 0 .9rem; }
.article h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.article p { margin-bottom: 1.1rem; color: var(--ink-70); }
.article ul, .article ol { margin-bottom: 1.1rem; color: var(--ink-70); }
.article li { margin-bottom: .5rem; }
.article .callout { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 1.8rem 0; }
.article .callout strong { color: var(--blue-700); }
.article-cta { margin-top: 2.6rem; padding: 2rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue-700), var(--blue-900)); color: #fff; text-align: center; }
.article-cta h3 { color: #fff; font-size: 1.4rem; margin-bottom: .6rem; }
.article-cta p { color: rgba(255,255,255,.85); margin-bottom: 1.3rem; }
.article-shot { float: right; max-width: 220px; margin: 0 0 1.2rem 1.6rem; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.related-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-media { margin-top: 2.5rem; }
  .trust-grid { grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
}
@media (max-width: 560px) {
  .feature-grid, .guide-grid, .steps, .shots, .related-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-shot { float: none; margin: 0 auto 1.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
