@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS & RESET
   ========================================================================== */
:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --bg-primary: #08090d;
  --bg-secondary: #0f111a;
  --bg-glass: rgba(15, 18, 36, 0.45);
  --bg-glass-hover: rgba(25, 29, 54, 0.6);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-glass-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --accent-indigo: #6366f1;
  --accent-pink: #ec4899;
  --accent-teal: #14b8a6;
  --accent-amber: #f59e0b;

  --grad-primary: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-pink) 100%);
  --grad-teal: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%);
  --grad-dark: linear-gradient(180deg, #11131e 0%, #08090d 100%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;

  /* Miscellanous */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.15);
  --shadow-glow-pink: 0 0 25px rgba(236, 72, 153, 0.15);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

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

/* ==========================================================================
   LAYOUTS & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-xxl) 0;
  }
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: var(--bg-glass-hover);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-teal {
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg) auto;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
  .section-subtitle {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.35), 0 0 30px rgba(236, 72, 153, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-indigo);
  color: #fff;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.8rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: rgba(10, 11, 19, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-glass);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 1005;
  transition: right var(--transition-normal);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .nav-link {
  font-size: 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu .btn {
  margin-top: var(--space-sm);
  width: 100%;
}

@media (min-width: 768px) {
  .nav-links, .nav-cta {
    display: flex;
  }
  .hamburger, .mobile-menu {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 160px;
  padding-bottom: var(--space-xl);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 550px;
  margin: 0 auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-glass);
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 200px;
    padding-bottom: var(--space-xxl);
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero p {
    font-size: 1.35rem;
  }
  .stat-item h3 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   APPS SECTION
   ========================================================================== */
.apps-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.app-card-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: var(--space-md);
}

@media (min-width: 992px) {
  .app-card-wrapper {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-lg);
    gap: var(--space-lg);
  }
}

.app-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.app-visual img {
  width: 90%;
  max-height: 280px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.app-card-wrapper:hover .app-visual img {
  transform: scale(1.03);
}

.app-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  align-items: center;
}

.badge-bfs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(20, 149, 204, 0.15);
  border: 1px solid rgba(20, 149, 204, 0.3);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-bfs svg {
  height: 12px;
}

.badge-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-rating .star {
  color: var(--accent-amber);
}

.badge-pricing {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.app-name {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.app-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.app-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.app-features li::before {
  content: "✦";
  color: var(--accent-indigo);
  font-weight: bold;
}

/* ==========================================================================
   STRENGTHS / WHY CHOOSE US
   ========================================================================== */
.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .strengths-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strength-card {
  padding: var(--space-md);
  text-align: center;
}

.strength-icon {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--accent-indigo);
  font-size: 1.5rem;
  font-weight: bold;
}

.strength-card:nth-child(2) .strength-icon {
  background: rgba(236, 72, 153, 0.1);
  color: var(--accent-pink);
}

.strength-card:nth-child(3) .strength-icon {
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-teal);
}

.strength-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.strength-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-amber);
  font-size: 0.9rem;
}

.review-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
  flex-wrap: wrap;
  gap: 8px;
}

.review-app-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-app-badge.fomo {
  background: rgba(236, 72, 153, 0.12);
  color: #fbcfe8;
  border-color: rgba(236, 72, 153, 0.3);
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  font-style: italic;
}

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

.avatar-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
}

.review-author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.review-author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-indigo);
}

.faq-item.active .faq-question {
  color: var(--accent-indigo);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-normal);
  color: var(--accent-indigo);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 var(--space-md) var(--space-md) var(--space-md);
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-banner {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glass {
  padding: var(--space-xl) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.cta-glass h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-sm);
}

.cta-glass p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-top: 1px solid var(--border-glass);
  background: var(--bg-primary);
  padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 250px;
}

.footer-brand img {
  height: 32px;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-column ul a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border-top-color: var(--accent-indigo);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PRIVACY POLICY DOCUMENT SPECIFICS
   ========================================================================== */
.policy-container {
  padding-top: 140px;
  padding-bottom: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.policy-card {
  padding: var(--space-lg);
}

.policy-card h1 {
  font-size: 2.25rem;
  margin-bottom: var(--space-md);
}

.policy-card h2 {
  font-size: 1.5rem;
  margin: var(--space-lg) 0 var(--space-sm) 0;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: var(--space-xs);
}

.policy-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.policy-card ul {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.policy-card li {
  margin-bottom: var(--space-xs);
}

.policy-card a {
  color: var(--accent-indigo);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.policy-card a:hover {
  color: var(--accent-pink);
}
