@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --green: #18b87a;
  --green-dark: #0b9d67;
  --mint: #eafff5;
  --ink: #13251e;
  --muted: #6f7d77;
  --line: #e6eee9;
  --white: #ffffff;
  --bg: #fbfdfc;

  --shadow:
    0 18px 50px rgba(21, 61, 45, 0.10);
}

/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "DM Sans",
    Arial,
    sans-serif;
}

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

/* =========================
   NAVBAR
========================= */

.navbar {
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 1160px;
  margin: auto;

  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  font:
    800 20px
    "Plus Jakarta Sans",
    sans-serif;
}

.brand > span:last-child > span {
  color: var(--green);
}

.brand-icon {
  width: 36px;
  height: 36px;

  border-radius: 11px;

  background: var(--green);
  color: #ffffff;

  display: grid;
  place-items: center;

  font-size: 23px;
  font-weight: 700;

  box-shadow:
    0 7px 20px rgba(24, 184, 122, 0.25);
}

nav {
  display: flex;
  gap: 28px;

  color: #66736e;

  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: var(--green);
}

/* =========================
   HERO
========================= */

.hero {
  padding:
    72px
    20px
    84px;

  text-align: center;

  background:
    radial-gradient(
      circle at 20% 10%,
      #eafff4 0,
      transparent 27%
    ),
    radial-gradient(
      circle at 80% 20%,
      #e9fff6 0,
      transparent 28%
    ),
    var(--bg);
}

.pill {
  display: inline-block;

  background: #e8fff4;
  color: #0c9b64;

  border:
    1px solid
    #d2f7e6;

  border-radius: 99px;

  padding:
    8px
    14px;

  font-size: 12px;
  font-weight: 700;
}

h1 {
  font:
    800
    clamp(42px, 7vw, 76px)
    /1.04
    "Plus Jakarta Sans",
    sans-serif;

  letter-spacing: -3px;

  margin:
    22px
    0
    18px;
}

h1 span {
  color: var(--green);
}

.hero-text {
  max-width: 650px;

  margin:
    0
    auto
    34px;

  color: var(--muted);

  font-size: 17px;
  line-height: 1.7;
}

/* =========================
   DOWNLOAD CARD
========================= */

.download-card {
  max-width: 760px;
  margin: auto;

  background: #ffffff;

  border:
    1px solid
    var(--line);

  border-radius: 22px;

  padding: 14px;

  box-shadow: var(--shadow);
}

.input-wrap {
  display: flex;
  align-items: center;

  border:
    1px solid
    #dfe9e4;

  border-radius: 14px;

  padding:
    0
    8px
    0
    14px;

  height: 60px;

  background: #fcfefd;
}

.link-icon {
  font-size: 18px;
  margin-right: 9px;
}

input {
  flex: 1;
  min-width: 0;

  border: 0;
  outline: 0;

  background: transparent;

  font:
    500 15px
    "DM Sans";

  color: var(--ink);
}

input::placeholder {
  color: #a4afa9;
}

.paste-btn {
  border: 0;

  background: #f0f6f3;
  color: #53635c;

  border-radius: 9px;

  padding:
    9px
    13px;

  font-weight: 700;

  cursor: pointer;
}

/* =========================
   DOWNLOAD BUTTON
========================= */

.download-btn,
.save-btn {
  width: 100%;
  height: 54px;

  margin-top: 10px;

  border: 0;
  border-radius: 13px;

  background: var(--green);
  color: #ffffff;

  font:
    700 15px
    "DM Sans";

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;

  box-shadow:
    0 10px 24px
    rgba(24, 184, 122, 0.20);
}

.download-btn:hover,
.save-btn:hover {
  background: var(--green-dark);

  transform: translateY(-1px);
}

.download-btn:active,
.save-btn:active {
  transform: translateY(0);
}

.download-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.notice {
  font-size: 11px;

  color: #929e99;

  margin:
    11px
    0
    2px;
}

/* =========================
   LOADING
========================= */

.spinner {
  width: 17px;
  height: 17px;

  border:
    2px solid
    rgba(255, 255, 255, 0.45);

  border-top-color: #ffffff;

  border-radius: 50%;

  animation:
    spin
    0.7s
    linear
    infinite;
}

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

.hidden {
  display: none !important;
}

/* =========================
   MESSAGE
========================= */

.message {
  max-width: 760px;

  margin:
    15px
    auto
    0;

  padding:
    13px
    16px;

  border-radius: 12px;

  font-size: 13px;
}

.message.error {
  background: #fff0f0;
  color: #b43c3c;

  border:
    1px solid
    #ffd6d6;
}

.message.info {
  background: #effaf5;
  color: #16865d;

  border:
    1px solid
    #d6f3e5;
}

/* =========================
   RESULT
========================= */

.result-card {
  max-width: 760px;

  margin:
    18px
    auto
    0;

  background: #ffffff;

  border:
    1px solid
    var(--line);

  border-radius: 20px;

  padding: 16px;

  text-align: left;

  box-shadow: var(--shadow);
}

.result-top {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-bottom: 12px;
}

.success-dot {
  display: inline-grid;
  place-items: center;

  width: 25px;
  height: 25px;

  background: #e8fff4;
  color: #0a9c65;

  border-radius: 50%;

  margin-right: 7px;
}

.creator {
  font-size: 12px;
  color: var(--muted);
}

/* =========================
   VIDEO PREVIEW
========================= */

.video-preview {
  width: 100%;

  max-height: 620px;

  aspect-ratio: 9 / 16;

  object-fit: contain;

  border-radius: 14px;

  background: #101614;

  display: block;

  margin: auto;
}

/* =========================
   DOWNLOAD ACTIONS
========================= */

.download-actions {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 10px;

  margin-top: 12px;
}

.download-actions .save-btn,
.download-actions .mp3-btn {
  margin-top: 0;
}

/* =========================
   VIDEO DOWNLOAD
========================= */

.save-btn {
  text-align: center;
}

/* =========================
   MP3 DOWNLOAD
========================= */

.mp3-btn {
  width: 100%;
  height: 54px;

  border-radius: 13px;

  background: #ffffff;

  color: var(--ink);

  border:
    1px solid
    var(--line);

  font:
    700 15px
    "DM Sans";

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    0.2s;
}

.mp3-btn:hover {
  border-color: var(--green);
  color: var(--green);

  transform: translateY(-1px);
}

/* =========================
   SECTIONS
========================= */

.section {
  max-width: 1120px;

  margin: auto;

  padding:
    90px
    24px;
}

.section.soft {
  max-width: none;

  background: #f1fbf6;
}

.section.soft > .section-heading,
.section.soft > .steps {
  max-width: 1120px;

  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  text-align: center;

  max-width: 700px;

  margin:
    0
    auto
    44px;
}

.eyebrow {
  color: var(--green);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 2px;
}

h2 {
  font:
    800
    clamp(30px, 4vw, 44px)
    /1.15
    "Plus Jakarta Sans";

  letter-spacing: -1.5px;

  margin:
    10px
    0;
}

.section-heading p {
  color: var(--muted);

  line-height: 1.7;
}

/* =========================
   FEATURES
========================= */

.feature-grid,
.steps {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.feature,
.step {
  background: #ffffff;

  border:
    1px solid
    var(--line);

  border-radius: 20px;

  padding: 28px;
}

.feature-icon {
  font-size: 28px;

  margin-bottom: 25px;
}

.feature h3,
.step h3 {
  margin:
    0
    0
    8px;

  font:
    700 19px
    "Plus Jakarta Sans";
}

.feature p,
.step p {
  margin: 0;

  color: var(--muted);

  line-height: 1.65;

  font-size: 14px;
}

.step b {
  color: var(--green);

  font:
    800 12px
    "Plus Jakarta Sans";

  letter-spacing: 1px;
}

.step h3 {
  margin-top: 28px;
}

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

.faq-list {
  max-width: 800px;

  margin: auto;
}

details {
  border-bottom:
    1px solid
    var(--line);

  padding:
    20px
    4px;
}

summary {
  cursor: pointer;

  font-weight: 700;

  font-size: 15px;
}

details p {
  color: var(--muted);

  line-height: 1.7;

  font-size: 14px;

  margin:
    13px
    0
    0;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #10231c;

  color: #d9e8e1;

  padding:
    42px
    24px
    24px;
}

.footer-inner {
  max-width: 1120px;

  margin: auto;

  display: flex;

  align-items: center;

  gap: 24px;

  flex-wrap: wrap;
}

.footer-brand {
  color: #ffffff;
}

footer .brand > span:last-child > span {
  color: #55dca7;
}

footer p {
  font-size: 13px;

  color: #9bb0a7;
}

.footer-links {
  margin-left: auto;

  display: flex;

  gap: 18px;

  font-size: 13px;
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  text-align: center;

  margin:
    32px
    0
    0;

  padding-top: 20px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.1);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .navbar {
    height: 68px;

    padding:
      0
      16px;
  }

  nav {
    display: none;
  }

  .hero {
    padding:
      55px
      15px
      65px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .hero-text {
    font-size: 15px;
  }

  .download-card {
    padding: 10px;

    border-radius: 18px;
  }

  .input-wrap {
    height: 56px;
  }

  .paste-btn {
    display: none;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding:
      65px
      16px;
  }

  .result-card {
    padding: 12px;
  }

  .video-preview {
    max-height: 540px;
  }

  .download-actions {
    grid-template-columns: 1fr;
  }

  .footer-links {
    margin-left: 0;

    width: 100%;
  }
}