/* ZDebit - Zcash Spending Guide
   Color scheme inspired by Zcash: black + gold */

:root {
  --bg-dark: #0A0A0A;
  --bg-card: #141414;
  --bg-card-hover: #1C1C1C;
  --gold: #F4B728;
  --gold-hover: #FFC94D;
  --gold-dark: #D9A01F;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #777777;
  --border: #2A2A2A;
  --success: #22C55E;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-hover);
}

/* Header */
header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo img {
  height: 36px;
  width: auto;
  max-height: 36px;
  max-width: 24px;
  display: block;
  object-fit: contain;
}

.logo-text span {
  color: var(--gold);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover,
nav a.active {
  color: var(--gold);
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-waitlist {
  margin-top: 1rem !important;
  font-size: 0.95rem !important;
}

.hero-waitlist a {
  color: var(--gold);
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: #0A0A0A;
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: #0A0A0A;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(244, 183, 40, 0.1);
  color: var(--gold-hover);
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: #3A3A3A;
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card a {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Content pages */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.content h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.content ul, .content ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.content strong {
  color: var(--text-primary);
}

.note {
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.note p {
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  nav ul {
    gap: 1.25rem;
  }

  .logo img {
    height: 30px;
  }

  .logo {
    font-size: 1.15rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Partner / Gemini */
.partner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.partner-copy h3 {
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.partner-copy > p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.65;
}

.partner-copy ul {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: var(--text-secondary);
}

.partner-copy li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.partner-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--gold);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.partner-copy .btn {
  display: inline-block;
  margin: 0.15rem 0 0.5rem;
  padding: 0.85rem 1.5rem;
  line-height: 1.3;
}

.partner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.partner-visual img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.affiliate-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.45;
  max-width: 34rem;
}

.hardware-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.25rem 0 1.75rem;
}

@media (max-width: 800px) {
  .partner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
  }

  .partner-visual {
    order: -1;
  }

  .partner-visual img {
    max-width: 180px;
    width: 50%;
  }

  .partner-copy .btn {
    width: 100%;
    text-align: center;
  }

  .partner-copy h3 {
    font-size: 1.25rem;
  }
}

/* Utility */
.text-gold {
  color: var(--gold);
}

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


/* Waitlist */
.waitlist {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.waitlist p {
  color: var(--text-secondary);
  margin: 0.75rem auto 1.25rem;
  max-width: 34rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  max-width: 320px;
  background: #0A0A0A;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
}

.waitlist-form input[type="email"]:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

.waitlist-form .btn {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 768px) {
  .waitlist {
    padding: 1.5rem 1.25rem;
  }
  .waitlist-form .btn {
    width: 100%;
    max-width: none;
  }
}
