/* ─────────────────────────────────────────
   styles.css — Umlah Landing Page
───────────────────────────────────────── */

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ── CSS VARIABLES ── */
:root {
  --p1:     #2d0a6e;                  /* deep purple */
  --p2:     #6b21a8;                  /* mid purple */
  --p3:     #9333ea;                  /* bright purple */
  --red:    #e8112d;                  /* vivid red accent */
  --red2:   #ff3b55;                  /* lighter red */
  --bg:     #0d0520;                  /* near-black purple bg */
  --card:   rgba(109, 33, 168, 0.18);
  --border: rgba(147, 51, 234, 0.22);
  --border2:rgba(232, 17,  45, 0.25);
  --text:   #f0e8ff;
  --muted:  #a78fc4;
  --white:  #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── GLOBAL GRADIENT BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%,  rgba(107, 33, 168, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(232, 17,  45, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 80% at 50% 100%,rgba( 45, 10, 110, 0.60) 0%, transparent 70%),
    linear-gradient(160deg, #0d0520 0%, #1a0840 50%, #0d0520 100%);
}

/* ── FLOATING ORBS ── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.orb1 { width: 500px; height: 500px; background: rgba(147, 51, 234, 0.20); top: -100px; left: -100px; }
.orb2 { width: 350px; height: 350px; background: rgba(232, 17,  45, 0.12); top: 20%;   right: -80px; animation-delay: -5s;  animation-duration: 18s; }
.orb3 { width: 300px; height: 300px; background: rgba(107, 33, 168, 0.25); bottom: 10%; left: 30%;   animation-delay: -9s; }

@keyframes orbDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(30px, 25px); }
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 5, 32, 0.75);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  animation: slideDown .6s ease both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.nav {
  max-width: 1120px;
  margin: auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--p3), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}

.logo-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.3px;
  color: #fff;
}

/* Nav links */
nav a {
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
}

nav a:hover {
  color: #fff;
  background: rgba(147, 51, 234, 0.2);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-sel {
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.btn-login {
  background: rgba(147, 51, 234, 0.12);
  color: #e0d0ff;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: background .2s, border-color .2s, transform .2s;
}

.btn-login:hover {
  background: rgba(147, 51, 234, 0.22);
  border-color: rgba(147, 51, 234, 0.5);
  transform: translateY(-1px);
}

.btn-cta {
  background: linear-gradient(135deg, var(--p3), var(--red));
  color: #fff;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.35);
  transition: opacity .2s, transform .2s;
}

.btn-cta:hover {
  opacity: .88;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 5% 70px;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 1120px;
  margin: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  animation: fadeUp .7s ease both;
}

/* Pill badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232, 17, 45, 0.12);
  border: 1px solid rgba(232, 17, 45, 0.3);
  color: var(--red2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--red2);
  border-radius: 50%;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}

/* Heading */
h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  color: #fff;
}

h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #c084fc, var(--red2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 32px;
}

/* CTA buttons */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-main {
  background: linear-gradient(135deg, var(--p3) 0%, var(--red) 100%);
  color: #fff;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(147, 51, 234, 0.4);
  transition: transform .2s, box-shadow .2s;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(147, 51, 234, 0.5);
}

.btn-outline {
  background: rgba(147, 51, 234, 0.1);
  color: #e0d0ff;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: background .2s, border-color .2s;
}

.btn-outline:hover {
  background: rgba(147, 51, 234, 0.2);
  border-color: rgba(147, 51, 234, 0.5);
}

/* Stats bar */
.stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-v {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
}

.stat-v em {
  font-style: normal;
  color: #c084fc;
}

.stat-l {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   PHONE MOCKUPS
───────────────────────────────────────── */
.phones {
  position: relative;
  height: 570px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeUp .8s ease .15s both;
}

.p-wrap {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-wrap.pc { z-index: 3; left: 50%; animation: floatC 4.8s ease-in-out infinite; }
.p-wrap.pl { z-index: 2; left: 3%;  animation: floatL 5.4s ease-in-out infinite; }
.p-wrap.pr { z-index: 2; right: 3%; animation: floatR 5.8s ease-in-out infinite; }

@keyframes floatC {
  0%, 100% { transform: translateX(-50%) translateY(0);    }
  50%       { transform: translateX(-50%) translateY(-16px); }
}
@keyframes floatL {
  0%, 100% { transform: rotate(-7deg) translateY(0);    }
  50%       { transform: rotate(-7deg) translateY(-12px); }
}
@keyframes floatR {
  0%, 100% { transform: rotate(7deg) translateY(0);    }
  50%       { transform: rotate(7deg) translateY(-13px); }
}

.phone {
  background: linear-gradient(160deg, #2a1060, #1a0840);
  border-radius: 38px;
  padding: 9px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(147, 51, 234, 0.35) inset,
    0 0 40px rgba(147, 51, 234, 0.12);
  position: relative;
}

.phone-c { width: 210px; border-radius: 44px; padding: 11px; }
.phone-s { width: 178px; }

/* Dynamic island notch */
.phone::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 22px;
  background: linear-gradient(160deg, #2a1060, #1a0840);
  border-radius: 0 0 14px 14px;
  z-index: 4;
}

.phone-c::after {
  width: 68px;
  height: 26px;
  top: 11px;
}

.screen {
  background: #100030;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}

.phone-c .screen { border-radius: 34px; }

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glow under each phone */
.p-glow {
  width: 90px;
  height: 16px;
  background: linear-gradient(90deg, var(--p3), var(--red));
  filter: blur(18px);
  opacity: .4;
  border-radius: 50%;
  margin-top: 10px;
}

.p-wrap.pc .p-glow {
  width: 130px;
  opacity: .5;
}

/* ─────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────── */
.section {
  padding: 88px 5%;
  position: relative;
  z-index: 1;
}

.s-wrap {
  max-width: 1120px;
  margin: auto;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #fff;
}

.sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}

/* ─────────────────────────────────────────
   NETWORKS BAND
───────────────────────────────────────── */
.net-band {
  padding: 44px 5%;
  position: relative;
  z-index: 1;
  background: rgba(45, 10, 110, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.net-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.net-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(147, 51, 234, 0.12);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #e0d0ff;
  transition: transform .2s, border-color .2s, background .2s;
}

.chip:hover {
  transform: scale(1.05);
  border-color: rgba(147, 51, 234, 0.5);
  background: rgba(147, 51, 234, 0.22);
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services-bg {
  background: rgba(45, 10, 110, 0.2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.s-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 16px;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scard {
  background: rgba(109, 33, 168, 0.15);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.scard:hover {
  transform: translateY(-5px);
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.15);
}

.scard:nth-child(even):hover {
  border-color: rgba(232, 17, 45, 0.4);
  box-shadow: 0 10px 30px rgba(232, 17, 45, 0.1);
}

.scard-ico {
  font-size: 26px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.scard:nth-child(even) .scard-ico {
  background: rgba(232, 17, 45, 0.12);
}

.scard h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.scard p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.steps-bg {
  background: rgba(13, 5, 32, 0.6);
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 50px;
}

.step {
  padding: 36px 28px;
  background: rgba(45, 10, 110, 0.2);
  border-right: 1px solid var(--border);
  transition: background .25s;
}

.step:last-child { border-right: none; }

.step:hover { background: rgba(147, 51, 234, 0.1); }

.step-n {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.4), rgba(232, 17, 45, 0.35));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   DOWNLOAD
───────────────────────────────────────── */
.dl-wrap {
  text-align: center;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.3), rgba(232, 17, 45, 0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 70px 40px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.dl-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.2), transparent 60%);
  pointer-events: none;
}

.dl-wrap h2    { margin-bottom: 10px; }
.dl-wrap .sub  { margin: 0 auto 32px; }

.store-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.store-btn:hover {
  transform: translateY(-3px);
  background: rgba(147, 51, 234, 0.25);
  box-shadow: 0 10px 28px rgba(147, 51, 234, 0.2);
}

.s-ico { font-size: 22px; }
.s-sub { font-size: 11px; opacity: .45; font-weight: 400; display: block; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 5%;
  position: relative;
  z-index: 1;
}

.foot {
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-links {
  display: flex;
  gap: 18px;
}

.foot-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.foot-links a:hover { color: #c084fc; }

.foot-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.rev {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.rev.on  { opacity: 1; transform: translateY(0); }
.rev2    { transition-delay: .1s; }
.rev3    { transition-delay: .2s; }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-inner       { grid-template-columns: 1fr; text-align: center; }
  .hero-desc        { max-width: 100%; }
  .hero-btns        { justify-content: center; }
  .stats            { justify-content: center; }
  .phones           { height: 400px; }
  .phone-c          { width: 165px; border-radius: 36px; padding: 9px; }
  .phone-s          { width: 138px; border-radius: 30px; }
  nav               { display: none; }
  .srv-grid         { grid-template-columns: repeat(2, 1fr); }
  .steps-grid       { grid-template-columns: 1fr; }
  .step             { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child  { border-bottom: none; }
}

@media (max-width: 560px) {
  .srv-grid  { grid-template-columns: 1fr; }
  .phones    { height: 320px; }
  .phone-c   { width: 135px; }
  .phone-s   { width: 114px; }
}