@import url('https://fonts.cdnfonts.com/css/glacial-indifference-2');

:root {
  color-scheme: light;
  font-family: 'Glacial Indifference', Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background: transparent;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

h2, h3,
.why-subtitle,
.why-card-sub,
.why-card-detail,
.stat-bars-title,
.stat-bar-desc,
.features-title,
.feature-text h3,
.feature-text p,
.section-header h2,
.section-header .eyebrow,
.hero-copy,
.contact-info p {
  font-family: 'DM Sans', sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(150deg, #eae6e2 0%, #dce0ec 55%, #cdd0e2 100%);
  background-attachment: fixed;
}

img,
video {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(20, 28, 38, 0.04);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-wrap {
  position: relative;
  width: 224px;
  height: 80px;
  flex-shrink: 0;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 224px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
}

.logo-default  { opacity: 1; }
.logo-inverted { opacity: 0; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 400;
  font-size: 1.05rem;
  color: #0d1f3c;
  white-space: nowrap;
  transition: color 0.2s ease;
  text-decoration: none;
}

.site-nav a:hover {
  color: #3D8FA8;
}

.site-nav a.active {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
}

.site-nav a.has-chevron::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(30, 40, 55, 0.85);
  color: white;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta-primary:hover {
  background: rgba(30, 40, 55, 1);
}

/* ── Hero ───────────────────────────────────────────────── */

.dark-bg {
  position: relative;
  background: transparent;
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  padding: clamp(6rem, 15vw, 18rem) 0 0;
  overflow: visible;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 5rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  margin: 0;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 5rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #0d1f3c;
  font-weight: 400;
}

.hero-accent {
  color: #5BBDD6;
}

.hero-copy {
  margin: 1.25rem 0 0;
  color: #4a5568;
  font-size: clamp(0.8rem, 1.7vw, 1.25rem);
  line-height: 2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #3D8FA8;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid rgba(26, 46, 114, 0.40);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease, opacity 0.22s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.hero-link:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(200,220,255,0.14) 100%);
  border-color: rgba(26, 46, 114, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(100, 130, 200, 0.15);
}

.hero-stars {
  margin-top: 1.75rem;
  color: #f59e0b;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

/* ── Buttons ────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, #5BBDD6 0%, #3D8FA8 100%);
  color: white;
  border: none;
}

.primary:hover {
  opacity: 0.45;
  box-shadow: 0 8px 24px rgba(61, 143, 168, 0.25);
}

.outline {
  background: transparent;
  border-color: rgba(25, 150, 184, 0.3);
  color: #3D8FA8;
}

.outline:hover {
  background: rgba(25, 150, 184, 0.05);
  border-color: rgba(0, 47, 108, 0.5);
}

/* ── Hero sphere canvas ─────────────────────────────────── */

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-sphere-wrap {
  margin-top: 3.5rem;
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.sphere-canvas {
  width: 560px;
  height: 560px;
  display: block;
}

.mockup-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 47, 108, 0.12);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: #f7f5f2;
  border-bottom: 1px solid #ede9e4;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd9d4;
}

.mockup-title {
  font-size: 0.78rem;
  font-weight: 400;
  color: #9ca3af;
  letter-spacing: 0.04em;
}

.mockup-body {
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: #f7f5f2;
  border-radius: 12px;
  padding: 1rem;
}

.mockup-stat-num {
  font-size: 1.5rem;
  font-weight: 400;
  color: #0d1f3c;
  line-height: 1;
}

.mockup-stat-label {
  font-size: 0.68rem;
  color: #9ca3af;
  margin-top: 0.3rem;
  line-height: 1.3;
}

.mockup-messages {
  display: grid;
  gap: 0.6rem;
}

.mockup-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.875rem;
  background: #f7f5f2;
  border-radius: 10px;
}

.mockup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-msg-body {
  flex: 1;
  min-width: 0;
}

.mockup-msg-name {
  font-size: 0.78rem;
  font-weight: 400;
  color: #1a1a2e;
}

.mockup-msg-text {
  font-size: 0.72rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.mockup-msg-time {
  font-size: 0.68rem;
  color: #9ca3af;
  flex-shrink: 0;
}

/* ── Features section ───────────────────────────────────── */


.problem-section {
  padding: 4rem 0 2.5rem;
}

.problem-statement {
  max-width: 72ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: #2a3a5a;
  font-style: italic;
  border-left: 3px solid #4DAFC5;
  padding-left: 1.5rem;
  text-align: left;
}

.flow-section {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

.flow-section-header {
  text-align: center;
  padding: 2.5rem 0 0;
}

.flow-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0d1f3c;
  letter-spacing: 0.04em;
  margin: 0;
}

.flow-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Why Choose ĀLTA expandable cards ─────────────────── */

.why-section {
  padding: 8rem 0 1.5rem;
}

.why-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0d1f3c;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.why-subtitle {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.3;
}


.hl-word {
  display: inline;
}

.hl-char {
  display: inline;
  color: inherit;
  transition: color 0.6s ease;
}

.hl-char.lit {
  color: #5BBDD6;
}

.why-cards {
  display: flex;
  gap: 14px;
  height: 380px;
  perspective: 1000px;
}

.why-card {
  flex: 1;
  min-width: 108px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(0) scale(1);
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.40s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.40s ease;
}

.why-card:hover {
  flex: 3.5;
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.32), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.why-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px;
  box-sizing: border-box;
  position: relative;
}

.why-card-inner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,8,24,0.60) 0%, transparent 100%);
  pointer-events: none;
}

.why-card-img {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.transit-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 500;
}

.sphere-sweep-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 499;
}

.why-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.why-dot.arrived {
  opacity: 1;
}

.why-card-body {
  position: relative;
  z-index: 1;
}

.why-card-title {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 5px;
}

.why-card-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
  margin: 0;
}

.why-card-detail {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.90rem;
  line-height: 1.68;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.45s ease 0.08s,
    opacity    0.32s ease 0.20s,
    margin-top 0.32s ease 0.08s;
}

.why-card:hover .why-card-detail {
  max-height: 220px;
  opacity: 1;
  margin-top: 14px;
}

.stat-bars-section {
  padding: 2rem 0 4rem;
  position: relative;
}

.stat-bars-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0d1f3c;
  letter-spacing: 0.04em;
  margin: 0 0 2.5rem;
}

.stat-bars-grid {
  display: grid;
  gap: 2.25rem;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-bar-item {
  display: grid;
  gap: 0.5rem;
}

.stat-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.stat-bar-label {
  font-weight: 400;
  font-size: 1.05rem;
  color: #0d1f3c;
}

.stat-bar-pct {
  font-weight: 400;
  font-size: 1.15rem;
  color: #3D8FA8;
  letter-spacing: 0.02em;
}

.stat-bar-track {
  position: relative;
  height: 16px;
  background: rgba(100, 138, 199, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.stat-bar-fill {
  display: none;
}

.stat-bar-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.features-section {
  background: transparent;
  padding: 4rem 0 6rem;
}

.features-title {
  text-align: center;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: #0d1f3c;
  letter-spacing: -0.02em;
  margin: 0 0 5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .feature-visual {
  order: -1;
}

.feature-text h3 {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #0d1f3c;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.feature-text p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 40ch;
  margin: 0;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

/* ── Feature mockups ─────────────────────────────────────── */

.fmockup {
  width: 100%;
  max-width: 360px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 47, 108, 0.12);
  overflow: hidden;
  font-size: 0.8rem;
}

.fmockup-bar {
  background: #f7f5f2;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ede9e4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: #6b7280;
}

.fmock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.fmockup-content {
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.fmock-msg {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.fmock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fmock-bubble {
  flex: 1;
  background: #f7f5f2;
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
}

.fmock-sender {
  font-weight: 400;
  color: #1a1a2e;
  font-size: 0.7rem;
}

.fmock-text {
  color: #4a5568;
  font-size: 0.68rem;
  margin-top: 0.15rem;
}

.fmock-status {
  font-size: 0.62rem;
  margin-top: 0.2rem;
}

.fmock-status.delivered { color: #9ca3af; }
.fmock-status.read { color: #3D8FA8; font-weight: 400; }

.fmock-log-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
  background: #f7f5f2;
  border-radius: 8px;
}

.fmock-log-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.fmock-log-body { flex: 1; min-width: 0; }

.fmock-log-text {
  font-weight: 400;
  color: #1a1a2e;
  font-size: 0.7rem;
}

.fmock-log-time {
  font-size: 0.62rem;
  color: #9ca3af;
  margin-top: 0.15rem;
}

.fmock-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #f7f5f2;
  border-radius: 8px;
  padding: 0.875rem;
}

.fmock-stat-n {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.fmock-stat-l {
  font-size: 0.6rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

.fmock-progress-list { display: grid; gap: 0.5rem; }

.fmock-progress-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  color: #4a5568;
}

.fmock-bar {
  flex: 1;
  height: 6px;
  background: #ede9e4;
  border-radius: 999px;
  overflow: hidden;
}

.fmock-fill {
  height: 100%;
  border-radius: 999px;
}

.fmock-doc {
  background: #f7f5f2;
  border-radius: 8px;
  padding: 0.875rem;
}

.fmock-doc-title {
  font-weight: 400;
  color: #0d1f3c;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

.fmock-doc-lines { display: grid; gap: 0.3rem; margin-bottom: 0.75rem; }

.fmock-line {
  height: 5px;
  background: #ddd9d4;
  border-radius: 999px;
}

.fmock-sig-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #ede9e4;
  margin-bottom: 0.4rem;
}

.fmock-sig-name {
  font-family: Georgia, serif;
  font-style: italic;
  color: #0d1f3c;
  font-size: 0.9rem;
}

.fmock-sig-label {
  font-size: 0.58rem;
  color: #9ca3af;
}

.fmock-badge {
  font-size: 0.65rem;
  font-weight: 400;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.fmock-badge.signed { background: #edfaf1; color: #16a34a; }

.fmock-timestamp {
  font-size: 0.62rem;
  color: #9ca3af;
}

/* ── Sections ───────────────────────────────────────────── */

.section {
  padding: 5rem 0;
}

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

.section-header .eyebrow {
  background: linear-gradient(to right, #2d7a94, #3D8FA8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(2rem, 2.5vw, 2.75rem);
  color: #1a1a2e;
  letter-spacing: -0.02em;
}

.about-section {
  background: white;
}

.about-section > .container > p {
  max-width: 60ch;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
}

.services-section {
  background: #f7f5f2;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  border-radius: 20px;
  background: white;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.card h3 {
  margin-top: 0;
  color: #1a1a2e;
}

.card p {
  margin: 0.75rem 0 0;
  color: #475569;
}

.contact-section {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info {
  padding: 2rem 0;
}

.contact-info > p {
  color: #475569;
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: #334155;
}

.contact-card {
  padding: 2rem;
  border-radius: 20px;
  background: #f7f5f2;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 1rem;
}

.contact-card label {
  display: grid;
  gap: 0.5rem;
  font-weight: 400;
  color: #1e293b;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid #e2e0dc;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  background: white;
  color: #0f172a;
  transition: border-color 0.2s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #3D8FA8;
}

.contact-card textarea {
  resize: vertical;
}

.status-message {
  margin: 0;
  color: #16a34a;
  min-height: 1.5rem;
}

/* ── Intro overlay ──────────────────────────────────────── */

#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(150deg, #eae6e2 0%, #dce0ec 55%, #cdd0e2 100%);
  pointer-events: none;
  transition: opacity 1.6s ease;
}

#intro-overlay.done {
  opacity: 0;
}

#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wave-divider {
  display: block;
  width: 100%;
  height: 180px;
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  color: #64748b;
  background: transparent;
  border-top: 1px solid #d8d4d2;
}

/* ── Animations ─────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left .eyebrow,
.hero-center .eyebrow {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.1s;
}

.hero-left h1,
.hero-center h1 {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.25s;
}

.hero-left .hero-copy,
.hero-center .hero-copy {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.4s;
}

.hero-left .hero-actions,
.hero-center .hero-actions {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.55s;
}

.hero-right,
.hero-sphere-wrap {
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.65s;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hamburger button ───────────────────────────────────── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0d1f3c;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ──────────────────────────────────── */

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: white;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #0d1f3c;
  line-height: 1;
  padding: 0.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 0;
  font-size: 1.15rem;
  color: #0d1f3c;
  border-bottom: 1px solid #f0f2f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: #3D8FA8;
}

.mobile-nav-cta {
  margin-top: auto;
  text-align: center;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Responsive ─────────────────────────────────────────── */

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

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }

  .feature-row.reverse .feature-visual {
    order: 0;
  }

  .feature-text p {
    max-width: none;
  }

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

  .sphere-canvas {
    width: 420px;
    height: 420px;
  }
}

/* ── Tablet (768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
  }

  .why-cards {
    height: 300px;
  }

  .why-card-title { font-size: 1.05rem; }

  .flow-section { height: 700px; }

  .features-title { font-size: 1.8rem; }

  .stat-bars-title { font-size: 1.6rem; }
}

@media (max-width: 640px) {
  /* Header */
  .site-nav   { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }

  .logo-wrap,
  .logo { width: 160px; height: 56px; }

  /* Hero */
  .hero {
    padding-top: 7rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    white-space: normal;
    line-height: 1.18;
  }

  .hero-copy {
    font-size: 1rem;
    white-space: normal;
    line-height: 1.7;
  }

  .hero-center {
    padding-bottom: 3rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-actions .button,
  .hero-actions .hero-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Sphere */
  .sphere-canvas {
    width: 300px;
    height: 300px;
  }

  .hero-sphere-wrap {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  /* Why cards — stack vertically on mobile */
  .why-section { padding: 4rem 0 1rem; }

  .why-cards {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }

  .why-card {
    min-width: unset;
    flex: none;
    height: 220px;
  }

  .why-card:hover {
    flex: none;
    transform: translateY(-4px) scale(1.01);
  }

  .why-card-detail {
    max-height: 220px;
    opacity: 1;
    margin-top: 10px;
  }

  /* Flow section */
  .flow-section { height: 560px; }

  /* Features section */
  .features-section { padding: 3rem 0; }
  .features-title   { font-size: 1.6rem; }

  .feature-row {
    gap: 1.75rem;
    margin-bottom: 3rem;
  }

  /* Stat bars */
  .stat-bars-section { padding: 2rem 0 3rem; }

  /* Pricing */
  .pricing-section  { padding: 3.5rem 0 3rem; }
  .pricing-header h2 { font-size: 1.75rem; }

  /* Contact */
  .section { padding: 3rem 0; }

  /* Footer */
  .site-footer { text-align: center; font-size: 0.85rem; }

  /* General container breathing room */
  .container { width: calc(100% - 2.5rem); }

  /* Why subtitle */
  .why-subtitle { font-size: clamp(1.3rem, 5vw, 1.8rem); }
}

/* ── Pricing section ────────────────────────────────────── */

/* ── Privacy Support ─────────────────────────────────────── */

.privacy-section {
  position: relative;
}

.privacy-scroll-driver {
  position: relative;
  height: 350vh;
}

.privacy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(rgba(0, 47, 108, 0.52), rgba(0, 47, 108, 0.52)),
    url('Image/Image 4.webp');
  background-size: cover;
  background-position: center;
}

.privacy-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 500px;
  max-width: calc(100% - 2rem);
  margin: 0 0 0 clamp(1rem, 6vw, 7rem);
  height: 100%;
  padding: 3rem 0;
}

.privacy-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.privacy-title {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.privacy-intro {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

/* windowed list — fixed height, overflow hidden, JS scrolls inner track */
.privacy-window {
  height: 520px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.privacy-item {
  background: rgba(240, 238, 234, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0, 47, 108, 0.08);
}

.privacy-item.active {
  background: rgba(248, 247, 244, 0.92);
  box-shadow: 0 10px 40px rgba(0, 47, 108, 0.18);
}

.privacy-item:hover:not(.active) {
  background: rgba(244, 242, 238, 0.82);
}

.privacy-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
}

.privacy-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 47, 108, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.privacy-item.active .privacy-item-icon {
  background: rgba(0, 47, 108, 0.15);
}

.privacy-item-title {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 1rem;
  color: #0d1f3c;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 400;
}

.privacy-item.active .privacy-item-title {
  font-size: 1.15rem;
}

.privacy-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.35s ease;
  padding: 0 1.4rem;
}

.privacy-item.active .privacy-item-body {
  max-height: 180px;
  padding: 0 1.4rem 1.3rem;
}

.privacy-item-body p {
  font-family: 'DM Sans', sans-serif;
  color: #374151;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 0.9rem;
}

.privacy-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #002f6c;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.privacy-item-cta:hover {
  background: #1a4a8a;
}

@media (max-width: 700px) {
  .privacy-layout { margin: 0 auto; align-items: center; }
  .privacy-header { text-align: center; }
  .privacy-window { height: 460px; }
}

@media (max-width: 560px) {
  .privacy-window { height: 400px; }
}

/* ── Pricing ─────────────────────────────────────────────── */

.pricing-section {
  padding: 6rem 0 5rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-header h2 {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #0d1f3c;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.pricing-accent {
  color: #5BBDD6;
}

.pricing-header p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 560px;
  margin: 0 auto;
  font-family: 'DM Sans', sans-serif;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1.5px solid #e5e9f0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,47,108,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,47,108,0.12);
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: #5BBDD6;
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(91,189,214,0.18);
}

.pricing-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d1f3c;
  margin: 0;
  font-family: 'Glacial Indifference', Inter, sans-serif;
}

.plan-badge {
  display: inline-block;
  background: #e0f4fa;
  color: #2a7a96;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  width: fit-content;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
}

.plan-desc {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
}

.plan-starting {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

.plan-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #0d1f3c;
  font-family: 'Glacial Indifference', Inter, sans-serif;
}

.plan-period {
  font-size: 0.85rem;
  color: #6b7280;
  font-family: 'DM Sans', sans-serif;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.875rem;
  color: #374151;
  font-family: 'DM Sans', sans-serif;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.45;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: #5BBDD6;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='%235BBDD6'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  flex-shrink: 0;
}

.plan-addons {
  border-top: 1px solid #f0f2f6;
  padding-top: 1rem;
}

.plan-addons-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d1f3c;
  margin: 0 0 0.6rem;
  font-family: 'DM Sans', sans-serif;
}

.plan-addons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plan-addons ul li {
  font-size: 0.85rem;
  color: #6b7280;
  font-family: 'DM Sans', sans-serif;
  padding-left: 1.2rem;
  position: relative;
}

.plan-addons ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #5BBDD6;
  font-weight: 600;
}

.plan-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.plan-btn-outline {
  background: transparent;
  border: 1.5px solid #1a2e72;
  color: #1a2e72;
}

.plan-btn-outline:hover {
  background: #1a2e72;
  color: white;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}
