:root {
  --bg1: #0b1020;
  --bg2: #060912;

  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.72);

  --card: rgba(255, 255, 255, 0.08);
  --card2: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.18);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body {
  color: var(--text);
  background:
    radial-gradient(900px 520px at 25% 20%, rgba(120, 180, 255, 0.18), transparent 60%),
    radial-gradient(900px 520px at 75% 25%, rgba(210, 120, 255, 0.14), transparent 62%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

a {
  color: inherit;
}

.page {
  min-height: 100%;
}

/* HERO */
.stage {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
}

.frame {
  position: relative;
  width: min(1200px, 100%);
}

.collage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-drag: none;
}

.overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    radial-gradient(800px 320px at 50% 50%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.centerText {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  pointer-events: none;
}

.title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4.5vw, 64px);
  color: rgba(255, 255, 255, 0.97);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.one {
  color: rgba(120, 180, 255, 0.98);
}

.subtitle {
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.3vw, 16px);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

/* USE CASES SECTION */
.cases-section {
  padding: 80px 18px 60px;
}

.cases-header {
  text-align: center;
  margin-bottom: 50px;
}

.cases-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cases-header p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.cases-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.case-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-card h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.case-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cases-section {
    padding: 60px 18px 40px;
  }
}

/* BELOW SECTION */
.below {
  padding: 10px 18px 34px;
  display: flex;
  justify-content: center;
}

.below-inner {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  /* Explicitly force stretch */
}

@media (max-width: 920px) {
  .below-inner {
    grid-template-columns: 1fr;
  }
}

/* Callout */
.callout {
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.14), rgba(210, 120, 255, 0.12));
  border-radius: 18px;
  padding: 32px;
  /* Increased padding */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);

  /* Flex to center content vertically */
  display: flex;
  flex-direction: column;
  /* justify-content: center; REMOVED per user request */
  height: 100%;
}

.callout-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: var(--text);
}

.callout-text {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.callout-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  font-size: 14px;
}

/* Inquiry card */
.card {
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.card-title {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: var(--text);
}

.card-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Form */
.form {
  margin-top: 12px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

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

.field span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.field-full {
  grid-column: 1 / -1;
}

/* Hard set form controls so no other CSS breaks them */
.field input,
.field select,
.field textarea {
  width: 100%;
  display: block;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.95);

  padding: 11px 12px;
  font-size: 14px;
  line-height: 1.3;

  outline: none;
  appearance: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.50);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(120, 180, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(120, 180, 255, 0.18);
}

.actions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  border-radius: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  font-weight: 700;
}

.btn.primary {
  border-color: rgba(120, 180, 255, 0.45);
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.95), rgba(210, 120, 255, 0.85));
  color: #0A0E1C;
  font-weight: 800;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.status {
  min-height: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Honeypot */
.hp {
  display: none !important;
}

/* Footer */
.foot {
  padding: 18px 18px 28px;
  display: flex;
  justify-content: center;
}

.foot-inner {
  width: min(1200px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.foot-inner a {
  color: var(--muted);
  text-decoration: none;
}

.foot-inner a:hover {
  text-decoration: underline;
}

/* 1) Mobile Safari viewport fix (prevents weird vertical sizing/jumps) */
.stage {
  min-height: 70vh;
  min-height: 70svh;
}

/* 2) Safari form control normalization */
.field input,
.field select,
.field textarea {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 14px;
}

/* Safari tends to ignore custom select arrow: give it padding */
.field select {
  padding-right: 36px;
}

/* Add a custom arrow for the select */
.field {
  position: relative;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* 3) Backdrop filter fallback */
.card,
.callout {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* If Safari disables backdrop-filter, keep it readable */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {

  .card,
  .callout {
    background: rgba(0, 0, 0, 0.55);
  }
}

/* iOS Safari: stop auto zoom by ensuring font-size >= 16px on inputs */
@supports (-webkit-touch-callout: none) {

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

/* Keep footer at the very bottom of the screen */
.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.below {
  padding-bottom: 26px;
}

.foot {
  margin-top: auto;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.foot-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.foot-link:hover {
  text-decoration: underline;
}

.foot-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}