/* ═══════════════════════════════════════════════════
   ANTIGRAVITY — Premium Landing Page
   Design: Dark glassmorphism + gold accents
   ═══════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────── */
:root {
  /* Surface */
  --bg-primary: #06070a;
  --bg-secondary: #0c0e14;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.04);

  /* Text */
  --text-primary: #f0f0f3;
  --text-secondary: #8a8f9d;
  --text-muted: #50546a;

  /* Accent – warm amber/gold */
  --accent-1: #f5a623;
  --accent-2: #e8793a;
  --accent-gradient: linear-gradient(135deg, #f5a623 0%, #e8793a 50%, #d94f7a 100%);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  /* Spacing */
  --section-py: clamp(4rem, 10vw, 8rem);
  --container-px: clamp(1.25rem, 5vw, 3rem);
  --container-max: 1120px;

  /* Type scale */
  --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 4vw, 3rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ── Utilities ────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 1rem;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Reveal animation ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navbar ───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
}


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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  font-size: var(--fs-small);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--border-card);
  transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.3);
  color: var(--accent-1);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f5a623 0%, transparent 70%);
  top: -10%;
  right: -10%;
  animation: orbFloat1 18s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #d94f7a 0%, transparent 70%);
  bottom: -15%;
  left: -5%;
  animation: orbFloat2 22s ease-in-out infinite;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #7b61ff 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbFloat3 15s ease-in-out infinite;
}

@keyframes orbFloat1 {

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

  50% {
    transform: translate(-40px, 30px) scale(1.1);
  }
}

@keyframes orbFloat2 {

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

  50% {
    transform: translate(30px, -40px) scale(1.15);
  }
}

@keyframes orbFloat3 {

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

  50% {
    transform: translate(-20px, -30px) scale(0.9);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.375rem 1rem 0.375rem 0.75rem;
  border: 1px solid var(--border-card);
  border-radius: 100px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.25), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.35), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  background: var(--bg-card);
}

/* ── Hero metrics ─────────────────────────────────── */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* ── Scroll indicator ─────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ── Why section ──────────────────────────────────── */
.why-section {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.15);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 166, 35, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-1);
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Process section ──────────────────────────────── */
.process-section {
  padding: var(--section-py) 0;
  position: relative;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all 0.35s var(--ease-out);
}

.step:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.12);
}

.step-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 48px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Form section ─────────────────────────────────── */
.form-section {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

/* ── Trust badges ─────────────────────────────────── */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-card);
  border-radius: 100px;
  background: var(--bg-glass);
}

.trust-badge svg {
  color: var(--accent-1);
  flex-shrink: 0;
}

/* ── Native Q&A Form ─────────────────────────────── */
.qa-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.qa-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qa-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.qa-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-primary);
}

.qa-label svg {
  color: var(--accent-1);
  flex-shrink: 0;
}

.qa-required {
  color: #e85d75;
  font-weight: 700;
}

.qa-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.qa-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.3s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}

.qa-input::placeholder {
  color: var(--text-muted);
}

.qa-input:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.qa-input:focus {
  border-color: var(--accent-1);
  background: rgba(245, 166, 35, 0.04);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.qa-input.qa-input--error {
  border-color: #e85d75;
  box-shadow: 0 0 0 3px rgba(232, 93, 117, 0.1);
}

.qa-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.qa-char-count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: right;
  transition: color 0.3s ease;
}

.qa-char-count.qa-char-count--warn {
  color: #e8793a;
}

.qa-char-count.qa-char-count--limit {
  color: #e85d75;
}

/* ── Chrome Scrollbar Fix ── */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-2);
}

/* ── Chrome Autofill Fix ── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0px 1000px #1a1c24 inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* ── Select dropdown ── */
.qa-select {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8f9d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.qa-select option {
  background-color: #1a1c24;
  color: #f0f0f3;
  padding: 8px 12px;
  font-size: 1rem;
}

/* ── Radio buttons ── */
.qa-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.qa-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 100px;
  cursor: pointer;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
  user-select: none;
}

.qa-radio:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.qa-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.qa-radio-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
  position: relative;
  transition: all 0.25s var(--ease-out);
  flex-shrink: 0;
}

.qa-radio input[type="radio"]:checked~.qa-radio-check {
  border-color: var(--accent-1);
}

.qa-radio input[type="radio"]:checked~.qa-radio-check::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
}

.qa-radio:has(input[type="radio"]:checked) {
  border-color: rgba(245, 166, 35, 0.3);
  background: rgba(245, 166, 35, 0.06);
  color: var(--text-primary);
}

/* ── Error message ── */
.qa-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(232, 93, 117, 0.08);
  border: 1px solid rgba(232, 93, 117, 0.2);
  border-radius: var(--radius-md);
  color: #e85d75;
  font-size: var(--fs-small);
  font-weight: 500;
  animation: tabFadeIn 0.3s ease;
}

/* ── Submit button ── */
.qa-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
}

.qa-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.qa-submit-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Success state ── */
.qa-success {
  text-align: center;
  padding: 3rem 2rem;
  animation: tabFadeIn 0.5s var(--ease-out);
}

.qa-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  margin-bottom: 1.5rem;
}

.qa-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.qa-success p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Tabs navigation ─────────────────────────────── */
.tabs-nav {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  gap: 0;
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.35s var(--ease-out);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color 0.35s var(--ease-out);
}

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

.tab-btn.active {
  color: #fff;
}

.tab-btn.active svg {
  color: #fff;
}

/* ── Animated sliding indicator ── */
.tab-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--accent-gradient);
  border-radius: 100px;
  z-index: 1;
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.3);
}

.tab-indicator[data-active="answers"] {
  transform: translateX(100%);
}

/* ── Tab panels ── */
.tabs-content {
  position: relative;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  animation: none;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: tabFadeIn 0.45s var(--ease-out) forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* ── Answers container ───────────────────────────── */
.answers-container {
  position: relative;
  min-height: 300px;
}

.answers-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
  transition: opacity 0.5s ease;
}

.answers-loader p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.answers-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.answer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: answerReveal 0.5s var(--ease-out) forwards;
}

.answer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.answer-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.15);
  transform: translateY(-2px);
}

.answer-card:hover::before {
  opacity: 1;
}

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

.answer-question {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.answer-question-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--accent-1);
  margin-top: 2px;
}

.answer-question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.answer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.answer-tag {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
}

.answer-author {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-1);
  letter-spacing: 0.01em;
}

.answer-author::before {
  content: '👤 ';
}

.answer-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.answer-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.answer-badge--pending {
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent-1);
}

.answer-badge--new {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.answers-count {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.answers-count strong {
  color: var(--accent-1);
  font-weight: 700;
}

.answers-empty,
.answers-error {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  animation: tabFadeIn 0.5s var(--ease-out);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.answers-empty h3,
.answers-error h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.answers-empty p,
.answers-error p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Iframe container ─────────────────────────────── */
.iframe-container {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  overflow: hidden;
  background: var(--bg-card);
  min-height: 400px;
}

.iframe-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.iframe-loader p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-card);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.iframe-container iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  position: relative;
  z-index: 1;
}

/* ── Fallback ─────────────────────────────────────── */
.iframe-fallback {
  text-align: center;
  padding: 3rem 2rem;
}

.fallback-icon {
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.iframe-fallback h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.iframe-fallback p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.fallback-btn {
  font-size: var(--fs-small);
}

.page-auth-overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 2.5rem;
}

.page-auth-card {
  width: min(560px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.page-auth-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.page-auth-form .qa-input {
  max-width: 280px;
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials-section {
  padding: var(--section-py) 0;
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.testimonials-grid {
  columns: 3;
  column-gap: 1.25rem;
}

.testimonial-card {
  break-inside: avoid;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.12);
  transform: translateY(-2px);
}

.testimonial-stars {
  font-size: 0.875rem;
  color: var(--accent-1);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

/* ── Music section (Accordion) ────────────────────── */
.music-section {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative;
}

.music-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.music-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.music-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.music-accordion:hover {
  border-color: rgba(245, 166, 35, 0.15);
}

.music-accordion[open] {
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.2);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.0625rem;
  list-style: none;
  /* Hide default marker */
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  color: var(--accent-1);
  transition: transform 0.3s ease;
}

.music-accordion[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  animation: slideDown 0.35s var(--ease-out);
}

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

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

.music-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.suno-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease;
}

.suno-embed:hover {
  border-color: var(--accent-1);
}

.suno-embed iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: 0;
}

.music-cta {
  text-align: center;
}

.btn-sm {
  font-size: var(--fs-xs);
  padding: 0.5rem 1rem;
}

@supports (content-visibility: auto) {
  .why-section,
  .process-section,
  .form-section,
  .testimonials-section,
  .music-section,
  .tools-page-section,
  .prompts-page-section,
  .links-page-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
  }
}

/* ── Footer ───────────────────────────────────────── */

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-metrics {
    gap: 1.25rem;
  }

  .metric-divider {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 0.75rem;
  }

  .tabs-nav {
    max-width: 100%;
  }

  .tab-btn {
    padding: 0.625rem 1rem;
    font-size: var(--fs-xs);
  }

  .iframe-container iframe {
    min-height: 700px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .testimonials-grid {
    columns: 2;
  }
}

/* ── Iframe container ─────────────────────────────── */
.iframe-container {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  /* overflow: hidden; Removed to allow scrolling on mobile if needed */
  background: var(--bg-card);
  min-height: 400px;
}


@media (max-width: 480px) {

  /* ── Navbar ── */
  .nav-container {
    padding: 0 0.75rem;
  }

  .nav-logo-img {
    height: 28px;
  }

  .nav-links {
    gap: 0.15rem;
  }

  .nav-cta {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }

  /* ── Hero ── */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Tabs ── */
  .tabs-nav {
    gap: 0.25rem;
  }

  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }

  .tab-btn svg {
    width: 16px;
    height: 16px;
  }

  /* ── Trust badges ── */
  .trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  /* ── Form ── */
  .qa-form {
    padding: 1.25rem;
    gap: 1rem;
  }

  .qa-label {
    font-size: 0.85rem;
  }

  .qa-input,
  .qa-textarea,
  .qa-select {
    font-size: 1rem;
    padding: 0.65rem 0.75rem;
  }

  .qa-textarea {
    min-height: 100px;
  }

  .qa-radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .qa-radio-label {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .qa-submit {
    font-size: 0.95rem;
    padding: 0.75rem;
  }

  /* ── Answer cards ── */
  .answer-meta {
    gap: 0.5rem;
  }

  .answer-author {
    font-size: 0.9rem;
  }

  .answer-tag {
    font-size: 0.7rem;
  }

  /* ── Iframe ── */
  .iframe-container iframe {
    min-height: 1200px;
  }

  #panel-answers .iframe-container iframe {
    min-height: 600px;
  }

  /* ── Testimonials ── */
  .testimonials-grid {
    columns: 1;
  }
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .orb {
    animation: none;
  }

  .badge-dot {
    animation: none;
  }

  .scroll-line {
    animation: none;
  }

  .loader-spinner {
    animation: none;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 3px;
}

::selection {
  background: rgba(245, 166, 35, 0.3);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════
   TOOLS PAGE
   ═══════════════════════════════════════════════════ */

/* Active nav link */
.nav-cta.active {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.4);
  color: var(--accent-1);
}

/* Page section */
.tools-page-section {
  padding: 140px 0 100px;
  min-height: 100vh;
  background: var(--bg-primary);
  position: relative;
}

.tools-page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(245, 166, 35, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(217, 79, 122, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.tools-page-section .container {
  position: relative;
  z-index: 1;
}

/* Controls row */
.tools-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* Tool card */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(16px);
  animation: answerReveal 0.6s var(--ease-out) forwards;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.2);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(245, 166, 35, 0.08);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card--disabled,
.tool-card--disabled:hover {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  border-color: var(--border-card);
  cursor: not-allowed;
}

/* Card header */
.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(232, 121, 58, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--accent-1);
  flex-shrink: 0;
}

.tool-link-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-1);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease-out);
}

.tool-card:hover .tool-link-btn {
  opacity: 1;
  transform: translateX(0);
}

/* Card body */
.tool-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tool-desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tool-desc::before {
  content: '🔗';
  font-size: 0.75rem;
}

/* Loader & States */
.tools-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  gap: 1.25rem;
  color: var(--text-secondary);
}

.tools-empty,
.tools-error {
  text-align: center;
  padding: 5rem 0;
  color: var(--text-secondary);
}

.tools-empty h3,
.tools-error h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tools-empty p,
.tools-error p {
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* tools-empty .empty-icon already exists but adding specificity */
.tools-empty .empty-icon,
.tools-error .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* PDF button */
#btn-download-pdf {
  min-width: 220px;
  justify-content: center;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ── PDF print container (hidden on screen) ── */
.pdf-render-container {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 700px;
  background: #fff;
  color: #111;
  padding: 40px;
  font-family: 'Inter', sans-serif;
}

.pdf-render-container h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}

.pdf-render-container .pdf-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 24px;
}

.pdf-render-container .pdf-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.pdf-render-container .pdf-item-num {
  font-weight: 700;
  font-size: 14px;
  color: #e8793a;
  min-width: 28px;
}

.pdf-render-container .pdf-item-name {
  font-weight: 600;
  font-size: 14px;
  color: #111;
}

.pdf-render-container .pdf-item-link {
  font-size: 12px;
  color: #666;
  word-break: break-all;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .tools-page-section {
    padding: 120px 0 60px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tool-link-btn {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .tools-controls {
    flex-direction: column;
    align-items: stretch;
  }

  #btn-download-pdf {
    min-width: unset;
  }
}

/* ═══════════════════════════════════════════════════
   PROMPTS SECTION
   ═══════════════════════════════════════════════════ */

.prompts-page-section {
  padding: 80px 0 100px;
  background: var(--bg-secondary);
  position: relative;
}

.prompts-page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.prompts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Accordion item */
.prompt-accordion {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.prompt-accordion:hover {
  border-color: rgba(123, 97, 255, 0.2);
}

.prompt-accordion[open] {
  border-color: rgba(123, 97, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.prompt-accordion summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.prompt-accordion summary::-webkit-details-marker {
  display: none;
}

.prompt-accordion summary::marker {
  display: none;
  content: '';
}

.prompt-accordion summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.prompt-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7b61ff;
  background: rgba(123, 97, 255, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.prompt-summary-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.prompt-chevron {
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.prompt-accordion[open] .prompt-chevron {
  transform: rotate(180deg);
}

/* Content area */
.prompt-body {
  padding: 0 1.5rem 1.5rem;
  animation: promptSlideIn 0.3s ease;
}

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

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

.prompt-purpose {
  font-size: var(--fs-small);
  color: var(--accent-1);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.prompt-text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
}

.prompt-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: inherit;
  color: #7b61ff;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.prompt-copy-btn:hover {
  background: rgba(123, 97, 255, 0.15);
  border-color: rgba(123, 97, 255, 0.4);
}

.prompt-copy-btn.copied {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
}

/* Prompts count */
.prompts-count {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.prompts-count strong {
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════
   LINKS & ASSISTANTS SECTION
   ═══════════════════════════════════════════════════ */

.links-page-section {
  padding: 80px 0 100px;
  background: var(--bg-primary);
  position: relative;
}

.links-page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(16px);
  animation: answerReveal 0.6s var(--ease-out) forwards;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #34d399 0%, #06b6d4 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(52, 211, 153, 0.08);
}

.link-card:hover::before {
  opacity: 1;
}

.link-card--disabled,
.link-card--disabled:hover {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  border-color: var(--border-card);
  cursor: not-allowed;
}

.link-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.link-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #34d399;
  flex-shrink: 0;
}

.link-card-arrow {
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s var(--ease-out);
}

.link-card:hover .link-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #34d399;
}

.link-card-purpose {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.link-card-url {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.link-card-url::before {
  content: '🌐';
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

  .link-card-arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ═══════════════════════════════════════════════════
   DOWNLOADS / POBIERALNIA SECTION
   ═══════════════════════════════════════════════════ */

.downloads-page-section {
  padding: 80px 0 100px;
  background: var(--bg-secondary);
  position: relative;
}

.downloads-page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.file-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.35s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.file-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.file-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(6, 182, 212, 0.08);
}

.file-card:hover::before {
  opacity: 1;
}

.file-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.file-icon--pdf {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.file-icon--doc {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.file-icon--img {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.file-icon--zip {
  background: rgba(245, 166, 35, 0.12);
  color: var(--accent-1);
}

.file-icon--default {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.file-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.file-desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.file-download-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.file-card:hover .file-download-icon {
  color: #06b6d4;
  transform: translateY(2px);
}

.downloads-count {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.downloads-count strong {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }
}

.monitor-page-section {
  padding: clamp(6rem, 10vw, 7.5rem) 0 5rem;
}

.monitor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.monitor-status {
  color: var(--text-secondary);
  font-size: var(--fs-small);
}

.monitor-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.monitor-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.monitor-stat {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.monitor-stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.monitor-stat-value {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-weight: 700;
}

.monitor-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.monitor-breakdown h3 {
  color: var(--text-primary);
  font-size: var(--fs-small);
  margin: 0 0 0.5rem;
}

.monitor-breakdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.monitor-breakdown li {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  margin-bottom: 0.3rem;
}

.monitor-table-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.monitor-table {
  width: 100%;
  border-collapse: collapse;
}

.monitor-table th,
.monitor-table td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  font-size: 0.88rem;
}

.monitor-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-weight: 600;
}

.monitor-table td {
  color: var(--text-secondary);
}

.monitor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}

.monitor-pill--error {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.monitor-pill--warn {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.monitor-pill--info {
  background: rgba(14, 165, 233, 0.2);
  color: #7dd3fc;
}

.monitor-pill--debug {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
}

@media (max-width: 900px) {
  .monitor-breakdown {
    grid-template-columns: 1fr;
  }

  .monitor-table-wrap {
    overflow-x: auto;
  }

  .monitor-table {
    min-width: 760px;
  }
}
