/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2B2B2B;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.logo:hover {
  color: #4A4A4A;
}

.logo svg {
  transition: all 0.3s ease;
}

.logo:hover svg path {
  fill: #4A4A4A;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(74, 74, 74, 0.1);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background-color: #2B2B2B;
  transition: all 0.3s ease;
  border-radius: 1.5px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: #4A4A4A;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #4A4A4A;
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Mobile Navigation Styles - Always apply to avoid specificity issues */
@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Early Access Banner */
.early-access-banner {
  background: #00251D;
  color: white;
  padding: 12px 0;
  margin-top: 66px; /* Push banner below fixed navbar */
  position: relative;
  z-index: 500;
}

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

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-icon {
  font-size: 1.2rem;
}

/* Ensure the Fine Poker icon fits nicely in the banner */
.banner-icon img {
  width: 64px;
  height: 64px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  border-radius: 6px; /* subtle rounding for app-icon look */
}

.banner-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
}

.banner-text strong {
  font-weight: 600;
  font-size: 1rem;
}

.banner-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.banner-cta {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.banner-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 80px 0 80px; /* Reset to normal padding since banner uses margin-top */
  background: linear-gradient(135deg, #F5F2E8 0%, #E8E1D6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 74, 74, 0.05) 0%, rgba(43, 43, 43, 0.05) 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #2B2B2B;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  color: #4A4A4A;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #4A4A4A 0%, #2B2B2B 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 74, 74, 0.3);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 74, 74, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #4A4A4A;
  border: 2px solid #4A4A4A;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: #4A4A4A;
  color: white;
  transform: translateY(-2px);
}

.hero-image {
  text-align: center;
}

.hero-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero-placeholder {
  display: inline-block;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Featured App Section */
.featured-app {
  padding: 80px 0 0 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.featured-label {
  display: inline-block;
  background: linear-gradient(135deg, #4A4A4A 0%, #2B2B2B 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.featured-app h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #2B2B2B;
  margin-bottom: 1rem;
}

.featured-app > .container > p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
}

.app-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-preview-content h3 {
  font-size: 1.5rem;
  color: #2B2B2B;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: disc;
  margin-bottom: 2rem;
}

.feature-list li {
  list-style-position: inside;
  padding: 12px 0;
  color: #666;
  position: relative;
  font-size: 1.1rem;
}

.coming-soon-badge {
  display: inline-block;
  margin-top: 1rem;
}

.coming-soon-badge span {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.early-access-badge {
  display: inline-block;
  margin-top: 1rem;
}

.early-access-badge span {
  background: #00251D;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.access-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.access-cta p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.btn-early-access {
  display: inline-block;
  background: #00251D;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-early-access:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4);
}

.app-preview-image {
  text-align: center;
}

.phone-mockup {
  display: inline-block;
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
}

.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-image img {
  width: 100%;
  max-width: 140px;
  max-height: 140px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.app-features h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.app-features ul {
  list-style: none;
  margin-bottom: 2rem;
}

.app-features li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 20px;
}

.app-features li:before {
  content: "•";
  color: #333;
  position: absolute;
  left: 0;
}

.app-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat {
  text-align: center;
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.download-buttons {
  display: flex;
  gap: 1rem;
}

.btn-download {
  background: #333;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #555;
}

.btn-download.android {
  background: #34a853;
}

.btn-download.android:hover {
  background: #2d8f47;
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.about h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2B2B2B;
  text-align: center;
  margin-bottom: 1rem;
}

.about > .container > p {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 74, 74, 0.1);
  background: white;
}

.feature-icon {
  margin-bottom: 1.5rem;
  color: #4A4A4A;
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  color: #2B2B2B;
  transform: scale(1.1);
}

.feature h3 {
  font-size: 1.3rem;
  color: #2B2B2B;
  margin-bottom: 1rem;
}

.feature p {
  color: #666;
  line-height: 1.6;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.mission p {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #F5F2E8 0%, #E8E1D6 100%);
}

.contact h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2B2B2B;
  text-align: center;
  margin-bottom: 1rem;
}

.contact > .container > p {
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 4rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
}

.contact-method {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(74, 74, 74, 0.15);
}

.contact-icon {
  margin-bottom: 1.5rem;
  color: #4A4A4A;
  transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
  color: #2B2B2B;
  transform: scale(1.1);
}

.contact-method h3 {
  font-size: 1.3rem;
  color: #2B2B2B;
  margin-bottom: 1rem;
}

.contact-method p {
  color: #666;
  margin-bottom: 1rem;
}

.contact-method a {
  color: #4A4A4A;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-method a:hover {
  color: #2B2B2B;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2B2B2B 0%, #4A4A4A 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Navigation handled above to avoid specificity issues */
  
  .nav-link {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(74, 74, 74, 0.1);
    font-size: 1.1rem;
    min-height: 56px;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link::after {
    display: none;
  }

  /* Improved mobile spacing and layout */
  .container {
    padding: 0 20px;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }
  
  /* Slightly smaller icon on mobile for better balance */
  .banner-icon img {
    width: 64px;
    height: 64px;
  }
  
  .banner-text {
    text-align: center;
  }
  
  .banner-text strong {
    font-size: 1.1rem;
  }
  
  .banner-cta {
    margin-top: 0.5rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 240px;
    padding: 16px 32px;
  }
  
  .featured-app {
    padding: 60px 0 0 0;
  }
  
  .featured-app h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .featured-app > .container > p {
    text-align: center;
    padding: 0 1rem;
  }
  
  .app-preview {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .feature-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
  }
  
  .feature-list li {
    font-size: 1rem;
    padding: 10px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature {
    padding: 2rem 1.5rem;
  }
  
  .about,
  .contact {
    padding: 60px 0;
  }
  
  .about h2,
  .contact h2 {
    font-size: 2.2rem;
  }
  
  .contact-method {
    padding: 2rem 1.5rem;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .app-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .app-image img {
    max-width: 100px;
    max-height: 100px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    padding: 0;
    font-size: 1rem;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 200px;
    font-size: 0.9rem;
  }
  
  .featured-app h2 {
    font-size: 2rem;
  }
  
  .about h2,
  .mission h2,
  .contact h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .feature {
    padding: 1.5rem 1rem;
  }
  
  .contact-method {
    padding: 1.5rem 1rem;
  }
  
  .banner-text strong {
    font-size: 1rem;
  }
  
  .banner-text span {
    font-size: 0.85rem;
  }
  
  .feature-list li {
    font-size: 0.95rem;
    padding: 8px 0;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
  
  .early-access-banner {
    padding: 10px 0;
  }
  
  .app-preview {
    gap: 2rem;
  }
  
  .phone-mockup svg {
    width: 160px;
    height: 280px;
  }
}