:root {
  --mango: #FF9F1C;
  --mango-deep: #FF7A00;
  --mango-soft: #FFE6CC;
  --dark: #1F2933;
  --muted: #6B7280;
}

/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  overflow-x: hidden;
  color: var(--dark);
  background: #ffffff;
}

.hidden {
  display: none;
}

/* ================= SPLASH ================= */
.splash {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  background: url('assets/mangobg.jpeg') no-repeat center center;
  background-size: cover;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@supports not (height: 100svh) {
  .splash { height: 100vh; }
}

.splash-footer {
  margin-bottom: 32px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* SKIP BUTTON */
.skip-btn {
  position: absolute;
  top: env(safe-area-inset-top, 16px);
  right: 16px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .4s ease;
}

.skip-btn.show {
  opacity: 1;
}

/* ================= HERO ================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  opacity: 0;
  animation: heroIn 1s ease forwards;
  animation-delay: .3s;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title span {
  color: var(--mango-deep);
}

.hero-sub {
  margin: 1.2rem auto 2.2rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
}

/* ================= BUTTONS ================= */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: .9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: all .25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--mango), var(--mango-deep));
  color: white;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,122,0,.25);
}

.btn.secondary {
  border: 2px solid var(--mango);
  color: var(--mango-deep);
}

.btn.secondary:hover {
  background: var(--mango-soft);
}

/* ================= FEATURES ================= */
.features {
  padding: 4rem 1.5rem;
  text-align: center;
}

.features-title {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

/* FEATURE CARD */
.feature-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 18px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transition: all .3s ease;
  cursor: pointer;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* ACTIVE CARD */
.feature-card.active {
  background: linear-gradient(135deg,#fff,#fff7ef);
  border: 1px solid var(--mango-soft);
}

/* DESCRIPTION */
.feature-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  transition:
    max-height .4s ease,
    opacity .3s ease,
    margin-top .3s ease;
}

.feature-card.active .feature-desc {
  max-height: 140px;
  opacity: 1;
  margin-top: .8rem;
}

/* ================= FOOTER ================= */
.app-footer {
  text-align: center;
  padding: 1.2rem 1rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  background: #000;
}