.feature-tutorials-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  margin: 32px 0 0 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.feature-tutorial {
  background: #16181c;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.13);
  padding: 28px 24px 20px 24px;
  border: 1px solid #2f3336;
  min-width: 270px;
  max-width: 370px;
  flex: 1 1 270px;
  margin-bottom: 18px;
}
.feature-tutorial h3 {
  color: var(--accent, #8b5cf6);
  font-size: 1.18rem;
  margin-bottom: 12px;
  text-align: left;
}
.feature-tutorial ul {
  color: #eee;
  font-size: 1.05rem;
  padding-left: 20px;
  margin: 0;
  text-align: left;
}
.feature-tutorial li {
  margin-bottom: 10px;
}
.crypto-white {
  color: #fff !important;
}
.crypto-details {
  margin: 16px 0 0 0;
  padding-left: 22px;
  color: #bbb;
  font-size: 1.08rem;
  line-height: 1.7rem;
}
.crypto-details li {
  margin-bottom: 8px;
}
.crypto-details .token-benefits {
  margin-top: 8px;
}
.crypto-details .contact-note {
  font-size: 0.9rem;
  margin-top: 8px;
  color: #999;
}
.crypto-note {
  margin-top: 18px;
  color: #8b5cf6;
  font-size: 1.04rem;
  font-style: italic;
}
.crypto-warning {
  color: var(--accent, #8b5cf6) !important;
}

/* Subscription Section Container */
.subscription {
  max-width: 1200px;
  margin: 0 auto;
  /* Reduce top padding to contribute to ~16px section gap */
  padding: 16px 20px;
  text-align: center;
}

.subscription h2 {
  color: var(--accent, #8b5cf6);
  font-size: 2rem;
  /* Remove default top margin so section top spacing is ~16px total */
  margin-top: 0;
  margin-bottom: 16px;
}

.subscription-summary {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 1.08rem;
  color: #ccc;
  text-align: center;
}
.crypto-subsection {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(22, 24, 28, 0.8);
  border-radius: 12px;
  border: 1px solid #2f3336;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.crypto-subsection h3 {
  color: var(--accent, #8b5cf6);
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.credits-quick-info h3 { margin: 0 0 8px 0; }
.crypto-subsection p {
  color: #bbb;
  font-size: 1.05rem;
  margin: 0;
}
.credits-quick-info {
  margin: 12px auto 0 auto;
  padding: 16px 20px;
  background: rgba(22, 24, 28, 0.8);
  border-radius: 12px;
  border: 1px solid #2f3336;
  text-align: left;
  max-width: 900px;
}
.limits-strip {
  margin-top: 16px; /* a touch closer to features */
  margin-bottom: 20px; /* clear space before subscription */
}
.feature-list {
  margin: 36px 0 0 0;
  padding: 0 0 0 28px;
  text-align: left;
  color: #ccc;
  font-size: 1.25rem;
  line-height: 2.1rem;
}
.feature-list li {
  margin-bottom: 10px;
}
.feature-list .premium-notice-item {
  background-color: transparent;
  border: none;
  padding: 2px 0;
  margin: 10px 0;
  font-size: 0.75rem;
  color: var(--accent) !important;
  text-align: left;
  line-height: 1.2;
  font-weight: 600;
  font-style: italic;
  list-style-type: disc;
  margin-left: -4px;
}
.feature-list .premium-notice-item:first-of-type {
  margin-bottom: 1px;
}
.feature-list .premium-notice-item:last-of-type {
  margin-top: 1px;
  margin-bottom: 6px;
}
.accent-title {
  color: var(--accent, #8b5cf6);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
:root {
  --primary: #8b5cf6;
  --bg: #000000;
  --text: #eee;
  --accent: #8b5cf6;
}

/* Header — matches products.html layout */
.header {
  background: #000000;
  border-bottom: 1px solid #2f3336;
  padding: 18px 32px 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #eee;
  line-height: 1.2;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--accent, #8b5cf6);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #b0b0b0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent, #8b5cf6);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-bar {
  width: 24px;
  height: 3px;
  background: #eee;
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle:hover .menu-bar {
  background: var(--accent, #8b5cf6);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 16px;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.mobile-nav.open {
  display: flex;
}

/* Desktop: hamburger stays visible as dropdown nav (restores original design).
   Full nav bar is also visible on desktop — hamburger is ADDITIVE, not replacement. */

/* Mobile/Tablet: hide full nav, show hamburger left + logo right
   Per Material Design 3: phones landscape = Expanded (840dp+)
   Per Bootstrap 5.3: landscape phones ≥576px, tablets ≥768px
   Using 991px covers all phones (portrait & landscape) + small tablets */
@media (max-width: 991px) {
  .nav {
    display: none;
  }
  .header {
    padding: 12px 16px;
  }
  .header-controls {
    order: 1; /* Hamburger on the RIGHT */
    margin-left: auto;
  }
  .logo {
    order: -1; /* Logo on the LEFT */
    margin-left: 0;
    margin-right: auto;
  }
  .mobile-nav {
    right: 0; /* Dropdown opens from right to match hamburger position */
    left: auto;
  }
  .logo-title {
    font-size: 1.2rem;
  }
  .logo-tagline {
    font-size: 0.65rem;
  }
  .logo-img {
    width: 36px;
    height: 36px;
  }
}

.mobile-nav a {
  color: #ccc;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--accent, #8b5cf6);
  color: #fff;
}

/* Old mobile block consolidated into @media (max-width: 991px) above */

/* On desktop, hamburger stays visible (opens dropdown on click).
   mobile-nav starts hidden by default (.mobile-nav { display: none })
   and opens via JS adding .open class */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.video-container {
  display: flex;
  justify-content: center;
  background-color: #000;
  padding: 32px 0;
}

video {
  max-width: 960px;
  width: 90%;
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(255,0,0,0.5);
  object-fit: contain;
  height: auto;
  aspect-ratio: 16/9;
  /* Inline playback behavior without playsinline attribute */
  -webkit-playsinline: true;
}

.video-fallback {
  text-align: center;
  padding: 40px 20px;
  background: #1a1a1a;
  border-radius: 6px;
  margin: 20px;
}

.video-placeholder {
  text-align: center;
  max-width: 800px;
  width: 90%;
}

.video-placeholder img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255,0,0,0.3);
}

.video-overlay {
  margin-top: 20px;
  color: #eee;
}

.video-overlay p {
  margin: 8px 0;
  font-size: 1.1rem;
}

.video-overlay a {
  color: #4CAF50;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.video-overlay a:hover {
  color: #66D966;
}

.video-fallback p {
  color: #eee;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.video-fallback .btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--accent, #8b5cf6);
  color: var(--accent, #8b5cf6);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.video-fallback .btn:hover {
  background: var(--accent, #8b5cf6);
  color: #fff;
}

.intro {
  text-align: center;
  /* Remove bottom padding so section gap is controlled explicitly */
  padding: 24px 16px 0 16px;
}

.intro h1 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
}

.stat {
  text-align: center;
  margin: 16px;
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
}

.cta {
  text-align: center;
  margin: 24px 0;
}

.btn {
  display: inline-block;
  margin: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: none;
}

footer {
  text-align: center;
  padding: 16px;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
}

.footer-policies a {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 4px 8px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-policies a:hover {
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-policies {
    gap: 8px;
  }
  
  .footer-policies a {
    padding: 4px 6px;
    font-size: 0.8rem;
  }
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* Reduced from 8px to bring text closer to Discord icon */
}

.contact-label {
  margin: 0 0 -2px 0; /* Negative bottom margin to bring closer to Discord icon */
  font-size: 1rem;
  font-weight: 500;
  color: var(--text, #eee);
}

.contact-links {
  display: flex;
  gap: 16px;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 8px;
  transition: opacity 0.2s ease;
}

.discord-link:hover {
  opacity: 0.8;
}

.discord-link svg {
  width: 44px;
  height: 44px;
}

.twitter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 8px;
  transition: opacity 0.2s ease;
}

.twitter-link:hover {
  opacity: 0.8;
}

.twitter-link svg {
  width: 36px;
  height: 36px;
}

/* Preview Images Section */
.preview-images {
  display: flex;
  justify-content: center;
  gap: 32px;
  /* Remove bottom margin; combined with subscription padding-top ≈16px gap */
  margin: 16px 0 0 0;
  flex-wrap: wrap;
}

.preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.preview-container-with-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.webapp-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.preview-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(244, 197, 66, 0.2);
}

.preview-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* Removed duplicate .features-highlight declaration to avoid unintended overrides */

.premium-notice-item {
  color: var(--accent) !important;
  font-weight: 600;
  list-style-type: disc;
  margin-left: 0;
  text-align: left;
}

.contact-note {
  color: var(--accent) !important;
  font-weight: 600;
  list-style-type: circle;
}

@media (max-width: 768px) {
  .preview-images {
    flex-direction: column;
    gap: 24px;
  }
  
  .preview-container-with-features {
    gap: 16px;
  }
  
  .preview-image {
    max-width: 320px;
  }
}

/* Smooth scrolling with reduced-motion guard */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preview-image:hover { transform: none; box-shadow: none; }
  .chat-button:hover { transform: none; }
}

/* Offset in-page anchor jumps for sticky header */
#features, #subscription, #download, #contact { scroll-margin-top: 80px; }

/* Subscription List Styling */
.subscription-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.subscription-list li {
  margin-bottom: 16px;
}

.subscription-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.subscription-item span {
  flex: 1;
  min-width: 250px;
}

.upgrade-subscription-btn {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.upgrade-subscription-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.3);
}

.upgrade-subscription-btn:active {
  transform: translateY(0);
}

/* Email Collection Modal */
.email-collection-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

.email-collection-modal.show {
  display: flex;
}

.email-collection-content {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.email-collection-header {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

.email-collection-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.email-collection-body {
  padding: 24px;
  min-height: 0;
}

.email-collection-body p {
  color: #eee;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 14px;
}

.form-group input {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #eee;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: #8b5cf6;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.oauth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #2a2a2a;
  color: #eee;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.oauth-button:hover {
  border-color: #8b5cf6;
  background: #333;
}

.oauth-button img {
  width: 20px;
  height: 20px;
}

.oauth-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.btn-secondary {
  background: #333;
  color: #eee;
  border: 1px solid #555;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  flex: 1;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #444;
  border-color: #666;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  flex: 1;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .subscription-item {
    flex-direction: column;
    align-items: stretch;
  }
  
  .subscription-item span {
    min-width: auto;
    margin-bottom: 8px;
  }
  
  .upgrade-subscription-btn {
    width: 100%;
    justify-content: center;
  }

  /* Email Collection Modal - Mobile */
  .email-collection-modal {
    padding: 10px;
  }

  .email-collection-content {
    max-width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 8px;
  }

  .email-collection-header {
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
  }

  .email-collection-header h3 {
    font-size: 1.2rem;
  }

  .email-collection-body {
    padding: 20px;
  }

  .oauth-buttons {
    gap: 10px;
    margin: 16px 0;
  }

  .oauth-button {
    padding: 10px 14px;
    font-size: 14px;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }

  .btn-secondary,
  .btn-primary {
    padding: 12px 16px;
  }
}

@media (max-height: 600px) {
  /* For very short screens */
  .email-collection-modal {
    padding: 5px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .email-collection-content {
    max-height: calc(100vh - 10px);
  }

  .email-collection-header {
    padding: 12px 20px;
  }

  .email-collection-header h3 {
    font-size: 1.1rem;
  }

  .email-collection-body {
    padding: 16px;
  }

  .oauth-buttons {
    margin: 12px 0;
    gap: 8px;
  }

  .oauth-button {
    padding: 8px 12px;
    font-size: 13px;
  }

  .form-group input {
    padding: 10px 14px;
    font-size: 14px;
  }

  .form-actions {
    margin-top: 12px;
  }

  .btn-secondary,
  .btn-primary {
    padding: 10px 14px;
    font-size: 14px;
  }
}

/* Manual form separator text */
.form-separator {
  text-align: center;
  color: #999;
  margin: 16px 0;
  font-size: 14px;
}

/* Old header/nav styles removed — now using .header/.nav/.mobile-nav classes defined above */


