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

:root {
  /* Base Theme Variables */
  --navy: #0D1B2A;
  --navy-800: #162235;
  --navy-700: #1e2e42;
  --accent: #1E90FF;
  --accent-dark: #1278e0;
  --accent-light: #5badff;
  --bglight: #F5F7FA;
  --secondary: #6B7280;
  
  /* ILMA STEP Policy Theme Variables */   
  --policy-bg: #0B192C; 
  --policy-card-bg: #132743;
  --policy-text-primary: #ffffff;
  --policy-text-secondary: #94A3B8;
  --policy-accent-blue: #3B82F6;
  --policy-radius-lg: 16px;
  --policy-radius-md: 12px;
  --policy-transition: 0.3s;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bglight);
  color: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  transition: box-shadow .3s, background .3s;
}
.navbar.scrolled {
  background: rgba(13,27,42,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 20px; height: 20px; color: white; }
.nav-logo-text .title { display: block; color: white; font-weight: 700; font-size: .9rem; letter-spacing: .05em; }
.nav-logo-text .sub { display: block; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px; border-radius: 6px;
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,.1); }
.nav-links a.active { background: var(--accent); color: white; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 6px;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.hamburger:hover { color: white; background: rgba(255,255,255,.1); }
.hamburger svg { width: 20px; height: 20px; display: block; }
.mobile-menu {
  display: none;
  background: rgba(13,27,42,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 12px 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 10px 12px; border-radius: 6px;
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
  margin-bottom: 4px;
}
.mobile-menu a:hover { color: white; background: rgba(255,255,255,.1); }
.mobile-menu a.active { background: var(--accent); color: white; }
@media (max-width: 767px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: 96px 1.5rem;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background:
    radial-gradient(circle at 25% 50%, #1E90FF 0%, transparent 50%),
    radial-gradient(circle at 75% 20%, #1E90FF 0%, transparent 40%);
}
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,144,255,.2); border: 1px solid rgba(30,144,255,.3);
  border-radius: 9999px; padding: 6px 16px;
  color: var(--accent); font-size: .875rem; font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.9); }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: white;
  line-height: 1.2; margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  max-width: 640px; margin: 0 auto 40px;
  color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.7;
}
.hero-note { margin-top: 24px; font-size: .875rem; color: rgba(255,255,255,.4); }

/* ── Stats bar ──────────────────────────────────────────── */
.stats-bar { background: var(--accent); }
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 1.5rem;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  text-align: center; color: white;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-item svg { width: 20px; height: 20px; opacity: .8; margin-bottom: 4px; }
.stat-value { font-size: 1.2rem; font-weight: 700; }
.stat-label { font-size: .75rem; opacity: .75; }
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
}

/* ── Features ───────────────────────────────────────────── */
.features-section {
  padding: 80px 1.5rem;
  background: var(--bglight);
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--navy); margin-bottom: 16px;
}
.section-header p { color: var(--secondary); max-width: 480px; margin: 0 auto; font-size: .95rem; line-height: 1.6; }
.features-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.feature-card {
  background: white; border-radius: 16px;
  padding: 24px; border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--secondary); line-height: 1.6; }
.icon-blue   { background: #eff6ff; color: #2563eb; }
.icon-green  { background: #ecfdf5; color: #059669; }
.icon-violet { background: #f5f3ff; color: #7c3aed; }
.icon-orange { background: #fff7ed; color: #ea580c; }
.icon-pink   { background: #fdf2f8; color: #db2777; }
.icon-amber  { background: #fffbeb; color: #d97706; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ── Mockup cards ───────────────────────────────────────── */
.mockup-section {
  padding: 80px 1.5rem;
  background: white;
}
.mockup-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;
}
.mockup-card { border-radius: 24px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.mockup-header { padding: 32px 24px 24px; color: white; }
.mockup-header .notch {
  width: 48px; height: 4px; border-radius: 9999px;
  background: rgba(255,255,255,.4); margin: 0 auto 16px;
}
.mockup-header h3 { font-size: 1.1rem; font-weight: 700; }
.mockup-header p { font-size: .75rem; opacity: .75; margin-top: 2px; }
.bg-blue-grad   { background: linear-gradient(135deg, var(--accent), #2563eb); }
.bg-violet-grad { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.bg-green-grad  { background: linear-gradient(135deg, #10b981, #0d9488); }
.mockup-body {
  background: white; border: 1px solid #f3f4f6;
  border-top: none; border-radius: 0 0 24px 24px;
  padding: 20px;
}
.mockup-item {
  font-size: .875rem; color: var(--navy);
  background: #f9fafb; border-radius: 8px;
  padding: 10px 12px; margin-bottom: 12px;
}
.mockup-item:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .mockup-grid { grid-template-columns: 1fr; max-width: 340px; } }

/* ── Policy Page Specifics ──────────────────────────────── */
.policy-container {
  max-width: 1100px !important;
  margin: 60px auto !important;
  padding: 0 30px !important;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--policy-bg); 
}

.policy-header {
  text-align: center;
  margin-bottom: 50px;
}

.policy-section-wrapper {
  background-color: var(--policy-bg); 
  width: 100%; 
  padding: 80px 0; 
  margin: 40px 0;
}

.policy-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--policy-text-primary);
}

.policy-header p {
  color: var(--policy-text-secondary);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.policy-tag {
  display: inline-block;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--policy-accent-blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.policy-card:hover h2,
.policy-card:hover h3,
.policy-card:hover .policy-content h2,
.policy-card:hover .policy-content h3,
.policy-card:hover p {
    color: #ffffff !important;
    transition: color 0.4s ease-in-out !important;
}

.policy-card {
  background-color: #ffffff; 
  padding: 30px;
  border-radius: var(--policy-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.policy-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  background-color: rgba(19, 39, 67, 0.85);
  border-color: rgba(59, 130, 246, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.store-btn:hover
.policy-card:hover h4,
.policy-card:hover p {
  color: #ffffff !important;
  transition: color 0.4s ease-in-out;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--policy-accent-blue), #1D4ED8);
  border-radius: var(--policy-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.policy-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000000; 
  transition: color var(--policy-transition);
}

.policy-card p {
  color: #333333; 
  font-size: 14.5px;
  line-height: 1.6;
  transition: color var(--policy-transition);
} 

@media (max-width: 768px) {
  .policy-header h2 {
    font-size: 26px;
  }
  .policy-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    justify-content: center !important;
    margin-top: 40px !important;
  }
}


/* ── CTA ────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 1.5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background: radial-gradient(circle at 50% 100%, #1E90FF 0%, transparent 60%);
}
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; color: white; margin-bottom: 16px;
}
.cta-section p { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.7; margin-bottom: 40px; }
.cta-note { margin-top: 32px; font-size: .75rem; color: rgba(255,255,255,.3); }

/* ── Store buttons ──────────────────────────────────────── */
.store-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px; padding: 16px 28px;
  color: white; font-family: inherit;
  cursor: pointer; transition: transform .2s;
  text-decoration: none;
}
.store-btn:hover { transform: scale(1.05); background: var(--navy-800); }
.store-btn:active { transform: scale(.95); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn-text { text-align: left; line-height: 1; }
.store-btn-text .micro { display: block; font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 3px; }
.store-btn-text .name { display: block; font-size: 1rem; font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 48px 1.5rem 32px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 40px;
}
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-logo .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
}
.footer-brand-logo .icon svg { width: 20px; height: 20px; color: white; }
.footer-brand-logo .title { display: block; color: white; font-weight: 700; font-size: .9rem; }
.footer-brand-logo .sub { display: block; color: rgba(255,255,255,.4); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 20px; }
.footer-store-btns { display: flex; flex-direction: column; gap: 10px; }
.footer-store-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: 10px 16px;
  color: white; font-family: inherit; cursor: pointer;
  transition: background .2s; text-decoration: none;
}
.footer-store-btn:hover { background: rgba(255,255,255,.2); }
.footer-store-btn svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.footer-store-btn .micro { display: block; font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; }
.footer-store-btn .name { display: block; font-size: .875rem; font-weight: 600; color: white; }
footer h3 { color: white; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-contact .micro { display: block; font-size: .65rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.footer-contact a { font-size: .875rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contact a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1280px; margin: 0 auto;
  padding: 24px 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .75rem; color: rgba(255,255,255,.4);
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ── Back to top ─────────────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: white; border: none;
  cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: scale(1.1); background: var(--accent-dark); }
#backToTop svg { width: 20px; height: 20px; }