/* AutoClipper Video Downloader — landing page */

:root {
  --bg: #0b0d11;
  --bg-raise: #10131a;
  --card: #12151d;
  --border: #23262e;
  --text: #f4f7fb;
  --muted: #8a93a3;
  --lime: #bfff00;
  --cyan: #00e5ff;
  --grad: linear-gradient(120deg, var(--lime), var(--cyan));
  --radius: 18px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Atmosphere: grid + glows */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(191, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
}
.glow-lime {
  width: 480px;
  height: 480px;
  background: var(--lime);
  top: -180px;
  left: -120px;
}
.glow-cyan {
  width: 420px;
  height: 420px;
  background: var(--cyan);
  top: 160px;
  right: -160px;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--cyan);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.brand em {
  font-style: normal;
  color: var(--lime);
}

.lang-switch {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  transition: all 0.2s ease;
}
.lang-switch:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(191, 255, 0, 0.35);
  background: rgba(191, 255, 0, 0.07);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
  animation: rise 0.7s ease both;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  animation: rise 0.7s 0.08s ease both;
}
h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 18px;
  animation: rise 0.7s 0.16s ease both;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: rise 0.7s 0.24s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  padding: 16px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--grad);
  color: #0b0d11;
  box-shadow: 0 10px 34px rgba(191, 255, 0, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(191, 255, 0, 0.4);
}
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  animation: rise 0.7s 0.3s ease both;
}

/* Mock extension panel */
.mock {
  position: relative;
  animation: rise 0.8s 0.2s ease both;
}
.mock-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lime);
}
.mock-head span:last-child {
  color: var(--muted);
}
.mock-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(35, 38, 46, 0.6);
}
.mock-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  flex-shrink: 0;
}
.t1 { background: linear-gradient(135deg, #ff2e63, #ff8a00); }
.t2 { background: linear-gradient(135deg, #00e5ff, #4a00e0); }
.t3 { background: linear-gradient(135deg, #ff4500, #ffa500); }
.mock-meta {
  flex: 1;
  min-width: 0;
}
.mock-line {
  height: 9px;
  border-radius: 5px;
  background: #232833;
}
.mock-line.short {
  width: 55%;
  margin-top: 7px;
  opacity: 0.6;
}
.mock-btn {
  align-self: center;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--font-display);
  color: #0b0d11;
  background: var(--lime);
  border-radius: 8px;
  padding: 7px 13px;
  white-space: nowrap;
}
.mock-foot {
  padding: 12px 18px;
  font-size: 12px;
  color: var(--cyan);
}
.mock-fab {
  position: absolute;
  bottom: -26px;
  right: -18px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 229, 255, 0.35);
  animation: floaty 3.4s ease-in-out infinite;
}
.mock-fab svg {
  width: 30px;
  height: 30px;
}

/* Sections */
section {
  padding: 72px 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 44px;
}

/* Platforms */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.platform {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.platform:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 255, 0, 0.5);
}
.platform h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 14px 0 8px;
}
.platform p {
  font-size: 14.5px;
  color: var(--muted);
}
.platform .dot {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.platform.youtube {
  border-color: rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, rgba(191, 255, 0, 0.06), rgba(0, 229, 255, 0.06));
}
.badge-alt {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 8px;
}
.step p {
  font-size: 14.5px;
  color: var(--muted);
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 18px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Banner */
.banner {
  background: linear-gradient(120deg, rgba(191, 255, 0, 0.1), rgba(0, 229, 255, 0.1));
  border: 1px solid rgba(191, 255, 0, 0.35);
  border-radius: 24px;
  padding: 52px 40px;
  text-align: center;
}
.banner h2 {
  margin-bottom: 10px;
}
.banner p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 30px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 44px;
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 18px;
}
footer a:hover {
  color: var(--lime);
}
.foot-disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  color: #5c6470;
  max-width: 84ch;
}

/* Privacy page */
.prose {
  max-width: 760px;
  padding: 40px 0 80px;
}
.prose h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}
.prose h2 {
  font-size: 20px;
  margin: 36px 0 10px;
}
.prose p,
.prose li {
  color: var(--muted);
  font-size: 15.5px;
}
.prose ul {
  padding-left: 22px;
  margin: 10px 0;
}
.prose .updated {
  font-size: 13px;
  color: #5c6470;
  margin-bottom: 28px;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 64px;
  }
  .mock {
    max-width: 380px;
  }
  section {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
