/* ==========================================================
   Ceteris360 Terminal Registration Portal Stylesheet
   Designed for app.ceteris360.com
   High-Conviction Financial Tech UI / Fully Responsive
   ========================================================== */

:root {
  --primary: #0B1F33;
  --primary-dark: #071524;
  --secondary: #176B87;
  --secondary-hover: #115369;
  --accent: #20B2AA;
  --accent-light: rgba(32, 178, 170, 0.15);
  --premium: #D6A84F;
  --premium-hover: #e2b45b;
  --positive: #159A72;
  --negative: #D9534F;
  --whatsapp: #25D366;
  --bg-dark: #06111C;
  --surface-dark: #0B1F33;
  --surface-card: #0E263E;
  --surface-input: #071726;
  --border: rgba(220, 227, 232, 0.14);
  --border-focus: #20B2AA;
  --text-light: #F5F7F9;
  --text-muted: #8FA6B8;
  --text-dim: #5E7587;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.45);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------- */
.top-ribbon {
  background: #040c14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.45rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.top-ribbon-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: #fff;
  text-decoration: underline;
}
.ribbon-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
}
.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 8px var(--positive);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* --------------------------------------------------
   App Header
   -------------------------------------------------- */
.app-header {
  background: rgba(11, 31, 51, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.brand-title span {
  color: var(--accent);
}
.app-badge {
  font-size: 0.65rem;
  background: rgba(214, 168, 79, 0.18);
  color: var(--premium);
  border: 1px solid rgba(214, 168, 79, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.brand-tagline {
  font-size: 0.68rem;
  color: var(--premium);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  display: block;
}
.portal-badge {
  font-size: 0.75rem;
  background: rgba(32, 178, 170, 0.12);
  color: var(--accent);
  border: 1px solid rgba(32, 178, 170, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------
   Main Split Layout
   -------------------------------------------------- */
.main-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 1.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(23, 107, 135, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(32, 178, 170, 0.08) 0%, transparent 40%);
}
.portal-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* --------------------------------------------------
   Left Column: Information & Value Pillars
   -------------------------------------------------- */
.info-column {
  padding-top: 0.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.25);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.gold-sparkle {
  color: var(--premium);
}
.main-heading {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 1.15rem;
  color: #fff;
}
.highlight-gold {
  color: var(--premium);
}
.main-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Feature Stack */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.wa-icon {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
}
.gold-icon {
  background: rgba(214, 168, 79, 0.12);
  border-color: rgba(214, 168, 79, 0.3);
}
.blue-icon {
  background: rgba(23, 107, 135, 0.2);
  border-color: rgba(23, 107, 135, 0.4);
}
.lock-icon {
  background: rgba(32, 178, 170, 0.12);
  border-color: rgba(32, 178, 170, 0.3);
}
.feature-body h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.feature-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Terminal Snapshot Box */
.terminal-snapshot {
  background: #091a2a;
  border: 1px solid rgba(32, 178, 170, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.snapshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
}
.snap-dots {
  display: flex;
  gap: 5px;
}
.snap-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.snap-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7d96aa;
  letter-spacing: 0.5px;
}
.snap-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(21, 154, 114, 0.18);
  color: var(--positive);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.snapshot-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.snap-col {
  display: flex;
  flex-direction: column;
}
.snap-label {
  font-size: 0.74rem;
  color: #8da4b5;
  margin-bottom: 0.25rem;
}
.snap-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.snap-sub {
  font-size: 0.72rem;
  margin-top: 0.15rem;
}
.text-green { color: var(--positive); }
.text-gold { color: var(--premium); }
.text-muted { color: #8da4b5; }

/* --------------------------------------------------
   Right Column: Form Card
   -------------------------------------------------- */
.form-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color 0.25s ease;
}
.form-card:hover {
  border-color: rgba(32, 178, 170, 0.35);
}
.form-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.form-card-title-wrap h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}
.form-card-title-wrap p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.step-indicator {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Feedback Alert Banner */
.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 1.5rem;
  line-height: 1.45;
}
.form-alert.alert-error {
  background: rgba(217, 83, 79, 0.15);
  border: 1px solid rgba(217, 83, 79, 0.4);
  color: #ff918e;
}
.form-alert.alert-success {
  background: rgba(21, 154, 114, 0.15);
  border: 1px solid rgba(21, 154, 114, 0.4);
  color: #38e6ad;
}

/* Form Groups & Controls */
.form-row {
  margin-bottom: 1.25rem;
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #d8e5ef;
  margin-bottom: 0.45rem;
}
.req {
  color: var(--premium);
  font-weight: 700;
}
.field-help {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}
.field-error {
  display: block;
  font-size: 0.74rem;
  color: var(--negative);
  margin-top: 0.3rem;
  font-weight: 600;
  min-height: 16px;
}

/* Input Fields & Selects */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  background: var(--surface-input);
  border: 1px solid rgba(220, 227, 232, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: all 0.2s ease;
  outline: none;
}
input::placeholder {
  color: #556c7e;
}
input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.2);
  background: #091f33;
}
input.input-invalid,
select.input-invalid {
  border-color: var(--negative);
  box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25);
}

/* Email Input with Icon */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 0.85rem;
  color: #6a8294;
  font-size: 0.95rem;
  pointer-events: none;
}
.input-wrap input {
  padding-left: 2.35rem;
}

/* Phone Group with Country Selector */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
}
.country-select-wrap {
  width: 140px;
  flex-shrink: 0;
}
.country-select-wrap select {
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-size: 0.82rem;
}

/* Select Styling Custom Arrow */
.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238FA6B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
}
select option {
  background: #0b1f33;
  color: #fff;
  padding: 0.5rem;
}

/* --------------------------------------------------
   Interactive Segmented Control (ATrad Radio)
   -------------------------------------------------- */
.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.2rem;
}
.segment-option {
  cursor: pointer;
  display: block;
}
.segment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segment-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--surface-input);
  border: 1px solid rgba(220, 227, 232, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: all 0.2s ease;
  min-height: 52px;
}
.segment-option input[type="radio"]:checked + .segment-card {
  background: rgba(32, 178, 170, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.seg-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}
.seg-text {
  display: flex;
  flex-direction: column;
}
.seg-text strong {
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.2;
}
.seg-text small {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --------------------------------------------------
   Agreement Checkbox
   -------------------------------------------------- */
.agreement-group {
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}
.form-group label.checkbox-container,
.agreement-group .checkbox-container,
.checkbox-container {
  display: flex !important;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  user-select: none;
  gap: 0.75rem;
  margin-bottom: 0;
  font-weight: normal;
}
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  display: inline-block;
  height: 20px;
  width: 20px;
  min-width: 20px;
  background-color: var(--surface-input);
  border: 1px solid rgba(220, 227, 232, 0.25);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}
.checkbox-container:hover input ~ .checkmark {
  border-color: var(--accent);
}
.checkbox-container input:focus ~ .checkmark {
  box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.25);
  border-color: var(--accent);
}
.checkbox-container input:checked ~ .checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #071524;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
.checkbox-label-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.checkbox-label-text strong {
  color: #fff;
}

/* --------------------------------------------------
   Submit Button
   -------------------------------------------------- */
.form-action {
  margin-top: 1.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  width: 100%;
}
.btn-submit {
  background: var(--premium);
  color: var(--primary-dark);
  box-shadow: 0 4px 18px rgba(214, 168, 79, 0.3);
}
.btn-submit:hover:not(:disabled) {
  background: var(--premium-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(214, 168, 79, 0.4);
}
.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 31, 51, 0.3);
  border-top-color: var(--primary-dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-footer-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------
   Success Confirmation Card
   -------------------------------------------------- */
.success-card {
  background: var(--surface-card);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  animation: fadeIn 0.35s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.success-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 2px solid var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.success-check {
  font-size: 2.2rem;
  color: var(--whatsapp);
  line-height: 1;
}
.success-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}
.success-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.success-lead strong {
  color: #fff;
}
.success-summary-box {
  background: #091a2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-align: left;
  margin-bottom: 1.75rem;
}
.success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.86rem;
}
.success-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.s-label {
  color: var(--text-muted);
}
.s-value {
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.status-badge {
  color: var(--whatsapp) !important;
  font-family: var(--font-main) !important;
  font-size: 0.76rem !important;
}
.next-steps-list {
  text-align: left;
  background: rgba(32, 178, 170, 0.08);
  border: 1px solid rgba(32, 178, 170, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.75rem;
}
.next-steps-list h4 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.next-steps-list ol {
  padding-left: 1.2rem;
  font-size: 0.82rem;
  color: #c4d7e6;
  line-height: 1.6;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------
   App Footer
   -------------------------------------------------- */
.app-footer {
  background: #040c14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.5rem;
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.footer-legal {
  max-width: 820px;
  margin: 0.65rem auto 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #556c7e;
}

/* --------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------- */

/* Tablets & Small Desktops (max-width: 980px) */
@media (max-width: 980px) {
  .portal-container {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .info-column {
    padding-top: 0;
  }
  .terminal-snapshot {
    display: none; /* Keeps tablet/mobile flow focused on the form */
  }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .top-ribbon-content {
    font-size: 0.74rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .header-container {
    padding: 0.75rem 1rem;
  }
  .brand-logo {
    height: 36px;
    width: 36px;
  }
  .brand-title {
    font-size: 1.12rem;
  }
  .portal-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
  }
  .main-wrapper {
    padding: 1.5rem 1rem 2.5rem;
  }
  .main-heading {
    font-size: 1.85rem;
  }
  .main-lead {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
  .feature-stack {
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  .feature-body h4 {
    font-size: 0.92rem;
  }
  .feature-body p {
    font-size: 0.8rem;
  }
  .form-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .form-card-title-wrap h2 {
    font-size: 1.3rem;
  }
  .form-row-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .phone-input-group {
    flex-direction: column;
  }
  .country-select-wrap {
    width: 100%;
  }
  .segmented-control {
    grid-template-columns: 1fr;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select {
    font-size: 16px; /* Prevents auto zoom in iOS Safari */
    min-height: 48px;
  }
  .form-footer-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .success-card {
    padding: 1.75rem 1.15rem;
  }
}
