/* ABOUTME
 * Landing page styles for Gestural MIDI Generator - sharp, high-contrast design
 */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #000;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI",
    system-ui, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

/* Beta Badge */
.nav-brand .beta-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: #fff;
  color: #000;
  border: 1.5px solid #000;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* Beta badge on auth pages - keep original style */
.auth-box .beta-badge {
  display: inline-block;
  position: absolute;
  top: 0;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  vertical-align: super;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn-primary):not(.btn-secondary) {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 200ms ease-out;
}

.nav-links a:not(.btn-primary):not(.btn-secondary):hover {
  opacity: 0.6;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all 200ms ease-out;
  border: 2px solid #000;
}

.btn-primary {
  background: #000;
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: #000;
}

.btn-secondary {
  background: #fff;
  color: #000;
}

.btn-secondary:hover {
  background: #000;
  color: #fff;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 160px 0 120px;
  background: #fff;
}

.hero h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  max-width: 600px;
  margin-bottom: 48px;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 80px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 800px;
}

.canvas-preview {
  position: relative;
  height: 400px;
  border: 3px solid #000;
  background: #fff;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 2px solid #000;
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 60px;
  left: 80px;
  transform: rotate(15deg);
}

.shape-2 {
  width: 180px;
  height: 60px;
  top: 200px;
  left: 300px;
  transform: rotate(-10deg);
}

.shape-3 {
  width: 100px;
  height: 160px;
  top: 120px;
  right: 120px;
  transform: rotate(25deg);
}

.midi-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
}

.midi-dots span {
  width: 12px;
  height: 12px;
  background: #000;
  animation: pulse 2s ease-out infinite;
}

.midi-dots span:nth-child(2) {
  animation-delay: 0.3s;
}
.midi-dots span:nth-child(3) {
  animation-delay: 0.6s;
}
.midi-dots span:nth-child(4) {
  animation-delay: 0.9s;
}
.midi-dots span:nth-child(5) {
  animation-delay: 1.2s;
}
.midi-dots span:nth-child(6) {
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Features Section */
.features {
  padding: 120px 0;
  background: #fff;
  border-top: 2px solid #000;
}

.features h2,
.pricing h2,
.cta h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  opacity: 0.7;
  margin-bottom: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
}

.feature {
  text-align: center;
  padding: 32px;
}

.feature-icon {
  margin-bottom: 24px;
  display: inline-block;
}

.feature h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature p {
  opacity: 0.8;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 120px 0;
  background: #f8f8f8;
  border-top: 2px solid #000;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 2px solid #000;
  padding: 48px 32px;
  position: relative;
}

.pricing-card.featured {
  transform: scale(1.05);
  border-width: 3px;
}

.badge {
  position: absolute;
  top: -2px;
  right: 32px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.price {
  text-align: center;
  margin-bottom: 40px;
}

.currency {
  font-size: 24px;
  vertical-align: top;
  opacity: 0.6;
}

.amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
}

.period {
  font-size: 16px;
  opacity: 0.6;
}

.features-list {
  list-style: none;
  margin-bottom: 40px;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  padding-left: 28px;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.features-list li.included::before {
  content: "✓";
  color: #000;
}

.features-list li.excluded {
  opacity: 0.4;
}

.features-list li.excluded::before {
  content: "×";
  color: #000;
}

/* CTA Section */
.cta {
  padding: 120px 0;
  background: #000;
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 24px;
}

.cta p {
  font-size: 20px;
  margin-bottom: 48px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta .btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.cta .btn-primary:hover {
  background: transparent;
  color: #fff;
}

.cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.cta .btn-secondary:hover {
  background: #fff;
  color: #000;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  background: #fff;
  border-top: 2px solid #000;
}

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

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.footer-column a {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 8px 0;
  opacity: 0.7;
  transition: opacity 200ms ease-out;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.copyright {
  opacity: 0.6;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a {
  color: #000;
  text-decoration: none;
  font-size: 20px;
  opacity: 0.6;
  transition: opacity 200ms ease-out;
}

.social-links a:hover {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.btn-primary):not(.btn-secondary) {
    display: none;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .features h2,
  .pricing h2,
  .cta h2 {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-large {
    width: 100%;
    max-width: 320px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
