/* ============================================================
   Lexi Homepage — Stylesheet
   Plugin: lexi-homepage
   ============================================================ */

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

:root {
  --teal:    #20ad96;
  --teal-d:  #178a77;
  --navy:    #0f2044;
  --navy-m:  #1b3a6b;
  --steel:   #385777;
  --slate:   #3f3a64;
  --charcoal:#2b3940;
  --white:   #ffffff;
  --off:     #f4f7fb;
  --muted:   #6b7280;
  --border:  #e5e9f0;
  --gold:    #f4b942;
  --radius:  14px;
  --shadow:  0 8px 32px rgba(15,32,68,.10);
  --shadow-lg: 0 20px 60px rgba(15,32,68,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  height: 68px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: var(--shadow); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal), var(--navy-m));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
  letter-spacing: -1px;
}
.nav-logo-text { font-weight: 700; font-size: 17px; color: var(--navy); }
.nav-logo-text span { color: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: var(--charcoal); transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: 9px 22px; border-radius: 50px;
  font-weight: 600 !important; font-size: 14px !important;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--teal-d) !important; transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ── HERO ─────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-m) 50%, var(--steel) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 100px 6vw 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(32,173,150,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(32,173,150,.12) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(#fff 1px, transparent 1px),
                    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  max-width: 1180px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; position: relative; z-index: 1;
}
.hero-text { flex: 1; max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(32,173,150,.15); border: 1px solid rgba(32,173,150,.35);
  border-radius: 50px; padding: 6px 16px; margin-bottom: 28px;
  font-size: 13px; font-weight: 600; color: var(--teal); letter-spacing: .3px;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--teal); border-radius: 50%;
  animation: lexi-pulse 1.8s ease-in-out infinite;
}

@keyframes lexi-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 24px;
}
.hero-h1 em { font-style: normal; color: var(--teal); }

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,.78);
  font-weight: 400; line-height: 1.65; margin-bottom: 44px; max-width: 460px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.btn-store {
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy);
  padding: 14px 24px; border-radius: 14px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-store:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.22); }

.btn-store svg { flex-shrink: 0; }
.btn-store-label { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store-label small { font-size: 10px; font-weight: 400; color: var(--muted); }
.btn-store-label strong { font-size: 15px; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-num { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: var(--teal); }
.stat-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .6px; }

.hero-visual { flex: 0 0 auto; position: relative; width: 320px; }
.phone-wrap { position: relative; width: 260px; margin: 0 auto; }
.phone-outer {
  background: linear-gradient(145deg, #1e2d4f, #0f2044);
  border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}
.phone-inner {
  background: #f4f7fb; border-radius: 36px;
  overflow: hidden; height: 500px;
  display: flex; flex-direction: column;
}
.phone-status {
  height: 36px; background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; flex-shrink: 0;
}
.phone-status-text { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 500; }
.phone-screen { flex: 1; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.phone-header {
  background: linear-gradient(135deg, var(--navy), var(--steel));
  padding: 16px 16px 20px; flex-shrink: 0;
}
.phone-header-logo { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.phone-header-logo span { color: var(--teal); }
.phone-header-sub { font-size: 10px; color: rgba(255,255,255,.6); }
.phone-search {
  margin: 12px 12px 0; background: var(--off); border-radius: 10px;
  padding: 9px 12px; font-size: 11px; color: var(--muted);
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.phone-section-title {
  font-size: 10px; font-weight: 700; color: var(--navy);
  padding: 12px 12px 6px; text-transform: uppercase; letter-spacing: .6px;
}
.phone-cards { padding: 0 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; overflow: hidden; }
.phone-card {
  background: var(--off); border-radius: 10px; padding: 10px 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.phone-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.phone-card-title { font-size: 10px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.phone-card-sub { font-size: 9px; color: var(--muted); margin-top: 2px; }
.phone-bottom {
  display: flex; justify-content: space-around; padding: 10px 0 12px;
  border-top: 1px solid var(--border); flex-shrink: 0;
}
.phone-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.phone-tab-icon { font-size: 16px; }
.phone-tab-label { font-size: 8px; color: var(--muted); }
.phone-tab.active .phone-tab-label { color: var(--teal); }
.phone-glow {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 80px;
  background: radial-gradient(ellipse, rgba(32,173,150,.4), transparent 70%);
  filter: blur(20px);
}

.floating-badge {
  position: absolute; background: #fff; border-radius: 12px;
  padding: 10px 14px; box-shadow: 0 8px 32px rgba(15,32,68,.2);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--navy);
  animation: lexi-float 3s ease-in-out infinite;
}
@keyframes lexi-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.fb1 { top: 40px; right: -20px; animation-delay: 0s; }
.fb2 { bottom: 100px; left: -30px; animation-delay: 1.5s; }
.fb-icon { font-size: 20px; }

/* ── SECTIONS COMMON ─────────────────── */
section { padding: 100px 6vw; }
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; line-height: 1.2;
  color: var(--navy); margin-bottom: 18px;
}
.section-sub { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section-head { margin-bottom: 60px; }

/* ── FEATURES ─────────────────────────── */
#features { background: var(--off); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-m));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(32,173,150,.12), rgba(32,173,150,.06));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── ABOUT ────────────────────────────── */
#about .about-inner { display: flex; align-items: center; gap: 80px; flex-wrap: wrap; }
.about-visual { flex: 0 0 auto; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 340px; }
.about-tile {
  background: var(--off); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; border: 1px solid var(--border);
}
.about-tile.accent {
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  border-color: transparent;
}
.about-tile.accent .tile-num,
.about-tile.accent .tile-label { color: #fff; }
.tile-num { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; }
.tile-label { font-size: 12px; color: var(--muted); margin-top: 6px; }
.about-content { flex: 1; min-width: 280px; }
.about-content .section-sub { max-width: 100%; margin-bottom: 24px; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--charcoal); }
.check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(32,173,150,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; font-size: 12px; color: var(--teal);
}

/* ── HOW IT WORKS ─────────────────────── */
#how { background: var(--off); }
.steps { display: flex; gap: 0; flex-wrap: wrap; position: relative; }
.step { flex: 1; min-width: 200px; text-align: center; padding: 0 20px; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy-m));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff;
  margin: 0 auto 24px; box-shadow: 0 8px 24px rgba(32,173,150,.3);
}
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── OPPORTUNITIES ────────────────────── */
#opportunities .opp-inner { display: flex; gap: 64px; align-items: flex-start; flex-wrap: wrap; }
.opp-content { flex: 1; min-width: 280px; }
.opp-content .section-sub { max-width: 100%; margin-bottom: 36px; }
.opp-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-m));
  border-radius: var(--radius); padding: 36px 32px;
  color: #fff; flex: 0 0 360px; position: relative; overflow: hidden;
}
.opp-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(32,173,150,.12);
}
.opp-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; position: relative; }
.opp-card p  { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 28px; line-height: 1.6; position: relative; }
.opp-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; position: relative; }
.opp-perk { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.opp-perk-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }
.btn-apply {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 14px 32px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background .2s, transform .2s; position: relative;
}
.btn-apply:hover { background: var(--teal-d); transform: translateY(-2px); }
.role-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.role-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 20px;
}
.role-info h4 { font-size: 15px; font-weight: 600; color: var(--navy); }
.role-info p  { font-size: 12px; color: var(--muted); margin-top: 3px; }
.role-badge {
  font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 50px;
  background: rgba(32,173,150,.1); color: var(--teal); white-space: nowrap;
}

/* ── CONTACT ──────────────────────────── */
#contact .contact-inner { display: flex; gap: 64px; align-items: flex-start; flex-wrap: wrap; }
.contact-form-wrap { flex: 1; min-width: 280px; }
.contact-info { flex: 0 0 300px; }
form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 16px; }
.form-row .field { flex: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 16px; font-family: inherit; font-size: 14px;
  color: var(--navy); background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(32,173,150,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.btn-send {
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: #fff; border: none; border-radius: 10px;
  padding: 14px 32px; font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity .2s, transform .2s; align-self: flex-start;
}
.btn-send:hover { opacity: .9; transform: translateY(-2px); }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(32,173,150,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.ci-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.ci-value { font-size: 15px; color: var(--navy); font-weight: 500; }
.ci-value a { color: inherit; text-decoration: none; }
.ci-value a:hover { color: var(--teal); }
.social-row { display: flex; gap: 12px; margin-top: 36px; }
.social-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--off); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 18px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.social-icon:hover {
  background: var(--teal); transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(32,173,150,.35);
}

/* ── DOWNLOAD CTA ─────────────────────── */
#download {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-m) 60%, var(--steel) 100%);
  text-align: center; position: relative; overflow: hidden;
}
#download::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(32,173,150,.2), transparent 60%);
}
#download .section-inner { position: relative; z-index: 1; }
#download .section-h2 { color: #fff; }
#download .section-sub { color: rgba(255,255,255,.7); margin: 0 auto 48px; text-align: center; }
#download .hero-btns { justify-content: center; }

/* ── FOOTER ───────────────────────────── */
footer {
  background: var(--navy);
  padding: 48px 6vw 32px;
  color: rgba(255,255,255,.55);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { font-weight: 800; font-size: 18px; color: #fff; }
.footer-logo span { color: var(--teal); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1180px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none; transition: background .2s;
}
.footer-social a:hover { background: var(--teal); }

/* ── MOBILE ───────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0; z-index: 99;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 12px 6vw; font-size: 16px; }
  .nav-links.open .nav-cta { margin: 8px 6vw; display: block; text-align: center; border-radius: 10px; }

  .hero-inner { flex-direction: column; text-align: center; }
  .hero-sub { margin: 0 auto 44px; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .about-inner { flex-direction: column; }
  .about-tiles { width: 100%; max-width: 340px; margin: 0 auto; }

  .opp-inner { flex-direction: column; }
  .opp-card { flex: 0 0 auto; width: 100%; }

  .contact-inner { flex-direction: column; }
  .contact-info { flex: 0 0 auto; width: 100%; }

  .form-row { flex-direction: column; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  section { padding: 72px 5vw; }
  .steps { flex-direction: column; }
  .step { padding: 0; margin-bottom: 40px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-store { justify-content: center; }
}
