/* DETH-X v9 — Content overlaps image. No gradient. Image waves = natural transition. */

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

:root {
  --land-card-bg: #12151e;
  --land-card-border: rgba(92, 225, 230, 0.08);
  --land-text: #e2e8f0;
  --land-text-muted: rgba(226, 232, 240, 0.5);
  --land-text-ghost: rgba(226, 232, 240, 0.2);
  --land-tier-bg: rgba(255,255,255,0.04);
  --land-tier-border: rgba(255,255,255,0.06);
  --disc-bg: #c8d0de;
  --disc-bg-warm: #d6dce8;
  --disc-card: #ffffff;
  --disc-card-shadow: rgba(46, 111, 163, 0.08);
  --disc-text: #1a1d2e;
  --disc-text-muted: rgba(26, 29, 46, 0.55);
  --disc-text-ghost: rgba(26, 29, 46, 0.25);
  --disc-border: rgba(46, 111, 163, 0.12);
  --cyan: #27cacc;
  --cyan-bright: #7df0f4;
  --blue: #2E6FA3;
  --blue-deep: #1d4f78;
  --blue-dim: rgba(46, 111, 163, 0.12);
  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1100px;
  --gutter: clamp(20px, 5vw, 80px);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--disc-bg); color: var(--disc-text); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--cyan); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }

/* ============================================
   LANDING
   ============================================ */
.landing-backdrop {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px clamp(24px, 5vw, 80px);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.landing-backdrop.dismissed { opacity: 0; visibility: hidden; pointer-events: none; }

.landing-card {
  position: relative; width: 100%; max-width: 750px;
  background: var(--land-card-bg);
  border: 1px solid var(--land-card-border);
  border-radius: 20px; overflow-y: auto; overflow-x: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  cursor: pointer; max-height: 96vh;
}

/* Image container — relative so overlay content can position against it */
.landing-hero-wrap {
  position: relative; width: 100%;
}
.landing-hero-wrap > img {
  display: block; width: 100%; height: auto;
  border-radius: 20px 20px 0 0;
}

/* Region dropdown — top right over image */
.landing-region { position: absolute; top: 14px; right: 18px; z-index: 10; }
.region-select-wrap { position: relative; }
.region-flag-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  cursor: pointer; object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); transition: border-color 0.3s;
}
.region-flag-btn:hover { border-color: var(--cyan); }
.region-dropdown {
  display: none; position: absolute; top: 48px; right: 0;
  background: #1a1e2c; border: 1px solid rgba(92,225,230,0.1);
border-radius: 10px; overflow: hidden; min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 20;
}
.region-dropdown.open { display: block; }
.region-option {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  cursor: pointer; color: var(--land-text-muted); font-size: 0.75rem;
  transition: background 0.2s, color 0.2s;
}
.region-option:hover { background: rgba(92,225,230,0.06); color: var(--land-text); }
.region-option.active { color: var(--cyan); }
.region-option img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

/* OVERLAY CONTENT — positioned OVER the bottom of the image */
.landing-overlay-content {
  position: absolute; bottom: 47%; left: 0; right: 0;
  padding: 0 clamp(24px, 4vw, 48px);
  z-index: 5;
}

.landing-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.landing-brand-logo {
  width: 56px; height: 56px; border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.landing-brand-name {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: #fff; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.landing-tagline {
  font-family: var(--font-display); font-size: clamp(0.9rem, 1.7vw, 1.2rem);
  font-weight: 700; margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  background: linear-gradient(304deg, #4CACC3, #0BF9FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing-sub {
  font-size: clamp(0.78rem, 1.1vw, 0.9rem); color: rgba(255,255,255,0.6); margin-bottom: 14px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.landing-downloads-overlay { display: flex; gap: 10px; }
.btn-download {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 16px; background: rgba(18,21,30,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--land-text); font-family: var(--font-body); font-weight: 600; font-size: 0.8rem;
  border-radius: 8px; border: 1px solid rgba(92,225,230,0.25);
  cursor: pointer; transition: background 0.3s, border-color 0.3s; text-decoration: none;
}
.btn-download:hover { background: rgba(92,225,230,0.12); border-color: var(--cyan); color: var(--land-text); }
.btn-download.ios { opacity: 0.35; pointer-events: none; }
.btn-download-icon { width: 18px; height: 18px; }

/* BELOW-IMAGE CONTENT — tiers, socials, footer on the dark bg */
.landing-body {
  padding: 20px clamp(24px, 4vw, 48px) 24px;
  position: relative; z-index: 6;
 margin-top: clamp(-350px, -52vw, -600px);
}

.landing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.tier-card {
  background: rgba(18, 21, 30, 0.7); border: 1px solid rgba(92, 225, 230, 0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 10px; padding: 14px 10px; text-align: center; transition: border-color 0.3s;
}
.tier-card:hover { border-color: rgba(92,225,230,0.2); }
.tier-card.featured { border-color: var(--cyan); position: relative; }
.tier-card.featured::before {
  content: 'Best Deal'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(304deg, #4CACC3, #0BF9FD); color: var(--land-card-bg);
  font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 10px; border-radius: 20px; white-space: nowrap;
}
.tier-icon { width: 28px; height: 28px; margin: 0 auto 8px; opacity: 0.45; filter: invert(1); }
.tier-name { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; color: var(--land-text); margin-bottom: 4px; }
.tier-detail { font-size: 0.68rem; color: var(--land-text-muted); line-height: 1.6; }
.tier-detail strong { color: var(--cyan); font-weight: 600; }

.landing-enter-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: -10px;
}
.landing-socials { display: flex; gap: 14px; }.social-link {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--land-text-muted); transition: background 0.3s, color 0.3s, border-color 0.3s; cursor: pointer;
}
.social-link:hover { background: rgba(92,225,230,0.1); color: var(--cyan); border-color: rgba(92,225,230,0.2); }
.social-link svg { width: 15px; height: 15px; }

.landing-bottom-brand {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  padding: 0px 0 10px; border-top: -10px solid rgba(255,255,255,0.04);
}
.bottom-logo-icon { width: clamp(60px, 12vw, 100px); height: auto; border-radius: 50%; }.bottom-logo-icon { width: clamp(60px, 12vw, 100px); height: auto; border-radius: 50%; transform: rotate(5deg); }
.bottom-logo-text { height: clamp(32px, 6.3vw, 54px); width: auto; opacity: 0.3; margin-left: -12px; }
.landing-enter {
  font-size: 0.5rem; color: rgba(226, 232, 240, 0.8);
  letter-spacing: 0.12em; text-transform: uppercase;
  animation: pulse 2.5s 1.5s infinite;
}

/* ============================================
   DISCOVERY PAGE
   ============================================ */
.discovery-page {
  position: relative; z-index: 1;
  background:
    url('../images/design.png') repeat fixed left top / 960px auto,
    linear-gradient(100deg, #7fbeec 0%, #c7e8ff 100%);
}
.dx-hero { min-height: 100vh; display: flex; align-items: center; padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); }
.dx-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }.dx-hero-text { z-index: 2; }
.dx-hero-brand { display: flex; align-items: center; gap: -10; margin-bottom: clamp(20px, 3vw, 32px); margin-left: clamp(-80px, -8vw, -120px); }
.dx-hero-brand img { width: clamp(160px, 24vw, 280px); border-radius: 50%; }
.dx-hero-brand-name { font-family: var(--font-display); font-size: clamp(5.3rem, 3.5vw, 3.2rem); font-weight: 800; color: var(--disc-text); margin-left: -92px; margin-top: 20px; white-space: nowrap; }
.dx-hero-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.12; margin-bottom: 24px; color: var(--disc-text); }
.dx-hero-title em {
  font-style: normal;
  background: linear-gradient( #058183);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dx-hero-body { font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: var(--disc-text-muted); max-width: 500px; margin-bottom: 32px; line-height: 1.8; }
.dx-hero-image img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 60px 8px 60px 8px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.dx-hero-image {
  padding-top: clamp(160px, 24vw, 180px);
  position: relative;
}

.dx-hero-image::before {
  content: '';
  position: absolute;
  width: clamp(40px, 7vw, 80px);
  height: clamp(40px, 7vw, 80px);
  background: var(--cyan-bright);
  border-radius: 50%;
  opacity: 0.35;
  bottom: -45px;
  left: 15%;
  z-index: 2;
}

.dx-hero-image::after {
  content: '';
  position: absolute;
  width: clamp(80px, 14vw, 160px);
  height: clamp(80px, 14vw, 160px);
  background: #1a1d2e;
  border-radius: 50%;
  opacity: 0.3;
  top: 120px;
  right: -40px;
  z-index: 0;
}
.dx-hero-image { padding-top: 0; }
.btn-primary-dx { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--blue); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; border-radius: 8px; border: none; cursor: pointer; transition: background 0.3s, transform 0.2s, box-shadow 0.3s; text-decoration: none; }
.btn-primary-dx:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,111,163,0.2); color: #fff; }
.btn-outline-dx { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: transparent; color: var(--blue); font-family: var(--font-body); font-weight: 600; font-size: 0.88rem; border-radius: 8px; border: 1px solid var(--disc-border); cursor: pointer; transition: border-color 0.3s, color 0.3s, background 0.3s; text-decoration: none; }
.btn-outline-dx:hover { border-color: var(--blue); background: var(--blue-dim); color: var(--blue-deep); }
.dx-section { padding: clamp(60px, 10vw, 120px) 0; }
.dx-section-label {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 800; letter-spacing: 0.05em; text-transform: none;
  margin-bottom: 16px;
  background: linear-gradient(#058183, #058183);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
background-clip: text;
  text-align: center;
}
.dx-section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; color: var(--disc-text); margin-bottom: 16px; line-height: 1.2; }
.dx-section-sub { font-size: clamp(0.9rem, 1.1vw, 1.05rem); color: var(--disc-text-muted); max-width: 600px; margin-bottom: clamp(40px, 5vw, 64px); line-height: 1.7; }
.dx-what-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.dx-what-text p { font-size: clamp(0.92rem, 1.1vw, 1.05rem); color: var(--disc-text-muted); margin-bottom: 20px; line-height: 1.8; }
.dx-what-text strong { color: var(--disc-text); }
.dx-what-text .dx-highlight { color: var(--blue); font-weight: 600; }
.dx-what-image {
  position: relative;
}
.dx-what-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 60px 8px 60px 8px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}
.dx-what-image .deco-dot {
  position: absolute;
  width: clamp(30px, 5vw, 55px);
  height: clamp(30px, 5vw, 55px);
  background: #1a1d2e;
  border-radius: 50%;
  opacity: 0.5;
  bottom: -46px;
  left: 7.3%;
  z-index: 3;
}
.dx-what-image::before {
  content: '';
  position: absolute;
  width: clamp(40px, 7vw, 80px);
  height: clamp(40px, 7vw, 80px);
  background: var(--cyan-bright);
  border-radius: 50%;
  opacity: 0.35;
  bottom: -45px;
  left: 15%;
  z-index: 2;
}
.dx-what-image::after {
  content: '';
  position: absolute;
  width: clamp(80px, 14vw, 160px);
  height: clamp(80px, 14vw, 160px);
  background: #1a1d2e;
  border-radius: 50%;
  opacity: 0.3;
  top: -53px;
  right: -40px;
  z-index: 0;
}

.btn-say-it {
  transition: background 1s ease-out, box-shadow 1.2s ease-out, transform 0.8s ease-out, border-color 1s ease-out;
  position: relative;
  border: 1px solid transparent;
   border-radius: 24px;
}

.btn-say-it:hover {
  background: var(--cyan);
  color: var(--land-card-bg);
  box-shadow: 0 0 40px 15px rgba(39, 202, 204, 0.35);
  transform: scale(1.06);
  border-color: #fff;
  transition: background 0s, color 0s, box-shadow 0s, transform 0.15s ease-out, border-color 0s;
}

.dx-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  overflow: visible;
  margin-top: clamp(60px, 10vw, 100px);
}
.dx-card {
  background: var(--disc-card); border: 1px solid var(--disc-border);
  border-radius: 16px; padding: clamp(28px, 3vw, 40px);
padding-top: clamp(40px, 6vw, 60px);
  text-align: center; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px var(--disc-card-shadow);
  overflow: visible; position: relative;
}
.dx-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(46,111,163,0.12); }
.dx-card-icon {
  width: clamp(120px, 20vw, 200px);
  height: clamp(120px, 20vw, 200px);
  margin: 0 auto 20px;
margin-top: clamp(-100px, -16vw, -160px);  
opacity: 0.9;
  filter: none;
}
.dx-card-title { font-family: var(--font-display); font-size: clamp(0.8rem, 1.2vw, 0.95rem); font-weight: 700; color: var(--blue); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.dx-card-text { font-size: 0.88rem; color: var(--disc-text-muted); line-height: 1.8; }
.dx-card.dx-card-accent { background: linear-gradient(160deg, var(--blue) 0%, #3a8cc4 100%); border-color: var(--blue); color: #fff; }
.dx-card.dx-card-accent .dx-card-title { color: var(--cyan); }
.dx-card.dx-card-accent .dx-card-text { color: rgba(255,255,255,0.8); }
.dx-card.dx-card-accent .dx-card-icon { filter: none; }
.dx-story { background: var(--disc-bg-warm); border-top: 1px solid var(--disc-border); border-bottom: 1px solid var(--disc-border); padding: clamp(48px, 7vw, 80px) 0; }
.dx-story-quote { font-family: var(--font-body); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 400; font-style: italic; color: var(--disc-text-muted); max-width: 700px; line-height: 1.6; margin-bottom: 24px; }
.dx-story-quote em { color: var(--blue); font-style: normal; font-weight: 600; }
.dx-story-attr { font-size: 0.82rem; color: var(--disc-text-ghost); letter-spacing: 0.1em; text-transform: uppercase; }
.dx-cta { text-align: center; padding: clamp(60px, 10vw, 100px) 0; background: var(--disc-bg-warm); }
.dx-cta-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; color: var(--disc-text); margin-bottom: 16px; }
.dx-cta-sub { font-size: clamp(0.92rem, 1.1vw, 1.05rem); color: var(--disc-text-muted); max-width: 480px; margin: 0 auto 32px; }
.dx-cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.dx-footer {
  background: #12151e; color: rgba(226,232,240,0.6);
  border-top: none;
  padding: clamp(32px, 4vw, 56px) 0;
  padding-top: clamp(60px, 8vw, 80px);
  text-align: center;
  overflow: visible;
}
.dx-footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: clamp(-80px, -12vw, -110px);
  margin-bottom: 24px;
}
.dx-footer-brand img { width: clamp(60px, 10vw, 90px); border-radius: 50%; }
.dx-footer-brand-name { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--land-text); }
.dx-footer-tagline { font-size: 0.88rem; color: rgba(226,232,240,0.35); margin-bottom: 20px; font-style: italic; }
.dx-footer-line { width: 60px; height: 1px; background: rgba(92,225,230,0.1); margin: 20px auto; }
.dx-footer-parent { font-size: 0.72rem; color: rgba(226,232,240,0.2); letter-spacing: 0.08em; }
.dx-footer-parent a { color: rgba(226,232,240,0.3); text-decoration: underline; }
.dx-footer-parent a:hover { color: var(--cyan); }
.dx-footer-copy { font-size: 0.72rem; color: rgba(226,232,240,0.15); margin-top: 12px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.6; } }
.anim-1 { opacity: 0; animation: fadeUp 0.6s 0.1s forwards; }
.anim-2 { opacity: 0; animation: fadeUp 0.6s 0.25s forwards; }
.anim-3 { opacity: 0; animation: fadeUp 0.6s 0.4s forwards; }
.anim-4 { opacity: 0; animation: fadeUp 0.6s 0.55s forwards; }
.anim-5 { opacity: 0; animation: fadeUp 0.6s 0.7s forwards; }
.anim-6 { opacity: 0; animation: fadeUp 0.6s 0.85s forwards; }
.anim-7 { opacity: 0; animation: fadeUp 0.6s 1.0s forwards; }

@media (max-width: 768px) {
  .landing-backdrop { padding: 0; }
  .landing-card { max-width: 100%; border-radius: 0; max-height: 100vh; }
  .landing-brand-name { font-size: 1.4rem; }
 .landing-overlay-content { padding: 0 20px; bottom: 40%; }
  .landing-body { margin-top: -120px; }
  .landing-tiers { max-width: 100%; }
  .dx-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .dx-hero-body { max-width: 100%; margin-left: auto; margin-right: auto; }
  .dx-hero-image { order: -1; }
  .dx-hero-image img { max-width: 280px; }
  .dx-hero-brand { justify-content: center; }
  .dx-what-grid { grid-template-columns: 1fr; }
  .dx-cards { grid-template-columns: 1fr; }
  .dx-cta-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .landing-downloads-overlay { display: inline-flex; gap: 8px; }
  .landing-tiers { grid-template-columns: 1fr; max-width: 240px; margin-left: auto; margin-right: auto; }
}