* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-start: #f8fafc;
  --bg-mid: #fafbff;
  --bg-end: #f0f7ff;
  --electric-blue: #3b82f6;
  --electric-violet: #7c3aed;
  --indigo-glow: #4f46e5;
  --neon-teal: #14b8a6;
  --text-primary: rgba(15, 23, 42, 0.95);
  --text-secondary: rgba(15, 23, 42, 0.7);
  --text-tertiary: rgba(15, 23, 42, 0.5);
  --font-display: "Space Grotesk", -apple-system, sans-serif;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-display);
  background: linear-gradient(
    135deg,
    var(--bg-start) 0%,
    var(--bg-mid) 50%,
    var(--bg-end) 100%
  );
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100svh;
  max-height: 100svh;
}

::selection {
  background: rgba(59, 130, 246, 0.2);
  color: var(--text-primary);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=");
  opacity: 0.3;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: overlay;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(15, 23, 42, 0.02) 80%,
    rgba(15, 23, 42, 0.05) 100%
  );
  pointer-events: none;
  z-index: 99;
}

.shimmer-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 65%,
    transparent 100%
  );
  background-size: 400% 400%;
  animation: shimmer-premium 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 98;
  mix-blend-mode: overlay;
}

@keyframes shimmer-premium {
  0% {
    background-position: -150% 0%;
    opacity: 0.6;
  }
  50% {
    background-position: 250% 0%;
    opacity: 0.9;
  }
  100% {
    background-position: -150% 0%;
    opacity: 0.6;
  }
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.particle-1 {
  left: 15%;
  bottom: -5%;
  animation: particle-rise 14s;
}
.particle-2 {
  left: 30%;
  bottom: -5%;
  animation: particle-rise 16s 1.5s;
}
.particle-3 {
  left: 45%;
  bottom: -5%;
  animation: particle-rise 15s 3s;
}
.particle-4 {
  left: 60%;
  bottom: -5%;
  animation: particle-rise 17s 0.8s;
}
.particle-5 {
  left: 75%;
  bottom: -5%;
  animation: particle-rise 13s 2.2s;
}
.particle-6 {
  left: 22%;
  bottom: -5%;
  animation: particle-rise 15.5s 1.2s;
}
.particle-7 {
  left: 52%;
  bottom: -5%;
  animation: particle-rise 16.5s 2.8s;
}
.particle-8 {
  left: 85%;
  bottom: -5%;
  animation: particle-rise 14.5s 0.5s;
}

@keyframes particle-rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translate3d(40px, -100vh, 0);
    opacity: 0;
  }
}

.orb-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.orb-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(
    circle at 40% 40%,
    var(--electric-blue),
    transparent 55%
  );
  opacity: 0.55;
  top: -15%;
  left: -10%;
  animation: orb-drift-1 10s;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(
    circle at 50% 50%,
    var(--electric-violet),
    transparent 55%
  );
  opacity: 0.5;
  top: 15%;
  right: -8%;
  animation: orb-drift-2 12s;
}

.orb-3 {
  width: 850px;
  height: 850px;
  background: radial-gradient(
    circle at 60% 40%,
    var(--neon-teal),
    transparent 55%
  );
  opacity: 0.52;
  bottom: -20%;
  left: 10%;
  animation: orb-drift-3 14s;
}

.orb-4 {
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle at 50% 50%,
    var(--indigo-glow),
    transparent 55%
  );
  opacity: 0.48;
  bottom: 5%;
  right: 5%;
  animation: orb-drift-4 11s;
}

@keyframes orb-drift-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(100px, 120px, 0) scale(1.25);
  }
}
@keyframes orb-drift-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-110px, 130px, 0) scale(1.3);
  }
}
@keyframes orb-drift-3 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(90px, -100px, 0) scale(1.2);
  }
}
@keyframes orb-drift-4 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-90px, -110px, 0) scale(1.28);
  }
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0;
  line-height: 0;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: clamp(0.5rem, 1.2vh, 0.85rem);
  width: fit-content;
  max-width: 100%;
}

.logo-tagline {
  font-size: clamp(0.68rem, 1.1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-secondary);
  max-width: none;
  margin-bottom: 0;
  padding-top: 0;
  white-space: nowrap;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-smooth) 0.18s forwards;
}

.tagline-short,
.subline-short,
.btn-label-short,
.link-short {
  display: none;
}

.logo-image {
  width: clamp(200px, 22vw, 280px);
  height: auto;
  display: block;
  transform-origin: left center;
  animation: logo-float 4.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.22));
}

.logo-link:hover .logo-image {
  transform: none;
  filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.22));
}

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

.headline-gradient {
  background: linear-gradient(
    135deg,
    var(--electric-blue) 0%,
    var(--neon-teal) 45%,
    var(--electric-violet) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation:
    fade-up 0.8s var(--ease-smooth) 0.45s forwards,
    gradient-shift 6s ease-in-out 1.2s infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.contact-page {
  position: relative;
  z-index: 10;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vh, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.panel {
  display: flex;
  align-items: center;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding: 0;
}

.panel-left {
  position: relative;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  padding-right: 0.5rem;
  min-height: auto;
}

.panel-left-inner {
  max-width: 580px;
  width: 100%;
  opacity: 0;
  transform: translateX(-24px);
  animation: reveal-left 0.9s var(--ease-smooth) 0.1s forwards;
}

.panel-right {
  justify-content: flex-start;
  align-items: center;
  padding-left: 0.5rem;
}

.contact-hero-content {
  text-align: left;
}

.contact-eyebrow {
  font-size: clamp(0.75rem, 1.2vh, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: clamp(0.4rem, 1vh, 0.75rem);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-smooth) 0.2s forwards;
}

.contact-headline {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: clamp(1.85rem, 4.2vh, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: clamp(0.5rem, 1.2vh, 1rem);
}

.headline-line {
  color: var(--text-primary);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-smooth) 0.3s forwards;
}

.contact-subline {
  font-size: clamp(0.9rem, 1.8vh, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 520px;
  font-weight: 400;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-smooth) 0.55s forwards;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.45rem, 1vh, 0.65rem);
  margin-top: clamp(0.75rem, 2vh, 1.5rem);
}

.feature-card {
  padding: clamp(0.55rem, 1.2vh, 0.85rem) clamp(0.5rem, 1vw, 0.75rem);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.75),
    rgba(241, 245, 255, 0.55)
  );
  border: 1px solid rgba(124, 58, 237, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08);
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.7s var(--ease-smooth) forwards;
}

.feature-card:nth-child(1) {
  animation-delay: 0.65s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.78s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.91s;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.5rem, 2.5vh, 1.75rem);
  height: clamp(1.5rem, 2.5vh, 1.75rem);
  margin-bottom: 0.35rem;
  font-size: clamp(0.8rem, 1.4vh, 0.95rem);
  color: var(--electric-blue);
  background: rgba(59, 130, 246, 0.12);
  border-radius: 8px;
}

.feature-title {
  font-size: clamp(0.75rem, 1.4vh, 0.88rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.feature-desc {
  font-size: clamp(0.65rem, 1.2vh, 0.75rem);
  color: var(--text-secondary);
  line-height: 1.3;
}

.panel-tagline {
  margin-top: clamp(0.5rem, 1.5vh, 1rem);
  font-size: clamp(0.8rem, 1.4vh, 0.95rem);
  font-weight: 500;
  color: rgba(30, 41, 59, 0.75);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-smooth) 1.05s forwards;
}

.form-tagline {
  flex-shrink: 0;
  width: 100%;
  margin-top: 1.15rem;
  padding-bottom: 0.35rem;
  font-size: clamp(0.82rem, 1.4vh, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(30, 41, 59, 0.7);
  text-align: center;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-smooth) 1.1s forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-container {
  width: 100%;
  max-width: 520px;
  opacity: 0;
  transform: translateX(24px);
  animation: reveal-right 0.9s var(--ease-smooth) 0.35s forwards;
}

.glass-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.88),
    rgba(241, 245, 255, 0.8)
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 24px;
  padding: clamp(1.1rem, 2.5vh, 2rem) clamp(1.25rem, 2.5vw, 2rem);
  box-shadow:
    0 20px 60px rgba(59, 130, 246, 0.2),
    0 14px 36px rgba(124, 58, 237, 0.16);
  animation: card-glow 4s ease-in-out 1.5s infinite alternate;
}

@keyframes card-glow {
  from {
    box-shadow:
      0 16px 48px rgba(59, 130, 246, 0.18),
      0 10px 28px rgba(124, 58, 237, 0.14);
  }
  to {
    box-shadow:
      0 22px 64px rgba(59, 130, 246, 0.26),
      0 16px 36px rgba(124, 58, 237, 0.2);
  }
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.3),
    rgba(59, 130, 246, 0)
  );
  pointer-events: none;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.28),
    rgba(124, 58, 237, 0)
  );
  pointer-events: none;
}

.glass-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.card-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.card-tab {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: clamp(0.78rem, 1.3vh, 0.9rem);
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.card-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #14b8a6 45%, #7c3aed);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}

.tab-panels {
  display: grid;
  width: 100%;
  min-width: 0;
}

.tab-panel {
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease-smooth),
    visibility 0.3s var(--ease-smooth);
}

.tab-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 0.35rem;
}

.field-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.field-input:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin: 0.15rem 0 0.5rem;
}

.submit-button {
  border: none;
  cursor: pointer;
  margin-top: 0.35rem;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.full-width {
  width: 100%;
}

.form-message {
  display: none;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-message.show {
  display: block;
  animation: fade-up 0.4s var(--ease-smooth);
}

.form-message.success {
  color: #14532d;
  background: linear-gradient(
    135deg,
    rgba(220, 252, 231, 0.95) 0%,
    rgba(187, 247, 208, 0.9) 55%,
    rgba(134, 239, 172, 0.88) 100%
  );
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.form-message.error {
  color: #7f1d1d;
  background: rgba(254, 226, 226, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.privacy-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: rgba(30, 41, 59, 0.65);
  text-align: center;
}

.card-headline {
  font-size: clamp(1.25rem, 2.8vh, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 0.25rem;
}

.card-subline {
  font-size: clamp(0.8rem, 1.5vh, 0.95rem);
  color: rgba(30, 41, 59, 0.85);
  margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
}

.contact-list {
  list-style: none;
  text-align: left;
  margin-bottom: clamp(0.75rem, 1.5vh, 1.25rem);
}

.contact-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: clamp(0.35rem, 0.8vh, 0.55rem) 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  opacity: 0;
  transform: translateX(10px);
  animation: reveal-item 0.6s var(--ease-smooth) forwards;
}

.contact-item:nth-child(1) {
  animation-delay: 0.55s;
}
.contact-item:nth-child(2) {
  animation-delay: 0.65s;
}
.contact-item:nth-child(3) {
  animation-delay: 0.75s;
}
.contact-item:nth-child(4) {
  animation-delay: 0.85s;
}
.contact-item:nth-child(5) {
  animation-delay: 0.95s;
}

@keyframes reveal-item {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-label {
  font-size: clamp(0.65rem, 1.1vh, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.contact-value {
  font-size: clamp(0.8rem, 1.5vh, 1rem);
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
  word-break: break-word;
}

.contact-value:not(.contact-link),
.contact-value:not(.contact-link) a {
  color: var(--text-primary);
  text-decoration: none;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}

.contact-link {
  text-decoration: none;
  color: var(--electric-blue);
  transition: color 0.2s var(--ease-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.contact-link:hover {
  color: var(--electric-violet);
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.55rem, 1.2vh, 0.75rem) clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(0.8rem, 1.4vh, 0.95rem);
  font-weight: 600;
  font-family: inherit;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.25s var(--ease-bounce);
  white-space: nowrap;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-smooth) 1.05s forwards;
}

.action-button.secondary {
  animation-delay: 1.15s;
}

.action-button.primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #14b8a6 45%, #7c3aed);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.action-button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.action-button.secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.action-button.secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  html {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body {
    height: auto;
    min-height: 100dvh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .contact-page {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    overflow: visible;
    gap: 0.75rem;
    padding: 1rem 1rem max(1.25rem, env(safe-area-inset-bottom));
    align-items: stretch;
  }

  .panel {
    height: auto;
    max-height: none;
    overflow: visible;
    min-height: 0;
    padding: 0;
    width: 100%;
  }

  .panel-left {
    flex: 0 0 auto;
    align-items: stretch;
    justify-content: flex-start;
  }

  .panel-right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
  }

  .contact-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
  }

  .glass-card {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1.1rem 1rem 1.15rem;
    border-radius: 22px;
  }

  .glass-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }

  .tab-panels {
    flex: 1 1 auto;
    display: grid;
    width: 100%;
    min-height: 0;
  }

  .tab-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .tab-panel.active {
    flex: 1 1 auto;
    min-height: 0;
  }

  .lead-form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .contact-list {
    flex: 1 1 auto;
  }

  .contact-actions {
    margin-top: auto;
    padding-top: 0.75rem;
  }

  .privacy-note {
    margin-top: auto;
    padding-top: 0.85rem;
  }

  .submit-button {
    margin-top: auto;
  }

  .panel-left-inner {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-block {
    align-items: center;
    width: 100%;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
  }

  .logo-link {
    margin: 0 auto;
  }

  .logo-image {
    width: min(52vw, 175px);
    max-width: 100%;
    margin: 0 auto;
  }

  .tagline-short,
  .subline-short {
    display: none;
  }

  .tagline-full,
  .subline-full {
    display: inline;
  }

  .btn-label-full {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }

  .logo-tagline {
    width: 100%;
    max-width: none;
    font-size: clamp(0.52rem, 2.35vw, 0.78rem);
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
  }

  .panel-tagline {
    display: none;
  }

  .form-tagline {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding-bottom: 0.85rem;
    font-size: 0.88rem;
    text-align: center;
  }

  .contact-eyebrow {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
  }

  .contact-hero-content {
    text-align: center;
    width: 100%;
  }

  .contact-headline {
    margin-bottom: 0.45rem;
    align-items: center;
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
    gap: 0.05rem;
  }

  .headline-line {
    display: block;
    font-size: 0.92em;
    font-weight: 600;
    color: var(--text-primary);
  }

  .contact-subline {
    max-width: 20rem;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.45;
  }

  .feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
    width: 100%;
  }

  .feature-card {
    display: block;
    text-align: left;
    padding: 0.65rem 0.55rem;
    border-radius: 14px;
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.75),
      rgba(241, 245, 255, 0.55)
    );
    border: 1px solid rgba(124, 58, 237, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08);
  }

  .feature-icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
  }

  .feature-title {
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    color: var(--text-primary);
  }

  .feature-desc {
    display: block;
    font-size: 0.62rem;
    line-height: 1.3;
    color: var(--text-secondary);
  }

  .card-headline,
  .card-subline {
    display: none;
  }

  .card-tabs {
    margin-bottom: 0.75rem;
    flex-shrink: 0;
  }

  .contact-list {
    margin-bottom: 0;
  }

  .contact-item:first-child {
    display: none;
  }

  .contact-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    gap: 0.75rem;
  }

  .contact-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .contact-value {
    font-size: 0.88rem;
    text-align: right;
  }

  .contact-link .link-short {
    display: inline;
  }

  .contact-link .link-full {
    display: none;
  }

  .contact-actions {
    flex-direction: row;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.75rem;
  }

  .action-button {
    width: auto;
    flex: 1;
    padding: 0.7rem 0.85rem;
    font-size: 0.88rem;
    border-radius: 12px;
  }

  .field-hint {
    display: none;
  }

  .privacy-note {
    font-size: 0.72rem;
    margin-top: auto;
    padding-top: 0.85rem;
  }

  .orb {
    opacity: 0.35 !important;
    animation-duration: 18s !important;
  }

  .particle:nth-child(n + 6) {
    display: none;
  }
}

@media (max-width: 640px) {
  .contact-page {
    gap: 0.65rem;
    padding: 0.85rem 0.85rem max(0.85rem, env(safe-area-inset-bottom));
  }

  .brand-block {
    margin-bottom: 0.6rem;
  }

  .logo-image {
    width: min(48vw, 160px);
  }

  .logo-tagline {
    font-size: clamp(0.5rem, 2.2vw, 0.72rem);
  }

  .contact-subline {
    font-size: 0.86rem;
    max-width: 18rem;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.65rem;
  }

  .feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    text-align: left;
  }

  .feature-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  .feature-title {
    font-size: 0.82rem;
    align-self: end;
  }

  .feature-desc {
    font-size: 0.72rem;
    align-self: start;
  }

  .glass-card {
    padding: 1rem 0.9rem 1.05rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .action-button {
    width: 100%;
    flex: none;
  }
}

@media (min-width: 901px) {
  .form-tagline {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding-bottom: 0;
  }
}

@media (min-width: 901px) and (max-height: 700px) {
  .panel-tagline {
    display: none;
  }

  .brand-block {
    margin-bottom: 0.5rem;
  }

  .feature-cards {
    margin-top: 0.5rem;
  }
}
