/* Jupiter Car Rent — "Obsidian & Orange" glass system */
:root {
  --black: #000;
  --obsidian: #0c0c0c;
  --brand: #e57335;
  --brand-2: #f2a33a;
  --text: #ebebeb;
  --text-2: rgb(235 235 235 / .6);
  --text-3: rgb(235 235 235 / .3);
  --line: rgb(255 255 255 / .1);
  --glass: rgb(255 255 255 / .03);
  --blur: blur(16px);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 16px;
  background: var(--black);
  color: var(--text);
  font: 400 1rem/1.6 var(--display);
  -webkit-font-smoothing: antialiased;
}
body::after { /* grain overlay */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: var(--noise);
  opacity: .15;
  mix-blend-mode: overlay;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.06em; line-height: .95; }
p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #000; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.lg { width: 2.25rem; height: 2.25rem; }

/* ---------- Shell + decor ---------- */
.shell {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  background: var(--obsidian);
  border-radius: 2.5rem;
  box-shadow: 0 0 0 1px var(--line), 0 25px 50px -12px rgb(0 0 0 / .5);
  overflow: hidden;
}
.grid-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 1200px;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.g1 { width: 560px; height: 560px; top: -160px; right: 6%; background: radial-gradient(circle, rgb(229 115 53 / .35), transparent 70%); }
.g2 { width: 460px; height: 460px; top: 560px; left: -160px; background: radial-gradient(circle, rgb(242 163 58 / .28), transparent 70%); }
.g3 { width: 520px; height: 520px; top: 30%; right: -180px; background: radial-gradient(circle, rgb(242 163 58 / .22), transparent 70%); }

/* ---------- Shared bits ---------- */
.glass { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--line); }
.tag {
  display: flex;
  align-items: center;
  gap: .5rem;
  font: 500 10px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-2);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; flex: none; }
.dot.off { background: var(--text-3); animation: none; }
.muted { color: var(--text-3); }

.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2rem;
  border: 0;
  border-radius: 9999px;
  background: var(--brand);
  color: #000;
  font: 700 1rem/1 var(--display);
  box-shadow: 0 0 30px rgb(229 115 53 / .3);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-neon:hover { transform: scale(1.05); box-shadow: 0 0 45px rgb(229 115 53 / .45); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  font: 500 .85rem/1 var(--mono);
  letter-spacing: .05em;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.btn-ghost:hover { border-color: rgb(229 115 53 / .5); color: var(--brand); }
.btn-white {
  padding: .65rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-size: .875rem;
  font-weight: 600;
  transition: transform .3s var(--ease);
}
.btn-white:hover { transform: scale(1.05); }

/* ---------- Nav ---------- */
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
}
.logo img { width: auto; height: 4.5rem; }
.foot-brand { display: grid; gap: 1.25rem; }
.foot-brand img { width: auto; height: 4rem; }
.pill {
  display: flex;
  gap: .25rem;
  padding: .375rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgb(255 255 255 / .05);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.pill a { padding: .5rem 1.1rem; border-radius: 9999px; font-size: .875rem; color: rgb(255 255 255 / .7); white-space: nowrap; transition: color .3s var(--ease), background .3s var(--ease); }
.pill a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem;
  align-items: center;
  min-height: min(100vh, 980px);
  padding: 9.5rem 4rem 6rem;
}
.hero-copy { grid-column: span 7; }
.hero-visual { grid-column: span 5; position: relative; }
.hero h1 { margin: 1.75rem 0 2rem; font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 600; line-height: .85; }
.grad {
  display: block;
  padding: 0 .12em .06em 0;
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(90deg, var(--brand), #fff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { max-width: 34rem; color: var(--text-2); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.meta { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.meta dd { margin-top: .5rem; font-size: 1.05rem; letter-spacing: -.02em; }

.mock { border-radius: 2rem; padding: .75rem; box-shadow: 0 40px 80px -24px rgb(0 0 0 / .7); }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .4rem .6rem .9rem; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); }
.mock-bar .tag { margin-left: auto; color: var(--text-3); }
.mock img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 62%; border-radius: 1.5rem; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; padding: 1.1rem .5rem .5rem; }
.field { display: grid; gap: .45rem; }
.field input, .field select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(255 255 255 / .04);
  color: var(--text);
  font: 400 .95rem var(--display);
  color-scheme: dark;
  transition: border-color .3s var(--ease);
}
.field select option { background: var(--obsidian); }
.field input:focus, .field select:focus { outline: none; border-color: rgb(229 115 53 / .6); }
.book .btn-neon { grid-column: 1 / -1; justify-content: center; margin-top: .35rem; }

.float-card {
  position: absolute;
  display: grid;
  gap: .4rem;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  background: rgb(18 18 18 / .55); /* darker than --glass so text stays legible over the photo */
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / .6);
  font-weight: 500;
  letter-spacing: -.02em;
  animation: float 6s ease-in-out infinite;
}
.c1 { top: 2.5rem; left: -3rem; }
.c2 { top: 9rem; right: -2.25rem; animation-delay: -3s; }
.cursor { position: absolute; right: 22%; bottom: -1.75rem; display: flex; align-items: flex-start; animation: float 6s ease-in-out infinite -1.5s; pointer-events: none; }
.cursor svg { width: 22px; height: 22px; fill: var(--brand); filter: drop-shadow(0 2px 6px rgb(0 0 0 / .6)); }
.cursor span { margin: 16px 0 0 -2px; padding: .45rem .8rem; border-radius: 4px 9999px 9999px 9999px; background: var(--brand); color: #000; font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 6rem 4rem 8rem; }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-head h2, .contrast h2, .cta h2 { margin-top: 1.25rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.section-head > p { color: var(--text-2); font-size: 1.05rem; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(16rem, auto); gap: 1rem; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.5rem;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: border-color .4s var(--ease), opacity .8s var(--ease), transform .8s var(--ease);
}
.card:hover { border-color: rgb(229 115 53 / .4); }
.card h3 { font-size: 1.85rem; }
.card p { color: var(--text-2); }
.big { grid-column: span 2; grid-row: span 2; }
.tall { grid-row: span 2; }
.wide { grid-column: span 2; }
.ico { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: auto; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); }
.ico .i { width: 1.25rem; height: 1.25rem; }

.bars { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; min-height: 16rem; margin-top: 1rem; }
.bars > div { display: flex; flex-direction: column; justify-content: flex-end; gap: .9rem; }
.bars i {
  display: block;
  height: var(--h);
  border-radius: 1.25rem;
  border-top: 2px solid var(--brand);
  background: linear-gradient(180deg, rgb(229 115 53 / .18), rgb(255 255 255 / .02));
  transform-origin: bottom;
  transition: transform 1.2s var(--ease) .2s;
}
.bars i.hi { background: var(--brand) var(--noise); background-blend-mode: multiply; box-shadow: 0 0 40px rgb(229 115 53 / .25); }
.bars > div:nth-child(2) i { transition-delay: .3s; }
.bars > div:nth-child(3) i { transition-delay: .4s; }
.bars > div:nth-child(4) i { transition-delay: .5s; }

.swatches { list-style: none; display: grid; gap: .6rem; margin: .5rem 0 0; padding: 0; }
.swatches li { display: flex; align-items: center; gap: .9rem; padding: .55rem; border: 1px solid var(--line); border-radius: 1.1rem; font-weight: 500; letter-spacing: -.02em; }
.swatches i { width: 2.25rem; height: 2.25rem; border-radius: .75rem; background: var(--c); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.swatches span { margin-left: auto; padding-right: .4rem; font: 500 10px var(--mono); color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.chips span { padding: .45rem .9rem; border: 1px solid rgb(229 115 53 / .35); border-radius: 9999px; color: var(--brand); font: 500 10px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; }

.accent { background: var(--brand); color: #000; border-color: transparent; justify-content: flex-end; }
.accent::before { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .35; mix-blend-mode: multiply; pointer-events: none; }
.accent > * { position: relative; }
.accent p { color: rgb(0 0 0 / .7); }
.accent .i.lg { margin-bottom: auto; }
.accent:hover { border-color: transparent; }
.accent-link { color: #000; }

.photo { justify-content: space-between; min-height: 18rem; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: .55; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--obsidian) 5%, rgb(12 12 12 / .2) 70%); }
.photo > :not(img) { position: relative; z-index: 1; }
.photo:hover img { transform: scale(1.04); opacity: .7; }
.photo .tag { color: var(--text); }

/* ---------- Contrast (How it works) ---------- */
.contrast { position: relative; z-index: 1; padding: 7rem 4rem 11rem; border-radius: 4rem 4rem 0 0; background: #e5e5e5; color: #000; }
.contrast-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: center; }
.contrast .tag { color: rgb(0 0 0 / .6); }
.contrast .dot { box-shadow: 0 0 0 1px #000; }
.contrast .sub { margin-top: 1.25rem; color: rgb(0 0 0 / .6); font-size: 1.1rem; }
.steps { list-style: none; display: grid; margin: 3rem 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; padding: 2rem 0; border-top: 1px solid rgb(0 0 0 / .12); }
.num { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid #000; border-radius: 50%; font: 500 .85rem var(--mono); transition: background .3s var(--ease), color .3s var(--ease); }
.steps li:hover .num { background: #000; color: var(--brand); }
.steps h3 { font-size: 1.85rem; }
.steps p { margin: .5rem 0 1rem; color: rgb(0 0 0 / .6); }
.link { display: inline-flex; gap: .4rem; padding-bottom: .2rem; border-bottom: 1px solid; font: 500 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.portrait { position: relative; justify-self: center; width: min(100%, 32rem); margin: 0; }
.portrait img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 55% 45%; filter: grayscale(1) contrast(1.05); }
.quote {
  position: absolute;
  left: 50%;
  bottom: -2rem;
  width: min(92%, 24rem);
  padding: 1.5rem 1.75rem;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / .15);
  border-radius: 2rem;
  background: rgb(12 12 12 / .6);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  color: var(--text);
}
.quote blockquote { margin: 0 0 1rem; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.04em; }
.quote .tag { color: var(--text-2); }
.quote .dot { box-shadow: none; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; margin-top: -4rem; padding: 8rem 4rem 2.5rem; border-radius: 4rem 4rem 0 0; background: var(--black); overflow: hidden; }
.watermark { position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); font-size: clamp(4rem, 15vw, 10rem); font-weight: 700; line-height: 1; letter-spacing: -.06em; color: rgb(255 255 255 / .05); white-space: nowrap; pointer-events: none; user-select: none; }
.cta { position: relative; display: grid; justify-items: center; gap: 2.5rem; text-align: center; }
.cta h2 { max-width: 14ch; margin-top: 0; }
.btn-mega {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 3.25rem;
  border-radius: 9999px;
  background: var(--brand);
  color: #000;
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.04em;
  box-shadow: 0 0 60px rgb(229 115 53 / .25);
}
.btn-mega::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn-mega:hover::before { transform: translateY(0); }
.btn-mega .i { transition: transform .5s var(--ease); }
.btn-mega:hover .i { transform: translateX(6px); }

.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 6rem; }
.contact .card { gap: .9rem; padding: 1.75rem; border-radius: 2rem; }
.contact .v { color: var(--text); font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.5; }
.contact a:hover { color: var(--brand); }
.map { grid-column: 1 / -1; height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 2.5rem; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: center; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--text-2); font-size: .9rem; }
.foot-links a:hover { color: var(--brand); }
.socials { display: flex; justify-content: center; gap: .75rem; }
.socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; color: var(--text-2); font: 500 10px var(--mono); letter-spacing: .05em; transition: border-color .3s var(--ease), color .3s var(--ease); }
.socials a:hover { border-color: var(--brand); color: var(--brand); }
.copy { justify-content: flex-end; color: var(--text-3); }

/* ---------- Motion ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(229 115 53 / .6); }
  70% { box-shadow: 0 0 0 8px rgb(229 115 53 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(229 115 53 / 0); }
}
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bars i { transform: scaleY(0); }
.js .in .bars i { transform: scaleY(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 9rem 2.5rem 6rem; }
  .hero-copy, .hero-visual { grid-column: auto; }
  .hero-visual { width: min(100%, 40rem); }
  .c1 { left: -1rem; } .c2 { right: -1rem; }
  .section, .contrast, .footer { padding-left: 2.5rem; padding-right: 2.5rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .big { grid-row: span 1; }
  .contrast-inner { grid-template-columns: 1fr; gap: 4rem; }
  .contact { grid-template-columns: repeat(2, 1fr); }
  .nav-status { display: none; }
}
@media (max-width: 760px) {
  body { padding: 8px; }
  .shell { border-radius: 2rem; }
  .nav { padding: 1rem; }
  .pill { /* becomes a floating bottom bar on phones */
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 50;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    transform: translateX(-50%);
    background: rgb(20 20 20 / .75);
  }
  .pill a { padding: .55rem .8rem; font-size: .8rem; }
  .hero { gap: 4rem; padding: 7.5rem 1rem 5rem; min-height: 0; }
  .meta { margin-top: 3rem; }
  .book { grid-template-columns: 1fr; }
  .c1 { top: -1.5rem; left: .5rem; } .c2 { top: 6rem; right: .5rem; }
  .section { padding: 4rem 1rem 6rem; }
  .section-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .big, .tall, .wide { grid-column: auto; grid-row: auto; }
  .card { padding: 1.75rem; border-radius: 2rem; }
  .contrast { padding: 5rem 1rem 9rem; border-radius: 2.5rem 2.5rem 0 0; }
  .steps li { gap: 1.25rem; }
  .footer { padding: 7rem 1rem 6.5rem; border-radius: 2.5rem 2.5rem 0 0; }
  .btn-mega { padding: 1.25rem 2rem; }
  .contact { grid-template-columns: 1fr; margin-top: 4rem; }
  .foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-links { justify-content: center; }
  .foot-brand { justify-items: center; }
  .logo img { height: 3.25rem; }
  .copy { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .bars i { opacity: 1; transform: none; }
}
