/* styles.css */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Header */
.header {
  position: static;
  width: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
}

.logo {
  height: 50px;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #e0e0e0;
  transition: all 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.nav a:hover, .nav a:focus {
  color: #ffffff;
  background: rgba(255, 107, 53, 0.15);
  text-decoration: none;
  outline: 2px solid transparent;
}

.nav a:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Hero */
.hero {
  /* prevent header overlap */
  padding: 6rem 1rem 0;
  min-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1f1f1f, #121212);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(153, 46, 1, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  color: #cccccc;
  font-weight: 400;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #992E01;
  color: #121212;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn:hover {
  background: #7a2501;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(153, 46, 1, 0.3);
}

.btn:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.testflight-link {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 4rem;
  transition: transform 0.2s;
}

.testflight-link:hover, .testflight-link:focus {
  transform: scale(1.05);
}

.testflight-link:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 4px;
  border-radius: 8px;
}

.testflight-img {
  height: 50px;
  max-width: 100%;
}

/* Features */
.features {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* Feedback */
.feedback {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feedback h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.single-feedback {
  display: flex;
  justify-content: center;
}

.feedback-item {
  background: #1f1f1f;
  padding: 3rem;
  border-radius: 0.75rem;
  text-align: center;
  max-width: 700px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.feedback-item h3 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.8rem;
}

.feedback-item p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 1rem;
}

.feedback-item p:last-child {
  margin-top: 2rem;
}

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

.feature-item {
  background: #1f1f1f;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(153, 46, 1, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 46, 1, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.feature-item p {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Highlights */
.highlights {
  padding: 4rem 2rem;
  background: #171717;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.highlights-container {
  max-width: 1000px;
  margin: 0 auto;
}

.highlights h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #ffffff;
  font-weight: 600;
}

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

.highlight-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 107, 53, 0.2);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.highlight-item h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.highlight-item p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.email-link {
  color: #ff6b35;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(255, 107, 53, 0.1);
}

.email-link:hover, .email-link:focus {
  color: #ffffff;
  background: rgba(255, 107, 53, 0.2);
  text-decoration: underline;
}

.email-link:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Download */
.download {
  padding: 6rem 2rem;
  background: #171717;
  text-align: center;
}

.download h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.store-btn {
  background: #03dac6;
  color: #121212;
}
.store-badge img {
  max-height: 40px;
  display: inline-block;
  vertical-align: middle;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  background: #000000;
  color: #555555;
  font-size: 0.875rem;
}

/* Hero Image */
.hero-image {
  max-width: 90%;
  margin: 2rem auto;
}

.hero-img {
  height: 600px;
  max-width: 100%;
  border-radius: 0.5rem;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem 0;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  .hero-img {
    height: 400px;
  }
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  .nav {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
  .nav a {
    margin: 0 0.5rem;
    padding: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 10;
  }
  .features, .feedback {
    padding: 4rem 1rem;
  }
  .feature-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feedback-item {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-img {
    height: 300px;
  }
  .testflight-img {
    height: 40px;
  }
}
