/* ============================================
   500PS.tech — Design System
   Mobile-first, vanilla CSS
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #6366f1;
  --primary-light: #a5b4fc;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --dark: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(99,102,241,0.1);
  --shadow-lg: 0 16px 48px rgba(99,102,241,0.15);
  --glass-bg: rgba(255,255,255,0.75);
  --glass-border: rgba(255,255,255,0.5);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark-800);
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 40%, var(--white) 100%);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Background Ambience (replaces heavy parallax) --- */
.bg-ambience {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(165,180,252,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6,182,212,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 10%, rgba(224,242,254,0.5) 0%, transparent 50%);
}
.bg-ambience::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle 400px at 15% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(circle 300px at 85% 70%, rgba(255,255,255,0.4) 0%, transparent 100%);
  animation: ambient-drift 30s ease-in-out infinite alternate;
}
@keyframes ambient-drift {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* --- Layout Utilities --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 8px; display: block; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); color: var(--dark); }
.section-subtitle { font-size: 1.1rem; color: var(--slate-500); max-width: 600px; margin: 12px auto 0; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section { padding: 100px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* --- Glass Panel --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 12px 16px;
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  padding: 12px 20px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--dark); }
.nav-brand svg { width: 28px; height: 28px; color: var(--primary); filter: drop-shadow(0 0 8px rgba(99,102,241,0.4)); transition: var(--transition); }
.nav-brand:hover svg { filter: drop-shadow(0 0 16px rgba(99,102,241,0.7)); transform: scale(1.1); }
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--slate-500); transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links .nav-cta {
  padding: 8px 20px; border-radius: var(--radius-full);
  border: 1px solid var(--slate-200); color: var(--dark-800);
  transition: var(--transition);
}
.nav-links .nav-cta:hover { background: var(--slate-50); border-color: var(--primary-light); }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 80px; left: 16px; right: 16px; z-index: 49;
  padding: 20px; flex-direction: column; gap: 16px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--dark-800); padding: 8px 0; border-bottom: 1px solid var(--slate-200); }
.mobile-menu a:last-child { border: none; color: var(--primary); font-weight: 700; }

/* --- Buttons --- */
@keyframes pulse-primary {
  0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(99,102,241,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 1rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  animation: pulse-primary 3s infinite;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 12px 32px rgba(99,102,241,0.6); animation: none; }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-outline {
  background: rgba(255,255,255,0.5); border: 1px solid var(--slate-200);
  color: var(--dark-800); backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.95); transform: translateY(-3px) scale(1.03); border-color: var(--primary-light); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.btn-outline:active { transform: translateY(-1px) scale(0.98); }
.btn-block { width: 100%; justify-content: center; }

/* --- Hero --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 8px 18px; border-radius: var(--radius-full);
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15);
  color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--dark); margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.15rem; color: var(--slate-500); max-width: 600px; margin: 0 auto 32px; }
.hero-buttons { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 480px) { .hero-buttons { flex-direction: row; justify-content: center; } }

/* --- Cards --- */
.card {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-lg);
  padding: 32px; transition: var(--transition);
}
.card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.95); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--slate-500); }

/* --- About Section --- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about-img-wrap { position: relative; max-width: 320px; margin: 0 auto; }
.about-img-wrap::before {
  content: ''; position: absolute; inset: -12px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
  border-radius: var(--radius-lg); filter: blur(20px); z-index: 0;
}
.about-img-wrap img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 3px solid rgba(255,255,255,0.5); box-shadow: var(--shadow-md); }
.about-text h3 { font-size: 1.8rem; color: var(--dark); margin-bottom: 4px; }
.about-text .role { color: var(--primary); font-weight: 600; margin-bottom: 16px; display: block; }
.about-text p { color: var(--slate-500); font-size: 1.05rem; margin-bottom: 12px; }
.apps-showcase-card {
  background: var(--slate-50);
  height: 100%;
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}
.apps-showcase-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tech-badge {
  display: flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500; color: var(--dark-700);
}
.tech-badge .dot { width: 6px; height: 6px; border-radius: 50%; }

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .about-grid.reverse { direction: rtl; }
  .about-grid.reverse > * { direction: ltr; }
  .about-img-wrap { max-width: 400px; }
  .apps-showcase-card {
    min-height: 420px;
  }
  .apps-showcase-image {
    min-height: 420px;
  }
}

/* --- Pricing Cards --- */
.pricing-card {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-top: 3px solid var(--primary); background: rgba(255,255,255,0.85); position: relative; }
.pricing-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--primary); color: var(--white); font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.pricing-card h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 4px; }
.pricing-card .pricing-sub { font-size: 0.75rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.pricing-card .price { font-size: 2.8rem; font-weight: 700; color: var(--dark); }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--slate-400); }
.pricing-card .price-note { font-size: 0.75rem; color: var(--slate-400); margin-top: 4px; margin-bottom: 20px; }
.pricing-card ul { flex-grow: 1; margin-bottom: 24px; }
.pricing-card li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--slate-500); }
.pricing-card li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.pricing-card .btn { text-align: center; }

/* --- Social Media Highlight --- */
.highlight-box { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.highlight-price { text-align: center; }
.highlight-price .big-price { font-size: 3rem; font-weight: 700; color: var(--dark); }
@media (min-width: 768px) { .highlight-box { grid-template-columns: 2fr 1fr; } }

/* --- Process Steps --- */
.step-card { position: relative; overflow: hidden; }
.step-card .step-num {
  position: absolute; top: 8px; right: 12px;
  font-size: 3rem; font-weight: 800; color: rgba(99,102,241,0.06);
  line-height: 1; transition: var(--transition);
}
.step-card:hover .step-num { color: rgba(99,102,241,0.12); }

/* --- Contact Form --- */
.form-input {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--slate-200);
  border-radius: var(--radius); font-family: inherit; font-size: 0.95rem;
  color: var(--dark); transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--primary-light); background: var(--white); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.form-input::placeholder { color: var(--slate-400); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .form-grid { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--dark-800); margin-bottom: 6px; }
.form-group { margin-bottom: 16px; }
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 0.85rem; margin-bottom: 16px; }
.form-note {
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.7;
}
.form-note a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --- FAQ Accordion --- */
.faq-item { margin-bottom: 12px; overflow: hidden; }
.faq-toggle {
  width: 100%; text-align: left; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; background: none;
}
.faq-toggle span { font-weight: 600; color: var(--dark); font-size: 0.95rem; padding-right: 12px; }
.faq-toggle svg { width: 20px; height: 20px; color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-toggle.active svg { transform: rotate(180deg); }
.faq-content { padding: 0 24px 18px; display: none; }
.faq-content.open { display: block; }
.faq-content p { color: var(--slate-500); font-size: 0.9rem; line-height: 1.7; }

/* --- Footer --- */
.footer { text-align: center; padding: 32px 20px; margin: 40px 16px 16px; font-size: 0.85rem; color: var(--slate-500); }
.footer-links { margin-top: 12px; display: flex; gap: 16px; justify-content: center; }
.footer-links a,
.footer-links button,
.footer-link {
  color: var(--slate-500);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover,
.footer-links button:hover,
.footer-link:hover {
  color: var(--primary);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; max-width: 640px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-close { position: absolute; top: 16px; right: 16px; color: var(--slate-400); }
.modal-close:hover { color: var(--dark); }
.modal-content h2 { font-size: 1.5rem; color: var(--dark); margin-bottom: 20px; }
.modal-content p { color: var(--slate-500); font-size: 0.85rem; margin-bottom: 12px; }
.modal-content h3 { font-size: 1.1rem; color: var(--dark); margin: 20px 0 8px; }

/* --- Chatbot --- */
.chat-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  overflow: hidden; box-shadow: 0 4px 24px rgba(99,102,241,0.3);
  transition: var(--transition); border: 2px solid var(--white);
}
.chat-btn:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(99,102,241,0.4); }
.chat-btn img { width: 100%; height: 100%; object-fit: cover; }
.chat-btn-close {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark-700); color: var(--white);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.chat-window {
  position: fixed; bottom: 96px; right: 24px; z-index: 50;
  width: min(90vw, 400px); display: none; flex-direction: column;
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  transform: scale(0.95); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.chat-window.visible { display: flex; }
.chat-window.open { transform: scale(1); opacity: 1; }
.chat-header { background: var(--primary); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-header span { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.chat-header button { color: rgba(255,255,255,0.7); }
.chat-header button:hover { color: var(--white); }
.chat-messages { height: 300px; overflow-y: auto; padding: 16px; background: var(--slate-50); display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; align-items: flex-start; gap: 10px; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg img { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--slate-200); flex-shrink: 0; }
.chat-bubble {
  max-width: 80%; padding: 10px 14px; font-size: 0.85rem; line-height: 1.5;
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.chat-msg.bot .chat-bubble { background: var(--white); color: var(--dark-700); border: 1px solid var(--slate-100); }
.chat-msg.user .chat-bubble { background: var(--primary); color: var(--white); }
.chat-footer { padding: 12px 16px; border-top: 1px solid var(--slate-100); background: var(--white); }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.suggestion-chip {
  font-size: 0.75rem; padding: 6px 12px; border-radius: var(--radius-full);
  background: var(--slate-50); border: 1px solid var(--slate-200);
  color: var(--slate-500); cursor: pointer; transition: var(--transition);
}
.suggestion-chip:hover { border-color: var(--primary-light); color: var(--primary); }
.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input {
  flex: 1; padding: 10px 16px; border-radius: var(--radius-full);
  border: 1px solid var(--slate-200); background: var(--slate-50);
  font-size: 0.85rem; color: var(--dark); outline: none;
}
.chat-input-row input:focus { border-color: var(--primary-light); }
.chat-send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-send:hover { background: var(--primary-dark); }

.chat-btn,
.chat-btn-close,
.chat-window {
  display: none !important;
}

/* --- App Section --- */
.app-box { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 768px) { .app-box { grid-template-columns: 1fr 1fr; } }
.app-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.95rem; color: var(--slate-500); }
.app-features li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* --- Visibility Helpers --- */
.hidden { display: none !important; }

/* --- Animations --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease both; }

/* --- Homepage Landing Teasers --- */
.landing-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.landing-teaser {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.landing-teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.landing-teaser .section-label { margin-bottom: 0; }
.landing-teaser h3 {
  font-size: 1.45rem;
  color: var(--dark);
}
.landing-teaser p {
  color: var(--slate-500);
  max-width: 58ch;
}
.teaser-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.14);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

/* --- Landing Pages --- */
.landing-hero {
  min-height: auto;
  padding-top: 140px;
}
.hero-panel {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero-main h1 {
  margin-bottom: 18px;
}
.hero-main p {
  margin: 0 0 28px;
  max-width: 60ch;
}
.price-anchor {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius-full);
  background: rgba(15,23,42,0.92);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(15,23,42,0.2);
}
.hero-side {
  align-self: stretch;
}
.hero-side h2 {
  font-size: 1.45rem;
  color: var(--dark);
  margin-bottom: 16px;
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-list-spaced {
  gap: 18px;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--slate-500);
}
.detail-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.split-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
}
.lead-text {
  color: var(--dark-700);
  font-size: 1.1rem;
  line-height: 1.8;
}
.feature-grid,
.use-case-grid,
.process-grid {
  gap: 24px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}
.feature-card p,
.use-case-card p {
  color: var(--slate-500);
}
.use-case-card {
  padding: 28px;
}
.use-case-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.pricing-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
}
.pricing-spotlight-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.price-label {
  color: var(--slate-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.large-price {
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 800;
  color: var(--dark);
}
.section-subtitle-left {
  margin-left: 0;
  margin-right: 0;
}
.final-cta {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.final-cta .section-title {
  margin-bottom: 0;
}

/* --- Sticky CTA --- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 48;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15,23,42,0.14);
}
.sticky-cta .btn {
  justify-content: center;
  padding: 14px 18px;
}

@media (min-width: 768px) {
  .landing-teaser-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-panel {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
    gap: 36px;
  }
  .split-panel {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .pricing-spotlight {
    grid-template-columns: 1.4fr auto;
  }
  .final-cta {
    grid-template-columns: 1.4fr auto;
  }
}

@media (max-width: 767px) {
  body.has-sticky-cta {
    padding-bottom: 108px;
  }
  body.has-sticky-cta .chat-btn,
  body.has-sticky-cta .chat-btn-close {
    bottom: 126px;
  }
  body.has-sticky-cta .chat-window {
    bottom: 198px;
  }
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* --- Visual Refresh --- */
.home-page .hero-home {
  min-height: auto;
  padding-top: 136px;
  padding-bottom: 72px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy-panel {
  text-align: left;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,41,59,0.92)),
    radial-gradient(circle at top right, rgba(165,180,252,0.22), transparent 40%);
  color: var(--white);
  box-shadow: 0 24px 64px rgba(15,23,42,0.22);
}

.hero-copy-panel .hero-badge {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

.hero-copy-panel h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero-copy-panel h1 span {
  color: #c7d2fe;
}

.hero-copy-panel p {
  color: rgba(226,232,240,0.9);
  max-width: 58ch;
  margin: 0 0 28px;
}

.hero-copy-panel .hero-buttons {
  justify-content: flex-start;
}

.hero-copy-panel .btn-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: var(--white);
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-showcase {
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.hero-showcase-head p {
  color: var(--slate-500);
  font-size: 0.95rem;
}

.hero-offer-stack {
  display: grid;
  gap: 14px;
}

.hero-offer-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(248,250,252,0.86);
  border: 1px solid rgba(99,102,241,0.12);
  transition: var(--transition);
}

.hero-offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99,102,241,0.26);
  box-shadow: 0 16px 40px rgba(99,102,241,0.12);
}

.hero-offer-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.hero-offer-card h3 {
  font-size: 1.12rem;
  color: var(--dark);
  margin-bottom: 0;
}

.hero-offer-card p {
  color: var(--slate-500);
  font-size: 0.92rem;
}

.hero-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.06);
}

.hero-metric strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 6px;
}

.hero-metric span {
  display: block;
  color: var(--slate-500);
  font-size: 0.82rem;
}

.landing-teaser {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
  border: 1px solid rgba(99,102,241,0.12);
}

.landing-teaser::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: rgba(99,102,241,0.08);
  color: var(--primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.mini-lightning {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(99,102,241,0.08);
  color: var(--primary);
}

.mini-lightning svg {
  width: 26px;
  height: 26px;
}

.home-page #services .section-header,
.home-page #pricing .section-header,
.home-page #process .section-header,
.home-page #faq .section-header,
.home-page #contact .section-header {
  margin-bottom: 36px;
}

.landing-page .section {
  padding: 80px 0;
}

.landing-page .section-header {
  text-align: left;
  margin-bottom: 32px;
}

.landing-page .section-subtitle,
.landing-page .section-subtitle-left {
  max-width: 56ch;
}

.hero-panel-contrast {
  background:
    radial-gradient(circle at top right, rgba(165,180,252,0.18), transparent 26%),
    linear-gradient(135deg, rgba(15,23,42,0.98), rgba(30,41,59,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 70px rgba(15,23,42,0.18);
}

.hero-panel-contrast .hero-badge {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

.hero-panel-contrast .price-anchor {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}

.hero-panel-contrast h1,
.hero-panel-contrast h2,
.hero-panel-contrast p {
  color: var(--white);
}

.hero-panel-contrast .hero-main p {
  color: rgba(226,232,240,0.9);
}

.hero-panel-contrast .btn-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: var(--white);
}

.hero-side-surface {
  background: rgba(255,255,255,0.94);
}

.hero-side-surface h2 {
  color: var(--dark);
}

.split-panel-block {
  padding: 18px 0;
}

.split-panel-accent {
  padding-left: 0;
}

.split-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-page .feature-card,
.landing-page .use-case-card,
.landing-page .step-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(99,102,241,0.08);
}

.landing-page .feature-card:hover,
.landing-page .use-case-card:hover,
.landing-page .step-card:hover {
  transform: translateY(-4px);
}

.landing-page .pricing-spotlight,
.landing-page .final-cta {
  background:
    radial-gradient(circle at top right, rgba(165,180,252,0.16), transparent 25%),
    linear-gradient(135deg, rgba(15,23,42,0.98), rgba(30,41,59,0.95));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 56px rgba(15,23,42,0.18);
}

.landing-page .pricing-spotlight .price-label,
.landing-page .final-cta .section-label {
  color: rgba(199,210,254,0.9);
}

.landing-page .pricing-spotlight .large-price,
.landing-page .pricing-spotlight .section-title,
.landing-page .pricing-spotlight .section-subtitle,
.landing-page .pricing-spotlight .detail-list li,
.landing-page .final-cta .section-title {
  color: var(--white);
}

.landing-page .pricing-spotlight .section-subtitle,
.landing-page .pricing-spotlight .section-subtitle-left {
  color: rgba(226,232,240,0.86);
}

.landing-page .faq-item {
  border: 1px solid rgba(99,102,241,0.08);
  background: rgba(255,255,255,0.94);
}

.showcase-screen {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(15,23,42,0.96), rgba(30,41,59,0.94)),
    radial-gradient(circle at top right, rgba(129,140,248,0.25), transparent 30%);
  color: var(--white);
}

.showcase-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(226,232,240,0.94);
  font-size: 0.8rem;
  font-weight: 600;
}

.showcase-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.showcase-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.showcase-panel h3,
.showcase-panel p,
.showcase-screen h3,
.showcase-screen p {
  color: inherit;
}

.showcase-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.showcase-stat {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.94);
  color: var(--dark);
}

.showcase-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.related-links {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.related-link-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--dark);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(99,102,241,0.08);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.related-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.22);
  box-shadow: var(--shadow-lg);
}

.related-link-card .section-label {
  margin-bottom: 8px;
}

.related-link-card h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.related-link-card p {
  margin: 0;
  color: var(--slate-500);
}

.legal-hero {
  min-height: auto;
  padding-top: 140px;
  padding-bottom: 32px;
}

.legal-shell {
  display: grid;
  gap: 24px;
}

.legal-card {
  padding: clamp(24px, 4vw, 40px);
}

.legal-card h2 {
  margin-bottom: 14px;
  color: var(--dark);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.legal-card h3 {
  margin: 26px 0 10px;
  color: var(--dark);
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--slate-500);
  line-height: 1.8;
}

.legal-card p + p,
.legal-card p + ul,
.legal-card ul + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.legal-card a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(99,102,241,0.1);
  color: var(--dark-700);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.9fr);
    gap: 28px;
  }

  .landing-page .split-panel {
    gap: 28px;
  }

  .landing-page .split-panel-accent {
    padding-left: 28px;
    border-left: 1px solid rgba(99,102,241,0.12);
  }
}

@media (max-width: 767px) {
  .home-page .hero-home {
    padding-top: 112px;
    padding-bottom: 40px;
  }

  .hero-copy-panel,
  .hero-showcase {
    border-radius: 26px;
  }

  .hero-proof-row {
    gap: 8px;
  }

  .hero-proof-row span {
    width: 100%;
    justify-content: center;
  }

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

  .landing-page .section-subtitle,
  .landing-page .section-subtitle-left {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

/* --- Homepage Exact Hero --- */
.home-page {
  background: linear-gradient(180deg, #f7f4fb 0%, #f4f1f9 42%, #ffffff 100%);
}

.home-page .bg-ambience {
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0) 28%),
    radial-gradient(circle at 74% 18%, rgba(152,120,214,0.12) 0%, rgba(152,120,214,0) 32%),
    radial-gradient(circle at 52% 62%, rgba(118,87,183,0.08) 0%, rgba(118,87,183,0) 36%),
    linear-gradient(180deg, #f7f4fb 0%, #f3eff8 100%);
}

.home-page .bg-ambience::before {
  background:
    radial-gradient(circle 380px at 22% 16%, rgba(255,255,255,0.74) 0%, transparent 100%),
    radial-gradient(circle 340px at 82% 48%, rgba(176,148,228,0.16) 0%, transparent 100%);
}

.home-page {
  --home-nav-hover: #6337c0;
  --home-chrome-width: min(calc(100vw - 32px), 1160px);
  --hero-liquid-dock-offset: 18px;
}

.home-page .nav {
  padding: 16px;
}

.home-page .nav-inner {
  position: relative;
  overflow: hidden;
  width: var(--home-chrome-width);
  max-width: none;
  padding: 13px 22px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.68), rgba(255,255,255,0.2) 38%, rgba(215,201,243,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow:
    0 18px 48px rgba(82,60,124,0.14),
    0 6px 16px rgba(117,93,170,0.08),
    inset 0 1px 0 rgba(255,255,255,0.96),
    inset 0 -16px 22px rgba(151,119,211,0.14);
  backdrop-filter: blur(28px) saturate(220%);
  -webkit-backdrop-filter: blur(28px) saturate(220%);
}

.home-page .nav-inner::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(112deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.42) 20%, rgba(255,255,255,0.14) 44%, rgba(186,162,233,0.2) 62%, rgba(255,255,255,0.82) 100%);
  opacity: 0.95;
  pointer-events: none;
}

.home-page .nav-inner::after {
  content: '';
  position: absolute;
  inset: 10% 2.5%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 84% 72%, rgba(187,161,237,0.26) 0%, rgba(187,161,237,0) 32%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(129,104,186,0.02));
  filter: blur(11px);
  opacity: 0.9;
  pointer-events: none;
}

.home-page .nav-brand {
  position: relative;
  z-index: 1;
  color: #0d0a12;
  gap: 9px;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.home-page .nav-brand svg {
  width: 23px;
  height: 23px;
  color: var(--home-nav-hover);
  filter: drop-shadow(0 0 8px rgba(99,55,192,0.28));
}

.home-page .nav-links {
  position: relative;
  z-index: 1;
  gap: 24px;
}

.home-page .nav-links a {
  color: rgba(27,18,35,0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.home-page .nav-links a:hover {
  color: var(--home-nav-hover);
}

.home-page .nav-links .nav-cta {
  background: rgba(255,255,255,0.35);
  border-color: rgba(133,102,193,0.2);
  color: #1b1223;
}

.home-page .nav-links .nav-cta:hover {
  background: rgba(255,255,255,0.58);
  border-color: rgba(133,102,193,0.34);
}

.home-page .nav-toggle span {
  background: #170f1e;
}

.home-page .nav-toggle {
  position: relative;
  z-index: 1;
}

.home-page .mobile-menu {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(245,239,251,0.78));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 18px 38px rgba(82,60,124,0.12);
}

.home-page .mobile-menu a {
  color: #1b1223;
  border-bottom-color: rgba(127,102,181,0.14);
}

.home-page .mobile-menu a:last-child {
  color: var(--home-nav-hover);
}

.home-page .hero-home {
  min-height: auto;
  padding-top: 124px;
  padding-bottom: 40px;
}

.hero-liquid-shell {
  width: 100%;
}

.hero-liquid-stage {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
}

.hero-liquid-frame {
  position: relative;
  aspect-ratio: 980 / 780;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-liquid-frame::before {
  content: none;
}

.hero-liquid-frame::after {
  content: none;
}

.hero-liquid-card {
  position: absolute;
  bottom: 18%;
  left: 3%;
  z-index: 6;
  width: min(33.6%, 318px);
  min-width: 152px;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  box-shadow:
    0 18px 36px rgba(44,32,67,0.12),
    0 4px 14px rgba(44,32,67,0.06);
}

.hero-liquid-card h1 {
  margin: 0 0 6px;
  color: #101010;
  font-size: clamp(1rem, 2.2vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-liquid-card p {
  margin: 0 0 16px;
  color: #68606f;
  font-size: clamp(0.56rem, 1.05vw, 0.95rem);
  line-height: 1.35;
}

.hero-liquid-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(19,19,19,0.85);
  color: #111;
  background: rgba(255,255,255,0.96);
  font-size: clamp(0.42rem, 0.8vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-liquid-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17,17,17,0.08);
}

.hero-liquid-visual {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-liquid-car {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-42%);
  width: 87%;
  max-width: none;
  filter: drop-shadow(0 20px 24px rgba(78,60,118,0.12));
}

.hero-liquid-bar {
  position: relative;
  overflow: hidden;
  z-index: 7;
  width: 100%;
  margin-top: clamp(18px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, 0.8vw, 10px);
  align-items: start;
  padding: clamp(12px, 1.65vw, 16px) clamp(10px, 1.8vw, 18px);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.18) 36%, rgba(208,193,238,0.26) 100%);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow:
    0 16px 34px rgba(69,53,103,0.16),
    0 5px 14px rgba(125,98,184,0.08),
    inset 0 1px 0 rgba(255,255,255,0.96),
    inset 0 -16px 22px rgba(132,108,186,0.16);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
}

.hero-liquid-bar::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.34) 18%, rgba(255,255,255,0.08) 42%, rgba(193,171,235,0.22) 61%, rgba(255,255,255,0.8) 100%);
  opacity: 0.98;
  pointer-events: none;
}

.hero-liquid-bar::after {
  content: '';
  position: absolute;
  inset: 16% 3%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 24%, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 84% 68%, rgba(180,153,232,0.26) 0%, rgba(180,153,232,0) 28%),
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(123,98,182,0.04));
  filter: blur(12px);
  opacity: 0.92;
  pointer-events: none;
}

.hero-liquid-bar-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #2f2638;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-liquid-bar-item svg {
  width: clamp(15px, 1.85vw, 22px);
  height: clamp(15px, 1.85vw, 22px);
  stroke-width: 1.9;
  transition: transform 0.2s ease;
}

.hero-liquid-bar-item span {
  font-size: clamp(0.42rem, 0.78vw, 0.72rem);
  line-height: 1.15;
  font-weight: 600;
}

.hero-liquid-bar-item:hover {
  color: var(--home-nav-hover);
  transform: translateY(-1px);
}

.hero-liquid-bar-item:hover svg {
  transform: scale(1.04);
}

.hero-liquid-bar-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hero-liquid-card {
    bottom: 24%;
  }

  .hero-liquid-card-mobile {
    display: none;
  }

  .home-page .nav-inner {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
  }

  .home-page .nav-brand {
    grid-column: 1 / span 3;
    justify-self: start;
  }

  .home-page .nav-links {
    display: grid;
    grid-column: 4 / span 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    width: 100%;
    gap: 0;
  }

  .home-page .nav-links .nav-cta {
    justify-self: center;
  }

  .home-page .hero-home {
    padding-top: 104px;
  }

  .hero-liquid-stage {
    margin-top: -22px;
    padding-bottom: clamp(74px, 8vw, 108px);
  }

  .hero-liquid-frame {
    margin-bottom: -20px;
  }

  .hero-liquid-car {
    top: -1%;
    width: 88%;
  }

  .hero-liquid-bar-inline {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: var(--home-chrome-width);
    margin-top: 0;
  }

  .hero-liquid-bar-dock {
    position: fixed;
    left: 50%;
    bottom: max(var(--hero-liquid-dock-offset), env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: var(--home-chrome-width);
    z-index: 48;
    opacity: 0;
    pointer-events: none;
    margin-top: 0;
    transition: opacity 0.2s ease;
  }

  .home-page.hero-bar-docked .hero-liquid-bar-dock {
    bottom: max(calc(var(--hero-liquid-dock-offset) + 8px), env(safe-area-inset-bottom));
    opacity: 1;
    pointer-events: auto;
  }

  .home-page.hero-bar-docked .hero-liquid-bar-inline {
    visibility: hidden;
  }
}

@media (max-width: 767px) {
  .home-page {
    --home-chrome-width: calc(100vw - 24px);
    --hero-mobile-header-height: 86px;
    --hero-mobile-frame-height: clamp(306px, 39svh, 372px);
    --hero-mobile-card-height: clamp(208px, 25svh, 248px);
    --hero-mobile-footer-height: clamp(74px, 9svh, 90px);
    --hero-mobile-block-gap: clamp(
      14px,
      calc(
        (
          100svh
          - var(--hero-mobile-header-height)
          - var(--hero-mobile-frame-height)
          - var(--hero-mobile-card-height)
          - var(--hero-mobile-footer-height)
          - env(safe-area-inset-bottom)
        ) / 4
      ),
      26px
    );
  }

  .home-page .nav {
    padding: 12px;
  }

  .home-page .nav-inner {
    padding: 12px 16px;
    border-radius: 26px;
  }

  .home-page .hero-home {
    min-height: 100svh;
    padding-top: calc(var(--hero-mobile-header-height) + 8px);
    padding-bottom: calc(env(safe-area-inset-bottom) + var(--hero-mobile-block-gap));
  }

  .home-page .hero-home > .container.hero-liquid-shell {
    width: var(--home-chrome-width);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-liquid-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--hero-mobile-block-gap);
    min-height: calc(
      100svh
      - var(--hero-mobile-header-height)
      - env(safe-area-inset-bottom)
      - (var(--hero-mobile-block-gap) * 2)
    );
  }

  .hero-liquid-stage {
    display: block;
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    margin: 0 auto;
    padding-bottom: 0;
    min-height: 0;
  }

  .hero-liquid-frame {
    flex: 0 0 auto;
    margin-bottom: 0;
    width: 100%;
    height: var(--hero-mobile-frame-height);
    min-height: var(--hero-mobile-frame-height);
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-liquid-card {
    display: none;
  }

  .hero-liquid-card-mobile {
    position: relative;
    inset: auto;
    left: 0;
    bottom: auto;
    min-width: 0;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    min-height: var(--hero-mobile-card-height);
    height: var(--hero-mobile-card-height);
    align-self: stretch;
    padding: 30px 20px 26px;
    margin-top: 0;
    border-radius: 16px 16px 24px 24px;
    background: rgba(255,255,255,0.995);
    border: 1px solid rgba(255,255,255,0.88);
    box-shadow:
      0 6px 16px rgba(44,32,67,0.06),
      0 2px 6px rgba(44,32,67,0.03);
  }

  .hero-liquid-card-mobile h1 {
    margin: 0 0 10px;
    color: #101010;
    font-size: clamp(2rem, 9vw, 2.85rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .hero-liquid-card-mobile p {
    margin: 0 0 18px;
    color: #68606f;
    font-size: clamp(0.98rem, 3.8vw, 1.15rem);
    line-height: 1.35;
  }

  .hero-liquid-card-mobile .hero-liquid-cta {
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    font-size: 0.62rem;
  }

  .hero-liquid-cta {
    min-height: 30px;
    padding: 0.45rem 0.62rem;
    font-size: clamp(0.38rem, 1.35vw, 0.54rem);
  }

  .hero-liquid-car {
    top: -4%;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
  }

  .hero-liquid-bar-inline {
    display: none;
  }

  .hero-liquid-bar-mobile {
    display: grid;
    width: 100%;
    min-height: var(--hero-mobile-footer-height);
    margin-top: 0;
    padding: 16px 10px 14px;
    align-items: center;
  }

  .hero-liquid-bar-mobile .hero-liquid-bar-item {
    justify-content: center;
    gap: 4px;
    min-height: 46px;
  }

  .hero-liquid-bar-mobile .hero-liquid-bar-item svg {
    width: 18px;
    height: 18px;
  }

  .hero-liquid-bar-mobile .hero-liquid-bar-item span {
    font-size: 0.44rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .hero-liquid-bar-dock {
    display: none;
  }
}
