@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Tokens (Taaskhub Style) ── */
:root {
  /* Taaskhub Inspired Light Theme */
  --bg: #F7F7F7;
  /* Off-white background */
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EEEEEE;
  --text: #111111;
  /* Sharp Black Headings */
  --text-2: #555555;
  /* Modern Gray Body */
  --text-3: #888888;

  --primary: #F3D06D;
  /* Golden Yellow (CTA) */
  --primary-dark: #E6C25A;
  --primary-soft: rgba(243, 208, 109, 0.15);

  --secondary: #D1F383;
  /* Lime Green (Accents/Pills) */
  --secondary-dark: #C2E66E;
  --secondary-soft: rgba(209, 243, 131, 0.2);

  --accent: #A084FF;
  /* Soft Purple (Highlights) */
  --accent-soft: rgba(160, 132, 255, 0.1);

  --highlight: #F3D06D;

  --border: rgba(0, 0, 0, 0.05);
  --border-strong: rgba(0, 0, 0, 0.1);

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  --shadow-premium: 0 30px 60px -12px rgba(0, 0, 0, 0.1);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Smoother ease-out */
  --t: 0.3s;
  --t-slow: 0.6s;
}

[data-theme="dark"] {
  /* Refined Dark Theme */
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --surface: #141414;
  --surface-2: #1D1D1F;
  --text: #F7F7F7;
  --text-2: #A1A1A6;
  /* Premium Gray */
  --text-3: #6E6E73;

  --primary: #F3D06D;
  --primary-dark: #E6C25A;
  --primary-soft: rgba(243, 208, 109, 0.08);

  --secondary: #D1F383;
  --secondary-soft: rgba(209, 243, 131, 0.08);

  --accent: #B099FF;
  /* Slightly more vibrant for dark */
  --accent-soft: rgba(176, 153, 255, 0.12);

  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.8);
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.8);
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.8);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.8);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--t-slow) var(--ease), color var(--t-slow) var(--ease);

  /* Anti-Copy Protections */
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Allow selection in form inputs only */
input,
textarea,
select {
  user-select: text !important;
  -webkit-user-select: text !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

p {
  margin: 0 0 1.25rem;
  color: var(--text-2);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* ── Layout ── */
.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.accent-section {
  background: var(--bg-alt);
}

.page-hero {
  padding: 8rem 0 5rem;
  text-align: center;
}

/* ── Grid ── */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.snapshot-item,
.info-panel,
.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.snapshot-item:hover,
.info-panel:hover,
.form-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.icon-circle {
  width: 56px;
  height: 56px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ── Batch Cards ── */
.batch-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}

.batch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

.batch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.badge {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.batch-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.batch-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-2);
}

.capacity-meter {
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  margin: 1.5rem 0 0.5rem;
  overflow: hidden;
}

.capacity-meter span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.meter-label {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 2rem;
}


/* ── Typography ── */
h1,
h2,
h3,
h4 {
  margin: 0 0 .75rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.1;
  white-space: pre-line;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--text);
  background: var(--secondary);
  /* Using Lime Green for eyebrows/tags */
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  box-shadow: var(--shadow-xs);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 500;
}

.narrow {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Section Heading ── */
.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

.section-heading h2 {
  max-width: 800px;
  margin: 0 auto 1rem;
}

.section-heading p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.3rem;
}

.button-whatsapp {
  background-color: #25d366 !important;
  color: #fff !important;
  border: none !important;
}

.button-whatsapp:hover {
  background-color: #128c7e !important;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .08s;
}

.reveal-delay-2 {
  transition-delay: .16s;
}

.reveal-delay-3 {
  transition-delay: .24s;
}

.reveal-delay-4 {
  transition-delay: .32s;
}

/* ── Top Banner ── */
.top-banner {
  background: linear-gradient(90deg, #4285F4, #9B72CB, #D96570);
  color: #fff;
  padding: 0.35rem 0;
  font-size: 0.68rem;
  z-index: 1001;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.03em;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.banner-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.73rem;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-banner p {
  margin: 0;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.banner-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity var(--t) var(--ease);
}

.banner-link:hover {
  opacity: 0.8;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  transition: transform .35s var(--ease), top .35s var(--ease);
}

.site-header.scrolled {
  top: 20px;
}

.site-header.header-hidden {
  transform: translateY(-120%);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  width: min(1100px, calc(100% - 2rem));
}

[data-theme="dark"] .nav-bar {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.05);
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand span {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.header-cta {
  min-height: 42px !important;
  padding: 0 1.25rem !important;
  font-size: 0.85rem !important;
  box-shadow: none !important;
}

.header-cta:hover {
  transform: translateY(-1px) !important;
}

.nav-link {
  padding: .5rem 1.25rem;
  color: var(--text-2);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--t) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.active {
  color: var(--primary);
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--surface-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--t) var(--ease);
  color: var(--text-2);
}

.theme-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 56px;
  padding: .8rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  letter-spacing: -.01em;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--primary);
  color: #000;
}

.button-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.button-highlight {
  background: var(--primary);
  color: #000;
}

.button-highlight:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.button-secondary {
  background: var(--surface-2);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--border-strong);
}

.button-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.button-outline:hover {
  border-color: var(--text);
  background: rgba(0, 0, 0, 0.02);
}

.button-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
}

.button-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* ── Form Styles ── */
.site-form {
  display: grid;
  gap: 1rem;
}

.site-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--text-2);
}

.site-form input,
.site-form textarea,
.site-form select {
  margin-top: .4rem;
  padding: .6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.site-form input:focus,
.site-form textarea:focus,
.site-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.site-form .form-message {
  min-height: 1.2rem;
  font-size: .9rem;
  color: var(--primary);
}

/* Update contact form primary button to highlight */
.contact .button-primary,
.contact .button-primary:hover {
  /* placeholder selector - we'll replace the class directly in HTML */
}

.hero {
  padding: 8rem 0;
  /* Reduced padding since we will use min-height */
  min-height: calc(100vh - 60px);
  /* Fill screen minus marquee height roughly */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at top left, var(--primary-soft) 0%, transparent 60%);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}


.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-feature-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-premium);
  transition: transform var(--t) var(--ease);
}

.hero-feature-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.hero-visual {
  position: relative;
  width: 100%;
}

.dashboard-mockup {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  position: relative;
  z-index: 2;
  aspect-ratio: 16/10;
}

.mockup-header {
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-header .red {
  background: #ff5f56;
}

.mockup-header .yellow {
  background: #ffbd2e;
}

.mockup-header .green {
  background: #27c93f;
}

.mockup-body {
  display: flex;
  height: 100%;
}

.mockup-sidebar {
  width: 20%;
  background: var(--surface-2);
  opacity: 0.5;
  border-right: 1px solid var(--border);
}

.mockup-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-item {
  background: var(--surface-2);
  border-radius: 8px;
  width: 100%;
  opacity: 0.6;
}

.mockup-item.large {
  height: 40px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  flex: 1;
}

.mockup-grid .mockup-item {
  height: 100%;
}

.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -10%;
  right: -10%;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  bottom: -10%;
  left: -10%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
  justify-content: flex-start;
}

.hero-tag {
  padding: .5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  justify-content: flex-start;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 50%);
  opacity: 0.5;
  pointer-events: none;
}

/* ── Marquee ── */
.marquee-band {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-band::before,
.marquee-band::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-band::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.marquee-band::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.marquee-track {
  display: inline-flex;
  animation: scroll-marquee 40s linear infinite;
  gap: 6rem;
}

.marquee-node {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  transition: all var(--t) var(--ease);
}

.marquee-node i {
  width: 18px;
  height: 18px;
  color: var(--primary);
  opacity: 0.8;
}

.marquee-node:hover {
  opacity: 1;
  color: var(--text);
  transform: scale(1.05);
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Cards ── */
.info-panel,
.card,
.profile-card,
.snapshot-item,
.batch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
}

.info-panel:hover,
.card:hover,
.profile-card:hover,
.snapshot-item:hover,
.batch-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-soft);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--surface-2) !important;
  color: var(--primary);
  transition: transform var(--t) var(--ease);
}

.info-panel:hover .icon-circle,
.profile-card:hover .icon-circle {
  transform: rotate(5deg) scale(1.1);
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-soft);
}

.bento-item h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.bento-item p {
  margin: 0;
  font-size: 1.1rem;
}

@media(max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item {
    grid-column: span 1 !important;
  }
}

/* ── Batch Cards ── */
.batch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  transition: all var(--t) var(--ease);
  display: flex;
  flex-direction: column;
}

.batch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary-soft);
}

.batch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.batch-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.batch-price span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-3);
}

.capacity-meter {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  margin-top: 1rem;
  overflow: hidden;
}

.capacity-meter span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.meter-label {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-top: 0.5rem;
}

/* ── Announcement Band ── */
.announcement-band {
  background: var(--accent);
  border: none;
  border-radius: var(--radius-lg);
  padding: 2rem 3rem;
  margin: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.band-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.band-label {
  padding: .4rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.band-content p {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t) var(--ease);
}

.faq-item.open {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-answer-inner {
  padding: 0 2rem 2rem;
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ── Carousel ── */
.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.testimonial-card .quote {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.testimonial-card .quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-soft);
  opacity: 0.5;
  font-family: serif;
}

.testimonial-card .student {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-card .name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.testimonial-card .location {
  font-size: 0.9rem;
  color: var(--text-3);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ── Exam Table ── */
.exam-table-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
}

.exam-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--bg);
}

.exam-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.exam-table th {
  background: var(--bg-alt);
  color: var(--text);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.exam-table td {
  padding: 1rem 1.25rem;
  font-size: .95rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.exam-table tr:last-child td {
  border-bottom: none;
}

.exam-table tbody tr:hover {
  background: var(--primary-soft);
  background-opacity: 0.1;
}

.hidden-exam {
  display: none !important;
}

.show-more-btn-wrap {
  text-align: center;
  margin-top: 2rem;
}

/* ── Contact ── */
.contact-links {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.contact-mini-card {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.contact-mini-card strong {
  display: block;
  font-size: .88rem;
  margin-bottom: .35rem;
  color: var(--text);
}

.contact-mini-card span {
  font-size: .88rem;
  color: var(--text-2);
}

/* ── Onboarding Timeline ── */
.onboarding-timeline {
  margin-bottom: 3rem;
}

.timeline-header {
  margin-bottom: 2rem;
}

.timeline-header h3 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.5;
}

/* ── Blobs ── */
.blob-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: var(--accent-soft);
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--lavender);
  bottom: -60px;
  left: -60px;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  top: 50%;
  right: -60px;
}

/* ── Placeholder ── */
.placeholder-panel {
  border: 2px dashed var(--border-strong) !important;
  background: var(--bg-alt) !important;
}

.placeholder-note {
  font-size: .82rem;
  color: var(--text-3) !important;
  font-style: italic;
}

/* ── Footer ── */
.site-footer {
  background: var(--accent);
  border-top: 1px solid var(--border);
  padding: 6rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-nav-group h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-links a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--t) var(--ease);
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.7;
}

.footer-legal a:hover {
  opacity: 1;
}

@media(max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media(max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ── Responsive ── */
@media(max-width:1000px) {
  .nav-bar {
    width: calc(100% - 2rem);
  }
}

@media(max-width:900px) {
  .hero {
    padding: 10rem 0 6rem;
  }

  h1 {
    font-size: 3.5rem;
  }

  .snapshot-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:680px) {
  .nav-bar {
    padding: 0 1.25rem;
  }

  .nav-menu {
    display: none;
  }

  /* ── Mobile Menu Dropdown ── */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    z-index: 1001;
    border: 1px solid var(--border);
  }

  [data-theme="dark"] .nav-menu.open {
    background: var(--bg-alt);
  }

  .nav-menu.open .nav-actions {
    margin-left: 0;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-direction: column;
    width: 100%;
    display: none;
    /* Hide the nav actions (Enroll Now) on mobile as requested */
  }

  .nav-menu.open .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-feature-card {
    position: static !important;
    max-width: 100% !important;
    margin-top: 2rem;
  }
}

/* ── Animations ── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .hero::before {
  opacity: 0.2;
}

[data-theme="dark"] .marquee-band::before {
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

/* ── Form Tabs ── */
.form-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}

.form-tab.active {
  background: var(--bg-alt);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--secondary-soft);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .eyebrow {
  background: var(--secondary);
  color: #111111;
  /* Sharp contrast for dark mode tags */
}

.site-footer {
  background: var(--bg-alt);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.footer-column p,
.footer-column li a {
  color: var(--text-2);
  transition: color var(--t) var(--ease);
}

[data-theme="dark"] .footer-column p,
[data-theme="dark"] .footer-column li a {
  color: var(--text);
}

.footer-column li a:hover {
  color: var(--primary);
}

[data-theme="dark"] .marquee-band::after {
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* ── Onboarding Timeline ── */
.onboarding-timeline {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.timeline-header {
  margin-bottom: 2rem;
}

.timeline-header h3 {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  border-radius: 50%;
  font-size: 0.9rem;
}

.step-content h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.step-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* ── Contact Section Grid & Form Panel ── */
.contact-grid {
  gap: 5rem;
  align-items: start;
}

.whatsapp-help-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.form-panel {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-premium);
}

.form-tabs {
  display: flex;
  background: var(--surface-2);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Mobile Excellence Update ── */
@media (max-width: 900px) {
  :root {
    --container-px: 1.5rem;
  }

  .container {
    padding: 0 var(--container-px);
  }

  h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    line-height: 1.1;
  }

  h2 {
    font-size: 2.2rem !important;
  }

  .hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  .hero-copy {
    align-items: center !important;
    padding-right: 0 !important;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero-visual {
    order: 2;
    justify-content: center;
    width: 100%;
  }

  .hero-feature-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .site-header {
    top: 75px;
    /* 6px gap below the 2-line banner */
  }

  .site-header.scrolled {
    top: 10px;
    /* Tighter to top when scrolled */
  }

  /* Grid stacking */
  .grid-2,
  .grid-3,
  .split-layout {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer-brand {
    grid-column: span 1;
  }

  /* Top Banner */
  .banner-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.2rem 0;
  }

  /* Form padding & layout */
  .form-panel {
    padding: 2rem 1.5rem !important;
  }

  .form-tabs {
    flex-direction: column;
    margin-bottom: 2rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .onboarding-timeline {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .whatsapp-help-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Marquee */
  .marquee-band {
    padding: 1.5rem 0;
  }

  /* Pricing/Batch cards */
  .batch-card {
    padding: 2rem !important;
  }

  /* Table overflow */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--container-px));
    padding: 0 var(--container-px);
  }

  table {
    min-width: 600px;
    /* Force scroll instead of squash */
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.8rem !important;
  }

  .section {
    padding: 4rem 0;
  }

  .nav-bar {
    width: calc(100% - 2rem);
  }
}