/* flybit Landing Page & Site Stylesheet - Ultra fast, native CSS */

:root {
  --primary: #FF5E36;
  --primary-gradient: linear-gradient(135deg, #FF5E36 0%, #FF2E63 100%);
  --secondary: #6C5CE7;
  --secondary-gradient: linear-gradient(135deg, #6C5CE7 0%, #8A2387 100%);
  --accent-gradient: linear-gradient(135deg, #FF5E36 0%, #6C5CE7 100%);
  --hero-glow-1: rgba(255, 94, 54, 0.15);
  --hero-glow-2: rgba(108, 92, 231, 0.15);
  --bg-main: #FAFAFD;
  --bg-card: #FFFFFF;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --border-color: #E5E7EB;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(108, 92, 231, 0.08), 0 8px 10px -6px rgba(255, 94, 54, 0.05);
  --shadow-lg: 0 20px 35px -10px rgba(108, 92, 231, 0.15), 0 10px 20px -5px rgba(255, 94, 54, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--text-dark);
  -webkit-text-fill-color: initial;
}

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

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(255, 94, 54, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 94, 54, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F9FAFB;
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(108, 92, 231, 0.08);
  color: var(--secondary);
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Background Mesh Glow Elements */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: var(--hero-glow-1);
}

.glow-2 {
  width: 600px;
  height: 600px;
  top: 200px;
  left: -200px;
  background: var(--hero-glow-2);
}

/* Hero Section */
.hero {
  padding: 160px 0 90px;
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 94, 54, 0.08);
  border: 1px solid rgba(255, 94, 54, 0.2);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.stat-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Cards & Grid Layouts */
.features-section {
  padding: 90px 0;
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 92, 231, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 94, 54, 0.1) 0%, rgba(108, 92, 231, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--primary);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Streaming & AI Support Section */
.streaming-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #FAFAFD 0%, #F3F4F6 100%);
}

.streaming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stream-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.stream-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stream-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  margin-bottom: 12px;
}

.stream-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.stream-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stream-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
  padding: 90px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary-gradient);
  color: #FFF;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.price-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.price-features li {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: "✓";
  color: #10B981;
  font-weight: 900;
}

/* User Reviews */
.reviews-section {
  padding: 90px 0;
  background: #F9FAFB;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 16px;
  font-size: 16px;
}

.review-text {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user-details h4 {
  font-size: 15px;
  font-weight: 700;
}

.user-details span {
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Recommended News Preview Grid in Index */
.news-section {
  padding: 90px 0;
  background: #FAFAFD;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(108, 92, 231, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Footer (Strictly 4 Menu Titles) */
.footer {
  background: #0F111A;
  color: #FFFFFF;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 26px;
  font-weight: 900;
  color: #FFF;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 16px;
  font-weight: 600;
  color: #9CA3AF;
  transition: var(--transition);
}

.footer-nav-link:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #6B7280;
}

/* Subpage Article Styling */
.article-container {
  padding: 140px 0 90px;
  max-width: 860px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
}

.article-category {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.article-h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 36px 0 16px;
  color: var(--text-dark);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--secondary);
  padding: 16px 24px;
  background: rgba(108, 92, 231, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.cta-box {
  background: linear-gradient(135deg, rgba(255, 94, 54, 0.08) 0%, rgba(108, 92, 231, 0.08) 100%);
  border: 1px solid rgba(255, 94, 54, 0.2);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-box h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Responsive Media Queries (@media) */
@media (max-width: 992px) {
  .features-grid, .pricing-grid, .reviews-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .streaming-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    height: 70px;
  }
  
  .nav-links {
    display: none; /* Can be toggled or responsive */
  }

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

  .hero-title {
    font-size: 34px;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid, .streaming-grid, .pricing-grid, .reviews-grid, .news-grid {
    grid-template-columns: 1fr;
  }

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