/* WhatFly Landing Page Styles
   Color Palette (matching app):
   - Background: #25292e
   - Accent/Primary: #ffd33d
   - Text Primary: #fff
   - Text Secondary: #ccc
   - Text Muted: #888
   - Border: #3a3a3a
   - Card Background: #1a1d21
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #25292e;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #ffd33d;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* Navigation */
.navbar {
  background-color: #1a1d21;
  border-bottom: 1px solid #3a3a3a;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

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

.nav-links a {
  color: #ccc;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffd33d;
}

/* Main Content */
main {
  flex: 1;
}

/* Hero Section */
.hero {
  padding: 80px 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero .highlight {
  color: #ffd33d;
}

.hero-subtitle {
  font-size: 20px;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* App Buttons */
.app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffd33d;
  color: #25292e;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 211, 61, 0.3);
  opacity: 1;
}

.app-button .button-icon {
  font-size: 28px;
}

.app-button .button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-button .small {
  font-size: 11px;
  font-weight: 400;
}

.app-button .big {
  font-size: 18px;
  font-weight: 600;
}

/* Features Section */
.features {
  padding: 80px 24px;
  background-color: #1a1d21;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
  color: #ffd33d;
}

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

.feature-card {
  background-color: #25292e;
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #ffd33d;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: #ccc;
  font-size: 15px;
}

/* CTA Section */
.cta {
  padding: 80px 24px;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta p {
  color: #ccc;
  font-size: 18px;
  margin-bottom: 32px;
}

/* Footer */
footer {
  background-color: #1a1d21;
  border-top: 1px solid #3a3a3a;
  padding: 48px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-brand .logo {
  font-size: 20px;
}

.footer-brand p {
  color: #888;
  font-size: 14px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: #ccc;
  font-size: 14px;
}

.footer-copy p {
  color: #666;
  font-size: 13px;
}

/* Legal Pages (Privacy & Terms) */
.legal-page {
  padding: 40px 24px 80px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.last-updated {
  color: #888;
  font-size: 14px;
  font-style: italic;
  margin-bottom: 40px;
}

.legal-container section {
  margin-bottom: 36px;
}

.legal-container h2 {
  font-size: 22px;
  color: #ffd33d;
  margin-bottom: 16px;
}

.legal-container h3 {
  font-size: 17px;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-container p {
  color: #ccc;
  margin-bottom: 12px;
}

.legal-container ul {
  color: #ccc;
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-container li {
  margin-bottom: 8px;
}

.legal-container strong {
  color: #fff;
}

.contact-email {
  font-size: 18px;
}

.contact-email a {
  color: #ffd33d;
}

.footer-note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #3a3a3a;
  text-align: center;
}

.footer-note p {
  color: #888;
}

/* Support Page */
.support-page {
  padding: 40px 24px 80px;
}

.support-container {
  max-width: 800px;
  margin: 0 auto;
}

.support-container h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.support-intro {
  color: #ccc;
  font-size: 18px;
  margin-bottom: 48px;
}

.support-container h2 {
  font-size: 24px;
  color: #ffd33d;
  margin-bottom: 24px;
}

/* Contact Card */
.contact-section {
  margin-bottom: 48px;
}

.contact-card {
  background-color: #1a1d21;
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.contact-icon {
  font-size: 48px;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-info p {
  color: #ccc;
  margin-bottom: 8px;
}

.contact-link {
  font-size: 20px;
  font-weight: 600;
  color: #ffd33d;
}

.response-time {
  color: #888;
  font-size: 14px;
  margin-top: 8px;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 48px;
}

.faq-item {
  background-color: #1a1d21;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: #fff;
}

.faq-item p {
  color: #ccc;
  font-size: 15px;
}

.faq-item a {
  color: #ffd33d;
}

/* Help Section */
.help-section {
  text-align: center;
  padding: 48px;
  background-color: #1a1d21;
  border-radius: 16px;
}

.help-section h2 {
  margin-bottom: 16px;
}

.help-section p {
  color: #ccc;
  margin-bottom: 24px;
}

.support-button {
  display: inline-block;
  background-color: #ffd33d;
  color: #25292e;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 211, 61, 0.3);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

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

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

  .nav-links {
    gap: 20px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}
