/* ========================================
   Hivest Website Styles - UPDATED
   ======================================== */

/* Variables & Base Styles */
:root {
  --bg: #0a0e1a;
  --fg: #e8ecf4;
  --muted: #8899aa;
  --accent: #4cafef;
  --accent2: #1ee3c2;
  --accent-orange: #ffa726;
  --accent-green: #66bb6a;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: #0a0e1a;
  color: var(--fg);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes starPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

.wrap {
  max-width: 1400px;
  margin: auto;
  padding: 20px 40px;
}

/* ========================================
   Header
   ======================================== */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 8px;
}

.links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeIn 0.8s ease-out;
  margin-top: 40px;
  min-height: 65vh;
}

.hero-content {
  max-width: 600px;
}

.title {
  margin: 0 0 16px;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.subtitle {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.download-text {
  margin: 24px 0 12px;
  font-size: 18px;
  color: var(--accent-orange);
  font-weight: 600;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 50px;
  transition: transform 0.2s, opacity 0.2s;
}

.store-btn:hover {
  transform: translateY(-4px) scale(1.02);
  opacity: 0.95;
  filter: brightness(1.1);
}

.store-btn img {
  height: 50px;
  width: auto;
}

/* ========================================
   Coming Soon Button
   ======================================== */
.coming-soon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  opacity: 0.7;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  min-width: 200px; /* Ensure consistent width */
}


.coming-soon-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.phone-mockup {
  width: 320px;
  height: auto;
  max-width: 100%;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.testimonial {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.stars {
  color: var(--accent-orange);
  margin-left: 4px;
}

/* ========================================
   Why Section
   ======================================== */
.why-section {
  margin-top: 60px;
  padding: 60px 0;
  background: #161d2d;
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff;
  animation: fadeInUp 0.6s ease-out both;
}

.section-subtitle {
  text-align: center;
  font-size: 24px;
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px;
}

.phones-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 600px;
}

.phones-showcase img {
  max-width: 100%;
  height: auto;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  padding: 32px;
  background: rgba(13, 25, 38, 0.4);
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-card:hover {
  background: rgba(13, 25, 38, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-card-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.2), rgba(102, 187, 106, 0.2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-orange);
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-orange);
  margin: 0;
}

.feature-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
  margin-top: 0;
  padding: 60px 0;
  background: #0d1520;
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.testimonials-section .section-title {
  color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 60px;
  margin: 0 auto;
  max-width: 1200px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card.visible:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card.visible:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card.visible:nth-child(3) { transition-delay: 0.3s; }
.testimonial-card.visible:nth-child(4) { transition-delay: 0.4s; }
.testimonial-card.visible:nth-child(5) { transition-delay: 0.5s; }
.testimonial-card.visible:nth-child(6) { transition-delay: 0.6s; }

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.author-initials {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  font-weight: 700;
  font-size: 13px;
  overflow: hidden;
}

.author-initials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--fg);
  font-size: 16px;
}

.testimonial-stars {
  color: var(--accent-orange);
  font-size: 16px;
  display: inline-block;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  margin-top: 0;
  padding: 40px 0 20px;
  background: #161d2d;
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.footer-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.footer-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  stroke: currentColor;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }
  
  .list {
    grid-template-columns: 1fr 1fr;
  }
  
  .wrap {
    padding: 20px 30px;
  }
  
  .nav .links {
    gap: 15px;
  }
  
  .nav .nav-btn:first-child {
    display: none;
  }
  
  .cta {
    flex-wrap: nowrap; /* Keep buttons on same line */
    gap: 12px;
  }
  
  .coming-soon-btn {
    height: 50px; /* Keep same height as App Store button */
    min-width: 180px;
    padding: 0 20px;
  }
  
  .coming-soon-text {
    font-size: 13px;
  }
  
  .why-section {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 40px;
    padding: 50px 30px;
  }
  
  .testimonials-section {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 0;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .phones-showcase {
    min-height: 400px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-grid {
    gap: 30px;
    margin-bottom: 18px;
  }
  
  .site-footer {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    padding: 35px 30px 18px;
    margin-top: 0;
  }
  
  .footer-link {
    font-size: 15px;
    padding: 6px 12px;
  }
}

@media (max-width: 640px) {
  .title {
    font-size: 40px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .list {
    grid-template-columns: 1fr;
  }
  
  .wrap {
    padding: 16px 20px;
  }
  
  .nav .links {
    gap: 10px;
  }
  
  .nav .nav-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .nav .nav-btn:first-child {
    display: none;
  }
  
  .hero {
    margin-top: 20px;
    min-height: auto;
  }
  
  .cta {
    flex-wrap: nowrap; /* Keep buttons on same line */
    gap: 10px;
  }
  
  .coming-soon-btn {
    height: 50px; /* Keep same height as App Store button */
    min-width: 160px;
    padding: 0 16px;
  }
  
  .coming-soon-text {
    font-size: 12px;
    letter-spacing: 0.2px;
  }
  
  .why-section {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding: 40px 20px;
    margin-top: 30px;
  }
  
  .testimonials-section {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding: 40px 20px;
    margin-top: 0;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-subtitle {
    margin-bottom: 30px;
  }
  
  .features-container {
    gap: 30px;
  }
  
  .phones-showcase {
    min-height: 300px;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .feature-card-header {
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-title {
    font-size: 18px;
  }
  
  .feature-text {
    font-size: 14px;
  }
  
  .testimonials-grid {
    gap: 32px;
  }
  
  .author-initials {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  
  .author-name {
    font-size: 14px;
  }
  
  .testimonial-stars {
    font-size: 14px;
  }
  
  .testimonial-text {
    font-size: 15px;
  }
  
  .footer-grid {
    gap: 20px;
    margin-bottom: 16px;
  }
  
  .site-footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding: 30px 20px 16px;
    margin-top: 0;
  }
  
  .footer-link {
    font-size: 14px;
    padding: 6px 10px;
  }
  
  .footer-icon {
    width: 18px;
    height: 18px;
  }
  
  .footer-bottom {
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .nav .links {
    gap: 8px;
  }
  
  .nav .nav-btn {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .nav .nav-btn:first-child {
    display: none;
  }
  
  .cta {
    flex-wrap: nowrap; /* Keep buttons on same line */
    gap: 8px;
  }
  
  .coming-soon-btn {
    height: 50px; /* Keep same height as App Store button */
    min-width: 140px;
    padding: 0 12px;
  }
  
  .coming-soon-text {
    font-size: 11px;
    letter-spacing: 0.1px;
  }
}

