@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   --- DESIGN VARIABLES & COLOR SYSTEM ---
   ========================================== */
:root {
  --bg-dark: #040407;
  --bg-dark-offset: #0b0b12;
  --bg-card: rgba(13, 13, 23, 0.6);
  --bg-card-hover: rgba(22, 22, 38, 0.9);
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --secondary: #a855f7;
  --accent: #06b6d4;
  --accent-hover: #0891b2;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #f43f5e;
  --text-main: #f8fafc;
  --text-dim: #cbd5e1;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  --max-width: 1200px;
}

/* Accessible Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--primary);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 10000;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border: 2px solid var(--accent);
  transition: top 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* High Visibility Keyboard Focus Indicators (WCAG 2.4.7 & 2.4.11) */
:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

/* ==========================================
   --- BASE RESETS & GLOBAL STYLES ---
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* ==========================================
   --- MESH GLOW & BACKGROUNDS ---
   ========================================== */
.bg-mesh-glow-1 {
  position: absolute;
  top: -150px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.bg-mesh-glow-2 {
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   --- LAYOUT WRAPPERS ---
   ========================================== */
.section-wrap {
  position: relative;
  padding: 100px 0;
  width: 100%;
}

@media (max-width: 768px) {
  .section-wrap {
    padding: 60px 0;
  }
}

.inner-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* ==========================================
   --- GLASSMORPHISM CARDS ---
   ========================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

/* ==========================================
   --- GRADIENT TYPOGRAPHY ---
   ========================================== */
.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #22d3ee 0%, #34d399 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ==========================================
   --- BUTTONS ---
   ========================================== */
.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 99px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
  color: #fff;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 99px;
  border: 1px solid var(--glass-border);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  color: #fff;
}

/* ==========================================
   --- NAVBAR ---
   ========================================== */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.4s ease;
}

.navbar-bg {
  background: rgba(4, 4, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}

.navbar-transparent {
  background: transparent;
  padding: 24px 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-desktop-menu {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-desktop-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: flex;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-dark-offset);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: slideDown 0.3s ease forwards;
}

.nav-mobile-overlay.active {
  display: flex;
}

/* ==========================================
   --- HERO SECTION ---
   ========================================== */
.hero-wrapper {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.08);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.25rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* ==========================================
   --- TEASER DUAL GRID ---
   ========================================== */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 80px;
}

@media (min-width: 768px) {
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.teaser-card {
  padding: 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.teaser-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.teaser-card-indigo .teaser-icon {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.teaser-card-resume .teaser-icon {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
}

.teaser-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.teaser-card-indigo .teaser-tag {
  color: var(--primary);
}

.teaser-card-resume .teaser-tag {
  color: var(--accent);
}

.teaser-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.teaser-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.teaser-card-indigo .teaser-link {
  color: var(--primary);
}

.teaser-card-resume .teaser-link {
  color: var(--accent);
}

.teaser-link:hover {
  color: var(--text-main);
  transform: translateX(4px);
}

/* ==========================================
   --- TECHNICAL PRINCIPLES SECTION ---
   ========================================== */
.principles-section {
  background: var(--bg-dark-offset);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principle-item {
  padding: 16px;
}

.principle-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.principle-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================
   --- PRODUCT SHOWCASE SPLIT ---
   ========================================== */
.product-showcase-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}

@media (min-width: 992px) {
  .product-showcase-split {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-showcase-split:last-child {
  margin-bottom: 0;
}

.product-content {
  text-align: left;
}

.product-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.product-badge-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.product-badge-resume {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.product-heading {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.product-desc {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 480px) {
  .product-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bullet-item {
  display: flex;
  gap: 12px;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-icon-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.bullet-icon-resume {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
}

.bullet-text-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.bullet-text-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================
   --- INTERACTIVE PLAYGROUND / SANDBOX ---
   ========================================== */
.sandbox-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  padding: 6px;
  margin-bottom: 48px;
}

.sandbox-tab-btn {
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dim);
}

.sandbox-tab-btn:hover {
  color: var(--text-main);
}

.sandbox-tab-btn-active.tab-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.3);
}

.sandbox-tab-btn-active.tab-resume {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  border-color: rgba(6, 182, 212, 0.3);
}

.sandbox-frame {
  width: 100%;
  border-radius: 24px;
  background: #09090f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8);
}

.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .sandbox-grid {
    grid-template-columns: 2.2fr 3fr;
  }
}

.sandbox-control-panel {
  padding: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 860px) {
  .sandbox-control-panel {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.sandbox-preview {
  padding: 32px;
  background: rgba(4, 4, 8, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================
   --- TECHNICAL STANDARDS GRID ---
   ========================================== */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tech-card {
  padding: 36px;
  text-align: left;
}

.tech-icon-container {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-container {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  transform: scale(1.08);
}

.tech-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.tech-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================
   --- CONTACT SECTION ---
   ========================================== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 992px) {
  .contact-split {
    grid-template-columns: 5fr 6fr;
  }
}

.contact-info {
  text-align: left;
}

.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-bullet-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-bullet-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
}

.contact-form-card {
  padding: 40px;
}

/* ==========================================
   --- FOOTER ---
   ========================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-column {
  text-align: left;
}

.footer-column-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.footer-link-anchor {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link-anchor:hover {
  color: var(--text-main);
}

.glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
}

/* ==========================================
   --- FORMS & INPUTS ---
   ========================================== */
.form-input {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 6px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Form Grid System */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   --- ANIMATIONS & KEYFRAMES ---
   ========================================== */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseSlow {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-spin {
  animation: spin 3s linear infinite;
}

.animate-pulse-slow {
  animation: pulseSlow 6s ease-in-out infinite;
}

.animate-ping {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* ==========================================
   --- UTILITY CLASSES ---
   ========================================== */
.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

.flex {
  display: flex !important;
}

.flex-col {
  flex-direction: column !important;
}

.items-center {
  align-items: center !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.shrink-0 {
  flex-shrink: 0 !important;
}

.w-full {
  width: 100% !important;
}

.h-full {
  height: 100% !important;
}

.gap-1\.5 {
  gap: 0.375rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-5 {
  gap: 1.25rem !important;
}

.gap-6 {
  gap: 1.5rem !important;
}

.gap-8 {
  gap: 2rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-1\.5 {
  margin-bottom: 0.375rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.mb-8 {
  margin-bottom: 2rem !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 0.75rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.pt-6 {
  padding-top: 1.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.font-extrabold {
  font-weight: 800 !important;
}

.font-black {
  font-weight: 900 !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.tracking-wider {
  letter-spacing: 0.05em !important;
}

.tracking-widest {
  letter-spacing: 0.1em !important;
}

.text-xs {
  font-size: 0.75rem !important;
}

.text-sm {
  font-size: 0.875rem !important;
}

.text-base {
  font-size: 1rem !important;
}

.text-lg {
  font-size: 1.125rem !important;
}

.text-xl {
  font-size: 1.25rem !important;
}

.text-2xl {
  font-size: 1.5rem !important;
}

.text-3xl {
  font-size: 1.875rem !important;
}

.text-4xl {
  font-size: 2.25rem !important;
}

.rounded-lg {
  border-radius: 8px !important;
}

.rounded-xl {
  border-radius: 12px !important;
}

.rounded-2xl {
  border-radius: 16px !important;
}

.rounded-3xl {
  border-radius: 24px !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

.border {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.border-b {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.border-none {
  border: none !important;
}

.text-white {
  color: #ffffff !important;
}

.text-slate-200 {
  color: #e2e8f0 !important;
}

.text-slate-300 {
  color: #cbd5e1 !important;
}

.text-slate-400 {
  color: #94a3b8 !important;
}

.text-slate-500 {
  color: #64748b !important;
}

.text-slate-600 {
  color: #475569 !important;
}

.text-slate-800 {
  color: #1e293b !important;
}

.text-slate-900 {
  color: #0f172a !important;
}

.text-indigo-400 {
  color: #818cf8 !important;
}

.text-indigo-600 {
  color: #4f46e5 !important;
}

.text-cyan-400 {
  color: #22d3ee !important;
}

.text-emerald-400 {
  color: #34d399 !important;
}

.text-amber-400 {
  color: #fbbf24 !important;
}

.text-rose-400 {
  color: #f87171 !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.border-white\/5 {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.border-white\/10 {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.bg-black\/10 {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.bg-black\/20 {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.bg-black\/30 {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.bg-indigo-500\/10 {
  background-color: rgba(99, 102, 241, 0.1) !important;
}

.bg-indigo-500\/15 {
  background-color: rgba(99, 102, 241, 0.15) !important;
}

.bg-indigo-500\/20 {
  background-color: rgba(99, 102, 241, 0.2) !important;
}

.border-indigo-500\/40 {
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.bg-cyan-500\/10 {
  background-color: rgba(6, 182, 212, 0.1) !important;
}

.border-cyan-500\/30 {
  border-color: rgba(6, 182, 212, 0.3) !important;
}

.bg-emerald-500\/10 {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.border-emerald-500\/30 {
  border-color: rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================
   --- 2026 NEXT-GEN UI / UX DESIGN SUITE ---
   ========================================== */

/* Shimmer & Ambient Lighting */
.shimmer-text {
  background: linear-gradient(90deg, #22d3ee 0%, #818cf8 25%, #c084fc 50%, #818cf8 75%, #22d3ee 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerGradient 4s linear infinite;
}

@keyframes shimmerGradient {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.pulse-beacon {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22d3ee;
  margin-right: 8px;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.4);
  animation: beaconPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beaconPing {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Hero Split Layout */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

@media (min-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 56px;
  }
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #22d3ee;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.proof-metric-item {
  display: flex;
  flex-direction: column;
}

.proof-metric-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

.proof-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Hero Stage Visual Card */
.hero-stage-card {
  position: relative;
  background: #090915;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  padding: 24px;
}

.hero-stage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Simulated Scan Beam Animation */
.scan-beam-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.scan-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #22d3ee, #818cf8, transparent);
  box-shadow: 0 0 16px #22d3ee, 0 0 30px #818cf8;
  z-index: 20;
  pointer-events: none;
  animation: scanOscillate 3.5s ease-in-out infinite alternate;
}

@keyframes scanOscillate {
  0% {
    top: 2%;
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    top: 96%;
    opacity: 0.3;
  }
}

/* Floating Badges on Hero Stage */
.floating-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(11, 11, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-8px);
  }
}

.floating-badge-bottom {
  bottom: 24px;
  left: -12px;
  animation-delay: 1.5s;
}

.floating-badge-top {
  top: 24px;
  right: -12px;
  animation-delay: 0.5s;
}

/* Hero Toggle Switch */
.stage-toggle-btn {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--text-muted);
}

.stage-toggle-btn.active {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.3);
}

/* ==========================================
   --- BEFORE VS AFTER COMPARISON SECTION ---
   ========================================== */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}

@media (min-width: 860px) {
  .before-after-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.diff-card {
  border-radius: 20px;
  padding: 32px;
  position: relative;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.diff-card-before {
  background: rgba(244, 63, 94, 0.03);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.diff-card-before:hover {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 16px 40px -10px rgba(244, 63, 94, 0.15);
}

.diff-card-after {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.12);
}

.diff-card-after:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 24px 50px -10px rgba(16, 185, 129, 0.25);
  transform: translateY(-3px);
}

.status-badge-rejected {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.status-badge-approved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.diff-bullet-item {
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  line-height: 1.55;
  transition: all 0.2s ease;
}

.diff-bullet-before {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(244, 63, 94, 0.1);
  color: #cbd5e1;
}

.diff-bullet-after {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #f1f5f9;
  font-weight: 500;
}

/* ==========================================
   --- INTERACTIVE FEATURE STUDIO (PRODUCTS) ---
   ========================================== */
.feature-studio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.feature-studio-tab-btn {
  padding: 12px 22px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-studio-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-studio-tab-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.feature-panel {
  display: none;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feature-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   --- INTERACTIVE KEYWORDS & ATS GAUGES ---
   ========================================== */
.keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}

.keyword-chip:hover {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.3);
}

.keyword-chip.matched {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.4);
}

/* ==========================================
   --- INTERACTIVE CAREER ROI CALCULATOR ---
   ========================================== */
.roi-card {
  border-radius: 24px;
  background: #090915;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 16px #22d3ee;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

/* ==========================================
   --- ACCESSIBLE INTERACTIVE FAQ ACCORDION ---
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-content {
  display: block;
}

/* ==========================================
   --- INTERACTIVE INQUIRY TYPE CHIPS ---
   ========================================== */
.inquiry-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.inquiry-chip {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.inquiry-chip:hover {
  border-color: rgba(34, 211, 238, 0.3);
  color: #22d3ee;
}

.inquiry-chip.active {
  background: rgba(34, 211, 238, 0.15);
  border-color: #22d3ee;
  color: #22d3ee;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* WCAG Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-spin,
  .animate-pulse-slow,
  .animate-ping,
  .animate-bounce,
  .scan-beam,
  .floating-badge,
  .shimmer-text {
    animation: none !important;
  }
}

/* ==========================================================================
   --- COMPREHENSIVE MOBILE RESPONSIVENESS SUITE (320px - 991px) ---
   Engineered for iOS Safari, Chrome Android, Samsung Internet, and foldables.
   Strictly zero horizontal overflow, native touch targets, and fluid layout.
   ========================================================================== */

/* 1. Global Viewport & Container Resets */
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* 2. Responsive Container & Section Spacing */
@media (max-width: 991px) {
  .inner-container {
    padding: 0 20px;
  }

  .section-wrap {
    padding: 72px 0;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-social-proof {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .inner-container {
    padding: 0 16px;
  }

  .section-wrap {
    padding: 56px 0;
  }

  /* Reduce background mesh glow sizes to avoid mobile canvas lag & scroll bugs */
  .bg-mesh-glow-1,
  .bg-mesh-glow-2 {
    width: 260px;
    height: 260px;
    filter: blur(60px);
  }

  /* Fluid Section Headings */
  h1.hero-title,
  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem) !important;
    line-height: 1.18 !important;
  }

  h2.font-heading,
  .font-heading {
    font-size: clamp(1.65rem, 5.5vw, 2.25rem) !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    margin-bottom: 28px !important;
  }

  .hero-live-badge {
    font-size: 0.75rem !important;
    padding: 6px 14px !important;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    margin-bottom: 18px !important;
    margin-top: 60px !important;
  }

  /* 3-Column Stats Strip */
  .hero-social-proof {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    text-align: center !important;
    padding-top: 20px !important;
    margin-top: 28px !important;
  }

  .proof-divider {
    display: none !important;
  }

  .proof-metric-val {
    font-size: 1.2rem !important;
  }

  .proof-metric-label {
    font-size: 0.68rem !important;
  }

  /* Mobile Full-Screen Navigation Drawer */
  .nav-mobile-overlay {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: rgba(6, 6, 12, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.9) !important;
    padding: 20px 16px 28px 16px !important;
    gap: 10px !important;
    z-index: 9999 !important;
  }

  .nav-link-mobile {
    padding: 12px 16px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    transition: all 0.2s ease !important;
  }

  .nav-link-mobile:active,
  .nav-link-mobile:hover {
    background: rgba(34, 211, 238, 0.12) !important;
    color: #22d3ee !important;
    border-color: rgba(34, 211, 238, 0.3) !important;
  }

  .nav-mobile-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    touch-action: manipulation;
  }

  /* Safe Scaling for Floating Badges on Hero Stage Card */
  .floating-badge {
    padding: 8px 14px;
    border-radius: 12px;
  }

  .floating-badge-top {
    top: -12px;
    right: 8px;
    transform: scale(0.9);
    transform-origin: top right;
  }

  .floating-badge-bottom {
    bottom: -12px;
    left: 8px;
    transform: scale(0.9);
    transform-origin: bottom left;
  }

  /* Feature Studio Scrollable Native Tabs Strip */
  .feature-studio-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    justify-content: flex-start !important;
    padding: 4px 16px 14px 16px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scrollbar-width: thin;
    gap: 8px !important;
  }

  .feature-studio-tabs::-webkit-scrollbar {
    height: 4px;
  }

  .feature-studio-tabs::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.3);
    border-radius: 4px;
  }

  .feature-studio-tab-btn {
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
    padding: 10px 18px !important;
    font-size: 0.82rem !important;
    min-height: 42px !important;
  }

  .feature-panel-container {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    margin-bottom: 48px !important;
  }

  .product-heading {
    font-size: clamp(1.4rem, 5vw, 1.85rem) !important;
    margin-bottom: 16px !important;
  }

  .product-desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .product-bullets {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
  }

  /* Before vs After Comparison */
  .before-after-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .diff-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  /* ATS Resume Sandbox */
  .sandbox-grid {
    grid-template-columns: 1fr !important;
  }

  .sandbox-control-panel {
    padding: 24px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: none !important;
  }

  .sandbox-preview {
    padding: 24px 18px !important;
  }

  /* Career ROI Calculator */
  .roi-card {
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }

  /* FAQ Accordion Touch Target */
  .faq-trigger {
    padding: 18px 20px !important;
    font-size: 1rem !important;
    min-height: 52px !important;
  }

  .faq-content {
    padding: 0 20px 18px 20px !important;
    font-size: 0.92rem !important;
  }

  /* Contact Form & iOS Safari Auto-Zoom Fix */
  .contact-form-card {
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }

  .form-input,
  input.form-input,
  select.form-input,
  textarea.form-input {
    font-size: 16px !important;
    /* Critical: stops iOS Safari zooming on focus */
    min-height: 48px !important;
  }

  textarea.form-input {
    min-height: 110px !important;
  }

  /* Footer Columns */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 36px !important;
  }
}

/* 3. Small Mobile Devices (< 576px) */
@media (max-width: 576px) {
  .inner-container {
    padding: 0 14px;
  }

  .section-wrap {
    padding: 44px 0;
  }

  /* Hero Section CTAs */
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-btn-main,
  .hero-btn-sub {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 14px 20px !important;
    font-size: 0.92rem !important;
  }

  /* Hero Stage Card & Mobile Badges Layout */
  .floating-badge {
    position: static !important;
    margin: 0 auto 12px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .floating-badge-bottom {
    margin: 12px auto 0 auto !important;
  }

  .hero-stage-card {
    padding: 16px 12px !important;
    border-radius: 18px !important;
  }

  .hero-stage-topbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .hero-topbar-url {
    display: none !important;
  }

  .hero-stage-toggle-wrap {
    display: flex !important;
    width: 100% !important;
  }

  .stage-toggle-btn {
    flex: 1 !important;
    text-align: center !important;
    padding: 6px 4px !important;
    font-size: 0.68rem !important;
  }

  #hero-preview-box {
    padding: 14px 10px !important;
  }

  .hero-mockup-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Technical Principles Grid (1 Column) */
  .principles-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .principle-item {
    padding: 10px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .principle-item:last-child {
    border-bottom: none;
  }

  /* Before vs After Cards */
  .diff-card {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .diff-card>div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .diff-bullet-item {
    padding: 12px 10px !important;
    font-size: 0.8rem !important;
  }

  /* Feature Studio Container */
  .feature-panel-container {
    padding: 18px 12px !important;
  }

  /* ATS Resume Sandbox Control & Preview */
  .sandbox-control-panel {
    padding: 16px 12px !important;
  }

  .sandbox-preview {
    padding: 16px 12px !important;
  }

  .sandbox-preview-topbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .sandbox-preview-topbar>div {
    display: flex !important;
    width: 100% !important;
  }

  .sandbox-preview-topbar .stage-toggle-btn {
    flex: 1 !important;
    text-align: center !important;
    padding: 8px 4px !important;
    font-size: 0.7rem !important;
  }

  #resume-download-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  .resume-mock-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .resume-preview-card {
    padding: 16px 12px !important;
  }

  .resume-role-select-btn {
    padding: 10px 12px !important;
    font-size: 0.75rem !important;
    min-height: 44px !important;
  }

  .keyword-chip {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    min-height: 36px !important;
  }

  /* Career ROI Calculator */
  .roi-card {
    padding: 20px 14px !important;
    border-radius: 16px !important;
  }

  .roi-slider-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  #salary-display {
    font-size: 1.4rem !important;
  }

  .roi-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .roi-metric-box {
    padding: 16px 12px !important;
  }

  #calc-callbacks,
  #calc-hours,
  #calc-uplift {
    font-size: 1.8rem !important;
  }

  .roi-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 0.92rem !important;
  }

  /* FAQ Accordion */
  .faq-trigger {
    padding: 14px 14px !important;
    font-size: 0.92rem !important;
    gap: 10px !important;
  }

  .faq-content {
    padding: 0 14px 14px 14px !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }

  /* Contact Consultation Form */
  .contact-form-card {
    padding: 18px 12px !important;
    border-radius: 16px !important;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .inquiry-chips-wrap {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .inquiry-chip {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
  }

  #contact-submit-btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
  }

  /* Single-Column Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: left !important;
  }

  .footer-column p {
    max-width: 100% !important;
  }
}

/* 4. Ultra-Compact Mobile (< 380px, e.g. iPhone SE / Fold outer screen) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.75rem !important;
  }

  .hero-social-proof {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .proof-metric-item {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .proof-metric-item:last-child {
    border-bottom: none;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.85rem !important;
    padding: 12px 16px !important;
  }
}

/* ==========================================================================
   --- ACCESSIBLE BOTTOM TO TOP SCROLL BUTTON WITH PROGRESS RING ---
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(9, 9, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(34, 211, 238, 0.18);
  padding: 0;
  touch-action: manipulation;
  outline: none;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: rgba(16, 16, 32, 0.96);
  border-color: rgba(34, 211, 238, 0.5);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.8), 0 0 25px rgba(34, 211, 238, 0.35);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.scroll-to-top-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

.scroll-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-progress-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

.scroll-progress-bar {
  stroke: url(#scroll-gradient) #22d3ee;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s ease-out;
}

.scroll-to-top-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.scroll-to-top-btn:hover .scroll-to-top-icon {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}