/* ==========================================================
   LUXURY LANDING PAGE
   Premium Cream + Plum Theme
   Part 1/4
========================================================== */

/* ---------- GOOGLE FONTS ----------
Inter
Cormorant Garamond
----------------------------------- */

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

:root {
  --bg: #f8f4ef;
  --bg-soft: #fcfaf8;
  --card: #fffcfa;

  --primary: #6a4a63;
  --primary-dark: #513649;
  --secondary: #a68aa8;

  --text: #2e2a2e;
  --muted: #726d72;

  --border: rgba(106, 74, 99, 0.12);

  --shadow-sm: 0 10px 30px rgba(56, 37, 52, 0.06);
  --shadow: 0 18px 45px rgba(56, 37, 52, 0.1);
  --shadow-lg: 0 30px 70px rgba(56, 37, 52, 0.14);

  --radius: 28px;

  --transition: 0.35s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
}

body {
  position: relative;

  font-family: "Inter", sans-serif;

  color: var(--text);

  background:
    radial-gradient(circle at top left, #f2e8f3 0%, transparent 45%),
    radial-gradient(circle at bottom right, #f6e9e6 0%, transparent 45%),
    linear-gradient(180deg, #fdfbf9, #f7f2ed);

  overflow-x: hidden;

  line-height: 1.7;
}

/* ================= BACKGROUND GLOW ================= */

body::before {
  content: "";

  position: fixed;

  width: 650px;
  height: 650px;

  background: #e9d7eb;

  border-radius: 50%;

  filter: blur(180px);

  top: -220px;
  left: -220px;

  opacity: 0.45;

  z-index: -2;
}

body::after {
  content: "";

  position: fixed;

  width: 560px;
  height: 560px;

  background: #f5e6e1;

  border-radius: 50%;

  filter: blur(180px);

  bottom: -200px;
  right: -180px;

  opacity: 0.5;

  z-index: -2;
}

/* ================= NAVBAR ================= */

nav {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 24px 8%;

  background: rgba(255, 252, 250, 0.62);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.35);

  z-index: 999;

  transition: all 0.35s ease;
}

.logo {
  font-family: "Cormorant Garamond", serif;

  font-size: 34px;

  letter-spacing: 10px;

  color: var(--primary);
}

.menu {
  display: flex;

  gap: 38px;

  align-items: center;
}

.menu a {
  text-decoration: none;

  color: var(--muted);

  font-size: 15px;

  letter-spacing: 0.6px;

  position: relative;

  transition: var(--transition);
}

.menu a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;

  height: 2px;

  background: var(--primary);

  transition: 0.35s;
}

.menu a:hover {
  color: var(--primary);
}

.menu a:hover::after {
  width: 100%;
}

/* ================= HERO ================= */

.hero {
  min-height: 100vh;

  max-width: 1250px;

  margin: auto;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 150px 24px 80px;
}

.mini-title {
  text-transform: uppercase;

  letter-spacing: 4px;

  font-size: 13px;

  color: var(--secondary);

  margin-bottom: 22px;

  font-weight: 600;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(54px, 8vw, 92px);

  line-height: 1.08;

  font-weight: 600;

  color: var(--text);

  margin-bottom: 26px;
}

.description {
  max-width: 760px;

  color: var(--muted);

  font-size: 19px;

  line-height: 1.95;

  margin-bottom: 52px;
}

/* ================= IMAGE ================= */

.hero-image {
  width: min(700px, 92vw);

  display: block;

  margin: auto;

  animation: float 7s ease-in-out infinite;

  transition: 0.45s ease;

  filter: drop-shadow(0 25px 40px rgba(60, 40, 60, 0.1));
}

.hero-image:hover {
  transform: scale(1.03);
}

/* Elegant Divider */

.section-divider {
  width: 80px;

  height: 2px;

  margin: 40px auto;

  opacity: 0.45;
}

/* ================= ANIMATION ================= */

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0px);
  }
}
/* ==========================================================
   PART 2/4
   Countdown • Waitlist • Buttons
========================================================== */

/* ================= SECTION ================= */

section {
  position: relative;
}

.container {
  width: min(1180px, 92%);

  margin: auto;
}

/* ================= COUNTDOWN ================= */

.countdown-card {
  width: min(1100px, 94%);

  margin: 80px auto;

  padding: 70px 50px;

  background: rgba(255, 255, 255, 0.62);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.55);

  border-radius: 34px;

  box-shadow: var(--shadow);

  text-align: center;
}

.launching {
  font-size: 13px;

  letter-spacing: 5px;

  text-transform: uppercase;

  color: var(--secondary);

  margin-bottom: 18px;

  font-weight: 600;
}

.countdown-card h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 56px;

  color: var(--primary);

  margin-bottom: 50px;
}

/* ================= TIMER ================= */

#countdown {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;
}

/* ================= TIME CARD ================= */

.time-box {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(251, 247, 244, 0.95)
  );

  border-radius: 26px;

  padding: 35px 20px;

  border: 1px solid var(--border);

  box-shadow: var(--shadow-sm);

  transition: all 0.35s ease;
}

.time-box:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-lg);
}

.time-box span {
  display: block;

  font-size: 56px;

  font-weight: 700;

  color: var(--primary);

  line-height: 1;

  margin-bottom: 12px;
}

.time-box small {
  display: block;

  text-transform: uppercase;

  letter-spacing: 3px;

  color: var(--muted);

  font-size: 12px;
}

/* ================= WAITLIST ================= */

.waitlist {
  width: min(820px, 95%);

  margin: 70px auto 0;

  text-align: center;
}

.waitlist p {
  font-size: 20px;

  color: var(--primary);

  margin-bottom: 28px;

  line-height: 1.8;
}

/* ================= EMAIL BOX ================= */

.email-box {
  display: flex;

  align-items: center;

  overflow: hidden;

  background: #ffffff;

  border-radius: 70px;

  border: 1px solid rgba(106, 74, 99, 0.08);

  box-shadow: 0 18px 40px rgba(45, 30, 45, 0.08);
}

/* ================= INPUT ================= */

.email-box input {
  flex: 1;

  border: none;

  outline: none;

  background: transparent;

  padding: 24px 30px;

  font-size: 17px;

  color: var(--text);

  font-family: "Inter", sans-serif;
}

.email-box input::placeholder {
  color: #9b9498;
}

.email-box input:focus {
  background: #fffdfa;
}

/* ================= BUTTON ================= */

.email-box button {
  border: none;

  outline: none;

  cursor: pointer;

  padding: 0 42px;

  height: 72px;

  font-size: 15px;

  letter-spacing: 2px;

  text-transform: uppercase;

  font-weight: 600;

  color: #fff;

  background: linear-gradient(135deg, var(--primary), #876487);

  transition: all 0.35s ease;
}

.email-box button:hover {
  transform: translateY(-2px);

  background: linear-gradient(135deg, #5d4259, #785778);

  box-shadow: 0 18px 40px rgba(106, 74, 99, 0.28);
}

.email-box button:active {
  transform: scale(0.98);
}

/* ================= PRIVACY ================= */

.privacy-note {
  margin-top: 18px;

  font-size: 13px;

  color: #8d878c;
}

/* ================= SUCCESS MESSAGE ================= */

.success-message {
  margin-top: 22px;

  color: var(--primary);

  font-weight: 600;

  letter-spacing: 0.5px;
}

/* ================= GLASS DECOR ================= */

.countdown-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 34px;

  padding: 1px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0)
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;

  pointer-events: none;
}

/* ================= HOVER EFFECT ================= */

.waitlist:hover .email-box {
  transform: translateY(-3px);

  transition: 0.4s;
}

/* ==========================================================
   PART 3/4
   Footer • Loader • Decorative Elements • Tablet
========================================================== */

/* ==========================
   PREMIUM SECTIONS
========================== */

.section-space {
  padding: 120px 0;
}

.section-title {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(40px, 6vw, 64px);

  color: var(--primary);

  text-align: center;

  margin-bottom: 18px;
}

.section-subtitle {
  text-align: center;

  color: var(--muted);

  max-width: 760px;

  margin: auto;

  line-height: 1.9;

  font-size: 18px;
}

/* ==========================
   DECORATIVE SHAPES
========================== */

.blob {
  position: absolute;

  border-radius: 50%;

  filter: blur(120px);

  opacity: 0.28;

  z-index: -1;
}

.blob.one {
  width: 280px;

  height: 280px;

  background: #e6d5e8;

  top: 8%;

  right: -100px;
}

.blob.two {
  width: 240px;

  height: 240px;

  background: #f3e2db;

  bottom: 5%;

  left: -80px;
}

.blob.three {
  width: 180px;

  height: 180px;

  background: #efe4f0;

  top: 55%;

  left: 12%;
}

/* ==========================
   SOFT CARD
========================== */

.glass-card {
  background: rgba(255, 255, 255, 0.58);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.55);

  border-radius: 30px;

  box-shadow: var(--shadow);
}

/* ==========================
   SCROLL REVEAL
========================== */

.reveal {
  opacity: 0;

  transform: translateY(40px);

  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;

  transform: none;
}

/* ==========================
   FOOTER
========================== */

footer {
  width: 100%;

  margin-top: 120px;

  padding: 90px 20px 60px;

  text-align: center;

  position: relative;
}

footer::before {
  content: "";

  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  top: 0;

  width: 120px;

  height: 1px;

  background: linear-gradient(
    to right,

    transparent,
    rgba(106, 74, 99, 0.4),
    transparent
  );
}

footer p {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(24px, 5vw, 34px);

  color: var(--primary);

  margin-bottom: 14px;
}

footer span {
  display: block;

  color: var(--muted);

  font-size: 15px;

  letter-spacing: 0.4px;

  line-height: 1.8;
}

/* ==========================
   LOADER
========================== */

#loader p {
  max-width: 280px;

  text-align: center;

  line-height: 1.7;

  font-size: 12px;

  letter-spacing: 2px;

  color: var(--muted);
}

/* ==========================
   LOADER SPINNER
========================== */

.loader-ring {
  width: 54px;

  height: 54px;

  margin-top: 30px;

  border-radius: 50%;

  border: 3px solid rgba(106, 74, 99, 0.15);

  border-top-color: var(--primary);

  animation: spin 1s linear infinite;
}

/* ==========================
   ANIMATIONS
========================== */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(35px);
  }

  to {
    opacity: 1;

    transform: none;
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(106, 74, 99, 0.18);
  }

  50% {
    box-shadow: 0 0 35px rgba(106, 74, 99, 0.16);
  }

  100% {
    box-shadow: 0 0 0 rgba(106, 74, 99, 0.18);
  }
}

/* ==========================
   SCROLLBAR
========================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f0eb;
}

::-webkit-scrollbar-thumb {
  background: #b79bb7;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #98799a;
}

/* ==========================
   SELECTION
========================== */

::selection {
  background: #d9c2da;

  color: #2e2a2e;
}

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

@media (max-width: 992px) {
  nav {
    padding: 20px 28px;
  }

  .hero {
    padding: 130px 28px 80px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .description {
    font-size: 17px;
  }

  .hero-image {
    width: min(540px, 88vw);
  }

  .countdown-card {
    padding: 55px 30px;
  }

  #countdown {
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
  }

  .email-box {
    flex-direction: column;

    border-radius: 26px;
  }

  .email-box input {
    width: 100%;

    text-align: center;
  }

  .email-box button {
    width: 100%;

    height: 64px;
  }
}
/* ==========================================================
   PART 4/4
   Mobile • Accessibility • Final Polish
========================================================== */

/* ==========================
   MOBILE (768px)
========================== */

@media (max-width: 768px) {
  nav {
    flex-direction: column;

    gap: 18px;

    padding: 18px 20px;
  }

  .logo {
    font-size: 30px;

    letter-spacing: 6px;
  }

  .menu {
    width: 100%;

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;
  }

  .menu a {
    font-size: 14px;
  }

  .hero {
    padding-top: 170px;

    padding-left: 24px;

    padding-right: 24px;

    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: 48px;

    line-height: 1.15;
  }

  .description {
    font-size: 16px;

    line-height: 1.9;

    margin-bottom: 42px;
  }

  .hero-image {
    max-width: 280px;

    width: 100%;
  }

  .countdown-card {
    margin: 50px auto;

    padding: 38px 20px;

    border-radius: 26px;
  }

  .countdown-card h2 {
    font-size: 42px;

    margin-bottom: 34px;
  }

  #countdown {
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
  }

  .time-box {
    padding: 24px 12px;
  }

  .time-box span {
    font-size: 38px;
  }

  .time-box small {
    font-size: 11px;

    letter-spacing: 2px;
  }

  .waitlist {
    margin-top: 45px;
  }

  .waitlist p {
    font-size: 17px;
  }

  .email-box {
    padding: 10px;

    gap: 12px;
  }

  .email-box input {
    padding: 18px;

    font-size: 15px;
  }

  .email-box button {
    height: 58px;

    font-size: 14px;
  }

  footer {
    margin-top: 80px;

    padding: 70px 20px 50px;
  }

  footer p {
    font-size: 28px;
  }

  footer span {
    font-size: 14px;
  }

  #loader h1 {
    font-size: 50px;

    letter-spacing: 6px;
  }
}

/* ==========================
   SMALL MOBILE (480px)
========================== */

@media (max-width: 480px) {
  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .description {
    max-width: 310px;

    margin: 0 auto 40px;

    font-size: 15px;

    line-height: 1.8;
  }

  .logo {
    font-size: 25px;
  }

  .menu {
    gap: 14px;
  }

  .menu a {
    font-size: 13px;
  }

  .hero-image {
    max-width: 290px;
  }

  .countdown-card {
    padding: 30px 16px;
  }

  .countdown-card h2 {
    font-size: 34px;
  }

  #countdown {
    gap: 12px;
  }

  .time-box {
    padding: 18px 8px;
  }

  .time-box span {
    font-size: 30px;
  }

  .time-box small {
    font-size: 10px;
  }

  .waitlist p {
    font-size: 16px;
  }

  .email-box {
    border-radius: 22px;
  }

  .email-box input {
    padding: 16px;
  }

  .email-box button {
    height: 54px;
  }

  footer {
    padding-bottom: 40px;
  }
}

/* ==========================
   LANDSCAPE PHONES
========================== */

@media (max-height: 650px) {
  .hero {
    min-height: auto;

    padding-top: 150px;

    padding-bottom: 80px;
  }
}

/* ==========================
   LARGE DESKTOPS
========================== */

@media (min-width: 1500px) {
  .hero {
    max-width: 1400px;
  }

  .description {
    max-width: 820px;
  }

  .hero-image {
    width: 760px;
  }
}

/* ==========================
   ACCESSIBILITY
========================== */

a,
button,
input {
  transition: all 0.35s ease;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(106, 74, 99, 0.25);

  outline-offset: 4px;
}

input {
  caret-color: var(--primary);
}

/* ==========================
   REDUCED MOTION
========================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;

    transition: none !important;

    scroll-behavior: auto !important;
  }
}

/* ==========================
   OPTIONAL UTILITIES
========================== */

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}

.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}

/* ==========================
   FINAL POLISH
========================== */

img {
  max-width: 100%;

  display: block;
}

button {
  font-family: "Inter", sans-serif;
}

input {
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
}

html,
body {
  width: 100%;
}

footer {
  text-align: center;
}

footer span {
  display: block;

  margin-top: 14px;

  color: var(--muted);

  font-size: 15px;
}

.heart-link {
  text-decoration: none;

  font-size: 18px;

  transition: 0.3s ease;
}

.heart-link:hover {
  transform: scale(1.15);
}

@media (max-width: 480px) {
  .menu {
    display: none;
  }

  nav {
    justify-content: center;
  }
}
/* ==========================
   END
========================== */
