:root {
  --primary-color: #4c6ef5;
  --secondary-color: #212529;
  --accent-color: #fd7e14;
  --text-color: #212529;
  --light-text: #f8f9fa;
  --background-color: #ffffff;
  --light-background: #f8f9fa;
  --border-color: #dee2e6;
  --success-color: #51cf66;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --scroll-padding: 80px; /* For fixed header */
}

html {
  scroll-behavior: smooth;
  /* Add scroll padding for fixed header */
  scroll-padding-top: var(--scroll-padding);
}

/* Fix for iOS Safari */
@supports (-webkit-overflow-scrolling: touch) {
  html {
    /* Ensure smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #364fc7;
}

p {
  margin-bottom: 1rem;
}

.mt-5 {
  margin-top: 2rem;
}

/* Header */
header {
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 5rem 0 3rem;
  background-color: var(--light-background);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 3rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin: 0 0.5rem;
}

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

.button.primary:hover {
  background-color: #364fc7;
}

.button.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button.secondary:hover {
  background-color: #edf2ff;
}

.hero-image {
  margin-top: 2rem;
  text-align: center;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.early-access-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background-color: var(--accent-color);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: rotate(5deg);
  z-index: 2;
}

.early-access-badge::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  border-top: 10px solid #d35400;
  border-right: 10px solid transparent;
  filter: brightness(80%);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--secondary-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--light-background);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--light-background);
}

.about-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--secondary-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Download Section */
.download-section {
  padding: 5rem 0;
  background-color: var(--background-color);
  text-align: center;
}

.download-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--secondary-color);
}

.download-section p {
  margin-bottom: 2rem;
}

.app-stores {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge img {
  height: 50px;
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background-color: var(--light-background);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--secondary-color);
}

.newsletter p {
  margin-bottom: 2rem;
}

#subscribe-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  margin-bottom: 1rem;
}

#email {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

#subscribe-form button {
  border-radius: 0 4px 4px 0;
  margin: 0;
}

.privacy-note {
  font-size: 0.875rem;
  color: #6c757d;
}

/* Page Content (For Privacy/Terms) */
.page-content {
  padding: 5rem 0;
}

.page-content h1 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--secondary-color);
  text-align: center;
}

.content-block {
  background-color: var(--light-background);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.content-block h2 {
  margin: 1.5rem 0 1rem;
  color: var(--secondary-color);
}

.content-block p, .content-block ul {
  margin-bottom: 1.5rem;
}

.content-block ul {
  padding-left: 2rem;
}

.last-updated {
  font-style: italic;
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  #email {
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  #subscribe-form button {
    border-radius: 4px;
  }
  
  .nav-links {
    display: none; /* For mobile, ideally add a hamburger menu */
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Developer Info Section */
.developer-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.developer-info h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.developer-info h4 {
  margin: 1.5rem 0 1rem;
  color: var(--secondary-color);
}

.support-options {
  margin-top: 1.5rem;
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.support-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.support-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.venmo-button {
  background-color: #008CFF;
  color: white;
}

.venmo-button:hover {
  background-color: #0070CC;
  color: white;
}

.crypto-button {
  background-color: #F7931A;
  color: white;
}

.crypto-button:hover {
  background-color: #E17C0E;
  color: white;
}

.support-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.crypto-info {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #FFFFFF;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.crypto-info code {
  background: #f0f0f0;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

.small-text {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Adding responsive styles for support section */
@media (max-width: 768px) {
  .support-buttons {
    flex-direction: column;
  }
  
  .support-button {
    width: 100%;
    justify-content: center;
  }
}

/* Announcement Banner */
.announcement-banner {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 0.75rem 0;
  text-align: center;
  font-weight: 500;
}

.announcement-banner p {
  margin: 0;
  font-size: 1rem;
}

/* Coming Soon Styles */
.app-stores.coming-soon {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0;
}

.coming-soon-badge {
  position: relative;
  display: inline-block;
}

.grayscale {
  filter: grayscale(100%) opacity(60%);
  transition: filter 0.3s;
}

.coming-soon-badge:hover .grayscale {
  filter: grayscale(70%) opacity(80%);
}

.coming-soon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.release-timeline {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--light-background);
  border-radius: 8px;
}

.release-timeline p {
  margin-bottom: 0.5rem;
}

.release-timeline p:first-child {
  font-weight: bold;
  color: var(--primary-color);
}

/* Message display for form submissions */
.message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 24px;
  color: white;
  text-align: center;
  z-index: 1000;
  animation: slideDown 0.3s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.message.success {
  background-color: #4caf50;
}

.message.error {
  background-color: #f44336;
}

.close-message {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
  opacity: 0.7;
}

.close-message:hover {
  opacity: 1;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Styles for noscript message */
.noscript-note {
  margin-top: 10px;
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
}

/* Debug information styling */
.debug-info {
  font-size: 0.8rem;
  margin-top: 8px;
  opacity: 0.8;
  font-family: monospace;
  white-space: pre-wrap;
  text-align: left;
  max-width: 100%;
  overflow-x: auto;
}

/* App Slideshow Styles */
.app-slideshow {
  padding: 2rem 0 4rem;
  background-color: var(--light-background);
  text-align: center;
}

.app-slideshow h2 {
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.slideshow-container {
  position: relative;
  max-width: 350px;
  margin: 0 auto;
}

.slide {
  display: none;
  text-align: center;
}

.slide.active {
  display: block;
}

.slide img {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slide-caption {
  margin-top: 15px;
  color: var(--secondary-color);
  font-weight: 500;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.dots-container {
  text-align: center;
  padding: 20px 0;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: var(--border-color);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
  background-color: var(--primary-color);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* NoScript Fallback for Slideshow */
.screenshots-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.screenshot-item {
  text-align: center;
}

.screenshot-item img {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  width: 100%;
}

@media (min-width: 992px) {
  .screenshots-fallback {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* JavaScript Required Elements */
.js-only {
  display: block;
}

noscript .js-only {
  display: none;
}

/* Make sure js is initialized properly */
html.no-js .js-only {
  display: none;
}

/* Feature List Styling */
.feature-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.feature-list li {
  margin-bottom: 1rem;
  position: relative;
  list-style-type: none;
  padding-left: 0.5rem;
}

.feature-list li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  display: inline-block;
  width: 1.5rem;
  margin-left: -1.5rem;
  font-size: 1.2rem;
}

.feature-list li strong {
  color: var(--primary-color);
  font-weight: 600;
} 