/* Get Reels - FastVideoSave-Inspired Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Backgrounds */
  --bg-main:      #f8fafc;
  --bg-white:     #ffffff;
  --bg-subtle:    #f1f5f9;
  --bg-card:      #ffffff;

  /* Borders */
  --border:       #e2e8f0;
  --border-light: #f1f5f9;

  /* Brand gradient */
  --grad-start:   #6366f1;
  --grad-end:     #7c3aed;
  --btn-grad:     linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
  --btn-grad-hover: linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);

  /* Text gradient (headings) */
  --text-grad:    linear-gradient(135deg, #ec4899 0%, #8b5cf6 60%, #6366f1 100%);

  /* Text */
  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;
  --text-white:     #ffffff;

  /* Accents */
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --pink-500:   #ec4899;
  --rose-500:   #f43f5e;
  --emerald-500:#10b981;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 16px -2px rgba(15,23,42,0.08), 0 2px 6px -1px rgba(15,23,42,0.04);
  --shadow-lg:  0 20px 40px -8px rgba(15,23,42,0.10), 0 8px 20px -4px rgba(15,23,42,0.06);
  --shadow-btn: 0 4px 18px rgba(99,102,241,0.35);
  --shadow-focus: 0 0 0 3px rgba(99,102,241,0.22);

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-full: 9999px;

  --transition: all 0.18s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ===== DECORATIVE BACKGROUND GLOWS ===== */
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.bg-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.bg-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.22) 0%, transparent 70%);
  top: 100px; right: -150px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-icon {
  width: 34px; height: 34px;
  background: var(--btn-grad);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(99,102,241,0.35);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.brand-name span { color: var(--indigo-500); }

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

@media (max-width: 540px) {
  .brand-logo-img {
    height: 32px;
    max-width: 140px;
  }
}

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

.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.nav-links a.active {
  background: var(--btn-grad);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99,102,241,0.3);
}

.nav-links a svg { flex-shrink: 0; }

.btn-install-pwa {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  border-radius: var(--r-full);
  color: var(--indigo-600);
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  margin-left: 0.5rem;
}
.btn-install-pwa:hover { background: var(--btn-grad); color: #fff; border-color: transparent; }

/* ===== MAIN LAYOUT ===== */
.main-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--emerald-500);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}

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

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

.hero-features-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 500;
}
.hero-features-row span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-features-row .check { color: var(--emerald-500); font-weight: 700; }

/* ===== SEARCH BOX ===== */
.search-box-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.1rem 1rem 1.1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 740px;
  margin: 0 auto;
  transition: var(--transition);
}
.search-box-wrap:focus-within {
  border-color: var(--indigo-500);
  box-shadow: var(--shadow-focus), var(--shadow-lg);
}

.search-icon {
  color: var(--text-light);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.975rem;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 500;
}
.search-input::placeholder { color: var(--text-light); font-weight: 400; }

.btn-paste {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  background: var(--btn-grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-paste:hover { background: var(--btn-grad-hover); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(99,102,241,0.45); }
.btn-paste:active { transform: translateY(0); }
.btn-paste:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.search-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-light);
}
.search-meta a { color: var(--indigo-500); font-weight: 600; transition: var(--transition); }
.search-meta a:hover { text-decoration: underline; }

/* ===== SPINNER ===== */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESULT CARD ===== */
.result-section {
  display: none;
  max-width: 740px;
  margin: 1.5rem auto 0;
  animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.result-media-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.result-thumb-wrap {
  position: relative;
  width: 160px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 9/16;
}
.result-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
}
.duration-badge {
  position: absolute;
  bottom: 6px; right: 6px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.result-info { flex: 1; min-width: 0; }
.result-info h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.result-author {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.download-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dl-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  transition: var(--transition);
}
.dl-item:hover { border-color: var(--indigo-100); background: var(--indigo-50); }

.dl-item-info { display: flex; flex-direction: column; gap: 1px; }
.dl-label { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.dl-meta  { font-size: 0.75rem; color: var(--text-muted); }

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--btn-grad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  border-radius: var(--r-full);
  box-shadow: 0 2px 10px rgba(99,102,241,0.3);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-dl:hover { background: var(--btn-grad-hover); transform: translateY(-1px); }
.btn-dl:active { transform: translateY(0); }

/* ===== STEPS SECTION ===== */
.steps-section {
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 3rem;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  position: relative;
}

.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500));
  margin-top: 26px;
  opacity: 0.35;
}

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--btn-grad);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.step-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 3rem 1.5rem 4rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.how-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}

.how-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.how-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.how-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.how-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.855rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bullet-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--indigo-50);
  border: 1.5px solid var(--indigo-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-500);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.how-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 220px;
  background: linear-gradient(145deg, #1e1b4b, #312e81, #4c1d95);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 30px 60px -10px rgba(79,70,229,0.45), 0 0 0 1px rgba(99,102,241,0.2);
  position: relative;
}
.phone-screen {
  background: linear-gradient(160deg, #4f46e5, #7c3aed, #ec4899);
  border-radius: 22px;
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
}
.phone-play-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.3);
}
.phone-play-icon svg { color: #fff; margin-left: 3px; }
.phone-dl-btn {
  padding: 0.5rem 1.25rem;
  background: #fff;
  color: var(--indigo-600);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--r-full);
  display: flex; align-items: center; gap: 0.4rem;
}
.phone-dl-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-align: center;
}

/* ===== FEATURE CARDS ===== */
.features-section {
  padding: 4rem 1.5rem;
}

.features-grid {
  max-width: 1060px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--indigo-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.dot-indigo { background: var(--indigo-500); }
.dot-violet { background: var(--violet-500); }

/* ===== WHY USE SECTION ===== */
.why-section {
  padding: 3rem 1.5rem 4rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #6366f1 100%);
  text-align: center;
}

.why-section .section-title { color: #fff; }
.why-section .section-sub   { color: rgba(255,255,255,0.75); }

.why-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #fff;
  color: var(--indigo-600);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: var(--r-full);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  margin-top: 1.5rem;
  cursor: pointer;
}
.why-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }

.why-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 4.5rem 1.5rem;
}

.faq-grid {
  max-width: 1060px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--indigo-100); }
.faq-item.open   { border-color: var(--indigo-500); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}
.faq-q:hover { color: var(--indigo-600); }

.faq-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--indigo-50);
  color: var(--indigo-500);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--indigo-500); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
}
.faq-item.open .faq-a { max-height: 200px; }

.faq-a-inner {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  margin-top: -1px;
}

/* ===== AD CONTAINERS (Hidden until AdSense approval & active ads) ===== */
.ad-container {
  display: none !important;
  margin: 1.5rem auto;
  max-width: 900px;
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 0.75rem;
  text-align: center;
  background: var(--bg-white);
}
.ad-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}
.ad-placeholder { font-size: 0.8rem; color: var(--text-light); }
.ad-slot-top { min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand-name { color: #fff; }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--text-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 9999;
  animation: slideInRight 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
}
@keyframes slideInRight {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ===== DMCA NOTE ===== */
.dmca-note {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}
.dmca-note a { color: var(--indigo-500); font-weight: 600; }

/* ===== CONTENT PAGES (about, privacy, etc.) ===== */
.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--indigo-50) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; }
.page-hero p  { font-size: 1rem; color: var(--text-muted); margin-top: 0.5rem; }

.page-body {
  max-width: 820px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.page-body h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; margin-top: 2rem; }
.page-body p  { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.page-body ul { padding-left: 1.25rem; color: var(--text-muted); font-size: 0.93rem; line-height: 1.8; margin-bottom: 1rem; }
.page-body a  { color: var(--indigo-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-title { font-size: 2rem; }

  .steps-grid { flex-direction: column; align-items: center; gap: 1.5rem; }
  .step-connector { width: 2px; height: 30px; margin: 0; }

  .how-inner { grid-template-columns: 1fr; }
  .how-visual { display: none; }

  .how-bullets { grid-template-columns: 1fr; }

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

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

  .result-media-row { flex-direction: column; }
  .result-thumb-wrap { width: 100%; aspect-ratio: 16/9; }
}

@media (max-width: 540px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
  .brand-name { font-size: 1rem; }

  .search-box-wrap { flex-wrap: wrap; border-radius: var(--r-lg); }
  .btn-paste { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .hero-features-row { gap: 0.75rem; font-size: 0.78rem; }
}

/* ===== COOKIE CONSENT BANNER (GDPR / AdSense required) ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideUpBanner 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-text {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  max-width: 700px;
  flex: 1;
  min-width: 250px;
}

.cookie-banner-text a {
  color: #a5b4fc;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 0.55rem 1.4rem;
  background: var(--btn-grad);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(99,102,241,0.4);
}
.btn-cookie-accept:hover { background: var(--btn-grad-hover); }

.btn-cookie-decline {
  padding: 0.55rem 1.1rem;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cookie-decline:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }

@media (max-width: 540px) {
  .cookie-banner { flex-direction: column; text-align: center; gap: 0.85rem; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
  .btn-cookie-accept, .btn-cookie-decline { flex: 1; }
}

/* ===================================================
   PWA & NATIVE MOBILE APP UI
   =================================================== */

/* Hide mobile bottom navigation on desktop */
.mobile-bottom-nav {
  display: none;
}
.nav-actions-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Reserve bottom spacing for sticky app navigation bar */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Make cookie banner sit above bottom app navigation bar */
  .cookie-banner {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.78rem !important;
  }

  /* Compact Top Navbar for Mobile (Clean light theme, non-sticky per request) */
  .navbar {
    position: relative !important;
    top: auto !important;
    z-index: 900;
    padding: 0.65rem 1.1rem;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  }

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

  /* Desktop links hidden on mobile, replaced by bottom bar */
  .nav-links {
    display: none !important;
  }

  .nav-actions-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .btn-mobile-share {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
  }
  .btn-mobile-share:active {
    transform: scale(0.9);
    background: rgba(99, 102, 241, 0.15) !important;
  }

  .btn-install-pwa {
    padding: 0.42rem 0.95rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--r-full) !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35) !important;
  }
  .btn-install-pwa svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  /* Native Mobile Bottom Navigation Bar (Light mode app design) */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
    align-items: center;
    justify-content: space-around;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #64748b !important;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 0 2px;
    gap: 3px;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .bottom-nav-item:active {
    transform: scale(0.92);
  }

  .bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    color: #64748b !important;
    transition: all 0.2s ease;
  }

  .bottom-nav-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #64748b !important;
    transition: color 0.2s ease;
  }

  .bottom-nav-item.active {
    color: #6366f1 !important;
  }
  .bottom-nav-item.active .bottom-nav-icon {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #6366f1 !important;
  }
  .bottom-nav-item.active .bottom-nav-label {
    color: #6366f1 !important;
    font-weight: 700 !important;
  }

  /* PWA Install tab inside bottom bar */
  .bottom-nav-install .bottom-nav-icon {
    background: linear-gradient(135deg, #6366f1, #a855f7) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35) !important;
    animation: pwaPulse 2.5s infinite;
  }
  .bottom-nav-install .bottom-nav-label {
    color: #6366f1 !important;
    font-weight: 700 !important;
  }

  @keyframes pwaPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.08); }
  }

  /* Mobile Search Form (app-like rounded pill, clean light card) */
  .search-box-wrap {
    padding: 0.45rem;
    gap: 0.4rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
  }
  .search-input {
    font-size: 0.95rem;
    padding: 0.65rem 0.5rem;
  }
  .btn-paste {
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--r-full);
  }
}

/* ===== PWA INSTALL BOTTOM SHEET (iOS & Safari Modal - Light Theme) ===== */
.pwa-bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fadeInBackdrop 0.25s ease;
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pwa-bottom-sheet {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 520px;
  padding: 1.25rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.15);
  animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
}

.pwa-bottom-sheet-backdrop.closing {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pwa-bottom-sheet-backdrop.closing .pwa-bottom-sheet {
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.pwa-sheet-handle {
  width: 38px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.pwa-sheet-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pwa-sheet-app-icon {
  width: 44px;
  height: 44px;
  background: var(--btn-grad);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

.pwa-sheet-app-info {
  flex: 1;
}

.pwa-sheet-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.pwa-sheet-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.pwa-sheet-close {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.pwa-sheet-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pwa-instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.step-num {
  width: 24px;
  height: 24px;
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-desc {
  font-size: 0.87rem;
  color: #334155;
  line-height: 1.5;
  flex: 1;
}

.pwa-sheet-done-btn {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem;
  background: var(--btn-grad);
  color: #ffffff;
  border: none;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.pwa-sheet-done-btn:active {
  transform: scale(0.98);
}

/* ===== PWA TOAST ===== */
.pwa-toast {
  position: fixed;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 1.25rem;
  border-radius: var(--r-full);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pwa-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

