/* ==========================================================================
   Zraviq Production Stylesheet
   Approved Design from Claude Design - Pure Standard CSS
   ========================================================================== */

:root {
  --color-purple: #550091;
  --color-purple-light: #b98ae6;
  --color-green: #22c55e;
  --color-whatsapp: #25d366;
  --color-black: #0a0a0a;
  --color-dark: #000000;
  --color-white: #ffffff;
  --color-zinc-50: #fafafa;
  --color-zinc-100: #f4f4f5;
  --color-zinc-200: #e4e4e7;
  --color-zinc-300: #d4d4d8;
  --color-zinc-400: #a1a1aa;
  --color-zinc-500: #71717a;
  --color-zinc-600: #52525b;
  --color-zinc-700: #3f3f46;
  --color-zinc-800: #27272a;
  --color-zinc-900: #18181b;
  --font-main: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-display: "Gambarino", Georgia, serif;
}

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

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

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-zinc-600);
}

button, input, select, textarea {
  font: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--color-zinc-400);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes zqDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes zqPulseG {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  70%, 100% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

@keyframes zqPulseP {
  0% {
    box-shadow: 0 0 0 0 rgba(185, 138, 230, 0.75);
  }
  70%, 100% {
    box-shadow: 0 0 0 10px rgba(185, 138, 230, 0);
  }
}

@keyframes zqSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-zq-pulse] {
    animation: none !important;
  }
  .zq-nav-dots span {
    animation: none !important;
    opacity: 0.6 !important;
  }
  .rot-word-container {
    transition: none !important;
  }
}

/* ==========================================================================
   Navigation Bar (Dynamic Pill Header)
   ========================================================================== */

.zq-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 62px;
  display: flex;
  justify-content: center;
  padding: 14px 12px 0;
  pointer-events: none;
}

.zq-nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: 48px;
  max-width: calc(100vw - 24px);
  padding: 0 20px 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 28px -16px rgba(0, 0, 0, 0.22);
  transition: padding 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.zq-nav-pill.is-open {
  padding: 0 5px 0 22px;
}

@media (max-width: 520px) {
  .zq-nav-pill {
    padding: 0 16px 0 16px;
  }
  .zq-nav-pill.is-open {
    padding: 0 5px 0 16px;
  }
}

.zq-nav-logo-btn {
  flex: none;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 999px;
}

.zq-nav-logo-img {
  height: 18px;
  width: auto;
  display: block;
}

@media (max-width: 520px) {
  .zq-nav-logo-img {
    height: 14px;
  }
}

.zq-nav-dots {
  flex: none;
  display: flex;
  overflow: hidden;
  max-width: 40px;
  opacity: 1;
  transition: max-width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}

.zq-nav-pill.is-open .zq-nav-dots {
  max-width: 0px;
  opacity: 0;
}

.zq-nav-dots-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 2px 0 16px;
  height: 12px;
}

.zq-nav-dots-inner span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0a0a0a;
  display: block;
}

.zq-nav-dots-inner span:nth-child(1) {
  animation: zqDot 1.2s ease-in-out 0s infinite;
}

.zq-nav-dots-inner span:nth-child(2) {
  animation: zqDot 1.2s ease-in-out 0.16s infinite;
}

.zq-nav-dots-inner span:nth-child(3) {
  animation: zqDot 1.2s ease-in-out 0.32s infinite;
}

.zq-nav-links-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 0px;
  opacity: 0;
  transition: max-width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}

.zq-nav-pill.is-open .zq-nav-links-wrap {
  max-width: 580px;
  opacity: 1;
  transition: max-width 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease 0.12s;
}

.zq-nav-links-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 6px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .zq-nav-links-inner {
    gap: 0;
    padding-left: 2px;
  }
}

.zq-nav-link {
  height: 36px;
  padding: 0 12px;
  border: none;
  background: none;
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s ease;
}

.zq-nav-link:hover {
  background: var(--color-zinc-100);
}

@media (max-width: 520px) {
  .zq-nav-link {
    font-size: 13px;
    padding: 0 7px;
  }
}

.zq-nav-cta {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px 0 14px;
  margin-left: 4px;
  border-radius: 999px;
  border: 1px solid var(--color-zinc-700);
  background: linear-gradient(180deg, #232326 0%, #0b0b0c 52%, #000000 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 16px -8px rgba(0, 0, 0, 0.45);
}

.zq-nav-cta:hover {
  background: linear-gradient(180deg, #2e2e32 0%, #131315 52%, #050505 100%);
  transform: translateY(-1px);
}

.zq-nav-cta:active {
  background: linear-gradient(180deg, #050505 0%, #101012 100%);
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.75);
}

@media (max-width: 520px) {
  .zq-nav-cta {
    padding: 0 10px;
  }
  .zq-nav-cta-text {
    display: none;
  }
}

/* ==========================================================================
   Primary Buttons
   ========================================================================== */

.zq-btn-primary {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px 0 24px;
  border-radius: 999px;
  border: 1px solid var(--color-zinc-700);
  background: linear-gradient(180deg, #232326 0%, #0b0b0c 52%, #000000 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 16px -6px rgba(0, 0, 0, 0.45), 0 18px 32px -14px rgba(0, 0, 0, 0.3);
}

.zq-btn-primary:hover {
  border-color: var(--color-zinc-600);
  background: linear-gradient(180deg, #2e2e32 0%, #131315 52%, #050505 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 1px rgba(0, 0, 0, 0.2), 0 12px 22px -8px rgba(0, 0, 0, 0.5), 0 24px 40px -16px rgba(0, 0, 0, 0.32);
}

.zq-btn-primary:active {
  background: linear-gradient(180deg, #050505 0%, #101012 100%);
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.3), 0 3px 8px -5px rgba(0, 0, 0, 0.35);
}

.zq-btn-white {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px 0 24px;
  border-radius: 999px;
  border: 1px solid var(--color-zinc-200);
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f2 100%);
  color: var(--color-black);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0, 0, 0, 0.07), 0 1px 1px rgba(0, 0, 0, 0.5), 0 10px 20px -8px rgba(0, 0, 0, 0.9);
}

.zq-btn-white:hover {
  border-color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9fa 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #ffffff, 0 0 0 1px rgba(255, 255, 255, 0.1), 0 14px 26px -10px rgba(0, 0, 0, 0.95);
}

.zq-btn-white:active {
  border-color: var(--color-zinc-300);
  background: linear-gradient(180deg, #e7e7e9 0%, #f4f4f5 100%);
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.16), 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   AI Discovery Ticker (Seamless Infinite Scroll)
   ========================================================================== */

.zq-ai-ticker-region {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000000 12%, #000000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000000 12%, #000000 88%, transparent 100%);
}

.zq-ai-track {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  row-gap: 14px;
  width: max-content;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .zq-ai-ticker-region {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .zq-ai-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    transform: none !important;
  }
}

/* ==========================================================================
   Growth Plan Selection Cards
   ========================================================================== */

.zq-plan-card {
  display: flex;
  gap: 16px;
  padding: 8px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid var(--color-zinc-200);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.zq-plan-card:hover {
  border-color: var(--color-zinc-400);
}

.zq-plan-card.is-active {
  border-color: var(--color-black);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35);
}

.zq-plan-card .zq-card-arrow {
  margin-top: auto;
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-black);
  transform: rotate(0deg);
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.zq-plan-card.is-active .zq-card-arrow {
  background: var(--color-black);
  color: #ffffff;
  transform: rotate(90deg);
}

/* ==========================================================================
   Industry Tabs (Standalone View)
   ========================================================================== */

.zq-tab-btn {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.zq-tab-btn.is-active {
  border: 1px solid var(--color-zinc-700);
  background: linear-gradient(180deg, #232326 0%, #0b0b0c 52%, #000000 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 16px -8px rgba(0, 0, 0, 0.45);
}

.zq-tab-btn:not(.is-active) {
  border: 1px solid var(--color-zinc-200);
  background: #ffffff;
  color: var(--color-black);
}

.zq-tab-btn:not(.is-active):hover {
  border-color: var(--color-zinc-400);
  background: var(--color-zinc-50);
}

/* ==========================================================================
   Duration Selector Buttons in Form
   ========================================================================== */

.zq-duration-btn {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-zinc-200);
  background: #ffffff;
  color: var(--color-zinc-700);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zq-duration-btn.is-active {
  border-color: var(--color-black);
  background: var(--color-black);
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Form Inputs and Feedback States
   ========================================================================== */

.zq-input, .zq-select {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color-zinc-200);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  background: #ffffff;
  color: var(--color-black);
  transition: border-color 0.15s ease;
  width: 100%;
}

.zq-input:focus, .zq-select:focus {
  border-color: var(--color-black);
}

.zq-input.has-error, .zq-select.has-error {
  border-color: #ef4444;
}

.zq-error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.zq-error-alert {
  padding: 14px 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13px;
  line-height: 1.45;
  display: none;
}

.zq-success-box {
  display: none;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 24px;
  border-radius: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.zq-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: zqSpin 0.7s linear infinite;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */

.zq-faq-item {
  border: 1px solid var(--color-zinc-100);
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.18s ease;
}

.zq-faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: none;
  background: none;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-black);
  cursor: pointer;
}

.zq-faq-icon {
  flex: none;
  font-size: 20px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  user-select: none;
}

.zq-faq-item.is-open .zq-faq-icon {
  transform: rotate(45deg);
}

.zq-faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-zinc-600);
  max-width: 760px;
  display: none;
}

.zq-faq-item.is-open .zq-faq-answer {
  display: block;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */

.zq-wa-slot {
  width: 56px;
  height: 56px;
  flex: none;
  margin-left: 4px;
}

.zq-wa-btn {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.zq-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 14px 28px -10px rgba(0, 0, 0, 0.5);
}

.zq-wa-btn:active {
  transform: translateY(1px) scale(0.97);
}

.zq-wa-btn.is-docked {
  position: static;
}

/* ==========================================================================
   Rotating Footer Word
   ========================================================================== */

.zq-rot-container {
  display: inline-grid;
  vertical-align: top;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.zq-rot-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  color: var(--color-zinc-400);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.zq-rot-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.zq-rot-word.is-prev {
  opacity: 0;
  transform: translateY(0.45em);
}

.zq-rot-word.is-next {
  opacity: 0;
  transform: translateY(-0.45em);
}

/* ==========================================================================
   Homepage Hero Section & Responsive Mobile Typography
   ========================================================================== */

.zq-main-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.zq-hero-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 40px;
  align-items: center;
}

.zq-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.zq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid #ececee;
  border-radius: 999px;
  font-size: 13px;
  color: #27272a;
}

.zq-hero-headline {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 68px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zq-hero-grey {
  display: block;
  color: #7a7a80;
}

.zq-hero-black {
  display: block;
  color: var(--color-black);
}

.zq-hero-line {
  display: inline;
}

.zq-hero-sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  color: var(--color-zinc-600);
  max-width: 440px;
  text-wrap: pretty;
}

.zq-hero-caption {
  font-size: 12px;
  color: var(--color-zinc-500);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .zq-main-content {
    padding: 24px 20px 0;
    gap: 48px;
  }

  .zq-hero-section {
    gap: 28px;
  }

  .zq-hero-text {
    gap: 18px;
  }

  .zq-hero-badge {
    height: 30px;
    padding: 0 12px;
    font-size: 12px;
    gap: 8px;
  }

  .zq-hero-headline {
    font-size: clamp(28px, 7.8vw, 35px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    gap: 6px;
  }

  .zq-hero-line {
    display: block;
    white-space: normal;
  }

  .zq-hero-black {
    text-wrap: balance;
    max-width: 340px;
    line-height: 1.08;
  }

  .zq-hero-sub {
    font-size: 16px;
    line-height: 1.45;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .zq-hero-headline {
    font-size: 26px;
    line-height: 1.1;
  }
}

