/* ============================================================
   MDJ Landing Page — Style
   Palette: Blue #4B9FD5 | Orange #F47B20 | Gold #FFC422
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #4B9FD5;
  --blue-dark:   #2E7DB5;
  --blue-light:  #73B8E2;
  --blue-pale:   #EAF4FC;
  --orange:      #F47B20;
  --orange-dark: #D4620F;
  --orange-pale: #FEF3EB;
  --gold:        #FFC422;
  --gold-pale:   #FFF8E1;
  --dark:        #1A2332;
  --dark-2:      #2C3E50;
  --gray:        #6B7280;
  --gray-light:  #F4F7FA;
  --white:       #FFFFFF;
  --radius:      16px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(75, 159, 213, 0.12);
  --shadow-lg:   0 16px 48px rgba(75, 159, 213, 0.18);
  --transition:  0.25s ease;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(75, 159, 213, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(75, 159, 213, 0.45);
}

.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn--outline:hover {
  background: var(--blue-pale);
}

.btn--ghost {
  color: var(--dark-2);
  background: transparent;
}
.btn--ghost:hover { color: var(--blue); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(75, 159, 213, 0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.navbar__logo { flex-shrink: 0; }
.navbar__logo img { height: 44px; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-2);
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--blue); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gray-light);
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-2);
  transition: var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover { background: var(--blue-pale); color: var(--blue); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid rgba(75, 159, 213, 0.1);
  background: var(--white);
}
.navbar__mobile a {
  padding: 12px 0;
  font-weight: 500;
  color: var(--dark-2);
  border-bottom: 1px solid var(--gray-light);
}
.navbar__mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-pale) 60%, #fdf6f0 100%);
}

.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}
.shape--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue), transparent);
  top: -150px; right: -100px;
}
.shape--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--orange), transparent);
  bottom: -80px; left: -60px;
}
.shape--3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gold), transparent);
  top: 40%; left: 40%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__badge::before {
  content: '☀️';
  font-size: 14px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Phone mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(75, 159, 213, 0.25), transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 270px;
  background: var(--dark);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.08),
    0 40px 80px rgba(26, 35, 50, 0.4),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.phone-mockup::before {
  content: '';
  display: block;
  width: 80px; height: 24px;
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 10px;
}

.phone-mockup__screen {
  background: linear-gradient(160deg, #1a2d4a, #0f1b2d);
  border-radius: 32px;
  overflow: hidden;
}

.mock-screen { padding: 20px 16px; }

.mock-header {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.mock-logo img { filter: brightness(0) invert(1); height: 22px; }

.mock-date {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.mock-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}
.mock-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.mock-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.mock-card__quote {
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 8px;
}
.mock-card__preview {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

.mock-notif {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 123, 32, 0.15);
  border: 1px solid rgba(244, 123, 32, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-notif__icon { font-size: 14px; }
.mock-notif__text { font-size: 0.62rem; color: rgba(255,255,255,0.75); }

/* ---------- Stats ---------- */
.stats {
  background: var(--white);
  border-top: 1px solid rgba(75, 159, 213, 0.1);
  border-bottom: 1px solid rgba(75, 159, 213, 0.1);
  padding: 40px 0;
}

.stats__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 40px;
}

.stat__number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.stat__divider {
  width: 1px;
  height: 48px;
  background: rgba(75, 159, 213, 0.15);
}

/* ---------- Features ---------- */
.features {
  padding: 100px 0;
  background: var(--gray-light);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(75, 159, 213, 0.08);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__icon--blue   { background: var(--blue-pale);   color: var(--blue); }
.feature-card__icon--orange { background: var(--orange-pale);  color: var(--orange); }
.feature-card__icon--gold   { background: var(--gold-pale);    color: #B8860B; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ---------- About ---------- */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__cards { position: relative; width: 300px; height: 340px; }

.about__card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(75, 159, 213, 0.1);
  width: 240px;
}

.about__card--front {
  top: 0; left: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  z-index: 2;
  transform: rotate(-3deg);
}
.about__card--back {
  bottom: 0; right: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  z-index: 1;
  transform: rotate(3deg);
}

.about__card-icon { font-size: 2rem; margin-bottom: 12px; }
.about__card-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; opacity: 0.9; }
.about__card-body  { font-size: 0.9rem; line-height: 1.5; opacity: 0.85; }

.about__text .section-title { text-align: left; margin: 0 0 20px; }

.about__text p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-2);
}

.about__value-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* ---------- Download ---------- */
.download {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  text-align: center;
}

.download__bg { position: absolute; inset: 0; pointer-events: none; }
.shape--d1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(75, 159, 213, 0.2), transparent);
  top: -100px; left: -100px;
  border-radius: 50%;
}
.shape--d2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244, 123, 32, 0.15), transparent);
  bottom: -80px; right: -80px;
  border-radius: 50%;
}

.download__inner { position: relative; z-index: 1; }

.download__logo {
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.download__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.download__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.download__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: var(--white);
  transition: var(--transition);
  backdrop-filter: blur(8px);
  min-width: 190px;
}
.store-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.store-btn__icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn__text { display: flex; flex-direction: column; text-align: left; }
.store-btn__sub  { font-size: 0.68rem; opacity: 0.65; }
.store-btn__name { font-size: 1rem; font-weight: 700; }
.store-btn--disabled {
  opacity: 0.5;
  pointer-events: none;
}

.download__note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img { filter: brightness(0) invert(1); opacity: 0.8; }
.footer__brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }

.footer__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--blue-light); }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner    { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin: 0 auto 36px; }
  .hero__cta      { justify-content: center; }
  .hero__visual   { display: none; }
  .about__inner   { grid-template-columns: 1fr; }
  .about__visual  { display: none; }
  .about__text .section-title { text-align: center; }
  .section-tag    { display: block; text-align: center; }
}

@media (max-width: 640px) {
  .navbar__links { display: none; }
  .navbar__burger { display: flex; margin-left: auto; }
  .lang-toggle { margin-left: 0; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__inner { gap: 0; }
  .stat { padding: 12px 20px; }
  .stat__divider { display: none; }
  .footer__links { display: none; }
  .footer__inner { justify-content: center; text-align: center; }
  .footer__brand { flex-direction: column; }
  .footer__copy { text-align: center; }
}
