/* ============================================
   TrackRate Website - Main Styles
   ============================================ */

:root {
  --bg-primary: #1a1a1d;
  --bg-secondary: rgba(26, 26, 29, 0.9);
  --bg-textbox: #0e0e0e;
  --bg-card: #0000003b;
  --text-primary: #ecc466;
  --text-secondary: #c3c3c3;
  --accent: #fcf1bb;
  --accent-hover: #d4a574;
  --accent-secondary: #b8945f;
  --success: #22c55e;
  --success-dark: #16a34a;
  --warning: #f59e0b;
  --warning-dark: #d97706;
  --error: #ef4444;
  --error-dark: #dc2626;
  --border: rgba(200, 200, 200, 0.15);
  --border2: #616161;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 800px;
  --max-width-lg: 900px;
  --carousel-perspective: 500px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Disable pull-to-refresh on mobile */
  overscroll-behavior-y: contain;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle farthest-corner at 50% 17%, #383838 0%, #000000 100%);
  background-attachment: fixed;
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 100vh;
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  /* Improve touch scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

main {
  max-width: var(--max-width-lg);
  margin: 0 auto;
  padding: 60px 20px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  text-align: center;
  margin-bottom: 60px;
}

.hero-plate {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
  padding: 2em;
}

#logo {
  background-image: url(../icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 10em;
  height: 10em;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
}

.hero-text {
  text-align: left;
  flex: 1;
}

#logotext {
  font-size: 2.5em;
  font-weight: 700;
  margin: 0 0 0.3em 0;
  padding: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-shadow: 0px 0px 20px rgb(0 0 0);
}

.hero .tagline {
  font-size: 1.4em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero .subtitle {
  font-size: 1.1em;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero-image {
  max-width: 500px;
  margin: 40px auto 0;
  text-align: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(194, 141, 78, 0.4));
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.hero-compact {
  max-width: var(--max-width);
  margin: 40px auto 0;
  text-align: center;
}

.hero-compact img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* ============================================
   Why TrackRate Section
   ============================================ */

.why-section {
  margin-bottom: 60px;
  text-align: center;
}

.heading-2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.heading-3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.why-section .heading-2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.comparison-col {
  padding: 24px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  text-align: left;
  backdrop-filter: blur(10px);
}

.comparison-col .heading-3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
}

.comparison-col ul {
  list-style: none;
  margin-bottom: 20px;
}

.comparison-col li {
  padding: 8px 0;
  font-size: 0.95rem;
}

.comparison-bad {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.3);
}

.comparison-bad .heading-3 {
  color: var(--error);
}

.comparison-bad li {
  color: var(--text-secondary);
}

.comparison-good {
  background: rgba(34, 197, 94, 0.05);
  border-color: rgba(34, 197, 94, 0.3);
}

.comparison-good .heading-3 {
  color: var(--success);
}

.comparison-good li {
  color: var(--text-primary);
}

.cost-calc {
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.cost-calc strong {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ============================================
   Use Cases Section
   ============================================ */

.use-cases-section {
  margin-bottom: 60px;
  text-align: center;
}

.use-cases-section .heading-2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.use-cases-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.use-cases-list li {
  padding: 16px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.use-cases-list li:last-child {
  border-bottom: none;
}

.use-cases-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   Download Section & Pricing
   ============================================ */

.section-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 500;
}

.price-hero {
  text-align: center;
  margin-bottom: 12px;
}

.download-section,
.premium-section {
  margin-bottom: 60px;
}

.download-section .heading-2,
.premium-section .heading-2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.seice-hero {
  text-align: center;
  margin-bottom: 12px;
}

.price-hero .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.price-hero .price-note {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 4px;
}

.premium-intro {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1rem;
}

.version-tag {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ============================================
   Coupon Promo (Premium Section)
   ============================================ */

.coupon-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-bottom: 24px;
}

.coupon-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

#coupon-icon {
  display: inline-block;
  width: 50px;
  height: 32px;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="32" viewBox="0 0 31 24" fill="none" stroke="%2322c55e" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M27 5H3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1 2 2 0 1 1 0 4 1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h24a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1 2 2 0 1 1 0-4 1 1 0 0 0 1-1V6a1 1 0 0 0-1-1Z"/><line x1="19" y1="5" x2="19" y2="19" stroke-dasharray="2 2"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.paypal-logo-wrapper {
  display: flex;
  align-items: center;
}

/* ============================================
   Pro Highlight & Explainer
   ============================================ */

.pro-highlight {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 1em;
  background: linear-gradient(183deg, rgb(0 0 0 / 23%), rgb(0 0 0 / 3%));
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  text-align: center;
}

.pro-highlight .heading-3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.pro-highlight p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.highlight-card {
  padding: 24px;
  background: #00000042;
  box-shadow: 0 4px 12px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  background: linear-gradient(183deg, rgb(0 0 0 / 35%), rgb(0 0 0 / 15%));
  border-color: var(--accent);
}

.highlight-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  opacity: 1;
}

.highlight-card .heading-3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.highlight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .coupon-promo {
    flex-direction: column;
  }
}

.pro-explainer {
  max-width: 700px;
  margin: 32px auto;
  padding: 20px;
  background: var(--bg-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pro-explainer .heading-3 {
  margin-bottom: 24px;
}

.pro-explainer strong {
  color: var(--text-primary);
}

.feature-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(194, 141, 78, 0.08) 0%, rgba(194, 141, 78, 0.04) 100%);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  transition: all 0.2s ease;
}

.feature-list li:hover {
  background: linear-gradient(135deg, rgba(194, 141, 78, 0.12) 0%, rgba(194, 141, 78, 0.08) 100%);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-highlight {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 600px) {
  .feature-list li:hover {
    padding-left: 20px;
  }
}

/* ============================================
   Features Comparison Table
   ============================================ */

.features-comparison {
  max-width: 700px;
  margin: 0 auto 40px;
}

.comparison-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 20px #0000005e;
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
}

.comparison-header {
  background: var(--bg-secondary);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-row {
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.highlight {
  background: #0000002e;
  font-weight: 500;
}

.col-feature {
  text-align: left;
  color: var(--text-primary);
}

.col-free,
.col-pro {
  text-align: center;
  color: var(--text-secondary);
}

.col-pro {
  color: var(--accent);
  font-weight: 500;
}

/* ============================================
   Feature Icons
   ============================================ */

.feature-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  opacity: 0.9;
}



/* Keyboard Icon */
.feature-icon[data-icon="keyboard"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="M6 8h.01"/><path d="M10 8h.01"/><path d="M14 8h.01"/><path d="M18 8h.01"/><path d="M8 12h.01"/><path d="M12 12h.01"/><path d="M16 12h.01"/><path d="M7 16h10"/></svg>');
}

/* Tag Icon */
.feature-icon[data-icon="tag"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2H2v10l9.29 9.29c.94.94 2.48.94 3.42 0l6.58-6.58c.94-.94.94-2.48 0-3.42L12 2Z"/><path d="M7 7h.01"/></svg>');
}

/* Playlist Icon */
.feature-icon[data-icon="playlist"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15V6"/><path d="M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"/><path d="M12 12H3"/><path d="M16 6H3"/><path d="M12 18H3"/></svg>');
}

/* Equalizer Icon */
.feature-icon[data-icon="equalizer"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><line x1="4" x2="4" y1="21" y2="14"/><line x1="4" x2="4" y1="10" y2="3"/><line x1="12" x2="12" y1="21" y2="12"/><line x1="12" x2="12" y1="8" y2="3"/><line x1="20" x2="20" y1="21" y2="16"/><line x1="20" x2="20" y1="12" y2="3"/><line x1="2" x2="6" y1="14" y2="14"/><line x1="10" x2="14" y1="8" y2="8"/><line x1="18" x2="22" y1="16" y2="16"/></svg>');
}

/* Lyrics Icon */
.feature-icon[data-icon="lyrics"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M7 7h10"/><path d="M7 12h10"/><path d="M7 17h6"/></svg>');
}

/* Visualizer Icon */
.feature-icon[data-icon="visualizer"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3v18h18"/><path d="M18 17V9"/><path d="M13 17V5"/><path d="M8 17v-3"/></svg>');
}

/* Theme/Palette Icon */
.feature-icon[data-icon="theme"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><circle cx="13.5" cy="6.5" r=".5" fill="%23c28d4e"/><circle cx="17.5" cy="10.5" r=".5" fill="%23c28d4e"/><circle cx="8.5" cy="7.5" r=".5" fill="%23c28d4e"/><circle cx="6.5" cy="12.5" r=".5" fill="%23c28d4e"/><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z"/></svg>');
}

/* Files Icon */
.feature-icon[data-icon="files"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M15.5 2H8.6c-.4 0-.8.2-1.1.5-.3.3-.5.7-.5 1.1v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8c.4 0 .8-.2 1.1-.5.3-.3.5-.7.5-1.1V6.5L15.5 2z"/><path d="M3 7.6v12.8c0 .4.2.8.5 1.1.3.3.7.5 1.1.5h9.8"/><path d="M15 2v5h5"/></svg>');
}

/* Tray Icon */
.feature-icon[data-icon="tray"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="5" x="2" y="3" rx="1"/><path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8"/><path d="M10 12h4"/></svg>');
}

/* Cross-Platform Icon */
.feature-icon[data-icon="cross-platform"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="16" height="20" x="4" y="2" rx="2"/><path d="M12 18h.01"/></svg>');
}

/* Radio Icon */
.feature-icon[data-icon="radio"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><rect width="36" height="20" x="6" y="18" rx="2" fill="none" stroke="%23ecc466"  stroke-width="1.5"/><line x1="14" y1="18" x2="38" y2="4" stroke="%23c28d4e" stroke-width="1" stroke-linecap="round"/><circle cx="14" cy="18" r="1.5" fill="%23c28d4e"/><circle cx="14" cy="28" r="5" fill="none" stroke="%23c28d4e" stroke-width="1.5"/><circle cx="14" cy="28" r="3" fill="none" stroke="%23c28d4e" stroke-width="0.8"/><rect width="10" height="2" x="26" y="22" rx="0.5" fill="none" stroke="%23c28d4e" stroke-width="0.8"/><rect width="10" height="2" x="26" y="27" rx="0.5" fill="none" stroke="%23c28d4e" stroke-width="0.8"/><circle cx="28" cy="33" r="1.5" fill="%23c28d4e"/><circle cx="34" cy="33" r="1.5" fill="%23c28d4e"/></svg>');
}

/* Offline Icon */
.feature-icon[data-icon="offline"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20h.01"/><path d="M8.5 16.429a5 5 0 0 1 7 0"/><path d="M5 12.859a10 10 0 0 1 5.17-2.69"/><path d="M19 12.859a10 10 0 0 0-2.007-1.523"/><path d="M2 8.82a15 15 0 0 1 4.177-2.643"/><path d="M22 8.82a15 15 0 0 0-11.288-3.764"/><path d="m2 2 20 20"/></svg>');
}

/* Shuffle with Distribution Icon */
.feature-icon[data-icon="shuffle"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M2 18h3a4 4 0 0 0 3.1-1.5l5.8-7A4 4 0 0 1 17 8h3"/><path d="m18 6 2 2-2 2"/><path d="M2 6h3a4 4 0 0 1 3.1 1.5l.9 1.1"/><path d="M14.5 14.5l.5.6A4 4 0 0 0 17 16h3"/><path d="m18 14 2 2-2 2"/><circle cx="6" cy="18" r="1" fill="%23ecc466" stroke="none"/><circle cx="9" cy="18" r="1" fill="%23c28d4e" stroke="none"/><circle cx="6" cy="6" r="1" fill="%23c28d4e" stroke="none"/></svg>');
}

/* Rating Icon */
.feature-icon[data-icon="rating"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>');
}

/* Mixer Icon */
.feature-icon[data-icon="mixer"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><rect width="44" height="28" x="2" y="10" rx="2" fill="none" stroke="%23ecc466"  stroke-width="1.5"/><line x1="16" y1="10" x2="16" y2="38" stroke="%23ecc466"  stroke-width="1"/><line x1="32" y1="10" x2="32" y2="38" stroke="%23ecc466"  stroke-width="1"/><circle cx="8" cy="18" r="5" fill="none" stroke="%23ecc466"  stroke-width="1.2"/><circle cx="8" cy="18" r="2.5" fill="none" stroke="%23ecc466"  stroke-width="0.8"/><circle cx="8" cy="18" r="1" fill="%23c28d4e"/><circle cx="40" cy="18" r="5" fill="none" stroke="%23ecc466"  stroke-width="1.2"/><circle cx="40" cy="18" r="2.5" fill="none" stroke="%23ecc466"  stroke-width="0.8"/><circle cx="40" cy="18" r="1" fill="%23c28d4e"/><rect width="1.5" height="1.5" x="4" y="30" fill="%23c28d4e"/><rect width="1.5" height="1.5" x="7" y="30" fill="%23c28d4e"/><rect width="1.5" height="1.5" x="10" y="30" fill="%23c28d4e"/><rect width="1.5" height="1.5" x="36" y="30" fill="%23c28d4e"/><rect width="1.5" height="1.5" x="39" y="30" fill="%23c28d4e"/><rect width="1.5" height="1.5" x="42" y="30" fill="%23c28d4e"/><circle cx="20" cy="14" r="0.8" fill="%23c28d4e"/><circle cx="24" cy="14" r="0.8" fill="%23c28d4e"/><circle cx="28" cy="14" r="0.8" fill="%23c28d4e"/><line x1="20" y1="20" x2="20" y2="28" stroke="%23ecc466"  stroke-width="1.2" stroke-linecap="round"/><line x1="24" y1="20" x2="24" y2="28" stroke="%23ecc466"  stroke-width="1.2" stroke-linecap="round"/><line x1="28" y1="20" x2="28" y2="28" stroke="%23ecc466"  stroke-width="1.2" stroke-linecap="round"/><circle cx="20" cy="26" r="1.5" fill="%23c28d4e"/><circle cx="24" cy="24" r="1.5" fill="%23c28d4e"/><circle cx="28" cy="26" r="1.5" fill="%23c28d4e"/></svg>');
}

/* Database Icon */
.feature-icon[data-icon="database"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"/><path d="M3 12c0 1.66 4 3 9 3s9-1.34 9-3"/></svg>');
}

/* Devices Icon */
.feature-icon[data-icon="devices"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="10" height="14" x="3" y="8" rx="2"/><path d="M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4"/><path d="M8 18h.01"/></svg>');
}

/* Support Icon */
.feature-icon[data-icon="support"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ecc466" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/></svg>');
}

.premium-intro {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================
   Free Version Features Table
   ============================================ */

.download-section .features-comparison {
  margin-bottom: 40px;
}

.download-section .features-comparison .heading-3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  color: var(--text-primary);
}

.download-section .comparison-table {
  background: transparent;
  border: none;
}

.download-section .comparison-row {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.download-section .comparison-row:last-child {
  border-bottom: none;
}

.download-section .comparison-row::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.download-section .col-feature {
  color: var(--text-primary);
  text-align: left;
}

/* ============================================
   Download Buttons
   ============================================ */

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.download-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 141, 78, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.download-btn .icon {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  flex-shrink: 0;
}

.download-btn:hover .icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(194, 141, 78, 0.6));
}

/* Lucide Icons - Windows (Monitor) */
.download-btn[data-platform="windows"] .icon {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23ecc466"  stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2"/><line x1="8" x2="16" y1="21" y2="21"/><line x1="12" x2="12" y1="17" y2="21"/></svg>');
}

/* Lucide Icons - Mac (Apple) */
.download-btn[data-platform="mac"] .icon {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23ecc466"  stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z"/><path d="M10 2c1 .5 2 2 2 5"/></svg>');
}

/* Lucide Icons - Linux (Terminal) */
.download-btn[data-platform="linux"] .icon {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23ecc466"  stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>');
}

.download-btn .platform {
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.download-btn .action {
  padding: 8px 16px;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.download-btn:hover .action {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.download-btn.premium {
  background: linear-gradient(135deg,
      #d4d4d4 0%,
      #ffffff 15%,
      #a8a8a8 35%,
      #c8c8c8 50%,
      #ffffff 65%,
      #b0b0b0 85%,
      #d8d8d8 100%);
  border: 1px solid rgba(200, 200, 200, 0.7);
  box-shadow:
    0 4px 20px rgba(180, 180, 180, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  position: relative;
}

.download-btn.premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

.download-btn.premium .icon,
.download-btn.premium .platform {
  color: #2a2a2a;
  position: relative;
  z-index: 1;
}

.download-btn.premium .icon {
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8)) brightness(0.3);
}

.download-btn.premium:hover {
  background: linear-gradient(135deg,
      #e0e0e0 0%,
      #ffffff 15%,
      #b8b8b8 35%,
      #d8d8d8 50%,
      #ffffff 65%,
      #c0c0c0 85%,
      #e8e8e8 100%);
  border-color: rgba(220, 220, 220, 0.9);
  box-shadow:
    0 8px 30px rgba(200, 200, 200, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

/* ============================================
   Features List
   ============================================ */

.features-list {
  max-width: 600px;
  margin: 0 auto 40px;
}

.features-list .heading-3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.features-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
}

.features-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.features-list li:first-child {
  color: var(--text-primary);
}

.premium-features li {
  color: var(--text-primary);
}

.update-policy {
  color: var(--text-secondary);
}

.update-policy .icon {
  flex-shrink: 0;
}

/* ============================================
   Screenshot
   ============================================ */

.screenshot {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Theme Gallery
   ============================================ */

.theme-gallery {
  max-width: var(--max-width-lg);
  margin: 3em auto 0;
  text-align: center;
}

.theme-gallery .heading-3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.theme-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.theme-grid img:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(194, 141, 78, 0.3);
}

.theme-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.theme-grid-large img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.theme-grid-large img:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(194, 141, 78, 0.3);
}

/* ============================================
   Theme Carousel
   ============================================ */

.theme-carousel {
  position: relative;
  max-width: var(--max-width-lg);
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: var(--carousel-perspective);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  max-width: 500px;
  border-radius: var(--radius);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  border-radius: var(--radius);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
  filter: grayscale(100%) blur(5px);
}

/* Active slide - front and center */
.carousel-slide.active {
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 10;
  box-shadow:
    0 0 20px rgb(0 0 0 / 40%), 0 0 40px rgb(0 0 0 / 20%), 0 0 60px rgb(0 0 0 / 10%)
}

.carousel-slide.active img {
  filter: grayscale(40%) blur(0px);
}

.carousel-slide.active.zoomed img {
  filter: grayscale(0%) blur(0px);
}

/* Desktop: Zoom effect on click */
@media (min-width: 769px) {
  .carousel-slide.active.zoomed {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1.5);
    cursor: zoom-out;
  }

  .carousel-slide.active.zoomed img {
    cursor: zoom-out;
  }
}

/* First to the left */
.carousel-slide.prev-1 {
  transform: translateX(-55%) translateZ(-150px) rotateY(25deg) scale(0.85);
  opacity: 0.4;
  z-index: 5;
}

/* Second to the left */
.carousel-slide.prev-2 {
  transform: translateX(-85%) translateZ(-250px) rotateY(35deg) scale(0.7);
  opacity: 0.2;
  z-index: 3;
}

/* Third+ to the left - hidden */
.carousel-slide.prev-far {
  transform: translateX(-100%) translateZ(-300px) rotateY(40deg) scale(0.6);
  opacity: 0;
  z-index: 1;
}

/* First to the right */
.carousel-slide.next-1 {
  transform: translateX(55%) translateZ(-150px) rotateY(-25deg) scale(0.85);
  opacity: 0.4;
  z-index: 5;
}

/* Second to the right */
.carousel-slide.next-2 {
  transform: translateX(85%) translateZ(-250px) rotateY(-35deg) scale(0.7);
  opacity: 0.2;
  z-index: 3;
}

/* Third+ to the right - hidden */
.carousel-slide.next-far {
  transform: translateX(100%) translateZ(-300px) rotateY(-40deg) scale(0.6);
  opacity: 0;
  z-index: 1;
}

/* Hover effects */
.carousel-slide:not(.active):hover {
  transform: translateZ(-100px) scale(0.95);
  opacity: 1;
  cursor: pointer;
  filter: brightness(1.2);
}

.carousel-slide.prev-1:hover {
  transform: translateX(-55%) translateZ(-100px) rotateY(25deg) scale(0.9);
}

.carousel-slide.next-1:hover {
  transform: translateX(55%) translateZ(-100px) rotateY(-25deg) scale(0.9);
}

.carousel-slide.prev-2:hover {
  transform: translateX(-85%) translateZ(-200px) rotateY(35deg) scale(0.75);
}

.carousel-slide.next-2:hover {
  transform: translateX(85%) translateZ(-200px) rotateY(-35deg) scale(0.75);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.carousel-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dots .dot:hover {
  background: var(--accent-secondary);
  transform: scale(1.2);
}

.carousel-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 12px;
  height: 12px;
}

/* ============================================
   Spread Hand of Cards
   ============================================ */

.themes-spread {
  margin-top: 40px;
  text-align: center;
}

.themes-hand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  height: 340px;
}

.theme-card {
  width: 280px;
  height: auto;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  transform-origin: center bottom;
  box-shadow: 0 0 20px 4px #00000087;
  cursor: pointer;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.theme-card:nth-child(1) {
  transform: translateX(-120px) rotateZ(-22deg);
  z-index: 1;
}

.theme-card:nth-child(2) {
  transform: translateX(-40px) rotateZ(-11deg);
  z-index: 2;
}

.theme-card:nth-child(3) {
  transform: translateX(40px) rotateZ(11deg);
  z-index: 3;
}

.theme-card:nth-child(4) {
  transform: translateX(120px) rotateZ(22deg);
  z-index: 4;
}

.theme-card:nth-child(1):hover {
  transform: translateX(-120px) rotateZ(-22deg) scale(1.25);
  filter: brightness(1.15);
  z-index: 10;
}

.theme-card:nth-child(2):hover {
  transform: translateX(-40px) rotateZ(-11deg) scale(1.25);
  filter: brightness(1.15);
  z-index: 10;
}

.theme-card:nth-child(3):hover {
  transform: translateX(40px) rotateZ(11deg) scale(1.25);
  filter: brightness(1.15);
  z-index: 10;
}

.theme-card:nth-child(4):hover {
  transform: translateX(120px) rotateZ(22deg) scale(1.25);
  filter: brightness(1.15);
  z-index: 10;
}

.theme-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  display: block;
}

.theme-card-name {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Divider
   ============================================ */

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 60px 0;
}

/* ============================================
   Terms Modal
   ============================================ */

.terms-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.terms-modal-overlay.show {
  display: flex;
}

.terms-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 700px;
  max-height: 40vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.terms-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  z-index: 1;
}

.terms-modal-close:hover {
  color: var(--text-primary);
}

.terms-modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.terms-modal-header .heading-3 {
  margin: 0;
  font-size: 1.3rem;
}

.terms-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Custom scrollbar styling */
.terms-modal-body::-webkit-scrollbar {
  width: 8px;
}

.terms-modal-body::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 4px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
  transition: background 0.2s;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Firefox scrollbar */
.terms-modal-body {
  scrollbar-color: var(--border) var(--bg-card);
  scrollbar-width: thin;
}

.terms-modal-body h4 {
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 1rem;
}

.terms-modal-body p {
  margin-bottom: 10px;
}

.terms-modal-body ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.terms-modal-body li {
  margin-bottom: 6px;
}

.terms-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.terms-modal-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.terms-modal-btn-cancel {
  background: transparent;
  color: var(--text-secondary);
}

.terms-modal-btn-cancel:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.terms-modal-btn-accept {
  background: var(--accent);
  border-color: var(--accent);
}

.terms-modal-btn-accept:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.terms-modal-btn-accept:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Popup
   ============================================ */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  padding: 2em;
  max-width: 500px;
  width: 92%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--text-primary);
}

.popup-content .heading-3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.popup-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.popup-content ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.popup-content li {
  margin-bottom: 8px;
}

.popup-gif {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.popup-gif img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   PayPal Checkout Styles
   ============================================ */

.paypal-product-showcase {
  display: block;
  margin: -30px -30px 24px -30px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: center;
  width: calc(100% + 60px);
  overflow: hidden;
}

.premium-product-image {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.premium-features {
  padding: 0 20px;
}

.premium-features h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.premium-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.premium-features li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}

.premium-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.purchase-info {
  font-size: 0.9rem;
  color: var(--text-secondary) !important;
  margin: 16px 0 12px 0 !important;
  text-align: center;
}

.price-display {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin: 16px 0 24px 0 !important;
}

/* ============================================
   Responsive
   ============================================ */

/* ============================================
   Tablet Styles (481px - 768px)
   ============================================ */

@media (max-width: 768px) {
  main {
    padding: 40px 16px;
  }

  .hero-plate {
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
    gap: 20px;
  }

  .hero-text {
    text-align: center;
  }

  #logo {
    width: 8em;
    height: 8em;
  }

  #logotext {
    font-size: 2em;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 0.75fr 0.75fr;
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .comparison-header {
    font-size: 0.8rem;
  }

  .download-buttons {
    flex-direction: row;
    align-items: center;
  }

  .download-btn {
    width: 12em;
    max-width: 14em;
  }

  .features-list ul {
    grid-template-columns: 1fr;
  }

  .pro-highlight {
    padding: 20px;
  }

  .pro-highlight .heading-3 {
    font-size: 1.1rem;
  }

  .pro-explainer {
    padding: 16px;
  }

  .hero-image {
    max-width: 300px;
  }

  .theme-grid,
  .theme-grid-large {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* Carousel adjustments for tablet */
  .carousel-track {
    height: 400px;
  }

  .carousel-slide {
    max-width: 400px;
  }

  .carousel-slide img {
    max-height: 400px;
  }

  .carousel-slide.prev-1,
  .carousel-slide.next-1 {
    transform: translateX(0) translateZ(-200px) rotateY(0deg) scale(0.7);
    opacity: 0.5;
  }

  .carousel-slide.prev-2,
  .carousel-slide.next-2,
  .carousel-slide.prev-far,
  .carousel-slide.next-far {
    transform: translateX(0) translateZ(-300px);
    opacity: 0;
    pointer-events: none;
  }

  /* Theme cards hand - vertical overlapping on tablet */
  .themes-hand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 380px;
    padding: 0;
  }

  .theme-card {
    position: absolute;
    width: 200px;
    transform-origin: center center;
  }

  .theme-card:nth-child(1) {
    transform: translateY(-75px) rotateZ(-6deg);
    z-index: 1;
  }

  .theme-card:nth-child(2) {
    transform: translateY(-25px) rotateZ(-2deg);
    z-index: 2;
  }

  .theme-card:nth-child(3) {
    transform: translateY(25px) rotateZ(2deg);
    z-index: 3;
  }

  .theme-card:nth-child(4) {
    transform: translateY(75px) rotateZ(6deg);
    z-index: 4;
  }

  .theme-card:hover {
    transform: scale(1.15) !important;
    filter: brightness(1.15);
    z-index: 10;
  }

  /* Highlights grid - 2 columns on tablet */
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reduce dot size for carousels with many slides on tablet */
  .premium-carousel .carousel-dots {
    gap: 5px;
    flex-wrap: wrap;
    max-width: 80%;
    margin: 0 auto;
  }

  .premium-carousel .carousel-dots .dot {
    width: 7px;
    height: 7px;
  }

  .premium-carousel .carousel-dots .dot.active {
    width: 9px;
    height: 9px;
  }
}

/* ============================================
   Mobile Phone Styles (480px and below)
   ============================================ */

@media (max-width: 480px) {
  main {
    padding: 30px 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-image {
    max-width: 250px;
  }

  #logo {
    width: 6em;
    height: 6em;
  }

  #logotext {
    font-size: 1.8em;
  }

  .hero .tagline {
    font-size: 0.9rem;
  }

  .hero .subtitle {
    font-size: 0.85rem;
  }

  .why-section .heading-2,
  .use-cases-section .heading-2 {
    font-size: 1.5rem;
  }

  .heading-2 {
    font-size: 1.5rem;
    text-shadow: 0px 0px 8px rgb(0 0 0);
  }

  .heading-3 {
    font-size: 1rem;
    text-shadow: 0px 0px 4px rgb(0 0 0);
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr 60px 60px;
    font-size: 0.8rem;
    padding: 8px;
  }

  .col-feature {
    font-size: 0.8rem;
  }

  .col-free,
  .col-pro {
    font-size: 0.75rem;
  }

  .price-hero .price {
    font-size: 2rem;
  }

  /* Carousel - simplified mobile version */
  .carousel-track {
    height: 280px;
    perspective: var(--carousel-perspective);
  }

  .carousel-slide {
    max-width: 280px;
  }

  .carousel-slide img {
    max-height: 280px;
  }

  /* Only show active slide on mobile */
  .carousel-slide.active {
    transform: translateX(0) translateZ(0) scale(1);
  }

  .carousel-slide.prev-1,
  .carousel-slide.next-1,
  .carousel-slide.prev-2,
  .carousel-slide.next-2,
  .carousel-slide.prev-far,
  .carousel-slide.next-far {
    transform: translateX(0) translateZ(-400px) scale(0.5);
    opacity: 0;
    pointer-events: none;
  }

  /* Disable carousel hover effects on mobile */
  .carousel-slide:not(.active):hover {
    transform: translateX(0) translateZ(-400px) scale(0.5);
    opacity: 0;
    filter: none;
  }

  /* Make carousel controls appropriately sized for touch */
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Simplify dots on mobile - hide excess dots */
  .carousel-dots {
    gap: 6px;
    max-width: 90%;
    overflow: hidden;
    justify-content: center;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    padding: 8px;
    /* Increase touch target without increasing visual size */
  }

  .carousel-dots .dot.active {
    width: 10px;
    height: 10px;
  }

  /* For carousels with many slides (like premium themes with 18),
     hide dots and show count instead on very small screens */
  .premium-carousel .carousel-dots {
    flex-wrap: wrap;
    gap: 4px;
    max-height: 40px;
  }

  .premium-carousel .carousel-dots .dot {
    width: 6px;
    height: 6px;
    padding: 6px;
    /* Smaller visual size but still touchable */
  }

  .premium-carousel .carousel-dots .dot.active {
    width: 8px;
    height: 8px;
  }

  /* Theme cards - vertical overlapping stack on mobile */
  .themes-hand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 450px;
    padding: 0;
  }

  .theme-card {
    position: absolute;
    width: 240px;
    transform-origin: center center;
  }

  .theme-card:nth-child(1) {
    transform: translateY(-90px) rotateZ(-8deg);
    z-index: 1;
  }

  .theme-card:nth-child(2) {
    transform: translateY(-30px) rotateZ(-3deg);
    z-index: 2;
  }

  .theme-card:nth-child(3) {
    transform: translateY(30px) rotateZ(3deg);
    z-index: 3;
  }

  .theme-card:nth-child(4) {
    transform: translateY(90px) rotateZ(8deg);
    z-index: 4;
  }

  .theme-card:nth-child(1):hover,
  .theme-card:nth-child(1):active {
    transform: translateY(-90px) rotateZ(-8deg) scale(1.1);
    filter: brightness(1.15);
    z-index: 10;
  }

  .theme-card:nth-child(2):hover,
  .theme-card:nth-child(2):active {
    transform: translateY(-30px) rotateZ(-3deg) scale(1.1);
    filter: brightness(1.15);
    z-index: 10;
  }

  .theme-card:nth-child(3):hover,
  .theme-card:nth-child(3):active {
    transform: translateY(30px) rotateZ(3deg) scale(1.1);
    filter: brightness(1.15);
    z-index: 10;
  }

  .theme-card:nth-child(4):hover,
  .theme-card:nth-child(4):active {
    transform: translateY(90px) rotateZ(8deg) scale(1.1);
    filter: brightness(1.15);
    z-index: 10;
  }

  .theme-card-name {
    margin-top: 8px;
    font-size: 0.9rem;
  }

  /* Highlights grid - single column on mobile */
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .highlight-card {
    padding: 20px;
  }

  .highlight-card .feature-icon {
    width: 48px;
    height: 48px;
  }

  /* Improve touch targets */
  .download-btn {
    min-height: 48px;
    padding: 14px 20px;
  }

  /* Use cases text size */
  .use-cases-list li {
    font-size: 0.9rem;
  }

  /* Feature list improvements */
  .feature-list li {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  /* Comparison cost calc */
  .cost-calc {
    font-size: 0.9rem;
  }

  /* Premium themes carousel */
  .premium-carousel .carousel-track {
    height: 320px;
  }

  .premium-carousel .carousel-slide {
    max-width: 300px;
  }

  .premium-carousel .carousel-slide img {
    max-height: 320px;
  }

  /* Section spacing */
  .hero {
    margin-bottom: 40px;
  }

  .why-section,
  .use-cases-section,
  .download-section,
  .premium-section {
    margin-bottom: 40px;
  }

  .theme-gallery {
    margin: 40px auto 0;
  }

  /* Modal/Popup improvements */
  .popup-content {
    width: 90%;
    padding: 20px;
  }

  .terms-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  /* PayPal Checkout Mobile */
  .paypal-product-showcase {
    margin: -20px -20px 16px -20px;
    padding: 0;
    width: calc(100% + 40px);
  }

  .premium-product-image {
    max-height: 250px;
  }

  .premium-features {
    padding: 0 16px;
  }

  .premium-features li {
    padding-left: 16px;
  }

  .purchase-info {
    display: block;
    font-size: 0.85rem;
  }

  .purchase-info span {
    display: block;
    margin-bottom: 4px;
  }
}

/* ============================================
   Extra Small Devices (360px and below)
   ============================================ */

@media (max-width: 360px) {
  main {
    padding: 20px 10px;
  }

  #logotext {
    font-size: 1.5em;
  }

  .hero .tagline {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .heading-2 {
    font-size: 1.3rem;
  }

  .carousel-track {
    height: 240px;
  }

  .carousel-slide {
    max-width: 240px;
  }

  .carousel-slide img {
    max-height: 240px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .download-btn {
    font-size: 0.9rem;
  }

  .price-hero .price {
    font-size: 1.7rem;
  }

  /* Hide carousel dots on extra small screens for carousels with many slides */
  .premium-carousel .carousel-dots {
    display: none;
  }

  /* Simplify dots even more on tiny screens */
  .carousel-dots .dot {
    width: 6px;
    height: 6px;
    padding: 7px;
    /* Maintain touchable area */
  }

  .carousel-dots .dot.active {
    width: 8px;
    height: 8px;
  }
}

/* ============================================
   Touch Device Optimizations
   ============================================ */

@media (hover: none) and (pointer: coarse) {

  /* Remove hover effects on touch devices */
  .carousel-slide:not(.active):hover {
    transform: inherit;
    opacity: inherit;
    filter: none;
    cursor: default;
  }

  .theme-card:hover {
    transform: inherit !important;
    filter: none;
  }

  .theme-grid img:hover,
  .theme-grid-large img:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
  }

  .download-btn:hover {
    transform: none;
  }

  /* Make clickable elements more apparent */
  .carousel-slide {
    cursor: pointer;
  }

  /* Improve tap targets for general buttons (carousel controls are sized separately per breakpoint) */
  button:not(.carousel-btn) {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ============================================
   Landscape Mobile Optimization
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  main {
    padding: 20px 16px;
  }

  .hero-plate {
    flex-direction: row;
    padding: 20px;
    gap: 20px;
  }

  #logo {
    width: 5em;
    height: 5em;
  }

  .carousel-track {
    height: 300px;
  }

  .carousel-slide {
    max-width: 350px;
  }

  .carousel-slide img {
    max-height: 300px;
  }

  .themes-hand {
    height: 250px;
  }
}

/* ============================================
   Custom Alert/Error Modal
   ============================================ */

.modal-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-alert.show {
  opacity: 1;
  visibility: visible;
}

.modal-alert-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 450px;
  width: 90%;
  position: relative;
  border-left: 4px solid var(--accent);
}

.modal-alert-content.error {
  border-left-color: var(--error);
}

.modal-alert-content.success {
  border-left-color: var(--success);
}

.modal-alert-content.warning {
  border-left-color: var(--warning);
}

.modal-alert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 1.1rem;
}

.modal-alert-icon {
  font-size: 1.5rem;
}

.modal-alert-message {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-alert-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modal-alert-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.modal-alert-btn-primary {
  background: var(--accent);
}

.modal-alert-btn-primary:hover {
  background: var(--accent-hover);
}

.modal-alert-btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.modal-alert-btn-secondary:hover {
  background: #2a2a2a;
}

/* ============================================
   Form Inputs & Controls
   ============================================ */

.form-input {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-textbox);
  color: var(--text-primary);
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input-email {
  margin-bottom: 12px;
}

.input-label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 1em;
  font-weight: 500;
}

.input-hint {
  display: block;
  color: var(--text-secondary);
  margin-top: 1em;
}

/* ============================================
   Coupon Input & Validation
   ============================================ */

.coupon-container {
  margin: 16px 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
}

.coupon-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.form-input-coupon {
  flex: 1;
  text-transform: uppercase;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9em;
  flex-shrink: 0;
}

.btn-secondary {
  background: var(--border);
  color: var(--text-secondary);
  border: 1px solid var(--border2);
}

.btn-secondary:hover {
  background: rgba(200, 200, 200, 0.25);
  color: var(--text-primary);
}

.coupon-message {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.coupon-message.hidden {
  display: none;
}

.coupon-message.valid {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.coupon-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border: 1px solid var(--error);
}

.discount-applied {
  margin: 12px 0;
  text-align: center;
}

.discount-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px solid var(--success);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: inherit;
}

.btn-primary {
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-full {
  height: 2.5em;
}

.toggle-resend-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 1em;
  margin-top: 2em;
}

.toggle-resend-btn:hover {
  color: var(--accent-hover);
}

/* ============================================
   Resend Option
   ============================================ */

.resend-container {
  margin-bottom: 12px;
}

.resend-option {
  margin-bottom: 2em;
  display: none;
}

.resend-option.show {
  display: block;
}

/* ============================================
   Modal Message
   ============================================ */

.modal-alert-msg {
  margin: 8px 0;
  line-height: 1.5;
}

.modal-alert-msg:first-child {
  margin-top: 0;
}

.modal-alert-msg:last-child {
  margin-bottom: 0;
}

/* ============================================
   Installation Instructions Section
   ============================================ */

.installation-section {
  max-width: var(--max-width);
  margin: 80px auto;
  padding: 0 var(--padding-x);
  text-align: center;
}

.installation-section .heading-2 {
  margin-bottom: 40px;
  text-align: center;
}

.installation-container {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 700px;
  margin: 0 auto;
}

.installation-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius);
  padding: 2em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: left;
  backdrop-filter: blur(10px);
}

.installation-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.installation-icon {
  font-size: 1.8rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.installation-icon[data-platform="mac"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%23ecc466"  stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z"/><path d="M10 2c1 .5 2 2 2 5"/></svg>');
}

.installation-icon[data-platform="windows"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%23ecc466"  stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2"/><line x1="8" x2="16" y1="21" y2="21"/><line x1="12" x2="12" y1="17" y2="21"/></svg>');
}

.installation-icon[data-platform="linux"] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="%23ecc466"  stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5"/><line x1="12" x2="20" y1="19" y2="19"/></svg>');
}

.installation-header .heading-3 {
  margin: 0;
  font-size: 1.3rem;
}

.installation-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.installation-subtitle {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px !important;
}

.installation-visual {
  display: none;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-primary);
  padding: 12px;
}

.installation-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.installation-steps {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.installation-steps li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.installation-steps strong {
  color: var(--text-primary);
}

.code-block {
  background: var(--bg-primary);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  display: inline-block;
  min-width: 100%;
}

.code-block code {
  font-size: 0.9rem;
  color: var(--accent);
  white-space: pre-wrap;
  word-break: break-all;
}

.installation-note {
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid var(--accent);
  padding: 12px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary) !important;
  margin: 16px 0 0 0 !important;
}

@media (max-width: 768px) {
  .installation-container {
    grid-template-columns: 1fr;
  }

  .installation-card {
    padding: 20px;
  }

  .installation-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .installation-visual {
    margin: 16px 0;
  }
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
  max-width: var(--max-width);
  width: 100%;
  margin: 3em auto;
  padding: 0 20px;
}

.faq-section .heading-2 {
  text-align: center;
  margin-bottom: 2em;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-secondary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 0.6em 1em;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5em 1.5em 1.5em;
}

.faq-answer p {
  margin-bottom: 0.8em;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--text-primary);
}

#paypalLogo {
  width: 220px;
  display: block;
}

#premiumPackageLogo {
  background-image: url('../images/product-transparent.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto 24px auto;
  position: relative;
  filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.15)) drop-shadow(0 5px 20px rgba(255, 255, 255, 0.1));
}

.unavailable-message {
  background: linear-gradient(135deg, rgba(236, 196, 102, 0.1) 0%, rgba(212, 165, 116, 0.08) 100%);
  border: 1px solid var(--accent-secondary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px auto;
  max-width: var(--max-width-lg);
  text-align: center;
}

.unavailable-message p {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    margin: 2em auto;
  }

  .faq-question {
    padding: 1em 1.2em;
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.2em 1.2em 1.2em;
  }
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto 4em auto;
  padding: 0 20px;
}

.contact-toggle {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2em 1.5em;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  transition: color 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: inherit;
}

.contact-toggle:hover {
  color: var(--accent);
  border-color: var(--accent-secondary);
}

.contact-toggle .faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.contact-section.active .contact-toggle .faq-icon {
  transform: rotate(45deg);
}

.contact-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-section.active .contact-body {
  max-height: 600px;
  padding: 1.5em;
}

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.contact-form .input-label {
  margin-bottom: 0.4em;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
  margin-bottom: 1em;
  line-height: 1.5;
}

.contact-status {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  font-weight: 500;
  margin-bottom: 1em;
  animation: slideDown 0.3s ease;
}

.contact-status.hidden {
  display: none;
}

.contact-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.contact-status.error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border: 1px solid var(--error);
}

#contactSendWrapper {
  display: flex;
  gap: 3em;
  justify-content: flex-end;
  align-items: center;
}


@media (max-width: 768px) {
  .contact-toggle {
    padding: 1em 1.2em;
    font-size: 1rem;
  }

  .contact-section.active .contact-body {
    padding: 1.2em;
    gap: 1em;
  }
}

.creator-footer {
  margin-top: 40px;
  padding: 28px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.creator-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: 0.1;
  transition: opacity 0.25s ease;
}

.creator-link:hover {
  opacity: 0.8;
}

.creator-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.creator-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}