/* =============================================
   ABROAD ROOMS — Coming Soon Page
   style.css  |  Clean, modern startup UI
   ============================================= */

/* ── 1. Variables ─────────────────────────── */
:root {
  --bg:        #000000;
  --surface:   #08090f;
  --surface2:  #11141f;
  --border:    rgba(255,255,255,0.14);
  --border2:   rgba(255,255,255,0.08);

  /* Brand */
  --blue:      #1f37ed;
  --blue-lt:   #7f8cff;
  --amber:     #1f37ed;
  --amber-lt:  #7f8cff;
  --teal:      #1f37ed;

  --text:      #ffffff;
  --text-2:    #d9dcff;
  --text-3:    #8d92b8;

  --font:      'Plus Jakarta Sans', system-ui, sans-serif;
  --serif:     'Fraunces', Georgia, serif;

  --r-sm:  0.5rem;
  --r-md:  1rem;
  --r-lg:  1.25rem;
  --r-xl:  2rem;
  --r-full:100px;

  --ease:  cubic-bezier(.25,.46,.45,.94);
}

/* ── 2. Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ── 3. Background layers ─────────────────── */
.bg-root {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Full-cover blurred room image */
.bg-img {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1493809842364-78817add7ffb?w=1600&q=60')
    center center / cover no-repeat;
  filter: blur(2px) saturate(0.4);
  transform: scale(1.05);
  opacity: 0.18;
}

/* Dark gradient overlay */
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,12,20,0.96) 0%, rgba(10,12,20,0.80) 60%, rgba(10,12,20,0.92) 100%);
}

/* Particle canvas */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

/* Subtle noise texture */
.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ── 4. Navbar ────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(10,12,20,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  animation: navIn .7s var(--ease) both;
}

@keyframes navIn {
  from { opacity:0; transform:translateY(-20px); }
  to   { opacity:1; transform:translateY(0); }
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.brand-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon.sm { width: 26px; height: 26px; border-radius: 7px; }

.brand-icon[src] {
  display: inline-block;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand-name strong { font-weight: 700; color: #fff; }

.nav-badge {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  color: var(--blue-lt);
  background: rgba(31,55,237,.12);
  border: 1px solid rgba(31,55,237,.22);
  padding: .3rem .9rem;
  border-radius: var(--r-full);
}

/* ── 5. Layout wrappers ───────────────────── */
main { position: relative; z-index: 1; }

/* ── 6. Hero ──────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 9rem 5% 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Hero Left ---- */
.hero-left { animation: heroIn .9s var(--ease) .15s both; }

@keyframes heroIn {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--blue-lt);
  background: rgba(31,55,237,.12);
  border: 1px solid rgba(31,55,237,.2);
  padding: .28rem .75rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
}

/* Headline */
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(90deg, var(--blue-lt) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--blue-lt);
  font-weight: 600;
}

/* Country chips */
.country-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 2rem;
}

.country-chips span {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: .25rem .75rem;
  white-space: nowrap;
  transition: border-color .25s, color .25s;
}

.country-chips span:hover {
  border-color: var(--blue);
  color: var(--text);
}

/* Countdown box */
.countdown-box {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.4rem 2rem;
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.cd-label {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .75rem;
}

.countdown {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.cd-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(160deg, #fff 30%, var(--blue-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform .12s, opacity .12s;
}

.cd-num.flip { transform: scaleY(.8); opacity: .5; }

.cd-sub {
  font-size: .6rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: .35rem;
}

.cd-sep {
  font-size: 1.8rem;
  color: rgba(255,255,255,.12);
  margin-bottom: .9rem;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: .15; }
}

/* Email form */
.notify-form {
  display: flex;
  gap: .5rem;
  max-width: 480px;
  margin-bottom: .6rem;
}

.field-wrap {
  position: relative;
  flex: 1;
}

.field-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-3);
  pointer-events: none;
  transition: color .2s;
}

.field-wrap:focus-within .field-icon { color: var(--blue-lt); }

.field-wrap input[type="email"],
.cta-form input[type="email"] {
  width: 100%;
  padding: .85rem 1rem .85rem 2.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: border-color .25s, background .25s;
}

.field-wrap input[type="email"]::placeholder,
.cta-form input[type="email"]::placeholder { color: var(--text-3); }

.field-wrap input[type="email"]:focus,
.cta-form input[type="email"]:focus {
  border-color: var(--blue);
  background: rgba(31,55,237,.06);
}

/* CTA button */
.btn-notify {
  padding: .85rem 1.6rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lt) 100%);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: var(--r-lg);
  white-space: nowrap;
  box-shadow: 0 4px 30px rgba(31,55,237,.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(31,55,237,.5);
  filter: brightness(1.1);
}

.btn-notify:active { transform: translateY(0); }

.form-status {
  font-size: .8rem;
  min-height: 1.2em;
  margin-top: .3rem;
}

.form-status.ok  { color: var(--blue-lt); }
.form-status.err { color: #f87171; }

.form-note {
  font-size: .7rem;
  color: var(--text-3);
  margin-top: .3rem;
}

/* ---- Hero Right: floating room cards ---- */
.hero-right {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 1.25rem;
  justify-items: center;
  align-items: start;
  align-content: start;
  min-height: 520px;
  animation: heroIn .9s var(--ease) .35s both;
}

/* Individual room card */
.room-card {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  width: 100%;
  max-width: 240px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.room-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31,55,237,.45);
}

.rc1 { grid-column: 1 / span 2; grid-row: 1; }
.rc2 { grid-column: 1 / 2; grid-row: 2; }
.rc3 { grid-column: 2 / 3; grid-row: 2; }

.rc-img {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.rc-body { padding: 1rem 1.1rem 1.1rem; }

.rc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .4rem;
}

.rc-badge {
  font-size: .65rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(31,55,237,.14);
  border: 1px solid rgba(31,55,237,.22);
  padding: .18rem .55rem;
  border-radius: var(--r-full);
  letter-spacing: .06em;
}

.rc-price {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.rc-price small {
  font-size: .65rem;
  font-weight: 400;
  color: var(--text-3);
}

.rc-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .2rem;
}

.rc-loc {
  font-size: .72rem;
  color: var(--text-2);
}

/* Floating label badges */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: .4rem 1rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  animation: badgePulse 4s ease-in-out infinite;
}

.fb1 { top: 45%;  left: -5%;  animation-delay: 0s;   color: var(--blue); }
.fb2 { top: 62%;  right: 2%;  animation-delay: -1.5s; color: var(--blue-lt); }
.fb3 { top: 10%;  right: 2%;  animation-delay: -3s;   color: var(--blue-lt); }

@keyframes badgePulse {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.03); }
}

/* ── 7. Stats strip ───────────────────────── */
.stats-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}

.stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; }

.sn {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue-lt), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sl {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.sdiv {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── 8. Features ──────────────────────────── */
.features-sec {
  position: relative;
  z-index: 1;
  padding: 6rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sec-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: .75rem;
}

.sec-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
}

.sec-title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(90deg, var(--blue-lt) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Masonry-ish auto grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.2rem;
  align-items: stretch;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 280px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp .6s var(--ease) forwards;
}

/* Give each card a staggered delay via nth-child */
.feat-card:nth-child(1) { animation-delay: .1s; }
.feat-card:nth-child(2) { animation-delay: .2s; }
.feat-card:nth-child(3) { animation-delay: .3s; }
.feat-card:nth-child(4) { animation-delay: .4s; }
.feat-card:nth-child(5) { animation-delay: .5s; }
.feat-card:nth-child(6) { animation-delay: .6s; }

@keyframes revealUp {
  to { opacity:1; transform:translateY(0); }
}

/* Wide cards span 1 column for uniform size */
.fc-wide { grid-column: span 1; }

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,55,237,.04) 0%, transparent 60%);
  pointer-events: none;
}

.feat-card:hover {
  border-color: rgba(31,55,237,.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(31,55,237,.1);
}

.fc-icon {
  font-size: 2rem;
  margin-bottom: .9rem;
}

.feat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .45rem;
}

.feat-card p {
  font-size: .84rem;
  line-height: 1.65;
  color: var(--text-2);
}

/* ── 9. Audience section ──────────────────── */
.audience-sec {
  position: relative;
  z-index: 1;
  padding: 6rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.aud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.2rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s;
}

.aud-card:hover {
  border-color: rgba(31,55,237,.35);
  transform: translateY(-6px);
}

/* Featured card has accent border + slight glow */
.aud-featured {
  border-color: rgba(31,55,237,.35);
  background: linear-gradient(160deg, rgba(31,55,237,.06) 0%, var(--surface) 60%);
  box-shadow: 0 0 40px rgba(31,55,237,.08);
}

.aud-featured:hover { border-color: var(--blue); }

.aud-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-lt) 100%);
  padding: .28rem 1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.aud-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.aud-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.aud-card p {
  font-size: .84rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.aud-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.aud-card ul li {
  font-size: .8rem;
  color: var(--text-2);
}

/* ── 10. Bottom CTA ───────────────────────── */
.cta-sec {
  position: relative;
  z-index: 1;
  padding: 6rem 5%;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 0 80px rgba(31,55,237,.08);
}

.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.cta-inner p {
  font-size: .95rem;
  color: var(--text-2);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.cta-inner strong { color: var(--blue-lt); }

.cta-form {
  display: flex;
  gap: .5rem;
  max-width: 460px;
  margin: 0 auto .6rem;
}

.cta-form input[type="email"] {
  flex: 1;
  padding: .85rem 1.1rem;
}

/* ── 11. Footer ───────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 5%;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.footer-brand strong { font-weight: 700; }

.footer-copy {
  font-size: .72rem;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: .75rem;
  color: var(--text-3);
  letter-spacing: .04em;
  transition: color .2s;
}

.footer-links a:hover { color: var(--blue-lt); }

/* ── 12. Responsive ───────────────────────── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-wide   { grid-column: span 1; }
  .aud-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 5% 4rem;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-right { display: none; } /* hide cards on mobile */

  .tag-row {
    justify-content: center;
  }

  .country-chips {
    justify-content: center;
  }

  .countdown-box {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .notify-form {
    flex-direction: column;
    max-width: 100%;
  }

  .btn-notify {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .feat-grid { grid-template-columns: 1fr; }
  .fc-wide   { grid-column: span 1; }

  .aud-grid  { grid-template-columns: 1fr; }
  .aud-featured { margin-top: 1rem; }

  .cta-form {
    flex-direction: column;
    max-width: 100%;
  }

  .cta-sec .btn-notify {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 600px) {
  .hero {
    padding: 5rem 5% 3rem;
  }

  .hero-h1 {
    font-size: 2.30rem;
  }

  .hero-p {
    font-size: 1rem;
  }

  .countdown {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cd-sep {
    display: none;
  }

  .stats-strip {
    padding: 2rem 1rem;
  }

  .features-sec,
  .audience-sec,
  .cta-sec {
    padding: 4rem 5%;
  }

  .feat-card,
  .aud-card {
    padding: 1.5rem 1.25rem;
  }

  .cta-inner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .navbar { padding: .9rem 1.2rem; }
  .brand-name { font-size: 1.1rem; }
  .countdown-box { padding: 1rem 1.2rem; }
  .cd-num { font-size: 1.6rem; }

  .stats-strip { flex-direction: column; gap: 1.2rem; }
  .sdiv { display: none; }
}
