@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --main: #f7b28f;
  --main-dark: #e8875e;
  --main-light: #ffd6c1;
  --bg: #101218;
  --card: rgba(255, 255, 255, .075);
  --border: rgba(255, 255, 255, .13);
  --text: #f8f8fb;
  --muted: #a8adbb;
  --radius: 26px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(247, 178, 143, .25), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 214, 193, .12), transparent 25%),
    linear-gradient(180deg, #101218, #12141c 45%, #0f1117);
  overflow-x: hidden;
  position: relative;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(247, 178, 143, .35) 1px, transparent 1.6px);
  background-size: 90px 90px;
  animation: moveParticles 26s linear infinite;
  opacity: .28;
}

@keyframes moveParticles {
  to { transform: translate(-90px, -90px); }
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: auto;
}

/* Button & Badge */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  transition: .25s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #24130d;
  box-shadow: 0 18px 42px rgba(247, 178, 143, .24);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: var(--border);
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(247, 178, 143, .1);
  border: 1px solid rgba(247, 178, 143, .25);
  color: var(--main-light);
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--main);
  box-shadow: 0 0 18px var(--main);
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 18, 24, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #24130d;
  font-weight: 900;
}

.links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.links a:hover {
  color: white;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Sections */
section {
  padding: 86px 0;
}

/* Hero Section */
.hero {
  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}

h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -.075em;
  margin-top: 18px;
}

.gradient {
  background: linear-gradient(135deg, #fff, var(--main), var(--main-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Hero Preview block */
.preview {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .36);
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.gift-list {
  display: grid;
  gap: 13px;
}

.gift-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .055);
}

.gift-icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--main-light), var(--main-dark));
}

.gift-item strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.gift-item small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}

.pill {
  padding: 7px 10px;
  border-radius: 99px;
  background: rgba(247, 178, 143, .13);
  color: var(--main-light);
  font-size: 12px;
  font-weight: 900;
}

/* Features */
.heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.heading h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.065em;
}

.heading p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(247, 178, 143, .3);
}

.card .icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -.035em;
  color: var(--text);
}

.card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

/* Interactive 3D Gift Box Animation */
.gift-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
  min-height: 560px;
}

.box-stage {
  display: grid;
  place-items: center;
  min-height: 330px;
  perspective: 900px;
}

.box {
  position: relative;
  width: 230px;
  height: 230px;
  filter: drop-shadow(0 35px 65px rgba(0, 0, 0, .38));
  cursor: pointer;
}

.lid, .body {
  position: absolute;
  background: linear-gradient(135deg, var(--main-light), var(--main), var(--main-dark));
}

.lid {
  left: 20px;
  top: 30px;
  width: 190px;
  height: 54px;
  border-radius: 18px 18px 10px 10px;
  transform-origin: bottom left;
  animation: openLid 3s ease-in-out infinite alternate;
  z-index: 3;
}

.body {
  left: 34px;
  top: 88px;
  width: 162px;
  height: 128px;
  border-radius: 16px 16px 26px 26px;
  overflow: hidden;
}

.lid:before, .body:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 100%;
  background: rgba(255, 255, 255, .36);
}

.body:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50px;
  width: 100%;
  height: 28px;
  background: rgba(255, 255, 255, .22);
}

.glow {
  position: absolute;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 178, 143, .6), transparent 68%);
  filter: blur(8px);
  animation: pulse 3s ease-in-out infinite alternate;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--main-light);
  box-shadow: 0 0 20px var(--main);
  animation: rise 2.6s ease-in-out infinite alternate;
}

.s1 { left: 64px; top: 118px; }
.s2 { left: 112px; top: 92px; animation-delay: .3s; }
.s3 { right: 66px; top: 126px; animation-delay: .6s; }

@keyframes openLid {
  to { transform: translate(-14px, -78px) rotateX(56deg) rotateZ(-13deg); }
}

@keyframes pulse {
  to { transform: translateX(-50%) scale(1.22); opacity: .75; }
}

@keyframes rise {
  to { transform: translateY(-76px) scale(1.25); opacity: .9; }
}

/* Pricing Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.plan {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 178, 143, .3);
}

.plan.featured {
  border-color: rgba(247, 178, 143, .45);
  background: linear-gradient(180deg, rgba(247, 178, 143, .16), rgba(255, 255, 255, .06));
}

.plan-name {
  color: var(--main-light);
  font-weight: 900;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.06em;
  margin-bottom: 15px;
  color: var(--text);
}

.price span {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
}

.plan p {
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 22px;
  font-size: 0.95rem;
  min-height: 48px;
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 25px;
  color: #dfe1e8;
  padding: 0;
}

.plan li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.plan li:before {
  content: "✓";
  color: var(--main);
  font-weight: 900;
  margin-right: 9px;
}

/* Call To Action Box */
.cta-box {
  text-align: center;
  padding: 62px 28px;
  border: 1px solid rgba(247, 178, 143, .28);
  border-radius: 36px;
  background: radial-gradient(circle at top left, rgba(247, 178, 143, .28), transparent 38%), rgba(255, 255, 255, .06);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .3);
}

.cta-box h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -.075em;
  color: var(--text);
}

.cta-box p {
  color: var(--muted);
  line-height: 1.7;
  margin: 18px auto 28px;
  max-width: 620px;
  font-size: 1.1rem;
}

/* Global announcement banner override */
.global-announcement {
  position: relative;
  z-index: 101;
}

/* Language selector */
.lang-selector select {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--border) !important;
  border-radius: 99px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  color: #fff !important;
  outline: none !important;
  transition: .25s !important;
}

.lang-selector select:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.lang-selector select option {
  background: #101218;
  color: #fff;
}

/* Footer */
footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Media Queries */
@media (max-width: 900px) {
  .hero-grid, .gift-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cards, .plans {
    grid-template-columns: 1fr 1fr;
  }
  .links {
    display: none;
  }
}

@media (max-width: 620px) {
  .cards, .plans {
    grid-template-columns: 1fr;
  }
  .nav {
    height: 64px;
  }
  .logo {
    font-size: 18px;
  }
  .logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
  .lang-selector select {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .gift-item {
    grid-template-columns: 44px 1fr;
  }
  .pill {
    display: none;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding-top: 58px;
  }
}

/* Custom Utility Classes - Removed Inline CSS from HTML */
.global-announcement {
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
}

.nav-logo-img {
  max-height: 55px;
}

.footer-logo-img {
  max-height: 24px;
}

.lang-selector {
  display: inline-block;
  margin-left: 10px;
}

.logout-form {
  display: inline;
}

.plan-cta-btn {
  width: 100%;
}
