/* ══════════════════════ TOKENS ══════════════════════ */
:root {
  --bg:          #EFF9F8;
  --bg-dark:     #14171A;
  --ink:         #14171A;
  --ink-soft:    #45494E;
  --ink-faint:   #7A7E84;
  --accent:      #6B5EF5;
  --accent-deep: #4B3FD6;
  --accent-blue: #1F2CFF;
  --white:       #FFFFFF;
  --card-grad:   linear-gradient(135deg, #FFFFFF 0%, #DCEFEC 100%);
  --card-border: #D7E9E6;
  --page-pad:    clamp(18px, 6vw, 86px);
  --max-w:       1260px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.eyebrow-white { color: var(--white); }

.eyebrow-dark { color: #B0A6FF; }

.section-heading {
  font-size: clamp(31px, 4vw, 47px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.accent { color: var(--accent); }

/* ══════════════════════ NAV ══════════════════════ */
.nav { position: sticky; top: 0; z-index: 100; padding: 22px var(--page-pad); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
}
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; transition: opacity 0.25s ease, width 0.25s ease, margin 0.25s ease; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; display: block; }
.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 90px;
  padding: 7px;
  display: flex;
  gap: 4px;
  align-items: center;
  box-shadow: 0 4px 22px rgba(20,23,26,0.07);
}
.nav-pill-logo-tab {
  width: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  border-radius: 90px;
  transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}
.nav-pill-logo-tab:hover { background: none; }
.nav-pill-logo-tab img { height: 22px; width: auto; object-fit: contain; }
.nav-pill-logo-divider {
  width: 0;
  opacity: 0;
  height: 22px;
  background: var(--ink-faint);
  flex-shrink: 0;
  transition: width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.nav.scrolled .nav-logo { opacity: 0; width: 0; margin: 0; overflow: hidden; }
.nav.scrolled .nav-pill-logo-tab { width: auto; opacity: 1; padding: 8px 10px 8px 14px; }
.nav.scrolled .nav-pill-logo-divider { width: 1.5px; opacity: 1; margin: 0 2px 0 0; }
.nav-pill a:not(.nav-pill-logo-tab) {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 10px 18px;
  border-radius: 90px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-pill a:not(.nav-pill-logo-tab):hover { background: var(--ink); color: var(--white); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 12px 18px;
  background: linear-gradient(135deg, #1f2cff, #8b3dff);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(31, 44, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(31, 44, 255, 0.42);
}
.nav-cta:hover .nav-cta-icon { transform: rotate(-45deg); }
.nav-cta-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-cta-icon svg { width: 12px; height: 12px; }

.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 22px rgba(20,23,26,0.07);
}
.nav-toggle-btn svg { width: 18px; height: 18px; }
.nav-mobile-panel {
  display: none;
  max-width: var(--max-w);
  margin: 11px auto 0;
  background: var(--white);
  border-radius: 22px;
  padding: 0 11px 11px;
  box-shadow: 0 8px 32px rgba(20,23,26,0.18), 0 2px 8px rgba(20,23,26,0.1);
  flex-direction: column;
}
.nav.scrolled .nav-mobile-panel {
  padding: 11px;
}
.nav-mobile-panel a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 13px 16px;
  border-radius: 13px;
  transition: background 0.2s, color 0.2s;
}
.nav-mobile-panel a:not(.nav-mobile-logo-row):hover { background: var(--ink); color: var(--white); }
.nav-mobile-logo-row {
  display: flex;
  align-items: center;
  padding: 0 5px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}
.nav-mobile-logo-row:hover { background: none; }
.nav-mobile-logo-row img { height: 24px; width: auto; object-fit: contain; }
.nav.scrolled .nav-mobile-logo-row { height: 40px; opacity: 1; padding: 6px 5px 12px; }
.nav-mobile-logo-divider {
  height: 1.5px;
  background: var(--ink-faint);
  margin: 0 5px 8px;
  display: none;
}
.nav.scrolled .nav-mobile-logo-divider { display: block; }

@media (max-width: 922px) {
  .nav-pill { display: none; }
  .nav-toggle-btn { display: flex; }
  .nav-toggle:checked ~ .nav-mobile-panel { display: flex; }
  .nav-inner { justify-content: center; }
  .nav-logo { position: absolute; left: var(--page-pad); }
  .nav-toggle-btn { position: absolute; right: var(--page-pad); }
}

/* ── Scroll offset for sticky nav ── */
#services, #process, #about, #case-studies {
  scroll-margin-top: 90px;
}

/* ══════════════════════ HERO ══════════════════════ */
#hero { padding: 50px var(--page-pad) 0; }
.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding-bottom: 63px;
}
.hero-heading {
  font-size: clamp(38px, 5.4vw, 61px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 23px;
}
.hero-body {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-body strong { color: var(--ink); font-weight: 800; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-cta {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 27px;
  border-radius: 90px;
  transition: background 0.15s;
}
.hero-cta:hover { background: var(--accent-deep); }
.hero-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.hero-visual { display: flex; justify-content: center; width: 100%; }
.hero-scene {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 7 / 5;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroBackdropFadeIn 2s ease-out 0.3s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-backdrop svg { width: 100%; height: 100%; }
@keyframes heroBackdropFadeIn { to { opacity: 1; } }

.hero-loudspeaker {
  position: absolute;
  left: 54%;
  top: calc(50% + 15px);
  opacity: 0;
  width: 59%;
  animation:
    heroSpeakerFloat 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards,
    heroSpeakerBob 4.2s ease-in-out 2.2s infinite;
}
.hero-loudspeaker svg { width: 100%; height: auto; display: block; }
@keyframes heroSpeakerFloat {
  0%   { opacity: 0; transform: translateX(-50%) translateY(40%); }
  100% { opacity: 1; transform: translateX(-50%) translateY(-50%); }
}
@keyframes heroSpeakerBob {
  0%, 100% { transform: translateX(-50%) translateY(-50%); }
  50% { transform: translateX(-50%) translateY(-51.5%); }
}

@media (max-width: 922px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 50px; }
  .hero-text { display: contents; }
  #hero .eyebrow { order: 0; }
  .hero-heading { order: 1; }
  .hero-visual { order: 2; max-width: 420px; margin: 0 auto; }
  .hero-body { order: 3; max-width: 100%; margin-top: 16px; }
  .hero-actions { order: 4; margin-top: 4px; }
}

/* ══════════════════════ SERVICES ══════════════════════ */
#services { padding: 0 var(--page-pad) 90px; }
.services-panel {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-dark);
  border-radius: 36px;
  padding: 58px 65px 65px;
}
.services-head { text-align: center; margin-bottom: 50px; }
.services-panel .eyebrow { justify-content: center; display: flex; }
.services-heading { color: var(--white); }
.services-heading .accent { color: #9B8FFF; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 47px 36px;
  margin-bottom: 47px;
}
.service-item { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; cursor: default; }
.service-item svg {
  width: 72px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-item:hover svg {
  transform: scale(1.22);
}
.service-label { font-size: 15px; font-weight: 400; color: var(--white); line-height: 1.3; }
.services-more { text-align: center; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.495); }

@media (max-width: 922px) { .services-panel { padding: 43px 36px 50px; } }
@media (max-width: 684px) {
  .services-panel { padding: 36px 25px 43px; border-radius: 25px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 40px 22px; }
}
@media (max-width: 432px) {
  .services-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-item svg { width: 58px; }
}

/* ══════════════════════ PROCESS ══════════════════════ */
#process { padding: 0 var(--page-pad) 90px; }
.process-inner { max-width: var(--max-w); margin: 0 auto; }
.process-head { text-align: center; margin-bottom: 50px; }
.process-head .eyebrow { justify-content: center; display: flex; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 29px; }
.process-card {
  background: var(--card-grad);
  border-radius: 25px;
  box-shadow: inset 0 0 0 2px var(--card-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.process-card-text { padding: 36px 29px 25px; flex: 1; }
.process-card-title {
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 18px;
}
.process-card-body { font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--ink-soft); }
.process-card-body strong { color: var(--ink); font-weight: 800; }
.process-card-body em { font-style: normal; font-weight: 700; color: var(--accent); }
.process-card-body a { color: var(--accent-blue); }
.process-card-image {
  width: 100%;
  height: 216px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-top: 1.5px solid var(--card-border);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-card:hover .process-card-image { transform: scale(1.08); }

@media (max-width: 922px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-card:last-child { grid-column: span 2; }
  .process-card:last-child .process-card-text { max-width: 486px; margin: 0 auto; }
}
@media (max-width: 684px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-card:last-child { grid-column: auto; }
  .process-card:last-child .process-card-text { max-width: none; }
}

/* ══════════════════════ DEEP DIVE CTA ══════════════════════ */
#deep-dive-cta { padding: 0 6vw 4vw; text-align: center; }
.deep-dive-inner { max-width: 900px; margin: 0 auto; }
.deep-dive-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff; color: var(--accent-deep);
  font-size: 12px; font-weight: 800; padding: 7px 16px; border-radius: 90px;
  margin-bottom: 10px;
}
.deep-dive-heading { font-size: clamp(30px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.deep-dive-sub { font-size: 18px; color: var(--ink-soft); font-weight: 500; line-height: 1.6; margin-bottom: 30px; max-width: 640px; margin-left: auto; margin-right: auto; }
.deep-dive-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #1f2cff, #8b3dff);
  color: var(--white); font-weight: 700; font-size: 15px;
  padding: 16px 32px; border-radius: 90px;
  box-shadow: 0 6px 20px rgba(31, 44, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.deep-dive-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(31, 44, 255, 0.4); }

/* ══════════════════════ ABOUT ══════════════════════ */
#about { padding: 36px var(--page-pad) 64px; }
.about-panel {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--white);
  border: 1.5px solid var(--card-border);
}
.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px var(--page-pad);
}
.about-photo-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.founder-circle-wrap { width: 240px; height: 240px; border-radius: 50%; overflow: hidden; box-shadow: 0 16px 36px rgba(20,23,26,0.12); }
.founder-circle { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-name { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.founder-title { font-size: 13.5px; font-weight: 600; color: var(--ink-faint); text-align: center; max-width: 220px; line-height: 1.4; }
.founder-linkedin { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; text-decoration: none; color: #0a66c2; font-size: 13px; font-weight: 600; font-family: 'Manrope', sans-serif; transition: opacity 0.18s ease; }
.founder-linkedin svg { width: 18px; height: 18px; fill: #0a66c2; flex-shrink: 0; }
.founder-linkedin:hover { opacity: 0.75; }
.about-text-col { padding-top: 5px; }
.about-heading { margin-bottom: 22px; }
.about-body { font-size: 17px; font-weight: 500; line-height: 1.7; color: var(--ink-soft); margin-bottom: 28px; }
.about-body p + p { margin-top: 16px; }
.about-body strong { color: var(--ink); font-weight: 800; }
.about-body em { font-style: normal; font-weight: 700; color: var(--accent); }
.about-body a { color: var(--accent-blue); font-weight: 700; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 26px; border-top: 1.5px solid var(--card-border); }
.about-stat-num { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; color: var(--accent-deep); }
.about-stat-label { font-size: 12px; font-weight: 600; color: var(--ink-faint); margin-top: 3px; }

@media (max-width: 720px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center; padding: 43px 28px; }
  .about-text-col { text-align: left; }
  .about-stats { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 420px) {
  .founder-circle-wrap { width: 200px; height: 200px; }
  .founder-title { max-width: 100%; }

}

/* ══════════════════════ CASE STUDIES ══════════════════════ */
#case-studies { padding: 0 var(--page-pad) 99px; }
.cs-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.cs-head { text-align: center; margin-bottom: 28px; }
.cs-head .eyebrow { justify-content: center; display: flex; }
.cs-viewport { overflow: hidden; }
.cs-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 36px) / 3 * 0.85);
  gap: 36px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cs-card { display: block; cursor: pointer; }
.cs-image-wrap { overflow: hidden; border-radius: 18px; margin: 0 auto 18px; position: relative; }
.cs-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.cs-card:hover .cs-image { transform: scale(1.08); }
.cs-placeholder { background: repeating-linear-gradient(135deg, #E4EDEC 0 12px, #DCE7E6 12px 24px); }
.cs-coming-soon-image {
  background: linear-gradient(160deg, #F4F1FE, #DCEFEC);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-coming-soon-image svg { width: 56px; height: 56px; color: var(--accent); opacity: 0.35; }
.cs-card-soon { cursor: default; }
.cs-card-soon:hover .cs-image { transform: none; }
.cs-read-label {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--white); color: var(--ink);
  font-size: 12.5px; font-weight: 800; padding: 9px 16px; border-radius: 90px;
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cs-card:hover .cs-read-label { opacity: 1; transform: translateY(0); }
.cs-read-label svg { width: 13px; height: 13px; }
.cs-brand { font-size: 20px; font-weight: 800; color: var(--bg-dark); margin-bottom: 7px; }
.cs-desc { font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--ink-soft); }

.cs-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--card-border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(20,23,26,0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  z-index: 5;
}
.cs-nav:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cs-nav:disabled { opacity: 0.35; cursor: default; background: var(--white); color: var(--ink); border-color: var(--card-border); }
.cs-nav svg { width: 20px; height: 20px; }
.cs-nav-left { left: -64px; }
.cs-nav-right { right: -64px; }

@media (max-width: 1180px) {
  .cs-nav-left { left: -8px; }
  .cs-nav-right { right: -8px; }
}
@media (max-width: 684px) {
  .cs-grid { grid-auto-columns: calc((100% - 24px) / 2 * 0.85); gap: 24px; }
  .cs-image { aspect-ratio: 4/5; }
  .cs-desc { font-size: 19px; }
}
@media (max-width: 480px) {
  .cs-grid { grid-auto-columns: 100%; }
}

/* ══════════════════════ EMAIL CAPTURE ══════════════════════ */
#contact { padding: 0 var(--page-pad) 90px; }
.contact-panel {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--bg-dark);
  border-radius: 36px;
  padding: 65px 65px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  animation: contact-float 7s ease-in-out infinite;
}
.contact-blob.b1 { width: 200px; height: 200px; background: #1f2cff; top: -50px; left: -30px; animation-delay: 0s; }
.contact-blob.b2 { width: 170px; height: 170px; background: #8b3dff; bottom: -40px; right: 60px; animation-delay: 1.5s; }
.contact-blob.b3 { width: 130px; height: 130px; background: #17b6ff; top: 30px; right: -20px; animation-delay: 3s; }
@keyframes contact-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.contact-panel .eyebrow { justify-content: center; display: flex; position: relative; z-index: 1; }
.contact-heading {
  font-size: clamp(31px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 648px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.contact-heading .accent { color: #9B8FFF; }
.contact-sub {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  max-width: 432px;
  margin: 0 auto 36px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.contact-form-card {
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 24px;
  padding: 20px;
  transform: rotate(-1.5deg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
@keyframes contact-card-jiggle {
  0%, 100% { transform: rotate(-1.5deg); }
  20% { transform: rotate(-4deg); }
  40% { transform: rotate(2deg); }
  60% { transform: rotate(-3deg); }
  80% { transform: rotate(0.5deg); }
}
.contact-form-card.jiggle { animation: contact-card-jiggle 0.5s ease-in-out; }
.contact-form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-form input {
  flex: 1;
  background: var(--bg);
  border: none;
  outline: none;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: 90px;
}
.contact-form input::placeholder { color: var(--ink-faint); }
.contact-form button {
  background: linear-gradient(135deg, #1f2cff, #8b3dff);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 90px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(31, 44, 255, 0.3);
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(31, 44, 255, 0.42);
}
.contact-note { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.35); margin-top: 18px; position: relative; z-index: 1; }

/* Success state — checkmark morph */
.contact-form-card { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.contact-form-card.success { transform: rotate(0deg); }
.contact-success-state { display: none; flex-direction: column; align-items: center; padding: 6px 0; }
.contact-form-card.success .contact-form-state { display: none; }
.contact-form-card.success .contact-success-state { display: flex; }
.contact-check-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #1f2cff, #8b3dff);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  animation: contact-check-pop 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes contact-check-pop { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.contact-check-circle svg { width: 22px; height: 22px; }
.contact-check-circle path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: contact-check-draw 0.35s ease-out 0.2s forwards; }
@keyframes contact-check-draw { to { stroke-dashoffset: 0; } }
.contact-success-title { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.contact-success-sub { font-size: 12.5px; color: var(--ink-faint); }

@media (max-width: 630px) {
  .contact-panel { padding: 50px 25px 58px; border-radius: 25px; }
  .contact-form-card { transform: rotate(0deg); padding: 16px; }
  .contact-form-card.jiggle { animation: contact-card-jiggle-mobile 0.5s ease-in-out; }
  .contact-form { flex-direction: column; gap: 11px; }
  .contact-form input { width: 100%; text-align: center; padding: 12px 0; }
  .contact-form button { width: 100%; }
}
@keyframes contact-card-jiggle-mobile {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-2.5deg); }
  40% { transform: rotate(2.5deg); }
  60% { transform: rotate(-1.5deg); }
  80% { transform: rotate(1deg); }
}

/* ══════════════════════ FOOTER ══════════════════════ */
.footer { padding: 24px var(--page-pad) 24px; border-top: 1.5px solid var(--card-border); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-logo img { height: 64px; width: auto; object-fit: contain; }
.footer-meta { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; color: var(--ink-faint); flex-wrap: wrap; }
.footer-meta a:hover { color: var(--accent); }

@media (max-width: 630px) { .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; } }
