/* GenDeck website styles (plain CSS, PWA-inspired).
   Kept in /public so the site can stay fully static and simple to deploy. */

:root {
  /* PWA-inspired palette */
  --gd-gradient-start: #667eea;
  --gd-gradient-end: #764ba2;
  --gd-accent: #007aff;
  --gd-bg: #f2f2f7;
  --gd-text: #1d1d1f;
  --gd-muted: #86868b;

  --gd-radius: 12px;
  --gd-radius-lg: 16px;
  --gd-radius-xl: 24px;

  --gd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --gd-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --gd-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  --gd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--gd-font);
  color: var(--gd-text);
  background: var(--gd-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.section {
  padding: 4.5rem 0;
}

@media (max-width: 767px) {
  .section {
    padding: 3.5rem 0;
  }
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 0.75rem 0;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gd-muted);
  margin: 0 0 2rem 0;
  line-height: 1.55;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gd-shadow-lg);
}

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

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

.btn-primary:hover {
  background: #0056cc;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.06);
  color: var(--gd-text);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.10);
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--gd-radius-lg);
  box-shadow: var(--gd-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.card.pad {
  padding: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.muted {
  color: var(--gd-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .nav a.nav-link {
    display: none;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--gd-gradient-start) 0%, var(--gd-gradient-end) 100%);
  color: white;
  padding: 5rem 0 4.5rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0.9rem 0 0.75rem 0;
  font-weight: 900;
  color: white;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  font-weight: 800;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--gd-shadow-lg);
}

.store-badge small {
  display: block;
  font-weight: 700;
  opacity: 0.92;
  font-size: 0.8rem;
}

.store-badge span {
  display: block;
  font-size: 1rem;
}

.hero-visual {
  border-radius: var(--gd-radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

/* App Store Buttons */
.btn-app-store,
.btn-google-play {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-app-store-label,
.btn-google-play-label {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.btn-app-store:hover,
.btn-google-play:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Demo Section */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.demo-card {
  background: white;
  border-radius: var(--gd-radius-lg);
  padding: 2rem;
  box-shadow: var(--gd-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-visual {
  margin-bottom: 1.5rem;
  border-radius: var(--gd-radius);
  overflow: hidden;
  background: var(--gd-bg);
}

.demo-visual img {
  width: 100%;
  height: auto;
}

.demo-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--gd-text);
}

.demo-card p {
  color: var(--gd-muted);
  line-height: 1.6;
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gd-gradient-start), var(--gd-gradient-end));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--gd-text);
}

.step p {
  color: var(--gd-muted);
  line-height: 1.6;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: white;
  border-radius: var(--gd-radius-lg);
  padding: 2rem;
  box-shadow: var(--gd-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gd-shadow-md);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--gd-text);
}

.feature-card p {
  color: var(--gd-muted);
  line-height: 1.6;
  margin: 0;
}

/* Cross-Device */
.cross-device {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .cross-device {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.cross-device-content {
  /* Content styles */
}

.cross-device-visual {
  border-radius: var(--gd-radius-lg);
  overflow: hidden;
  box-shadow: var(--gd-shadow-md);
}

.cross-device-visual img {
  width: 100%;
  height: auto;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefits-list li {
  color: var(--gd-text);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Spaced Repetition */
.spaced-repetition {
  max-width: 800px;
  margin: 0 auto;
}

.spaced-content {
  background: white;
  border-radius: var(--gd-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--gd-shadow-md);
}

.spaced-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: var(--gd-text);
}

.spaced-content p {
  color: var(--gd-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Pricing */
.pricing-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.06);
  color: var(--gd-text);
}

.pricing-badge.featured {
  background: rgba(102, 126, 234, 0.15);
  color: var(--gd-gradient-start);
}

.pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--gd-text);
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin: 0.75rem 0 1rem 0;
  color: var(--gd-text);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gd-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-features li {
  color: var(--gd-text);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.pricing-features li::before {
  content: '✓';
  color: #34c759;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}


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

/* Screenshot placeholders */
.placeholder {
  background: linear-gradient(135deg, rgba(31, 200, 255, 0.18), rgba(142, 68, 255, 0.18));
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: var(--gd-radius-lg);
}

.placeholder-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.9rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--gd-radius-lg);
  box-shadow: var(--gd-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.featured {
  border: 2px solid rgba(102, 126, 234, 0.7);
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .pricing-card.featured {
    transform: none;
  }
}

.tier {
  font-weight: 900;
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin: 0.75rem 0 1rem 0;
}

.price small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gd-muted);
}

.features {
  margin: 1rem 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--gd-text);
}

.features li::before {
  content: "✓";
  color: #34c759;
  font-weight: 900;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  color: var(--gd-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer a {
  color: var(--gd-accent);
}




