/* ============================================================
   PREVIEW CHANNEL — Global Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

/* ── Tokens ── */
:root {
  --bg-primary: #030303;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-hover: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --accent: #ff4d00;
  --accent-bright: #ff6a1a;
  --accent-glow: rgba(255, 77, 0, 0.2);

  --orange-grad: linear-gradient(135deg, #ff4d00, #ff7300);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);

  --radius-lg: 16px;
  --radius-xl: 32px;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);

  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  --glass: blur(16px) saturate(160%);
}

[data-theme="light"] {
  --bg-primary: #f0f2f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f5f5f5;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.18);
  --text-primary: #0f0f0f;
  --text-secondary: #404040;
  --text-muted: #737373;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  /* Disable blue overlay */
  font-family: var(--font-body);
}

a,
button,
img {
  -webkit-tap-highlight-color: transparent;
  /* Ensure no overlay on interactive elements */
}

a:active,
button:active {
  outline: none;
  /* Prevent active outline */
  background: none;
  /* Remove background changes */
}


/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Layout Utilities ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 160px 0;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Creative Animated Button (Uiverse style) */
.btn-creative {
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  border: none;
  cursor: pointer;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--clr, var(--accent));
  color: #fff;
  border-radius: 10rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  padding-left: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.3s;
  font-family: 'Inter', sans-serif;
  margin-top: 1.5rem;
}

.btn-creative__icon-wrapper {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  position: relative;
  color: var(--clr, var(--accent));
  background-color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.btn-creative:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 -18px 25px -10px crimson;
}

.btn-creative:hover .btn-creative__icon-wrapper {
  color: #000;
}

.btn-creative__icon-svg--copy {
  position: absolute;
  transform: translate(-150%, 150%);
}

.btn-creative:hover .btn-creative__icon-svg:first-child {
  transition: transform 0.3s ease-in-out;
  transform: translate(150%, -150%);
}

.btn-creative:hover .btn-creative__icon-svg--copy {
  transition: transform 0.3s ease-in-out 0.1s;
  transform: translate(0);
}

/* Navbar Start Button */
.btn-nav-start {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.55rem;
  padding-inline: 1.25rem;
  background-color: var(--accent);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 8px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.3);
  outline: none;
  overflow: hidden;
  font-size: 0.95rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-nav-start-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease-in-out;
}

.btn-nav-start:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-nav-start:hover .btn-nav-start-icon {
  transform: translate(4px);
}

.btn-nav-start:hover::before {
  animation: btn-nav-start-shine 1.5s ease-out infinite;
}

.btn-nav-start::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes btn-nav-start-shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-text {
  background: var(--orange-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ── Tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-hover);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a2a4a;
}

/* ── Glow Orbs (decorative) ── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.35;
}

/* ── Section labels ── */
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
  background: rgba(255, 77, 0, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  display: inline-block;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ── Icon containers ── */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ── Chip / pill ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 600px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 15px 28px;
    font-size: 0.95rem;
  }
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 50px rgba(255, 78, 78, 0.5);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* stagger helpers */
.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.25s;
  opacity: 0;
}

.delay-3 {
  animation-delay: 0.4s;
  opacity: 0;
}

.delay-4 {
  animation-delay: 0.55s;
  opacity: 0;
}

/* ── SEO Content & Prose ── */
.seo-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.prose {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose h2 {
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 24px;
  font-size: 2rem;
}

.prose h3 {
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.prose p {
  margin-bottom: 24px;
}

.prose ul, .prose ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(255, 77, 0, 0.3);
  text-underline-offset: 4px;
  transition: all 0.2s;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

.prose blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  background: var(--bg-hover);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ── FAQ Accordion ── */
.faq-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 24px;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.62rem;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Internal Links Section ── */
.internal-links {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  display: block;
}

.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: var(--bg-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.link-card h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.link-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── scroll-margin for fixed nav ── */
section[id] {
  scroll-margin-top: 90px;
}

/* ── Device Tabs (segmented control) ── */
.device-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
}

.device-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
}

.device-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.device-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.35);
}

/* ── Live Badge ── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50% { opacity: 0.6; transform: scale(0.8); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* ── Upload State Animation ── */
.upload-state-wrapper {
  position: relative;
  border: 2px dashed rgba(255, 77, 0, 0.25);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  background: rgba(255, 77, 0, 0.03);
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.upload-state-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,77,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.upload-state-wrapper:hover {
  border-color: rgba(255, 77, 0, 0.5);
  background: rgba(255, 77, 0, 0.06);
}

.upload-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  animation: upload-float 3s ease-in-out infinite;
}

@keyframes upload-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.upload-state-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.upload-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
}

.upload-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.upload-checklist li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ── Examples Grid ── */
.examples-section {
  padding: 120px 0;
  background: transparent;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .examples-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .examples-grid { grid-template-columns: 1fr; }
}

.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.example-card:hover {
  border-color: rgba(255, 77, 0, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.example-banner-preview {
  width: 100%;
  aspect-ratio: 16 / 4.5;
  position: relative;
  overflow: hidden;
}

.example-banner-preview .safe-zone-overlay {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 60.4%;
  transform: translateX(-50%);
  border-left: 1px dashed rgba(255, 255, 255, 0.25);
  border-right: 1px dashed rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.example-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.example-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.example-card-body h4 {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.example-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.example-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  transition: gap 0.2s ease;
}

.example-card:hover .example-cta {
  gap: 10px;
}

/* ── Before / After Toggle ── */
.before-after-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.before-after-container {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  cursor: col-resize;
  user-select: none;
}

.ba-panel {
  width: 100%;
  aspect-ratio: 16 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}

.ba-original {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ba-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s linear;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 10;
  transition: left 0.1s linear;
}

.ba-divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
  color: #111;
}

.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ba-label-original {
  left: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.7);
}

.ba-label-preview {
  right: 16px;
  background: var(--accent);
  color: #fff;
}

/* ── SEO Content Section on Homepage ── */
.homepage-seo-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.homepage-seo-section .prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.seo-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .seo-tools-grid { grid-template-columns: 1fr; }
}

.seo-tool-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.seo-tool-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.seo-tool-link:hover {
  border-color: rgba(255, 77, 0, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.seo-tool-link:hover::before {
  opacity: 1;
}

.seo-tool-link-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}

.seo-tool-link:hover .seo-tool-link-icon {
  background: var(--accent);
  transform: scale(1.05);
}

.seo-tool-link-text strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
  text-decoration: none !important;
}

.seo-tool-link-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
  text-decoration: none !important;
}

/* ── Mobile-specific fixes ── */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .hero-mockup {
    display: none;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-ctas .btn-creative {
    width: 100%;
    justify-content: center;
  }

  .upload-state-wrapper {
    padding: 28px 20px;
  }

  .examples-section {
    padding: 72px 0;
  }

  .homepage-seo-section {
    padding: 72px 0;
  }

  .before-after-section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .device-tabs {
    width: 100%;
  }

  .device-tab {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.77rem;
  }
}

/* ── Redesigned Footer ── */
.footer-redesign {
    padding: 80px 40px 40px; /* Reduced vertical padding by ~30% */
    background: radial-gradient(120% 120% at 50% 0%, rgba(249, 115, 22, 0.04) 0%, transparent 60%), #050505;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle gradient border at the top of footer */
.footer-redesign::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.8;
}

/* Glassmorphism Card around CTA */
.footer-cta-card {
    max-width: 1200px;
    margin: 0 auto 64px;
    background: rgba(255, 77, 0, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 77, 0, 0.15);
    border-radius: 24px;
    padding: 40px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    overflow: hidden;
}

/* CTA Card orange glow accents */
.footer-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.footer-cta-content {
    max-width: 650px;
    text-align: left;
}

.footer-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 12px;
}

.footer-cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-cta-btn.primary {
    background: linear-gradient(135deg, #ff4d00, #ff7300);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.3);
}

.footer-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 77, 0, 0.45);
    background: linear-gradient(135deg, #ff5c14, #ff8014);
}

.footer-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Middle Footer - 4 Columns */
.footer-grid-container {
    max-width: 1200px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-brand {
    text-decoration: none;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 24px;
    text-align: left;
}

/* Trust badges under brand */
.footer-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.badge-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Links Columns */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Trust Strip */
.footer-trust-strip {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    opacity: 0.8;
}

/* Bottom Bar */
.footer-bottom-bar {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Social Buttons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.social-btn:hover {
    background: rgba(255, 77, 0, 0.08);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(255, 77, 0, 0.3);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* Mobile Stacking and Responsiveness */
@media (max-width: 900px) {
    .footer-redesign {
        padding: 60px 24px 32px;
    }
    
    .footer-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        gap: 24px;
    }
    
    .footer-cta-content {
        text-align: center;
    }
    
    .footer-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    
    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .brand-col {
        grid-column: span 1;
    }
    
    .footer-trust-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .footer-socials {
        order: -1; /* Display socials above copyright/legal links on mobile */
    }
}

/* ==========================================================================
   GLOBAL HEADER NAVIGATION STYLES
   ========================================================================== */
#main-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1300px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 100px;
    box-shadow: none;
    transition: background 0.5s ease, border-color 0.5s ease,
        box-shadow 0.5s ease, top 0.5s ease,
        backdrop-filter 0.5s ease;
}

#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    top: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--orange-grad);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.4);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .nav-links {
        position: static;
        transform: none;
        margin: 0 auto;
        gap: 10px;
    }
    .nav-links a {
        padding: 5px 10px;
        font-size: 0.82rem;
    }
    .nav-logo img {
        height: 26px !important;
    }
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

button.nav-hamburger {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.nav-cta .btn {
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.nav-cta .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.nav-cta .btn-primary {
    background: linear-gradient(135deg, #ff4d00, #ff7300);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.4);
}

.nav-cta .btn-primary:hover {
    background: linear-gradient(135deg, #ff6520, #ff8c20);
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.5);
}

/* ── HAMBURGER (mobile) ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.25s;
    flex-shrink: 0;
    z-index: 10;
}

.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
}

.nav-hamburger span:nth-child(1) {
    transform-origin: center;
}
.nav-hamburger span:nth-child(2) {
    transform-origin: center;
}
.nav-hamburger span:nth-child(3) {
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-only-btn {
    display: none !important;
}

@media (max-width: 768px) {
    #main-nav {
        top: 12px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        transform: none;
        padding: 12px 18px;
        border-radius: 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 0;
        background: rgba(15, 15, 15, 0.4);
        backdrop-filter: blur(32px) saturate(180%);
        -webkit-backdrop-filter: blur(32px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        padding: 12px 8px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        z-index: 999;
        transform: translateY(-10px);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    #main-nav.scrolled .nav-links {
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-links.open {
        display: flex !important;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85);
        transition: background 0.2s, color 0.2s;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .nav-cta .btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .nav-cta .desktop-only-btn {
        display: none !important;
    }

    .mobile-only-btn {
        display: flex !important;
        margin-top: 12px;
        margin-inline: 8px;
        width: calc(100% - 16px);
        justify-content: center;
    }

    .nav-hamburger {
        display: flex;
    }
}

/* ============================================================
   EXPLORE TOOLS SECTION Styles
   ============================================================ */

.btn-creative-secondary {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    color: #fff;
    border-radius: 10rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-family: 'Inter', sans-serif;
    margin-top: 1.5rem;
    margin-left: 1rem;
}

.btn-creative-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 77, 0, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .btn-creative-secondary {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

.tools-section {
    position: relative;
    padding: 140px 0;
    background: transparent;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Background Grids, Texture and Glows */
.tools-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
    pointer-events: none;
    z-index: 1;
}

.tools-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.06) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.tools-noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.012;
    pointer-events: none;
    z-index: 1;
}

.tools-section .container {
    position: relative;
    z-index: 2;
}

/* Header styling */
.tools-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.tools-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 77, 0, 0.1);
    border: 1px solid rgba(255, 77, 0, 0.2);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 20px;
}

.tools-main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
}

.tools-sub-title {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Grid Layout */
.tools-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.tools-cards-grid .tool-card {
    grid-column: span 2;
}

.tools-cards-grid .tool-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.tools-cards-grid .tool-card:nth-child(5) {
    grid-column: 4 / span 2;
}

/* Card Design */
.tool-card {
    position: relative;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 77, 0, 0.3);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
                0 0 35px rgba(255, 77, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tool-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.tool-icon-wrapper {
    width: 44px;
    height: 44px;
    background: rgba(255, 77, 0, 0.1);
    border: 1px solid rgba(255, 77, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover .tool-icon-wrapper {
    background: var(--accent);
    color: #fff;
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
}

.tool-svg-icon {
    width: 22px;
    height: 22px;
}

.tool-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* Card Visual Mockups */
.tool-card-visual {
    height: 100px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover .tool-card-visual {
    border-color: rgba(255, 77, 0, 0.15);
    background: rgba(0, 0, 0, 0.5);
}

/* Banner Visual Mockup */
.banner-visual {
    padding: 12px;
}

.mini-browser-chrome {
    position: absolute;
    top: 6px;
    left: 10px;
    display: flex;
    gap: 4px;
}

.chrome-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mini-banner-container {
    width: 100%;
    height: calc(100% - 8px);
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    background: #0f0f15;
}

.mini-tv-area {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(255, 115, 0, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-desktop-area {
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-mobile-safe-area {
    width: 40%;
    height: 100%;
    border-left: 1px dashed rgba(255, 77, 0, 0.3);
    border-right: 1px dashed rgba(255, 77, 0, 0.3);
    background: rgba(255, 77, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-mobile-safe-area span {
    font-size: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.02em;
    transform: scale(0.85);
}

/* Thumbnail Visual Mockup */
.thumbnail-visual {
    padding: 12px;
}

.mini-thumbnail-box {
    width: 110px;
    background: #0f0f0f;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.mini-thumbnail-gradient {
    aspect-ratio: 16/9;
    width: 100%;
    background: linear-gradient(135deg, #180905 0%, #2f120a 50%, #0d0402 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-play-icon {
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0.65;
    transition: all 0.3s ease;
}

.tool-card:hover .mini-play-icon {
    opacity: 1;
    transform: scale(1.2);
}

.mini-time-badge {
    position: absolute;
    bottom: 3px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.55rem;
    padding: 0.5px 3px;
    border-radius: 3px;
    font-family: monospace;
}

.mini-thumb-meta-simulation {
    padding: 6px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.sim-avatar {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.sim-text-group {
    flex-grow: 1;
}

.sim-title-line {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 2px;
}

.sim-title-line.short {
    width: 60%;
    margin-bottom: 0;
}

/* Profile Picture Visual Mockup */
.pfp-visual {
    padding: 12px;
}

.mini-pfp-crop-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 14px;
    width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mini-avatar-guide {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.2), rgba(0,0,0,0));
    border: 1px dashed rgba(255, 77, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-circle-cutoff {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mini-profile-initial {
    font-size: 0.65rem;
    color: #fff;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

.mini-comment-bubble-simulation {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comment-avatar {
    display: none;
}

.comment-user {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}

.comment-msg {
    height: 3px;
    width: 80%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

/* Title Visual Mockup */
.title-visual {
    padding: 12px;
}

.mini-title-editor-widget {
    width: 170px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.title-simulation-row {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
}

.char-count-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-char-count {
    font-size: 0.52rem;
    color: var(--accent);
    font-weight: 700;
    background: rgba(255, 77, 0, 0.1);
    padding: 1px 4px;
    border-radius: 3px;
}

.truncation-warning {
    font-size: 0.5rem;
    color: #ff3b30;
    font-weight: 600;
}

/* Card Description */
.tool-card-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Features List inside Card */
.tool-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
}

.tool-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.feature-check-icon {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}

/* CTA Button */
.btn-tool-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
}

.tool-card:hover .btn-tool-cta {
    background: linear-gradient(135deg, #ff4d00, #ff7300);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.35);
    transform: translateY(-1px);
}

.btn-tool-cta:hover {
    filter: brightness(1.1);
}

/* Bottom CTA section */
.tools-bottom-cta {
    position: relative;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 56px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.tools-bottom-cta-glow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    background: radial-gradient(ellipse, rgba(255, 77, 0, 0.12) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

.tools-bottom-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.tools-bottom-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-inline: auto;
}

.btn-creative-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff4d00, #ff7300);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 77, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-creative-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 77, 0, 0.5);
    background: linear-gradient(135deg, #ff6520, #ff8c20);
}

.editor-arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-creative-primary:hover .editor-arrow-icon {
    transform: translateX(4px);
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .tools-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    .tools-cards-grid .tool-card {
        grid-column: span 2;
    }
    .tools-cards-grid .tool-card:nth-child(4) {
        grid-column: auto / span 2;
    }
    .tools-cards-grid .tool-card:nth-child(5) {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 600px) {
    .tools-section {
        padding: 80px 0;
    }

    .tools-header {
        margin-bottom: 48px;
    }

    .tools-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tools-cards-grid .tool-card {
        grid-column: auto !important;
    }

    .tools-bottom-cta {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .tools-bottom-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   GLOBAL HEADER NAVIGATION STYLING
   ========================================================================== */
#main-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1300px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 100px;
    box-shadow: none;
    transition: background 0.5s ease, border-color 0.5s ease,
        box-shadow 0.5s ease, top 0.5s ease,
        backdrop-filter 0.5s ease;
}

#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    top: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--orange-grad);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.4);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .nav-links {
        position: static;
        transform: none;
        margin: 0 auto;
        gap: 10px;
    }

    .nav-links a {
        padding: 5px 10px;
        font-size: 0.82rem;
    }

    .nav-logo img {
        height: 26px !important;
    }
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

button.nav-hamburger {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.nav-cta .btn {
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-cta .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.nav-cta .btn-primary {
    background: linear-gradient(135deg, #ff4d00, #ff7300);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 77, 0, 0.4);
}

.nav-cta .btn-primary:hover {
    background: linear-gradient(135deg, #ff6520, #ff8c20);
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.5);
}

/* ── HAMBURGER (mobile) ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.25s;
    flex-shrink: 0;
    z-index: 10;
}

.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU PANEL ── */
.nav-mobile-menu {
    display: none;
}

.mobile-only-btn {
    display: none !important;
}

@media (max-width: 768px) {
    #main-nav {
        top: 12px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        transform: none;
        padding: 12px 18px;
        border-radius: 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 0;
        background: rgba(15, 15, 15, 0.4);
        backdrop-filter: blur(32px) saturate(180%);
        -webkit-backdrop-filter: blur(32px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        padding: 12px 8px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        z-index: 999;
        transform: translateY(-10px);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    #main-nav.scrolled .nav-links {
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-links.open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85);
        transition: background 0.2s, color 0.2s;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .nav-cta .btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .nav-cta .desktop-only-btn {
        display: none !important;
    }

    .mobile-only-btn {
        display: flex !important;
        margin-top: 12px;
        margin-inline: 8px;
        width: calc(100% - 16px);
        justify-content: center;
    }

    .nav-hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .nav-logo-text {
        font-size: 1rem;
    }

    .nav-cta {
        gap: 8px;
    }
}

/* ============================================================
   MONETIZATION AD UNITS DESIGN SYSTEM (CLEAN & UNBOXED)
   ============================================================ */
.cp-ad-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 32px auto;
    width: 100%;
    max-width: 1100px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    position: relative;
    overflow: visible;
}

.cp-ad-wrapper:hover {
    border-color: transparent !important;
}

.cp-ad-label {
    display: none !important;
}

.cp-ad-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
}

.cp-ad-desktop-only {
    display: flex !important;
}

.cp-ad-mobile-only {
    display: none !important;
}

/* Sidebar Ad Placement (Clean, Unboxed) */
.sidebar-widget.sidebar-ad-widget,
.sidebar-ad-container {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 24px auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .cp-ad-desktop-only {
        display: none !important;
    }
    .cp-ad-mobile-only {
        display: flex !important;
    }
    .cp-ad-wrapper {
        margin: 20px auto;
        padding: 0;
        border-radius: 0 !important;
    }
}

