/* Alluqi — Shared Design System */
/* Based on alluqi.ai visual language: dark/light mode, Clash Display + Satoshi fonts, coral/cyan accents */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@700,600,500&f[]=satoshi@400,500,700&display=swap');

:root {
  --bg: #020408;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-strong: rgba(255,255,255,0.07);
  --text-primary: #f0f4ff;
  --text-secondary: #8892b0;
  --text-muted: #5a6480;
  --coral: #ff4d4d;
  --coral-dark: #cc2a2a;
  --coral-soft: rgba(255,77,77,0.15);
  --cyan: #00e5cc;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,77,77,0.4);
  --shadow-coral: 0 8px 30px rgba(255,77,77,0.25);
  --max-width: 860px;
  --font-heading: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;
}

[data-theme="light"] {
  --bg: #fcfeff;
  --bg-card: rgba(0,0,0,0.03);
  --bg-card-strong: rgba(0,0,0,0.05);
  --text-primary: #0b1220;
  --text-secondary: #2e405c;
  --text-muted: #5f7290;
  --coral: #ef4b58;
  --coral-dark: #c0313e;
  --coral-soft: rgba(239,75,88,0.1);
  --cyan: #008f87;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(239,75,88,0.35);
  --shadow-coral: 0 8px 30px rgba(239,75,88,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

/* MAIN STACKING */
main {
  position: relative;
  z-index: 1;
}

/* STARFIELD */
.stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 200px 60px, rgba(220,220,230,0.5), transparent),
    radial-gradient(1px 1px at 250px 150px, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 300px 40px, rgba(180,170,255,0.3), transparent),
    radial-gradient(1px 1px at 350px 90px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 400px 30px, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 450px 110px, rgba(200,200,210,0.4), transparent),
    radial-gradient(2px 2px at 500px 60px, rgba(255,255,255,0.7), transparent);
  background-size: 550px 200px;
  animation: twinkle 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.nebula {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(100,80,200,0.06), transparent 50%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(80,60,180,0.04), transparent 50%),
    radial-gradient(ellipse 90% 70% at 50% 90%, rgba(100,80,200,0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
@keyframes twinkle {
  0% { opacity: 0.4; }
  100% { opacity: 0.75; }
}
[data-theme="light"] .stars,
[data-theme="light"] .nebula {
  display: none;
}

/* CONTAINER */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--coral); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--coral); }

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--coral-dark) !important;
  transform: translateY(-1px);
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
}

.theme-toggle:hover { border-color: var(--coral); color: var(--coral); }

/* HERO */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 span { color: var(--coral); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
  color: var(--cyan);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* SECTION */
section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.chevron {
  color: var(--coral);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  font-family: var(--font-heading);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.2s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-coral);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ─── WORKS WITH UNIFI ─── */
/* .app-grid removed — replaced by .app-carousel-wrapper */

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.2s, box-shadow 0.25s;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-coral);
  color: var(--text-primary);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.app-name {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
/* ─── WORKS WITH UNIFI CAROUSEL ─── */
.app-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 32px;
  position: relative;
}
.app-carousel-wrapper::before,
.app-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.app-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main), transparent);
}
.app-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main), transparent);
}
.app-carousel {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scrollApps 28s linear infinite;
}
.app-carousel:hover {
  animation-play-state: paused;
}
@keyframes scrollApps {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* Mobile app-grid overrides removed — carousel handles all widths */
@media (max-width: 480px) {
  .app-icon { width: 52px; height: 52px; }
}

/* ─── BUSINESSES WE SUPPORT CAROUSEL ─── */
.logo-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 32px;
  position: relative;
}

.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.logo-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.logo-carousel {
  display: flex;
  gap: 24px;
  animation: carouselScroll 30s linear infinite;
  width: max-content;
}

.logo-carousel:hover {
  animation-play-state: paused;
}

@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 180px;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.logo-slide:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-coral);
}

.logo-slide img {
  width: 100%;
  max-width: 120px;
  height: 80px;
  object-fit: contain;
  border-radius: 0;
  filter: grayscale(0%) brightness(1.0);
  transition: filter 0.2s, transform 0.2s;
}

.logo-slide:hover img {
  filter: grayscale(0%) brightness(1.25) drop-shadow(0 0 8px rgba(255,77,77,0.4));
  transform: scale(1.05);
}

[data-theme="light"] .logo-slide img {
  filter: grayscale(0%) brightness(0.9);
}
[data-theme="light"] .logo-slide:hover img {
  filter: grayscale(0%) brightness(0.8) drop-shadow(0 0 8px rgba(239,75,88,0.3));
}

.logo-slide span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 130px;
  line-height: 1.3;
}

/* FEATURE LIST */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  color: var(--coral);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  aspect-ratio: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.3;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.2s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px var(--coral-soft);
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* PROCESS STEPS */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  position: relative;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  min-width: 48px;
  line-height: 1;
  padding-top: 2px;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* FORM */
.form-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

input, select, textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

input[type="checkbox"] {
  width: auto;
  padding: 0;
  appearance: auto;
  -webkit-appearance: auto;
  border-radius: 3px;
  flex-shrink: 0;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-soft);
}

textarea { resize: vertical; min-height: 120px; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238892b0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.social-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: fill 0.2s;
}
.social-icon:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}
.social-icon:hover svg {
  fill: var(--coral);
}

/* SUBSCRIBE SECTION */
.subscribe-section {
  border-top: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}
.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.subscribe-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.subscribe-input::placeholder { color: var(--text-muted); }
.subscribe-input:focus { border-color: var(--coral); }
@media (max-width: 480px) {
  .subscribe-form { flex-direction: column; }
  .subscribe-input { width: 100%; }
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin-bottom: 20px;
}

.footer-nav li:not(:last-child)::after {
  content: '·';
  margin-left: 8px;
  color: var(--text-muted);
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--coral); }

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copy a { color: var(--coral); text-decoration: none; }
.footer-copy a:hover { color: var(--cyan); }

/* INLINE UTILITIES */
.text-coral { color: var(--coral); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
a { color: var(--coral); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan); }

/* MOBILE */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 52px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { aspect-ratio: 1 / 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { aspect-ratio: 1 / 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}

/* ─── NAV FULL WIDTH ─── */
.nav-inner {
  max-width: 100%;
  padding: 0 40px;
}

/* ─── LOGO HOLOGRAPHIC SHIMMER ─── */
.nav-logo {
  font-size: 1.6rem;
  background: linear-gradient(90deg, #c9b8f0 0%, #a8e6cf 20%, #ffd3b6 40%, #a8d8f0 60%, #ffe0a0 80%, #d8b4f8 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 4s linear infinite;
}
.nav-logo span { color: inherit; -webkit-text-fill-color: inherit; }
@keyframes logoShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ─── MASCOT ─── */
.mascot-section {
  display: flex;
  justify-content: center;
  padding: 48px 0 0;
  border-top: none;
}
.mascot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.mascot-inner {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mascotFloat 3s ease-in-out infinite;
}
.mascot-emoji {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(255,77,77,0.4));
  transition: filter 0.3s;
  z-index: 2;
  position: relative;
}
.mascot-glow-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,77,0.25) 0%, rgba(255,77,77,0.08) 50%, transparent 70%);
  animation: mascotPulse 2s ease-in-out infinite;
}

.mascot-container:hover .mascot-emoji {
  filter: drop-shadow(0 0 30px rgba(0,229,204,0.6));
}
.mascot-container:hover .mascot-glow-ring {
  background: radial-gradient(circle, rgba(0,229,204,0.25) 0%, rgba(0,229,204,0.08) 50%, transparent 70%);
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes mascotPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.3); opacity: 1; }
}
@keyframes mascotShake {
  0%,100% { transform: translateY(-10px) rotate(0deg); }
  10%     { transform: translateY(-10px) rotate(-8deg) scale(1.1); }
  20%     { transform: translateY(-10px) rotate(8deg) scale(1.15); }
  30%     { transform: translateY(-10px) rotate(-8deg) scale(1.1); }
  40%     { transform: translateY(-10px) rotate(8deg) scale(1.15); }
  50%     { transform: translateY(-10px) rotate(-6deg) scale(1.1); }
  60%     { transform: translateY(-10px) rotate(6deg); }
  70%     { transform: translateY(-10px) rotate(-4deg); }
  80%     { transform: translateY(-10px) rotate(4deg); }
  90%     { transform: translateY(-10px) rotate(-2deg); }
}
.mascot-shake .mascot-inner {
  animation: mascotShake 0.8s ease-in-out infinite !important;
}
.mascot-shake .mascot-emoji {
  filter: drop-shadow(0 0 32px rgba(0,229,204,0.9)) drop-shadow(0 0 16px rgba(0,229,204,0.4)) !important;
}
@keyframes reloadTextShake {
  0%,100% { transform: translate(0); }
  25%     { transform: translate(-2px); }
  75%     { transform: translate(2px); }
}
.hero-sub-shake {
  display: inline-block;
  animation: reloadTextShake 0.1s ease-in-out infinite;
}

/* ─── DROPDOWN FIX ─── */
select, select option {
  background-color: #0d1428;
  color: #f0f4ff;
}
[data-theme="light"] select,
[data-theme="light"] select option {
  background-color: #e8eef5;
  color: #0b1220;
}

/* ─── MOBILE MENU OVERLAY ─── */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  z-index: 200;
}
.hamburger:hover { border-color: var(--coral); color: var(--coral); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-overlay-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #c9b8f0 0%, #a8e6cf 20%, #ffd3b6 40%, #a8d8f0 60%, #ffe0a0 80%, #d8b4f8 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoShimmer 4s linear infinite;
  margin-bottom: 48px;
}

.mobile-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.mobile-overlay-close:hover { border-color: var(--coral); color: var(--coral); }

.mobile-overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 32px;
}
.mobile-overlay-links a {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 0;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  width: 100%;
}
.mobile-overlay-links a:hover, .mobile-overlay-links a.active { color: var(--coral); }

.mobile-overlay-cta {
  margin-top: 32px;
}

@media (max-width: 640px) {
  .hamburger { display: flex; align-items: center; }
  .nav-links { display: none !important; }
  .theme-toggle {
    display: flex;
    align-items: center;
    padding: 5px 9px;
    font-size: 0.9rem;
  }
}

/* ─── DROPDOWN INPUT MATCH ─── */
select {
  background-color: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}
select option {
  background-color: #0d1428;
  color: #f0f4ff;
}
[data-theme="light"] select { background-color: rgba(0,0,0,0.04) !important; color: #0b1220 !important; }
[data-theme="light"] select option { background-color: #e8eef5; color: #0b1220; }

/* ─── Notalu credit ──────────────────────────────────────── */
.footer-notalu {
  margin-top: 16px;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.footer-notalu a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.footer-notalu a:hover {
  opacity: 1;
  color: var(--text-secondary);
}
.footer-notalu span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-notalu .notalu-wordmark {
  width: 44px !important;
  height: 12px !important;
  display: inline-block;
  flex-shrink: 0;
}
