/* =====================
   BalaHub Landing 2026
   style.css
===================== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", "Noto Sans", "Segoe UI", sans-serif;
  color: #10203f;
  background:
    radial-gradient(circle at 8% 6%, rgba(85, 200, 120, 0.22), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(124, 92, 255, 0.22), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(37, 99, 235, 0.14), transparent 36%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 63, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 63, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ROOT */
:root {
  --dark: #10203f;
  --dark-2: #17213b;
  --text: #334155;
  --muted: #64748b;
  --white: #ffffff;

  --green: #55c878;
  --green-dark: #22a55a;
  --purple: #7c5cff;
  --purple-dark: #5b3df5;
  --blue: #2563eb;
  --cyan: #38bdf8;

  --border: #e5edf6;

  --shadow-sm: 0 10px 26px rgba(20, 33, 61, 0.08);
  --shadow-md: 0 22px 60px rgba(20, 33, 61, 0.12);
  --shadow-lg: 0 42px 110px rgba(20, 33, 61, 0.22);

  --container: 1180px;
}

/* COMMON */
.section,
.problem-section,
.product-bento-section,
.roles-section,
.ai-section,
.science-section,
.screens-section,
.stats-section,
.faq-section,
.demo-section {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto 44px;
  position: relative;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.section-label,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--purple-dark);
  border: 1px solid rgba(124, 92, 255, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.section-label.light,
.badge.light {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-head h2,
.problem-section h2,
.product-bento-section h2,
.roles-section h2,
.ai-section h2,
.science-section h2,
.screens-section h2,
.stats-section h2,
.faq-section h2,
.demo-section h2 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -1.7px;
  font-weight: 900;
}

.section-head p,
.problem-section p,
.product-bento-section p,
.roles-section p,
.ai-section p,
.science-section p,
.screens-section p,
.stats-section p,
.faq-section p,
.demo-section p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 650;
}

/* HEADER */
.header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 14px;
}

.header-inner {
  width: min(var(--container), 100%);
  height: 76px;
  margin: 0 auto;
  padding: 0 18px 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 20px 60px rgba(20, 33, 61, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition: 0.28s ease;
}

.header.scrolled .header-inner {
  height: 68px;
  background: rgba(255, 255, 255, 0.94);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.6px;
  white-space: nowrap;
}

.logo-img {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--purple-dark);
  background: rgba(124, 92, 255, 0.11);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-btn {
  display: none;
  min-height: 46px;
  padding: 0 22px;
  border: none;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(85, 200, 120, 0.32);
  transition: 0.25s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
}

.menu-btn {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 17px;
  background: #f1f5f9;
  color: var(--dark);
  font-size: 24px;
  font-weight: 900;
}

/* MOBILE MENU */
.mobile-menu {
  width: min(var(--container), calc(100% - 28px));
  margin: 12px auto 0;
  padding: 12px;
  display: none;
  gap: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.mobile-menu.show {
  display: grid;
  animation: menuDrop 0.24s ease;
}

.mobile-menu a {
  padding: 15px 16px;
  border-radius: 16px;
  color: var(--dark);
  font-weight: 850;
  background: rgba(248, 251, 255, 0.8);
}

.mobile-menu a.active {
  color: var(--purple-dark);
  background: rgba(124, 92, 255, 0.11);
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* BUTTONS */
.primary-btn,
.secondary-btn,
.dark-btn {
  position: relative;
  overflow: hidden;

  min-height: 58px;
  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 20px;

  color: white;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.1px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow:
    0 18px 42px rgba(85, 200, 120, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.secondary-btn {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow:
    0 18px 42px rgba(124, 92, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dark-btn {
  background: linear-gradient(135deg, #111827, #1e293b);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
}

.primary-btn::after,
.secondary-btn::after,
.dark-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 255, 255, 0.38),
      transparent
    );
  transform: translateX(-130%);
  transition: 0.55s ease;
}

.primary-btn:hover::after,
.secondary-btn:hover::after,
.dark-btn:hover::after {
  transform: translateX(130%);
}

.primary-btn:hover,
.secondary-btn:hover,
.dark-btn:hover {
  transform: translateY(-3px);
}

.primary-btn:active,
.secondary-btn:active,
.dark-btn:active {
  transform: scale(0.97);
}

/* HERO */
main {
  position: relative;
  z-index: 1;
}

.hero {
  width: min(var(--container), calc(100% - 28px));
  min-height: 780px;
  margin: 0 auto;
  padding: 150px 0 62px;
  position: relative;

  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 42px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  z-index: 0;
}

.glow-1 {
  width: 380px;
  height: 380px;
  left: -170px;
  top: 210px;
  background: rgba(85, 200, 120, 0.24);
}

.glow-2 {
  width: 450px;
  height: 450px;
  right: -170px;
  top: 230px;
  background: rgba(124, 92, 255, 0.24);
}

.hero-content,
.hero-product {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -3px;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    #10203f 0%,
    #2563eb 50%,
    #7c5cff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 650;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 850;
}

/* HERO PRODUCT MOCKUP */
.hero-product {
  min-height: 520px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.18s ease;
}

.product-window {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 40px 110px rgba(20, 33, 61, 0.22),
    0 0 90px rgba(124, 92, 255, 0.14);
}

.window-top {
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.window-top i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-top i:nth-child(1) {
  background: #fb7185;
}

.window-top i:nth-child(2) {
  background: #facc15;
}

.window-top i:nth-child(3) {
  background: #4ade80;
}

.product-dashboard {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.dashboard-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-head h3 {
  margin-top: 4px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.ai-chip {
  padding: 9px 12px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--purple));
  font-size: 13px;
  font-weight: 900;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-card {
  min-height: 116px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.08), rgba(85, 200, 120, 0.08)),
    white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.dash-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.dash-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-chart {
  height: 160px;
  padding: 18px;
  border-radius: 26px;
  display: flex;
  align-items: end;
  gap: 10px;
  background:
    radial-gradient(circle at 0 0, rgba(85, 200, 120, 0.16), transparent 40%),
    #111827;
}

.dashboard-chart span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--green), var(--purple));
  box-shadow: 0 0 26px rgba(85, 200, 120, 0.26);
}

.dashboard-list {
  display: grid;
  gap: 10px;
}

.dashboard-list div {
  padding: 13px 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
}

.float-note {
  position: absolute;
  z-index: 6;
  width: min(310px, 76%);
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.18);
  animation: floatCard 4.2s ease-in-out infinite;
}

.float-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.float-note strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
}

.note-1 {
  top: 90px;
  left: -24px;
}

.note-2 {
  right: -18px;
  bottom: 76px;
  animation-delay: 1.1s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* TRUST STRIP */
.trust-strip {
  width: min(var(--container), calc(100% - 28px));
  margin: -18px auto 44px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.trust-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-main span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 900;
}

/* PROBLEM */
.problem-section {
  padding: 42px;
  overflow: hidden;
  border-radius: 46px;
  background:
    radial-gradient(circle at 0% 0%, rgba(85, 200, 120, 0.14), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.problem-grid {
  display: grid;
  gap: 18px;
}

.problem-image {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 34px;
  box-shadow: var(--shadow-md);
}

.problem-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.problem-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 32, 63, 0.24), transparent 60%);
}

.problem-cards {
  display: grid;
  gap: 12px;
}

.problem-card {
  padding: 20px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
  transition: 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
}

.problem-card span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 18px;
  background: rgba(124, 92, 255, 0.11);
  font-size: 24px;
}

.problem-card h3 {
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 20px;
  letter-spacing: -0.5px;
}

.problem-card p {
  font-size: 14.5px;
}

/* PRODUCT BENTO */
.product-bento-section {
  padding: 42px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.product-bento {
  display: grid;
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  min-height: 220px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.08);
  transition: 0.28s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(20, 33, 61, 0.13);
}

.product-card.main {
  min-height: 390px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #7c5cff 0%, #2563eb 58%, #17213b 100%);
  box-shadow:
    0 34px 90px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(124, 92, 255, 0.11);
  font-size: 30px;
}

.product-card.main .product-card-icon {
  background: rgba(255, 255, 255, 0.16);
}

.product-card h3 {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.7px;
  font-weight: 900;
}

.product-card.main h3 {
  max-width: 480px;
  color: white;
  font-size: clamp(30px, 3vw, 40px);
}

.product-card p {
  color: var(--muted);
  font-size: 15px;
}

.product-card.main p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.8);
}

.product-mini-ui {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.product-mini-ui div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 14px;
  font-weight: 850;
}

.product-card ul {
  margin-top: 18px;
  display: grid;
  gap: 9px;
  list-style: none;
}

.product-card li {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.product-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

/* ROLES */
.roles-section {
  padding: 42px;
  border-radius: 46px;
  background:
    radial-gradient(circle at top left, rgba(85, 200, 120, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.roles-grid {
  display: grid;
  gap: 16px;
}

.role-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 34px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.08);
  transition: 0.28s ease;
}

.role-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(20, 33, 61, 0.13);
}

.role-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.role-content {
  padding: 24px;
}

.role-content span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-top: -54px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: white;
  font-size: 28px;
  box-shadow: var(--shadow-sm);
}

.role-content h3 {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 900;
}

.role-content p {
  margin-bottom: 20px;
  font-size: 15px;
}

.role-content button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 17px;
  background: #eef2ff;
  color: var(--purple-dark);
  font-weight: 900;
  transition: 0.25s ease;
}

.role-content button:hover {
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  transform: translateY(-2px);
}

/* AI SECTION */
.ai-section {
  padding: 46px;
  overflow: hidden;
  border-radius: 48px;
  color: white;
  background:
    radial-gradient(circle at 12% 10%, rgba(85, 200, 120, 0.22), transparent 32%),
    radial-gradient(circle at 86% 22%, rgba(124, 92, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a, #111827, #1e1b4b);
  box-shadow: var(--shadow-lg);
}

.ai-section .section-head h2,
.ai-section .section-head p {
  color: white;
}

.ai-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.ai-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.ai-dashboard {
  padding: 26px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.ai-score {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.ai-score span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  font-weight: 850;
}

.ai-score strong {
  display: block;
  margin-top: 4px;
  color: white;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -1.2px;
  font-weight: 900;
}

.ai-score b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green), var(--purple));
}

.ai-progress {
  display: grid;
  gap: 14px;
}

.progress-item {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-item span {
  display: block;
  margin-bottom: 12px;
  color: white;
  font-size: 14px;
  font-weight: 850;
}

.progress-line {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.progress-line span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
  box-shadow: 0 0 26px rgba(85, 200, 120, 0.36);
  transition: width 1s ease;
}

.ai-recommendation {
  padding: 26px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(85, 200, 120, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.ai-recommendation h3 {
  margin-bottom: 14px;
  color: white;
  font-size: 28px;
  letter-spacing: -0.7px;
  font-weight: 900;
}

.ai-recommendation p {
  color: rgba(255, 255, 255, 0.75);
}

.ai-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-tags span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 13px;
  font-weight: 850;
}

/* SCIENCE */
.science-section {
  padding: 42px;
  border-radius: 46px;
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.science-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.science-image {
  overflow: hidden;
  border-radius: 34px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(85, 200, 120, 0.35), rgba(124, 92, 255, 0.34)),
    rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

.science-image img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 26px;
}

.science-cards {
  display: grid;
  gap: 12px;
}

.science-card {
  padding: 18px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.science-card h3 {
  margin-bottom: 7px;
  color: var(--dark);
  font-size: 20px;
  letter-spacing: -0.5px;
}

.science-card p {
  font-size: 14.5px;
}

/* SCREENS */
.screens-section {
  padding: 42px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.screen-tabs {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.screen-tab {
  min-height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--purple-dark);
  font-weight: 900;
  transition: 0.25s ease;
}

.screen-tab.active,
.screen-tab:hover {
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: 0 16px 34px rgba(124, 92, 255, 0.24);
}

.screen-stage {
  position: relative;
}

.screen-slide {
  display: none;
}

.screen-slide.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.screen-card {
  padding: 18px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(85, 200, 120, 0.18), rgba(124, 92, 255, 0.18)),
    white;
  box-shadow: var(--shadow-md);
}

.screen-mockup {
  min-height: 420px;
  padding: 24px;
  border-radius: 28px;
  background: #111827;
  color: white;
  overflow: hidden;
}

.screen-mockup.light {
  background: #f8fbff;
  color: var(--dark);
  border: 1px solid var(--border);
}

.mockup-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.mockup-top h3 {
  font-size: 28px;
  letter-spacing: -0.8px;
}

.mockup-top span {
  color: var(--green);
  font-weight: 900;
}

.mockup-grid {
  display: grid;
  gap: 12px;
}

.mockup-box {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.screen-mockup.light .mockup-box {
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.mockup-box strong {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
}

.mockup-box span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

/* STATS */
.stats-section {
  padding: 42px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 0% 0%, rgba(85, 200, 120, 0.14), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  gap: 16px;
}

.stat-card {
  padding: 26px;
  border-radius: 30px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.08);
}

.stat-card span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 20px;
  background: rgba(124, 92, 255, 0.11);
  font-size: 28px;
}

.stat-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--dark);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -1.2px;
  font-weight: 900;
}

.stat-card p {
  font-size: 14px;
}

/* FAQ */
.faq-section {
  padding: 42px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.faq-question {
  width: 100%;
  min-height: 68px;
  padding: 18px 20px;
  border: none;
  background: transparent;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 900;
}

.faq-question b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--purple-dark);
  font-size: 22px;
  transition: 0.25s ease;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-answer p {
  font-size: 15px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease;
}

.faq-item.open .faq-question b {
  transform: rotate(45deg);
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

/* DEMO */
.demo-section {
  padding: 46px;
  display: grid;
  gap: 30px;
  border-radius: 48px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(85, 200, 120, 0.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.26), transparent 38%),
    linear-gradient(135deg, #111827, #17213b, #1e1b4b);
  box-shadow: var(--shadow-lg);
}

.demo-section h2 {
  color: white;
}

.demo-section p {
  color: rgba(255, 255, 255, 0.74);
}

.demo-benefits {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.demo-benefits span {
  color: white;
  font-size: 15px;
  font-weight: 850;
}

.demo-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.demo-form input,
.demo-form select {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  font-size: 15px;
  outline: none;
}

.demo-form input:focus,
.demo-form select:focus {
  box-shadow: 0 0 0 4px rgba(85, 200, 120, 0.2);
}

.demo-form .primary-btn {
  width: 100%;
}

.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18) !important;
}

.form-message {
  min-height: 18px;
  font-size: 14px;
  font-weight: 850;
}

.form-message.success {
  color: #86efac;
}

.form-message.error {
  color: #fecaca;
}

/* FOOTER */
.footer {
  width: min(var(--container), calc(100% - 28px));
  margin: 70px auto 0;
  padding: 44px 34px 100px;
  border-radius: 40px 40px 0 0;
  background:
    radial-gradient(circle at top left, rgba(85, 200, 120, 0.12), transparent 35%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.12), transparent 35%),
    linear-gradient(135deg, #111827, #17213b, #1e1b4b);
  color: white;
  box-shadow: 0 -20px 60px rgba(20, 33, 61, 0.15);
  display: grid;
  gap: 24px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 900;
}

.footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--green);
}

/* MOBILE CTA */
.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 9998;
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition: 0.25s ease;
}

.mobile-cta.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta button {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: white;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(85, 200, 120, 0.36);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (min-width: 760px) {
  .problem-grid,
  .science-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .product-bento {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
  }

  .product-card.main {
    grid-row: span 2;
  }

  .product-card.wide {
    grid-column: span 2;
  }

  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ai-grid,
  .demo-section {
    grid-template-columns: 1fr 0.92fr;
  }

  .mockup-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 980px) {
  .nav {
    display: flex;
  }

  .login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 0.96fr 1.04fr;
    gap: 64px;
  }

  .hero-buttons {
    flex-direction: row;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .note-1 {
    left: 12px;
  }

  .note-2 {
    right: 12px;
  }
}

@media (max-width: 700px) {
  .header {
    top: 12px;
    padding: 0 12px;
  }

  .header-inner {
    height: 66px;
    padding: 0 12px 0 14px;
    border-radius: 22px;
  }

  .logo {
    font-size: 21px;
  }

  .logo-img {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
  }

  .hero {
    width: calc(100% - 24px);
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 34px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -1.4px;
  }

  .hero p {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .primary-btn,
  .secondary-btn,
  .dark-btn {
    width: 100%;
    min-height: 56px;
  }

  .hero-product {
    min-height: auto;
    transform: none !important;
  }

  .product-window {
    border-radius: 30px;
  }

  .dashboard-cards {
    grid-template-columns: 1fr;
  }

  .dashboard-chart {
    height: 120px;
  }

  .float-note {
    position: relative;
    width: 100%;
    inset: auto;
    margin-top: 12px;
    animation: none;
  }

  .trust-strip,
  .problem-section,
  .product-bento-section,
  .roles-section,
  .ai-section,
  .science-section,
  .screens-section,
  .stats-section,
  .faq-section,
  .demo-section {
    width: calc(100% - 24px);
    padding: 24px 18px;
    border-radius: 32px;
  }

  .section-head h2,
  .problem-section h2,
  .product-bento-section h2,
  .roles-section h2,
  .ai-section h2,
  .science-section h2,
  .screens-section h2,
  .stats-section h2,
  .faq-section h2,
  .demo-section h2 {
    font-size: 29px;
    letter-spacing: -1.1px;
  }

  .section-head p,
  .problem-section p,
  .product-bento-section p,
  .roles-section p,
  .ai-section p,
  .science-section p,
  .screens-section p,
  .stats-section p,
  .faq-section p,
  .demo-section p {
    font-size: 15px;
  }

  .product-card {
    padding: 22px;
    border-radius: 28px;
  }

  .product-card.main {
    min-height: 360px;
  }

  .role-card {
    min-height: auto;
  }

  .ai-dashboard,
  .ai-recommendation {
    padding: 20px;
    border-radius: 28px;
  }

  .ai-score strong {
    font-size: 44px;
  }

  .science-image img {
    min-height: 240px;
  }

  .screen-mockup {
    min-height: 360px;
    padding: 18px;
  }

  .mockup-top {
    flex-direction: column;
  }

  .mockup-top h3 {
    font-size: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-card strong {
    font-size: 32px;
  }

  .mobile-cta {
    display: block;
  }

  .footer {
    width: calc(100% - 24px);
    padding: 34px 22px 100px;
    border-radius: 30px 30px 0 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 32px;
  }

  .badge,
  .section-label {
    font-size: 12px;
    padding: 8px 12px;
  }

  .section-head h2,
  .problem-section h2,
  .product-bento-section h2,
  .roles-section h2,
  .ai-section h2,
  .science-section h2,
  .screens-section h2,
  .stats-section h2,
  .faq-section h2,
  .demo-section h2 {
    font-size: 27px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.footer {
  width: min(var(--container), calc(100% - 28px));
  margin: 70px auto 0;
  padding: 32px 34px;

  display: grid;
  grid-template-columns: 1.1fr auto auto;
  align-items: center;
  gap: 34px;

  border-radius: 34px 34px 0 0;

  background:
    radial-gradient(circle at top left, rgba(85, 200, 120, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 36%),
    linear-gradient(135deg, #081120, #0f172a, #1e1b4b);

  color: white;
  box-shadow: 0 -18px 60px rgba(15, 23, 42, 0.18);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.footer-logo span {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: #55c878;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 24px 90px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-copy {
    white-space: normal;
  }
}

.lang-switcher{

    display:flex;
    align-items:center;

    padding:4px;

    border-radius:16px;

    background:
    rgba(255,255,255,.65);

    border:
    1px solid rgba(255,255,255,.8);

    box-shadow:
    0 8px 20px rgba(15,23,42,.06);
}

.lang-btn{

    width:44px;
    height:36px;

    border:none;

    border-radius:12px;

    background:transparent;

    color:var(--text);

    font-size:13px;
    font-weight:900;

    transition:.25s ease;
}

.lang-btn:hover{

    color:var(--purple-dark);
}

.lang-btn.active{

    color:white;

    background:
    linear-gradient(
    135deg,
    var(--purple),
    var(--blue));

    box-shadow:
    0 8px 20px rgba(124,92,255,.25);
}

.ai-tag{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 16px;

    border-radius:999px;

    text-decoration:none;

    background:
    rgba(255,255,255,.08);

    color:
    rgba(255,255,255,.85);

    font-size:13px;
    font-weight:800;

    transition:.25s ease;
}

.ai-tag:hover{

    transform:translateY(-2px);

    background:
    rgba(255,255,255,.18);

    color:white;
}

.ai-tag.active{

    background:
    linear-gradient(
    135deg,
    var(--green),
    var(--purple));

    color:white;

    box-shadow:
    0 12px 28px rgba(124,92,255,.25);
}