/* ==========================================================================
   INSTA VIZ - CORPORATE CONTACT PAGE STYLES (ULTRA-MODERN REDESIGN)
   Location: /profile/contact/style.css
   ========================================================================== */

/* ==========================================================================
   1. GLOBAL TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  --navy: #060B18;
  --blue: #1D4ED8;
  --cyan: #06B6D4;
  --electric: #3B82F6;
  --purple: #7C3AED;
  --glow: rgba(59, 130, 246, 0.35);
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #F8FAFC;
  --muted: #94A3B8;
  --card: rgba(15, 23, 42, 0.7);
  --bg: #060B18;
  --bg-dark: #060B18;
  --bg-solid: #060B18;
  --bg-noise-opacity: 0.4;
  --nav-bg: rgba(6, 11, 24, 0.75);
  --nav-scrolled-bg: rgba(6, 11, 24, 0.92);
  --footer-bg: rgba(3, 7, 18, 0.95);
  --card-bg: rgba(255, 255, 255, 0.04);
  --gradient-text-start: #fff;
  --orb-opacity: 1;
  --bg-glass: rgba(15, 22, 42, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --glow-glow: rgba(59, 130, 246, 0.25);
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --accent-primary: #06B6D4;
  --accent-secondary: #3B82F6;
  --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --accent-glow: rgba(6, 182, 212, 0.3);
  --font-main: 'DM Sans', sans-serif;
  --font-title: 'Poppins', sans-serif;
  --font-accent: 'Outfit', sans-serif;
  --radius-card: 24px;
  --radius-input: 12px;
}

.light-mode {
  --navy: #F8FAFC;
  --bg: #F8FAFC;
  --bg-dark: #F8FAFC;
  --bg-solid: #F8FAFC;
  --bg-noise-opacity: 0.15;
  --text: #0F172A;
  --text-primary: #0F172A;
  --muted: #475569;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --glass: rgba(15, 23, 42, 0.03);
  --card-bg: rgba(255, 255, 255, 0.75);
  --nav-bg: rgba(248, 250, 252, 0.8);
  --nav-scrolled-bg: rgba(248, 250, 252, 0.92);
  --footer-bg: #F1F5F9;
  --gradient-text-start: #0F172A;
  --glow: rgba(59, 130, 246, 0.15);
  --orb-opacity: 0.6;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(15, 23, 42, 0.08);
  --glow-glow: rgba(59, 130, 246, 0.15);
  --accent-glow: rgba(6, 182, 212, 0.18);
}

/* ==========================================================================
   2. BASE & FOUNDATIONS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .nav-logo {
  font-family: var(--font-title);
}

input, textarea, button, select {
  font-family: inherit;
  color: inherit;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: var(--bg-noise-opacity);
}

/* Decorative Orbs */
.builder-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.orb-primary {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-secondary {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 70%);
  bottom: -200px;
  right: -100px;
}

.orb-tertiary {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.18), transparent 70%);
  top: 20%;
  right: -5%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
}

/* Global Typography & Section Headers */
.gradient-text {
  background: linear-gradient(135deg, var(--electric) 0%, var(--cyan) 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

/* ==========================================================================
   NAVIGATION HEADER STYLES (MATCHING CREATE.HTML)
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
}

nav.scrolled {
  background: var(--nav-scrolled-bg);
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--gradient-text-start) 30%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-slogan {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 12px;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.highlight-text {
  background: linear-gradient(90deg,
      #06B6D4 0%,
      #3B82F6 30%,
      #ffffff 50%,
      #3B82F6 70%,
      #06B6D4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  animation: flare-loop 4s linear infinite;
}

@keyframes flare-loop {
  0% {
    background-position: -200% 0;
  }
  30% {
    background-position: 200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active {
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--electric), var(--cyan));
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.3s, border-color 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--cyan);
  transform: translateY(-4px) scale(1.05);
}

/* ==========================================================================
   HERO SPLIT LAYOUT
   ========================================================================== */
.contact-hero-split {
  padding: 120px 24px 70px;
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
}

.hero-split-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .hero-split-container { grid-template-columns: 1fr; gap: 40px; }
}

.hero-lead-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 12px;
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.2px;
  margin: 14px 0 20px;
}

.hero-subtitle {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 34px;
}

.quick-contact-boxes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-bottom: 32px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-box:hover {
  transform: translateX(6px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.box-icon { font-size: 22px; flex-shrink: 0; }

.box-text { display: flex; flex-direction: column; font-size: 14px; }
.box-text strong { color: var(--text); font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.box-text span, .box-text a { color: var(--muted); text-decoration: none; font-size: 13px; }
.box-text a:hover { color: #3B82F6; }

.hero-trust-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-badge {
  font-size: 12px; font-weight: 700; padding: 7px 14px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 30px; color: var(--text);
}

/* ==========================================================================
   ULTRA-MODERN FORM CARD
   ========================================================================== */
.hero-form-wrapper { width: 100%; }

.sales-form-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 36px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.light-mode .sales-form-card {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}

.sales-form-card:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 40px rgba(59,130,246,0.1);
}

/* Badge Row */
.form-card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #10B981;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.form-resp-badge {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
}

/* Form Title Block */
.form-title-block {
  margin-bottom: 24px;
}

.form-title-block h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.6px;
  margin-bottom: 5px;
}

.form-title-block p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   ELEGANT SUBTLE INQUIRY CATEGORY SELECTOR (NEW TABS)
   ========================================================================== */
.category-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.category-title-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-active-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: -0.2px;
}

.inquiry-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.inquiry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-align: center;
  overflow: hidden;
}

.inquiry-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.inquiry-card.active {
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.inq-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.inquiry-card:hover .inq-icon-wrap,
.inquiry-card.active .inq-icon-wrap {
  transform: scale(1.08);
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
}

.inq-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.inq-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.inquiry-card.active .inq-label {
  color: #fff;
}

.inq-sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

.inquiry-card.active .inq-sub {
  color: #94A3B8;
}

.inq-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: #3B82F6;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
  z-index: 2;
}

.inquiry-card.active .inq-check {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   ULTRA-MODERN FLOATING LABEL FORM FIELDS
   ========================================================================== */
.fld-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.fld-grid.two { grid-template-columns: 1fr 1fr; }
.fld-grid.one { grid-template-columns: 1fr; }

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

.fld-group { display: flex; flex-direction: column; }

/* Floating label input wrapper */
.fld-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.fld-prefix-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  transition: color 0.2s ease;
}

.fld-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px 8px 44px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  height: 56px;
}

.light-mode .fld-input {
  background: rgba(0,0,0,0.03);
}

.fld-label {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
  transform-origin: left top;
  white-space: nowrap;
}

/* Float label up when input has value or is focused */
.fld-input:focus ~ .fld-label,
.fld-input:not(:placeholder-shown) ~ .fld-label {
  top: 11px;
  transform: translateY(0) scale(0.78);
  font-weight: 700;
  color: #3B82F6;
}

.fld-input:focus {
  border-color: #3B82F6;
  background: rgba(59,130,246,0.06);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.fld-input:focus + .fld-label,
.fld-input:focus ~ .fld-label { color: #3B82F6; }
.fld-input:focus ~ .fld-prefix-icon { color: #3B82F6; }

.fld-req { color: #EF4444; font-weight: 800; margin-left: 2px; }
.fld-muted { color: var(--muted); font-weight: 400; }

.fld-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 500;
  padding-left: 4px;
}

.fld-hint.warning { color: #F59E0B; font-weight: 600; }

/* Static labels (for selects, textarea) */
.fld-static-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  display: block;
  letter-spacing: -0.1px;
}

/* Styled select dropdown */
.fld-select-wrap {
  position: relative;
}

.fld-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 40px 0 16px;
  height: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.25s ease;
}

.light-mode .fld-select { background: rgba(0,0,0,0.03); }

.fld-select:focus {
  border-color: #3B82F6;
  background: rgba(59,130,246,0.06);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.fld-select option { background: #0F172A; color: #F8FAFC; }
.light-mode .fld-select option { background: #FFFFFF; color: #0F172A; }

.fld-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* Textarea */
.fld-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.fld-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 88px;
  transition: all 0.25s ease;
  line-height: 1.55;
}

.light-mode .fld-textarea { background: rgba(0,0,0,0.03); }

.fld-textarea::placeholder { color: var(--muted); opacity: 0.65; font-size: 13.5px; }

.fld-textarea:focus {
  border-color: #3B82F6;
  background: rgba(59,130,246,0.06);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

.char-count { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   FORM FOOTER: CONSENT + SUBMIT
   ========================================================================== */
.fld-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

/* Modern consent checkbox */
.fld-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.fld-consent input { position: absolute; opacity: 0; width: 0; height: 0; }

.fld-consent-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.05);
  margin-top: 1px;
  position: relative;
  transition: all 0.2s ease;
}

.fld-consent input:checked ~ .fld-consent-box {
  background: #3B82F6;
  border-color: #3B82F6;
}

.fld-consent input:checked ~ .fld-consent-box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fld-consent a { color: #60A5FA; text-decoration: none; font-weight: 600; }
.fld-consent a:hover { text-decoration: underline; }

/* Submit Button */
.fld-submit-btn {
  width: 100%;
  padding: 17px 28px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 55%, #6D28D9 100%);
  border: none;
  border-radius: 14px;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(59,130,246,0.4);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
}

.fld-submit-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.45s ease;
}

.fld-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(59,130,246,0.55); }
.fld-submit-btn:hover::after { left: 100%; }
.fld-submit-btn:active { transform: translateY(0); }

.btn-text { display: flex; align-items: center; }

/* Spinner dots */
.spinner-dot {
  width: 7px; height: 7px;
  background: white; border-radius: 50%;
  display: inline-block; margin: 0 3px;
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.spinner-dot:nth-child(2) { animation-delay: 0.2s; }
.spinner-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-pulse {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.fld-enc-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.contact-faq-section { max-width: 860px; margin: 0 auto 90px; padding: 0 24px; }

.faq-container { display: flex; flex-direction: column; gap: 14px; }

.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }

.faq-question {
  width: 100%; padding: 18px 24px; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15.5px; font-weight: 700; color: var(--text);
  font-family: inherit; cursor: pointer; text-align: left;
}

.faq-icon { font-size: 20px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 220px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   SUCCESS MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(3,7,18,0.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  background: #0D1829;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 28px;
  padding: 40px 36px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 60px rgba(59,130,246,0.12);
  transform: scale(0.94) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
}

.light-mode .modal-card { background: #FFFFFF; border-color: rgba(59,130,246,0.2); }
.modal-overlay.show .modal-card { transform: scale(1) translateY(0); }

.modal-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 50%; color: var(--muted); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.modal-close-btn:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); color: #EF4444; }

/* Animated success ring */
.modal-success-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(59,130,246,0.15));
  border: 2px solid rgba(16,185,129,0.5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(16,185,129,0.08), 0 0 0 16px rgba(16,185,129,0.04);
  animation: ring-pulse 2.5s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(16,185,129,0.08), 0 0 0 16px rgba(16,185,129,0.04); }
  50%       { box-shadow: 0 0 0 12px rgba(16,185,129,0.12), 0 0 0 24px rgba(16,185,129,0.06); }
}

.modal-success-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #059669, #10B981);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(16,185,129,0.4);
  animation: icon-pop 0.5s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes icon-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Modal header */
.modal-header { margin-bottom: 20px; }
.modal-badge {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.05em;
  color: #10B981; background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
}
.modal-header h3 {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -0.5px; line-height: 1.25; margin: 0;
}

/* Highlighted email confirmation callout */
.modal-email-callout {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.6;
}
.light-mode .modal-email-callout { background: rgba(59,130,246,0.06); }
.modal-email-callout strong {
  color: #60A5FA;
  font-weight: 700;
  font-style: italic;
}

/* Premium ticket info card */
.modal-ticket-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  text-align: left;
}
.light-mode .modal-ticket-card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }

.modal-ticket-header {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
  padding: 10px 18px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.light-mode .modal-ticket-header { border-color: rgba(0,0,0,0.06); }

/* Ticket rows */
.modal-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s ease;
}
.modal-ticket-row:last-child { border-bottom: none; }
.light-mode .modal-ticket-row { border-color: rgba(0,0,0,0.05); }

/* Highlighted Reference ID row */
.modal-ticket-row.highlight-row {
  background: rgba(59,130,246,0.08);
  border-left: 3px solid #3B82F6;
}
.light-mode .modal-ticket-row.highlight-row { background: rgba(59,130,246,0.06); }

/* SLA row highlight */
.modal-ticket-row.sla-row {
  background: rgba(16,185,129,0.06);
  border-left: 3px solid #10B981;
}
.light-mode .modal-ticket-row.sla-row { background: rgba(16,185,129,0.04); }

.ticket-row-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.ticket-row-label svg { flex-shrink: 0; opacity: 0.7; }

.ticket-row-value {
  font-size: 13.5px; font-weight: 700; color: var(--text);
  text-align: right; max-width: 60%;
}

/* Reference ID – monospace highlighted */
.ticket-id-value {
  font-family: 'Courier New', monospace;
  font-size: 16px; font-weight: 800;
  color: #60A5FA;
  letter-spacing: 0.05em;
  background: rgba(59,130,246,0.12);
  padding: 3px 10px; border-radius: 8px;
}

/* SLA value highlight */
.sla-value {
  color: #34D399; font-weight: 800;
  display: flex; align-items: center; gap: 6px;
}
.sla-value::before {
  content: '⚡';
  font-size: 14px;
}

/* CTA button */
.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.btn-modal-primary {
  width: 100%; padding: 15px 20px;
  background: linear-gradient(135deg, #1D4ED8, #3B82F6);
  border: none; border-radius: 14px;
  color: #FFF; font-size: 14.5px; font-weight: 700;
  font-family: inherit;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(59,130,246,0.35);
  transition: all 0.25s ease;
}
.btn-modal-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(59,130,246,0.5); }



/* ==========================================================================
   FULL-WIDTH INSTAVIZ FOOTER
   ========================================================================== */
footer, .site-footer {
  background: var(--footer-bg, rgba(3,7,18,0.96));
  border-top: 1px solid var(--border);
  padding: 80px 48px 40px;
  position: relative; z-index: 10;
  margin-top: auto;
  opacity: 1 !important; visibility: visible !important; display: block !important;
}

.light-mode footer, .light-mode .site-footer { background: #F1F5F9; }

.footer-grid {
  max-width: 1200px; margin: 0 auto 60px;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 48px;
}

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }

.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); text-decoration: none; transition: all 0.25s ease;
}

.social-btn:hover { border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.12); transform: translateY(-2px); color: #3B82F6; }

.footer-col-title { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: #3B82F6; }

.footer-contact-item { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.footer-contact-item a { color: var(--muted); text-decoration: none; }
.footer-contact-item a:hover { color: #3B82F6; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--muted); text-decoration: none; }
.footer-bottom-links a:hover { color: #3B82F6; }

/* ==========================================================================
   PAGE-WIDE MOBILE RESPONSIVE ENHANCEMENTS
   ========================================================================== */
@media (max-width: 992px) {
  .contact-hero-split {
    padding: 110px 20px 50px;
  }
  .hero-split-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title {
    font-size: clamp(28px, 6vw, 44px);
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .quick-contact-boxes {
    margin-bottom: 24px;
  }
  .sales-form-card {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari automatic auto-zoom when tapping form inputs */
  .fld-input,
  .fld-select,
  .fld-textarea {
    font-size: 16px !important;
  }
  
  /* Ensure smooth scroll-margin for fixed navbar clearance */
  #sales-form-container,
  #contact-sales-form,
  .product-offerings-section,
  .contact-faq-section {
    scroll-margin-top: 90px;
  }
  
  /* Optimize back to top button size for thumbs */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .contact-hero-split {
    padding: 95px 16px 36px;
  }
  .fld-grid.two {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .sales-form-card {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .form-card-badge-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .form-title-block h2 {
    font-size: 20px;
  }
  .form-title-block p {
    font-size: 12.5px;
  }
  .contact-box {
    padding: 12px 14px;
    border-radius: 12px;
    gap: 12px;
    min-height: 48px;
  }
  .box-icon {
    font-size: 18px;
  }
  .box-text strong {
    font-size: 13px;
  }
  .box-text span, .box-text a {
    font-size: 12px;
    word-break: break-word;
  }
  .hero-trust-bar {
    justify-content: flex-start;
    gap: 8px;
  }
  .trust-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
  .contact-faq-section {
    padding: 0 16px;
    margin-bottom: 50px;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    min-height: 48px;
  }
  .faq-answer {
    padding: 0 16px;
  }
  .faq-item.open .faq-answer {
    padding: 0 16px 16px;
  }
  footer, .site-footer {
    padding: 48px 20px 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .inquiry-type-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .inquiry-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 16px;
    text-align: left;
    gap: 14px;
    min-height: 52px;
  }
  .inq-text-content {
    align-items: flex-start;
    text-align: left;
  }
  .inq-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 18px;
    flex-shrink: 0;
  }
  .inq-check {
    top: 50%;
    right: 14px;
    transform: translateY(-50%) scale(0.4);
  }
  .inquiry-card.active .inq-check {
    transform: translateY(-50%) scale(1);
  }
}

@media (max-width: 480px) {
  .modal-ticket-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .ticket-row-value {
    max-width: 100%;
    text-align: left;
  }
}

@media (max-width: 400px) {
  .nav-login {
    display: none;
  }
  .nav-cta {
    padding: 6px 10px;
    font-size: 11.5px;
  }
  .modal-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
}

/* Responsive Nav Header Rules */
@media (max-width: 1024px) {
  #main-nav {
    padding: 14px 24px;
  }
  .nav-slogan {
    display: none;
  }
}

@media (max-width: 768px) {
  #main-nav {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-scrolled-bg, rgba(6, 11, 24, 0.96));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    z-index: 1000;
  }

  .hamburger {
    display: flex;
  }
}
