/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #0b0f19;
  color: #c8cde0;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 0;
  font-size: 16px !important;
}

a {
  color: #f56a0d;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

a:hover {
  color: #ff9f43;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

pre {
  tab-size: 8;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.premium-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.premium-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.premium-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  text-decoration: none;
}

.premium-navbar-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.premium-nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.premium-nav-links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: #8b93a8;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s;
  text-decoration: none;
}

.premium-nav-links a:hover,
.premium-nav-links a.active {
  color: #ffffff;
  background: rgba(245, 106, 13, 0.12);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ===== Page Content ===== */
.page-content {
  padding-top: 80px;
  padding-bottom: 60px;
}

/* ===== Section ===== */
.premium-section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #f56a0d, #ff9f43);
  border-radius: 2px;
}

.premium-section p {
  font-size: 0.95rem;
  color: #8b93a8;
  margin-bottom: 14px;
  line-height: 1.75;
}

.premium-section p a {
  color: #f56a0d;
  font-weight: 500;
}

.premium-section p a:hover {
  color: #ff9f43;
}

/* ===== Cards ===== */
.premium-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.premium-card:hover {
  border-color: rgba(245, 106, 13, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Highlight text ===== */
.text-accent {
  color: #f56a0d;
  font-weight: 600;
}

.text-highlight {
  color: #e74c3c;
  font-weight: 600;
}

/* ===== Payment Method Cards ===== */
.pay-method {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
}

.pay-method:hover {
  border-color: rgba(245, 106, 13, 0.2);
}

.pay-method-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f56a0d;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-method-title .material-icons {
  font-size: 1.2rem;
}

.pay-method p {
  font-size: 0.9rem;
  color: #8b93a8;
  margin-bottom: 6px;
}

.pay-method a {
  color: #0099d8;
}

.pay-method a:hover {
  color: #33b5e5;
}

/* ===== Instruction Steps ===== */
.step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #f56a0d, #e05500);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-text {
  font-size: 0.95rem;
  color: #8b93a8;
  line-height: 1.7;
}

.step-text a {
  color: #f56a0d;
}

/* ===== Images / Screenshots ===== */
.screenshot-link {
  display: inline-block;
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s, transform 0.3s;
}

.screenshot-link:hover {
  border-color: rgba(245, 106, 13, 0.3);
  transform: translateY(-2px);
}

.screenshot-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== CTA Link ===== */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c0c8e0;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 8px 4px 8px 0;
  transition: all 0.3s;
}

.cta-link:hover {
  background: rgba(245, 106, 13, 0.08);
  border-color: rgba(245, 106, 13, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1em;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox:target {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox span {
  display: block;
  width: 100%;
  max-width: 800px;
  height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* ===== Form Styles ===== */
.form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0;
  margin: 0;
  max-width: 100%;
  box-shadow: none;
  transition: border-color 0.3s;
}

.form-card:hover,
.form-card:focus,
.form-card:focus-within {
  border-color: rgba(245, 106, 13, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.form-fieldset {
  padding: 28px;
  border: 0;
}

.form-fieldset + .form-fieldset {
  margin-top: 12px;
}

.form-radio-legend {
  margin: 0 0 6px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #c0c8e0;
}

label {
  font-weight: 400 !important;
  color: #8b93a8;
}

/* Radio & Checkbox */
.form-checkbox,
.form-radio {
  position: relative;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: normal !important;
  text-align: left;
}

.form-checkbox-label,
.form-radio-label {
  position: relative;
  cursor: pointer;
  padding-left: 1.5rem;
  text-align: left;
  color: #8b93a8;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-checkbox-label:hover i,
.form-radio-label:hover i {
  color: #f56a0d;
}

.form-checkbox-label input,
.form-radio-label input {
  width: auto;
  opacity: 0.0001;
  position: absolute;
  left: 0.25rem;
  top: 0.25rem;
  margin: 0;
  padding: 0;
}

.form-radio-button {
  position: absolute;
  left: 0;
  cursor: pointer;
  display: block;
  user-select: none;
  color: #555;
}

.form-radio-button::before,
.form-radio-button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  margin-left: -0.5rem !important;
  margin: 0.25rem;
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.28s ease, color 0.28s ease;
  border-radius: 50%;
  border: 0.125rem solid currentColor;
  will-change: transform, color;
}

.form-radio-button::after {
  transform: scale(0);
  background-color: #f56a0d;
  border-color: #f56a0d;
}

.form-radio-field:checked ~ .form-radio-button::after {
  transform: scale(0.5);
}

.form-radio-field:checked ~ .form-radio-button::before {
  color: #f56a0d;
}

.form-checkbox-button {
  position: absolute;
  user-select: none;
  display: block;
  color: #555;
  left: 0;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  z-index: 0;
  border: 0.125rem solid currentColor;
  border-radius: 0.0625rem;
  transition: color 0.28s ease;
}

.form-checkbox-button::before,
.form-checkbox-button::after {
  position: absolute;
  height: 0;
  width: 0.2rem;
  background-color: #f56a0d;
  display: block;
  transform-origin: left top;
  border-radius: 0.25rem;
  content: "";
  transition: opacity 0.28s ease, height 0s linear 0.28s;
  opacity: 0;
}

.form-checkbox-button::before {
  top: 0.65rem;
  left: 0.38rem;
  transform: rotate(-135deg);
  box-shadow: 0 0 0 0.0625rem transparent;
}

.form-checkbox-button::after {
  top: 0.3rem;
  left: 0;
  transform: rotate(-45deg);
}

.form-checkbox-field:checked ~ .form-checkbox-button {
  color: #f56a0d;
}

.form-checkbox-field:checked ~ .form-checkbox-button::after,
.form-checkbox-field:checked ~ .form-checkbox-button::before {
  opacity: 1;
  transition: height 0.28s ease;
}

.form-checkbox-field:checked ~ .form-checkbox-button::after {
  height: 0.5rem;
}

.form-checkbox-field:checked ~ .form-checkbox-button::before {
  height: 1.2rem;
  transition-delay: 0.28s;
}

/* Text inputs & textareas */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(245, 106, 13, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 106, 13, 0.1);
}

textarea {
  min-height: 80px;
  resize: vertical;
}

select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Form actions */
.form-actions {
  padding: 0 28px 28px;
  display: flex;
}

/* Submit button */
.form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f56a0d, #e05500);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 106, 13, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 0;
}

.form-btn::before,
.form-btn::after {
  display: none;
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 106, 13, 0.4);
}

.form-btn:active {
  transform: translateY(0px);
}

.form-btn-cancel,
.form-btn-error {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #c0c8e0;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 0;
}

.form-btn-cancel::before,
.form-btn-cancel::after,
.form-btn-error::before,
.form-btn-error::after {
  display: none;
}

.form-btn-error {
  border-color: rgba(217, 83, 79, 0.4);
  color: #d9534f;
}

.form-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.form-btn-error:hover {
  background: rgba(217, 83, 79, 0.1);
}

/* Error spans */
span[style*="color: red"],
span[style*="color:red"] {
  color: #e74c3c !important;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-block;
  margin-top: 4px;
}

/* ===== Price Table ===== */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  margin: 20px 0;
}

.price-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #c0c8e0;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-table tbody th,
.price-table tbody td {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #8b93a8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.price-table tbody th {
  font-weight: 600;
  color: #c0c8e0;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: rgba(245, 106, 13, 0.04);
}

/* ===== Divider ===== */
.section-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 40px 0;
}

/* ===== Footer ===== */
.premium-footer {
  padding: 30px 0;
  background: #080b14;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.premium-footer p {
  color: #4a5068;
  font-size: 0.82rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .premium-nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 15, 25, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .premium-nav-links.open {
    display: flex;
  }

  .premium-nav-links a {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .premium-card {
    padding: 24px 20px;
  }

  .form-fieldset {
    padding: 20px;
  }

  .form-actions {
    padding: 0 20px 20px;
  }

  .step {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.3rem;
  }

  .premium-card {
    padding: 20px 16px;
  }

  .pay-method {
    padding: 18px 16px;
  }

  .cta-link {
    width: 100%;
    justify-content: center;
  }

  .price-table thead th,
  .price-table tbody th,
  .price-table tbody td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
}
