/* ==========================================================================
   doEvents Landing Page CSS
   Core Design System, Components & Responsive Grid
   ========================================================================== */

/* Font Definitions */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin.woff2") format('woff2');
}

:root {
  /* Brand Colors */
  --brand-900: #001D32;
  --brand-700: #00405F;
  --brand-600: #005584;
  --brand-500: #0D6EA8;
  --brand-400: #306576;
  --brand-300: #35697A;
  --brand-grad: linear-gradient(90deg, #306576 0%, #005584 100%);
  --brand-grad-diag: linear-gradient(135deg, #306576 0%, #005584 60%, #0D6EA8 100%);

  /* Surface Colors (Light Tone) */
  --bg: #fff4e1;
  --bg-soft: #ECEEF1;
  --bg-muted: #E6E8EB;
  --bg-line: #E0E3E6;
  --surface: #FFFFFF;

  /* Text & Line Colors */
  --ink: #191C1E;
  --ink-2: #404750;
  --ink-3: #707881;
  --line: #C0C7D1;
  --line-soft: rgba(192, 199, 209, 0.3);

  /* Accents (Tag and status colors) */
  --tag-blue-bg: #CDE5FF;     --tag-blue-ink: #001D32;
  --tag-cyan-bg: #B3E8FB;     --tag-cyan-ink: #35697A;
  --tag-green-bg: #AEF2BB;    --tag-green-ink: #00210C;
  --tag-mint-bg: #B5F9C1;     --tag-mint-ink: #0C5229;
  --tag-red-bg: #FFDAD6;      --tag-red-ink: #93000A;

  /* Status Colors */
  --success: #1A5C32;
  --error: #BA1A1A;
  --warn: #306576;

  /* Corner Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 9999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sh-2: 0 4px 12px rgba(0, 0, 0, 0.05);
  --sh-3: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --sh-4: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  --sh-brand: 0 20px 40px -12px rgba(0, 85, 132, 0.35);

  /* Typography variables */
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing and Containers */
  --container: 1200px;
  --gutter: 32px;
  --nav-height: 80px;
}

/* Reset and Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Base Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 60px 0;
  position: relative;
}

.section--muted {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* Typography elements */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  padding: 6px 14px;
  background: rgba(13, 110, 168, 0.08);
  border-radius: var(--r-pill);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

h1, .h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h2, .h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h3, .h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 56ch;
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: var(--sh-brand);
}

.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -12px rgba(0, 85, 132, 0.45);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn--ghost:active {
  transform: translateY(0);
}

.btn--text {
  color: var(--brand-600);
  background: transparent;
  padding: 0;
  height: auto;
  font-weight: 600;
}

.btn--text:hover {
  color: var(--brand-500);
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: var(--r-sm);
}

.btn--lg {
  height: 60px;
  padding: 0 36px;
  font-size: 17px;
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Navigation Styles */
.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--brand-grad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nav--scrolled {
  background: linear-gradient(90deg, #285463 0%, #004b75 100%);
  box-shadow: var(--sh-2);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer .logo {
  color: #000000;
}

.logo__mark {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-1);
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.35), transparent 60%);
  border-radius: inherit;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.nav__links a:hover {
  color: #B3E8FB;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

#navCtaButton {
  background: #10B981;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

#navCtaButton:hover {
  background: #059669;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 120;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 1px;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation drawer */
.nav__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 120px var(--gutter) 40px;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav__mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav__mobile-links a {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.nav__mobile-links a:hover {
  color: var(--brand-500);
}

.nav__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

/* Hero Section */
.hero {
  padding: 36px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #78bee5 0%, #ffffff 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 5;
}

.hero__copy h1 {
  margin-top: 24px;
}

.hero__copy h1 .accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero__ctas {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.hero__trust .avatars {
  display: flex;
}

.hero__trust .avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-soft);
  margin-left: -8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
}

.hero__trust .avatars span:first-child {
  margin-left: 0;
}

.hero__trust .avatars span:nth-child(1) { background: var(--tag-cyan-bg); color: var(--tag-cyan-ink); }
.hero__trust .avatars span:nth-child(2) { background: var(--tag-green-bg); color: var(--tag-green-ink); }
.hero__trust .avatars span:nth-child(3) { background: var(--tag-blue-bg); color: var(--tag-blue-ink); }
.hero__trust .avatars span:nth-child(4) { background: var(--tag-red-bg); color: var(--tag-red-ink); }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__bg-gradient {
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, rgba(13, 110, 168, 0.12) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hero__satellite {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.hero__satellite--1 {
  top: 8%;
  right: -8%;
  animation-delay: 0s;
}

.hero__satellite--2 {
  bottom: 12%;
  left: -10%;
  animation-delay: -3s;
}

.satellite__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.satellite__text {
  font-size: 13px;
}

.satellite__title {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.satellite__meta {
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1080px) {
  .hero__satellite--1 {
    right: 2%;
    top: 5%;
  }
  .hero__satellite--2 {
    left: 2%;
    bottom: 8%;
  }
}

@media (max-width: 600px) {
  .hero__satellite {
    padding: 10px 12px;
  }
  .hero__satellite--1 {
    right: -2%;
    top: 2%;
    transform: scale(0.9);
  }
  .hero__satellite--2 {
    left: -2%;
    bottom: 4%;
    transform: scale(0.9);
  }
}

.hero__phone-wrap {
  position: relative;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-frame {
  width: 325px;
  height: 660px;
  background: #0B1116;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 30px 60px -20px rgba(0, 46, 76, 0.35), 0 0 0 1px rgba(0,0,0,0.15), var(--sh-4);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #0B1116;
  border-radius: 13px;
  z-index: 10;
}

.phone-frame__screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.phone__statusbar {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.phone__statusbar--onbrand {
  color: #ffffff;
}

.phone__statusbar-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.phone__statusbar-icons svg {
  width: 15px;
  height: 11px;
}

.phone-frame__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trust Strips (Partners) */
.trust-strip {
  padding: 30px 0;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust-strip__label {
  text-align: center;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 32px;
  letter-spacing: 0.02em;
}

.trust-strip__logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-strip__logo {
  height: 32px;
  color: var(--ink-3);
  opacity: 0.6;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.trust-strip__logo:hover {
  opacity: 1;
  color: var(--brand-600);
}

/* About Section */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__left h2 {
  margin-top: 20px;
  max-width: 16ch;
}

.about__right {
  padding-top: 24px;
}

.about__right p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 28px;
}

.about__right p:last-child {
  margin-bottom: 0;
}

.about__right p strong {
  color: var(--ink);
  font-weight: 700;
}

/* Features Grid (Bento) */
.features__head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: flex-end;
  margin-bottom: 38px;
}

.features__head h2 {
  margin-top: 20px;
}

.features__head .lead {
  margin: 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-4);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--tag-cyan-bg);
  color: var(--tag-cyan-ink);
}

.feature-card__icon--blue {
  background: var(--tag-blue-bg);
  color: var(--tag-blue-ink);
}

.feature-card__icon--green {
  background: var(--tag-green-bg);
  color: var(--tag-green-ink);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.feature-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.feature-card__visual {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-card__visual img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* How It Works Section */
.steps-block {
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: 80px 60px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-2);
}

.steps-block__head {
  text-align: center;
  margin-bottom: 42px;
}

.steps-block__head h2 {
  margin-top: 16px;
}

.steps-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.steps-block__grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 4px, transparent 4px, transparent 12px);
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-card__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: 0 12px 24px -8px rgba(0, 85, 132, 0.4);
  position: relative;
}

.step-card__num::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(120% 100% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 50%);
}

.step-card__num--img {
  background: #ffffff;
  box-shadow: 0 12px 30px -10px rgba(0, 46, 76, 0.15);
  border: 1px solid var(--line-soft);
  padding: 0;
}

.step-card__num--img::after {
  content: none;
}

.step-card__num--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.step-card__title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
}

.step-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.steps-block__cta {
  margin-top: 60px;
  text-align: center;
}

/* Mission & Vision Section */
.mission-box {
  background: var(--brand-grad-diag);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-4);
}

.mission-box__bg {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.mission-box__inner {
  position: relative;
  z-index: 2;
}

.mission-box__head {
  text-align: center;
  margin-bottom: 36px;
}

.mission-box__head .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.mission-box__head .eyebrow::before {
  background: #fff;
}

.mission-box__head h2 {
  color: #fff;
  margin-top: 16px;
}

.mission-box__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mission-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-xl);
  padding: 40px;
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.mission-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.mission-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mission-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.mission-card__text {
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-wrap: pretty;
}

/* Why Section */
.why-block__head {
  text-align: center;
  margin-bottom: 38px;
}

.why-block__head h2 {
  margin-top: 16px;
}

.why-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-2);
}

.why-block__item {
  background: var(--surface);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s ease;
}

.why-block__item:hover {
  background: rgba(247, 249, 252, 0.5);
}

.why-block__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: 0.08em;
}

.why-block__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.why-block__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* Team Section */
.team-block__head {
  text-align: center;
  margin-bottom: 38px;
}

.team-block__head h2 {
  margin-top: 16px;
}

.team-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
}

.team-card__image-container {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #E2DFF4 0%, #4D81C9 100%);
  clip-path: url(#team-notch-clip);
  -webkit-clip-path: url(#team-notch-clip);
  overflow: hidden;
  display: block;
}

.team-card__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}

.team-card__role {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-500);
  margin-bottom: 14px;
}

.team-card__bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 20px;
  flex-grow: 1;
}

.team-card__bio .bio-more {
  display: none;
}

.team-card.is-expanded .team-card__bio .bio-more {
  display: inline;
  animation: teamBioFadeIn 0.35s ease forwards;
}

@keyframes teamBioFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.team-card__toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--ink);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
  margin-top: auto;
}

.team-card__toggle-btn:hover {
  background: var(--ink-2);
}

.team-card__toggle-btn .btn-icon {
  transition: transform 0.25s ease;
}

.team-card.is-expanded .team-card__toggle-btn {
  background: var(--brand-600);
}

.team-card.is-expanded .team-card__toggle-btn:hover {
  background: var(--brand-700);
}

.team-card.is-expanded .team-card__toggle-btn .btn-icon {
  transform: rotate(180deg);
}

/* Request Demo Block */
.demo-block {
  background: var(--surface);
  border-radius: var(--r-2xl);
  border: 1px solid var(--line-soft);
  box-shadow: var(--sh-3);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.demo-block__aside {
  background: var(--brand-grad-diag);
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.demo-block__aside::before {
  content: "";
  position: absolute;
  inset: auto -30% -30% -30%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.demo-block__aside h2 {
  color: #fff;
  font-size: 40px;
  margin-bottom: 20px;
}

.demo-block__aside p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 44px;
}

.demo-block__perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.demo-block__perk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
}

.demo-block__perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.demo-block__perk-icon svg {
  width: 16px;
  height: 16px;
}

.demo-block__perk-text strong {
  display: block;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.demo-block__perk-text span {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Contact form */
.demo-block__form {
  padding: 64px 48px;
}

.demo-block__form-head {
  margin-bottom: 32px;
}

.demo-block__form-head h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}

.demo-block__form-head p {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
}

.demo-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field--full {
  grid-column: span 2;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.form-field input, .form-field select, .form-field textarea {
  height: 50px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 0 18px;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s ease;
  width: 100%;
}

.form-field textarea {
  height: 110px;
  padding: 16px 18px;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(13, 110, 168, 0.15);
}

.form-field input::placeholder, .form-field textarea::placeholder {
  color: var(--ink-3);
  opacity: 0.7;
}

/* Form Validation Error Styles */
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--error);
  background: rgba(186, 26, 26, 0.02);
}

.form-field.has-error input:focus,
.form-field.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(186, 26, 26, 0.15);
}

.form-field__error-msg {
  font-size: 12px;
  color: var(--error);
  font-weight: 500;
  margin-top: 2px;
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

/* Chip Group Selection style (Replaces standard select) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.choice-chip {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.choice-chip:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}

.choice-chip.is-active {
  background: var(--tag-blue-bg);
  border-color: var(--brand-600);
  color: var(--tag-blue-ink);
  box-shadow: 0 2px 8px rgba(13, 110, 168, 0.1);
}

/* Terms checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--line);
  accent-color: var(--brand-500);
  margin-top: 2px;
}

.form-checkbox span {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

.demo-block__submit {
  margin-top: 16px;
}

.demo-block__submit button {
  width: 100%;
}

/* Form success overlay/panel */
.demo-block__success {
  background: var(--tag-green-bg);
  color: var(--tag-green-ink);
  border-radius: var(--r-md);
  padding: 24px;
  margin-top: 20px;
  display: none;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(0, 33, 12, 0.15);
  animation: fadeIn 0.4s ease;
}

.demo-block__success.is-visible {
  display: flex;
}

.demo-block__success svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* Footer Section */
.footer {
  padding: 48px 0 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  margin-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__about {
  color: var(--ink-2);
  font-size: 14px;
  margin: 20px 0 0;
  line-height: 1.65;
  max-width: 32ch;
}

.footer h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: 0.08em;
  color: var(--brand-300);
  text-transform: uppercase;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul a {
  font-size: 14.5px;
  color: var(--ink-2);
}

.footer ul a:hover {
  color: var(--brand-600);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__divider {
  color: var(--line);
  user-select: none;
}

.footer__powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 500;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.footer__powered-by:hover {
  color: var(--ink);
  opacity: 0.9;
}

.footer__powered-by img {
  height: 26px;
  width: auto;
  display: block;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--brand-500);
  box-shadow: var(--sh-1);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--brand-500);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

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

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Fade in animation keyframe */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides (Media Queries) */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas {
    justify-content: center;
  }

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


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

@media (max-width: 860px) {
  :root {
    --gutter: 24px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links, .nav__cta .btn--text, .nav__cta #navCtaButton {
    display: none;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-block {
    padding: 36px 24px;
  }

  .steps-block__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .steps-block__grid::before {
    display: none;
  }

  .mission-box {
    padding: 36px 24px;
  }

  .mission-box__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .demo-block {
    grid-template-columns: 1fr;
  }

  .demo-block__aside {
    padding: 30px 28px;
  }

  .demo-block__form {
    padding: 30px 28px;
  }

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

  /* Disable hover effects on mobile for home page banner */
  .video-wrapper:hover {
    transform: none !important;
    box-shadow: var(--sh-3) !important;
  }
  .video-wrapper:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
  }
}

@media (max-width: 600px) {
  .steps-block__grid {
    grid-template-columns: 1fr;
  }

  .why-block__grid {
    grid-template-columns: 1fr;
  }

  .team-block__grid {
    grid-template-columns: 1fr;
  }

  .demo-block__grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: span 1;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer__left {
    flex-direction: column;
    gap: 12px;
  }

  .footer__divider {
    display: none;
  }
}

/* Event Planning Card (Dark theme inside Bento features grid) */
#featureEventPlanning {
  background: var(--brand-grad-diag);
  border: none;
}

#featureEventPlanning .feature-card__title,
#featureEventPlanning .feature-card__desc {
  color: #ffffff;
}

#featureEventPlanning .feature-card__desc {
  color: rgba(255, 255, 255, 0.85);
}

#featureEventPlanning .feature-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Inline product UI fragments used in features */
.miniui {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px -8px rgba(0, 46, 76, 0.18);
  font-size: 12px;
}
.miniui--dark {
  background: rgba(0, 29, 50, 0.7);
  color: #fff;
}
.miniui__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.miniui__row + .miniui__row {
  border-top: 1px solid var(--line-soft);
}
.miniui__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.tag-chip--cyan {
  background: var(--tag-cyan-bg);
  color: var(--tag-cyan-ink);
}
.tag-chip--green {
  background: var(--tag-green-bg);
  color: var(--tag-green-ink);
}
.tag-chip--blue {
  background: var(--tag-blue-bg);
  color: var(--tag-blue-ink);
}
.tag-chip--red {
  background: var(--tag-red-bg);
  color: var(--tag-red-ink);
}
.tag-chip--gray {
  background: var(--bg-muted);
  color: var(--ink-2);
}

/* Video Overview Section styles */
.video-wrapper {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  margin: 0 auto;
  cursor: pointer;
  background: #001D32;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-4);
}

.video-wrapper img,
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 6px solid #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.video-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.video-play-btn svg {
  width: 32px;
  height: 38px;
  fill: #ffffff;
  margin-left: 8px; /* center visual weight */
}

