/* ========== Custom Properties ========== */
:root {
  --color-bg: #292929;
  --color-bg-dark: #1a1a1a;
  --color-bg-black: #000000;
  --color-text: #ffffff;
  --color-text-muted: #b0b0b0;
  --color-accent: #e74016;
  --color-border: rgba(148, 148, 148, 0.2);
  --color-input-border: #c7c7c7;
  --font-family: 'Inter', sans-serif;
  --container-width: 1200px;
  --section-padding: 90px;
  --radius: 15px;
  --radius-lg: 38px;
}

/* ========== Reset ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========== Layout ========== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding) 0;
}

.section-divider {
  border: none;
  height: 1px;
  background-color: #ffffff;
  opacity: 0.4;
  max-width: var(--container-width);
  margin: 0 auto;
}

.accent {
  color: var(--color-accent);
}

.text-center {
  text-align: center;
}

/* ========== Header / Hero ========== */
.header {
  background-color: var(--color-bg-black);
  padding: 80px 0 60px;
  text-align: center;
}

.header__logo {
  max-width: 900px;
  margin: 0 auto 24px;
}

h1.header__tagline {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.header__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-hero {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 64px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero:hover {
  background: #c93510;
  transform: translateY(-2px);
}

/* ========== Navbar ========== */
.navbar {
  background-color: var(--color-bg-black);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.navbar__list {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0;
}

.navbar__link {
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--color-accent);
}

.navbar__burger {
  display: none;
  color: var(--color-text);
  font-size: 24px;
  padding: 15px 0;
}

/* ========== About ========== */
.about {
  background-color: var(--color-bg);
}

.about__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about__lead {
  font-size: 20px;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 48px;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.about__feature {
  text-align: center;
}

.about__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(231, 64, 22, 0.12);
  font-size: 32px;
  margin-bottom: 16px;
}

.about__feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about__feature p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about__footer {
  font-size: 16px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ========== How It Works ========== */
.howitworks {
  background-color: var(--color-bg);
}

.howitworks__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

.howitworks__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.howitworks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.howitworks__step {
  text-align: center;
}

.howitworks__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.howitworks__step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.howitworks__step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ========== Advantages ========== */
.advantages {
  background-color: var(--color-bg);
}

.advantages__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.advantages__subtitle {
  text-align: center;
  max-width: 754px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: var(--color-text);
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}

.advantages__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantages__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 4px;
}

.advantages__item-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.advantages__item-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
}

/* ========== Platform Tabs ========== */
.platform-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.platform-tab {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.platform-tab:first-child {
  border-radius: 6px 0 0 6px;
}

.platform-tab:last-child {
  border-radius: 0 6px 6px 0;
  border-left: none;
}

.platform-tab.active {
  background: var(--color-accent);
  color: #fff;
}

.platform-content {
  display: none;
}

.platform-content.active {
  display: block;
}

/* ========== Download/Buy ========== */
.download {
  background-color: var(--color-bg);
}

.download__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 40px;
  align-items: start;
}

.download__image {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.download__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
}

.download__price {
  font-size: 38px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 44px;
  color: #fff;
  background: var(--color-accent);
  border-radius: 64px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 24px;
}

.btn-primary:hover {
  background: #c93510;
  box-shadow: 0 8px 24px rgba(231, 64, 22, 0.3);
  transform: translateY(-2px);
}

.download__requirements {
  font-size: 14px;
  line-height: 2;
}

.download__requirements strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.download__requirements ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.download__requirements li {
  margin-bottom: 2px;
}

.download__note {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 2rem;
}

/* ========== FAQ ========== */
.faq {
  background-color: var(--color-bg);
}

.faq__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.faq__subtitle {
  text-align: center;
  max-width: 806px;
  margin: 0 auto 60px;
  font-size: 18px;
  font-style: italic;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-top: 1px solid var(--color-accent);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--color-accent);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: var(--color-text);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  content: '\00d7';
  font-size: 32px;
}

.faq__answer {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ========== Contact ========== */
.contact {
  background-color: var(--color-bg);
}

.contact__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.contact__subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__text {
  font-size: 22px;
  line-height: 1.7;
}

.form__group {
  margin-bottom: 16px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-accent);
  background-color: var(--color-bg);
  border: 1px solid var(--color-input-border);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-accent);
  opacity: 0.5;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-accent);
}

.form__textarea {
  min-height: 102px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  background: #c93510;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 64, 22, 0.3);
}

/* ========== Newsletter ========== */
.newsletter {
  background-color: var(--color-bg);
}

.newsletter__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.newsletter__form {
  display: flex;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-bg);
  background-color: #ffffff;
  border: none;
  border-radius: 4px;
  outline: none;
}

.newsletter__input::placeholder {
  color: #666;
}

.newsletter__btn {
  padding: 16px 32px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.newsletter__btn:hover {
  background: #c93510;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 64, 22, 0.3);
}

/* ========== Footer ========== */
.footer {
  background-color: var(--color-bg-dark);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-size: 16px;
  font-weight: 700;
}

.footer__copy {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__links a {
  font-size: 14px;
  color: var(--color-accent);
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 0.8;
}

.footer__links span {
  color: var(--color-text-muted);
  margin: 0 4px;
}

/* ========== TOS / PP Pages ========== */
.page-legal {
  background-color: #ffffff;
  color: #333333;
  min-height: 100vh;
}

.page-legal .section {
  padding: 150px 0;
}

.legal__title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #333;
}

.legal__date {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
  color: #555;
}

.legal__body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.legal__body strong {
  color: #333;
}

.legal__body ul {
  list-style: disc;
  padding-left: 24px;
  margin: 8px 0;
}

.legal__body li {
  margin-bottom: 4px;
}

.legal__body a {
  color: var(--color-accent);
  text-decoration: underline;
}

.btn-return {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: var(--color-bg-black);
  color: var(--color-text);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 100;
  transition: opacity 0.2s;
}

.btn-return:hover {
  opacity: 0.85;
}

/* ========== Thank You Page ========== */
.page-thankyou {
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.thankyou__text {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 40px;
}

.thankyou__logo {
  max-width: 150px;
}

/* ========== 404 Page ========== */
.page-404 {
  background-color: var(--color-bg);
}

.error__title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.error__subtitle {
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text-muted);
}

.error__image {
  max-width: 600px;
  margin: 0 auto 60px;
  border-radius: 20px;
}

/* ========== Honeypot (hidden from humans) ========== */
.hidden-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========== Screenshots Carousel ========== */
.screenshots {
  background-color: var(--color-bg);
}

.screenshots__title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.screenshots__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 48px;
}

.screenshots__carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshots__stage {
  position: relative;
  flex: 1;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshots__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.screenshots__slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}

.screenshots__slide img {
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(231, 64, 22, 0.15);
}

.screenshots__slide figcaption {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.3px;
}

.screenshots__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(231, 64, 22, 0.12);
  color: var(--color-accent);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.screenshots__arrow:hover {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.05);
}

.screenshots__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.screenshots__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.3s;
}

.screenshots__dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.screenshots__dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: 5px;
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  :root {
    --section-padding: 60px;
  }

  .header {
    padding: 60px 0 48px;
  }

  .header__logo {
    max-width: 600px;
  }

  .header__tagline {
    font-size: 22px;
  }

  .about__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .download__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .howitworks__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .howitworks__title {
    font-size: 32px;
  }

  .download__title {
    font-size: 48px;
  }

  .about__title {
    font-size: 32px;
  }

  .screenshots__title {
    font-size: 32px;
  }

  .screenshots__stage {
    min-height: 420px;
  }

  .screenshots__slide img {
    max-height: 440px;
  }

  .screenshots__arrow {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 45px;
  }

  .header {
    padding: 48px 0 36px;
  }

  .header__logo {
    max-width: 400px;
  }

  .header__tagline {
    font-size: 20px;
  }

  .header__subtitle {
    font-size: 14px;
  }

  .navbar__list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
  }

  .navbar__list.open {
    display: flex;
  }

  .navbar__list li {
    width: 100%;
    text-align: center;
  }

  .navbar__link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .navbar__burger {
    display: block;
    text-align: center;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .howitworks__grid {
    grid-template-columns: 1fr;
  }

  .advantages__title,
  .howitworks__title,
  .faq__title,
  .contact__title,
  .newsletter__title,
  .screenshots__title {
    font-size: 28px;
  }

  .screenshots__carousel {
    gap: 8px;
  }

  .screenshots__stage {
    min-height: 300px;
  }

  .screenshots__slide img {
    max-height: 320px;
  }

  .screenshots__slide figcaption {
    font-size: 14px;
    margin-top: 14px;
  }

  .screenshots__arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .faq__item summary {
    font-size: 16px;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__btn {
    width: 100%;
  }

  .download__title {
    font-size: 36px;
  }

  .download__price {
    font-size: 28px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact__text {
    font-size: 18px;
  }
}
