/* ============================================================
   IMPEXIO v2 — styles.css
   Theme: Soft Ivory + Deep Navy + Gold Accent
   Aesthetic: Premium Editorial / Glassmorphism Light
   Fonts: Cormorant Garamond (display) + Outfit (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --navy:        #0f2540;
  --navy-mid:    #1a3a5c;
  --navy-light:  #2a5298;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-pale:   #fdf6e3;
  --ivory:       #fafaf7;
  --ivory2:      #f4f3ee;
  --ivory3:      #eceae0;
  --white:       #ffffff;
  --text:        #0f2540;
  --text-mid:    #3d5475;
  --text-soft:   #6b7fa3;
  --border:      #dde3f0;
  --border-soft: #eef1f8;

  --shadow-sm:   0 2px 12px rgba(15,37,64,0.07);
  --shadow-md:   0 6px 28px rgba(15,37,64,0.11);
  --shadow-lg:   0 16px 56px rgba(15,37,64,0.14);
  --shadow-xl:   0 28px 80px rgba(15,37,64,0.18);

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --nav-h:       72px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --transition:   all 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--ivory); color: var(--text); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; background: none; }
input { font-family: var(--font-body); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ivory2); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  padding: 0 2.5rem;
  justify-content: space-between;
  background: rgba(250,250,247,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(221,227,240,0.7);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(250,250,247,0.98); box-shadow: var(--shadow-md); }

.nav-brand { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }

.nav-logo-wrap {
  width: 56px; height: 56px;
  border-radius: 13px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15,37,64,0.3);
  transition: var(--transition);
  overflow: hidden;
}
.nav-logo-wrap:hover { transform: scale(1.06) rotate(-2deg); }

.nav-logo { width: 50px; height: 50px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.2); }

.nav-brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; line-height: 1.1; }
.nav-brand-sub { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-soft); }

.nav-menu { display: flex; align-items: center; gap: 0.1rem; flex: 1; justify-content: center; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.025em;
  color: var(--text-mid); border-radius: var(--radius-sm);
  transition: var(--transition); cursor: pointer; user-select: none; white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: var(--ivory2); }
.nav-chevron { font-size: 0.55rem; opacity: 0.6; transition: transform 0.25s; }
.nav-item.open .nav-chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  min-width: 258px; padding: 0.55rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 999;
}
.nav-item.open .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }

.nav-dropdown::before {
  content: ''; position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 6px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-top: none;
}

.dd-label { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-soft); padding: 0.4rem 0.85rem 0.35rem; border-bottom: 1px solid var(--border-soft); margin-bottom: 0.4rem; }

.dd-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.58rem 0.85rem; border-radius: 10px;
  font-size: 0.845rem; font-weight: 500; color: var(--text-mid);
  cursor: pointer; transition: var(--transition);
}
.dd-item:hover { background: var(--ivory2); color: var(--navy); transform: translateX(4px); }
.dd-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--ivory2); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0; transition: var(--transition);
}
.dd-item:hover .dd-icon { background: var(--navy); color: var(--white); }

.nav-auth { flex-shrink: 0; }

.btn-nav-login {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.58rem 1.6rem;
  background: var(--navy); color: var(--white);
  border-radius: 50px; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(15,37,64,0.22);
  transition: var(--transition);
}
.btn-nav-login:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,37,64,0.3); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); transition: background 0.2s; }
.hamburger:hover { background: var(--ivory2); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 1rem 1.5rem;
  z-index: 999; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.nav-mobile.open { display: block; }

.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; font-size: 0.9rem; font-weight: 600;
  color: var(--text); cursor: pointer; border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.mob-link:hover { background: var(--ivory2); }
.mob-drop { display: none; padding: 0.3rem 0.5rem; }
.mob-drop.open { display: block; }
.mob-dd-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; font-size: 0.83rem; color: var(--text-mid); border-radius: 8px; cursor: pointer; transition: background 0.15s; }
.mob-dd-item:hover { background: var(--ivory2); color: var(--navy); }
.mob-auth { padding-top: 1rem; margin-top: 0.5rem; border-top: 1px solid var(--border); }
.mob-auth .btn-nav-login { width: 100%; justify-content: center; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: var(--nav-h); }

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 78% 35%, rgba(201,168,76,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 55% 55% at 15% 75%, rgba(42,82,152,0.07) 0%, transparent 50%),
    linear-gradient(165deg, #fafaf7 0%, #f6f4ee 45%, #f1efe7 100%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; pointer-events: none;
}
.hero-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,37,64,0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(15,37,64,0.028) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}

.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%); top: -100px; right: 0; animation: blobDrift 12s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(42,82,152,0.08) 0%, transparent 70%); bottom: 50px; left: -80px; animation: blobDrift 10s ease-in-out infinite reverse; }
.blob-3 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%); top: 55%; right: 20%; animation: blobDrift 14s ease-in-out infinite 3s; }
@keyframes blobDrift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-25px) scale(1.04); } 66% { transform: translate(-20px,15px) scale(0.97); } }

.hero-wrap { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 5rem 2.5rem; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 5rem; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  color: #7a5c10; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.75rem; animation: riseIn 0.7s ease both;
}
.eyebrow-dot { width: 22px; height: 22px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }

.hero-h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 700; line-height: 1.1; color: var(--navy); margin-bottom: 0.4rem; animation: riseIn 0.7s 0.1s ease both; letter-spacing: -0.01em; }
.h1-italic { font-style: italic; display: block; color: var(--navy-mid); }
.h1-line2 { display: block; }
.h1-underline { position: relative; display: inline-block; }
.h1-underline::after { content: ''; position: absolute; left: 0; bottom: 3px; width: 100%; height: 7px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; z-index: -1; opacity: 0.45; }

.hero-desc { font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; margin: 1.5rem 0 2.5rem; max-width: 500px; animation: riseIn 0.7s 0.2s ease both; }

.hero-btns { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; animation: riseIn 0.7s 0.3s ease both; }

.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.92rem 2.2rem; background: var(--navy); color: var(--white);
  border-radius: 50px; font-size: 0.95rem; font-weight: 600;
  box-shadow: 0 6px 24px rgba(15,37,64,0.25); transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%); opacity: 0; transition: opacity 0.25s; }
.btn-primary-hero:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(15,37,64,0.32); }
.btn-primary-hero:hover::before { opacity: 1; }

.btn-ghost-hero { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--text-mid); transition: var(--transition); }
.btn-ghost-hero:hover { color: var(--navy); gap: 0.85rem; }

.hero-metrics { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); animation: riseIn 0.7s 0.4s ease both; }
.metric-val { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.metric-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-top: 0.35rem; font-weight: 500; }

/* Hero mockup */
.hero-right { animation: riseRight 0.8s 0.15s ease both; position: relative; }
.hero-mockup { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-xl); overflow: hidden; }
.mockup-bar { background: var(--navy); padding: 0.9rem 1.4rem; display: flex; align-items: center; gap: 0.5rem; }
.mb-dot { width: 10px; height: 10px; border-radius: 50%; }
.mb-dot:nth-child(1) { background: #ff5f57; }
.mb-dot:nth-child(2) { background: #febc2e; }
.mb-dot:nth-child(3) { background: #28c840; }
.mb-url { font-size: 0.72rem; color: rgba(255,255,255,0.45); font-family: var(--font-mono); margin-left: 0.6rem; }
.mockup-body { padding: 1.4rem; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 0.68rem 0.9rem; border-radius: 10px; margin-bottom: 0.42rem; transition: background 0.18s; cursor: default; }
.mock-row:hover { background: var(--ivory2); }
.mock-label { display: flex; align-items: center; gap: 0.65rem; font-size: 0.82rem; color: var(--text-mid); font-weight: 500; }
.mock-ico { width: 28px; height: 28px; border-radius: 7px; background: var(--ivory2); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.mock-val { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.mock-sep { height: 1px; background: var(--border-soft); margin: 0.75rem 0; }
.mock-badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.18rem 0.55rem; border-radius: 100px; font-size: 0.68rem; font-weight: 700; }
.badge-green { background: #e6f9f0; color: #1a7a45; }
.badge-amber { background: #fef8e7; color: #8b6914; }

.float-pill { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 50px; padding: 0.55rem 1rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 600; color: var(--text); box-shadow: var(--shadow-md); white-space: nowrap; }
.float-pill-1 { top: -18px; right: -8px; animation: pillFloat 4s ease-in-out infinite; }
.float-pill-2 { bottom: -15px; left: 5px; animation: pillFloat 5s ease-in-out infinite 1.5s; }
@keyframes pillFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes riseRight { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1240px; margin: 0 auto; }

.s-kicker { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--navy-light); margin-bottom: 1rem; }
.kicker-bar { width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.s-heading { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 700; color: var(--navy); line-height: 1.18; margin-bottom: 1rem; }
.s-sub { font-size: 1rem; color: var(--text-mid); line-height: 1.75; max-width: 520px; margin-bottom: 3.5rem; }

/* ── FEATURES ─────────────────────────────────────────────────── */
.features-bg { background: var(--ivory2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.75rem; transition: var(--transition); position: relative; overflow: hidden; cursor: default; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feat-card:hover::before { transform: scaleX(1); }
.feat-num { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-soft); letter-spacing: 0.08em; margin-bottom: 1.2rem; display: block; }
.feat-icon-big { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.feat-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.feat-body { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

/* ── MODULES ─────────────────────────────────────────────────── */
.mods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mod-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.mod-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%); opacity: 0; transition: opacity 0.25s; }
.mod-card:hover { border-color: rgba(201,168,76,0.5); transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-md); }
.mod-card:hover::after { opacity: 1; }
.mod-emoji { font-size: 1.9rem; margin-bottom: 0.6rem; }
.mod-name { font-size: 0.8rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.mod-sect { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); margin-top: 0.3rem; font-weight: 600; }

/* ── STATS BAND ──────────────────────────────────────────────── */
.stats-band { background: var(--navy); padding: 4.5rem 2.5rem; }
.stats-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-val { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-top: 0.5rem; font-weight: 500; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer { background: #091929; color: rgba(255,255,255,0.6); }
.footer-top { max-width: 1240px; margin: 0 auto; padding: 5rem 2.5rem 3.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3.5rem; }
.footer-logo-wrap { width: 62px; height: 62px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.footer-logo { width: 54px; height: 54px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.3); }
.footer-name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 270px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.5rem; }
.soc-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; transition: var(--transition); text-decoration: none; }
.soc-btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-col-head { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-light); margin-bottom: 1.2rem; }
.footer-lnk { display: block; font-size: 0.84rem; color: rgba(255,255,255,0.5); padding: 0.28rem 0; cursor: pointer; transition: var(--transition); }
.footer-lnk:hover { color: var(--white); padding-left: 5px; }
.footer-contact-line { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.81rem; color: rgba(255,255,255,0.42); margin-bottom: 0.5rem; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); max-width: 1240px; margin: 0 auto; padding: 1.5rem 2.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom strong { color: rgba(255,255,255,0.8); }

/* ── LOGIN ───────────────────────────────────────────────────── */
body.login-body { background: var(--ivory); }
.login-shell { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }

.login-left { background: var(--navy); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; }
.ll-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 50px 50px; }
.ll-blob1 { position: absolute; width: 420px; height: 420px; background: radial-gradient(circle, rgba(201,168,76,0.16) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); top: -90px; right: -90px; animation: blobDrift 12s ease-in-out infinite; }
.ll-blob2 { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(42,82,152,0.2) 0%, transparent 70%); border-radius: 50%; filter: blur(50px); bottom: -60px; left: -60px; animation: blobDrift 9s ease-in-out infinite reverse; }

.ll-inner { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 380px; }
.ll-logo-box { width: 120px; height: 120px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 12px 48px rgba(0,0,0,0.3); animation: logoAppear 1s cubic-bezier(.34,1.56,.64,1) both; }
.ll-logo { width: 106px; height: 106px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.3); }
@keyframes logoAppear { from { opacity: 0; transform: scale(0.5) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0deg); } }

.ll-name { font-family: var(--font-display); font-size: 2.9rem; font-weight: 700; color: var(--white); letter-spacing: 0.06em; margin-bottom: 0.4rem; animation: riseIn 0.7s 0.4s ease both; }
.ll-sub { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 2.5rem; animation: riseIn 0.7s 0.5s ease both; }
.ll-perks { display: flex; flex-direction: column; gap: 0.65rem; animation: riseIn 0.7s 0.6s ease both; }
.ll-perk { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 0.75rem 1.1rem; text-align: left; transition: background 0.2s; }
.ll-perk:hover { background: rgba(255,255,255,0.1); }
.ll-perk-ico { font-size: 1.1rem; flex-shrink: 0; }
.ll-perk-txt { font-size: 0.84rem; color: rgba(255,255,255,0.85); font-weight: 500; }

.login-right { background: var(--ivory); display: flex; align-items: center; justify-content: center; padding: 2rem; overflow-y: auto; position: relative; }
.login-right::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 60%); border-radius: 50%; pointer-events: none; }

.step-progress { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-bottom: 2.5rem; }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.3s; }
.sp-dot.active { background: var(--navy); width: 28px; border-radius: 4px; }
.sp-dot.done { background: var(--gold); }

.login-card { width: 100%; max-width: 420px; position: relative; z-index: 2; }
.login-step { display: none; }
.login-step.active { display: block; animation: riseIn 0.35s ease both; }

.step-hd { text-align: center; margin-bottom: 2rem; }
.step-ico-wrap { width: 66px; height: 66px; background: var(--navy); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 1.2rem; box-shadow: 0 8px 28px rgba(15,37,64,0.22); }
.step-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.step-sub { font-size: 0.87rem; color: var(--text-soft); }

.fgroup { margin-bottom: 1.1rem; }
.flabel { display: block; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.5rem; }
.finput-wrap { position: relative; }
.finput-ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1rem; pointer-events: none; color: var(--text-soft); }
.finput { width: 100%; padding: 0.9rem 1rem 0.9rem 2.85rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.93rem; color: var(--text); background: var(--white); transition: var(--transition); }
.finput:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(15,37,64,0.08); }
.finput::placeholder { color: rgba(107,127,163,0.5); }
.fhint { font-size: 0.73rem; color: var(--text-soft); margin-top: 0.35rem; }

.ferr { display: none; align-items: center; gap: 0.5rem; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; font-size: 0.82rem; color: #dc2626; margin-bottom: 1rem; }
.ferr.show { display: flex; }

.sel-list { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
.sel-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; cursor: pointer; transition: var(--transition); background: var(--white); }
.sel-card:hover { border-color: var(--navy-light); background: var(--ivory2); }
.sel-card.chosen { border-color: var(--navy); background: rgba(15,37,64,0.03); box-shadow: 0 0 0 3px rgba(15,37,64,0.08); }
.sel-head { display: flex; align-items: center; justify-content: space-between; }
.sel-name { font-weight: 700; font-size: 0.93rem; color: var(--text); }
.sel-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: transparent; flex-shrink: 0; transition: var(--transition); }
.sel-card.chosen .sel-check { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sel-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.sel-tag { font-size: 0.7rem; background: var(--ivory2); color: var(--text-mid); border-radius: 100px; padding: 0.18rem 0.55rem; font-weight: 500; }

.btn-step { width: 100%; padding: 1rem; background: var(--navy); color: var(--white); border-radius: 50px; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; transition: var(--transition); box-shadow: 0 6px 22px rgba(15,37,64,0.22); display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.75rem; }
.btn-step:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(15,37,64,0.3); }
.btn-back-step { width: 100%; padding: 0.75rem; background: transparent; color: var(--text-soft); border: 1.5px solid var(--border); border-radius: 50px; font-size: 0.87rem; font-weight: 600; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.5rem; }
.btn-back-step:hover { border-color: var(--navy); color: var(--navy); }

/* ── DASHBOARD ───────────────────────────────────────────────── */
body.dash-body { background: var(--ivory); }
.dash-topbar { background: var(--white); border-bottom: 1px solid var(--border); height: 64px; display: flex; align-items: center; padding: 0 2.5rem; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.dtb-brand { display: flex; align-items: center; gap: 0.8rem; }
.dtb-logo-box { width: 42px; height: 42px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.dtb-logo { width: 36px; height: 36px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.2); }
.dtb-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.dtb-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.dtb-chip { display: flex; align-items: center; gap: 0.35rem; font-size: 0.77rem; color: var(--text-mid); background: var(--ivory2); border-radius: 100px; padding: 0.28rem 0.75rem; font-weight: 500; }
.dtb-chip strong { color: var(--navy); }
.dtb-right { display: flex; align-items: center; gap: 0.7rem; }
.dtb-user { display: flex; align-items: center; gap: 0.6rem; background: var(--ivory2); border: 1px solid var(--border); border-radius: 50px; padding: 0.32rem 0.9rem 0.32rem 0.32rem; cursor: pointer; transition: var(--transition); }
.dtb-user:hover { border-color: var(--navy); }
.dtb-avatar { width: 30px; height: 30px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--white); }
.dtb-uname { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.dtb-role { font-size: 0.64rem; background: rgba(201,168,76,0.15); color: #7a5c10; border-radius: 100px; padding: 0.08rem 0.42rem; font-weight: 700; }
.btn-logout { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1.1rem; border: 1.5px solid var(--border); border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--text-mid); transition: var(--transition); }
.btn-logout:hover { border-color: #dc2626; color: #dc2626; background: #fef2f2; }

.dash-content { max-width: 1240px; margin: 0 auto; padding: 2.5rem; }
.dash-strip { background: var(--navy); border-radius: var(--radius-lg); padding: 1.6rem 2.5rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 2.5rem; position: relative; overflow: hidden; }
.dash-strip::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: rgba(201,168,76,0.08); border-radius: 50%; filter: blur(40px); }
.ds-label { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: 0.35rem; font-weight: 700; }
.ds-val { font-size: 0.9rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.ds-val.gold { color: var(--gold-light); }

.dash-menu-head { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.dash-menu-sub { font-size: 0.87rem; color: var(--text-soft); margin-bottom: 2rem; }

.menu-sect { margin-bottom: 2.5rem; }
.msect-lbl { display: flex; align-items: center; gap: 0.6rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-soft); margin-bottom: 1rem; }
.msect-lbl::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.menu-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.9rem; }
.m-tile { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1rem 1.1rem; text-align: center; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.m-tile::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transition: transform 0.28s; }
.m-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,168,76,0.35); }
.m-tile:hover::before { transform: scaleX(1); }
.m-tile-icon { font-size: 2.1rem; margin-bottom: 0.7rem; }
.m-tile-name { font-size: 0.79rem; font-weight: 600; color: var(--text); line-height: 1.4; }

#toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--navy); color: var(--white); padding: 0.9rem 1.5rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-xl); transform: translateY(80px); opacity: 0; transition: all 0.35s cubic-bezier(.4,0,.2,1); z-index: 9999; display: flex; align-items: center; gap: 0.6rem; border-left: 4px solid var(--gold); }
#toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .mods-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .dash-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero-wrap { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; text-align: center; }
  .hero-right { order: -1; max-width: 440px; margin: 0 auto; }
  .hero-metrics { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-desc { margin: 1.5rem auto 2.5rem; }
  .login-shell { grid-template-columns: 1fr; position: relative; min-height: 100vh; }
  .login-left { display: none; }
  body.login-body { overflow: auto; }
  .login-shell { position: relative; }
  .login-right { min-height: 100vh; }
  .dtb-meta { display: none; }
}
@media (max-width: 640px) {
  .navbar { padding: 0 1.2rem; }
  .section { padding: 4rem 1.2rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .mods-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-top { padding: 3rem 1.2rem 2rem; grid-template-columns: 1fr; }
  .footer-bottom { padding: 1.2rem; flex-direction: column; text-align: center; }
  .dash-content { padding: 1.2rem; }
  .dash-strip { grid-template-columns: 1fr 1fr; padding: 1.2rem; gap: 0.8rem; }
  .menu-tiles { grid-template-columns: repeat(2, 1fr); }
  .nav-brand-sub { display: none; }
}
