/* ============================================
   assets/css/main.css — Additional styles
   FNS Expert theme — brand palette update
   ============================================ */

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  background: rgba(8, 14, 31, 0.98);
  border-top: 1px solid rgba(59,130,246,0.1);
  padding: 20px 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mobile-menu.is-open { display: block; }

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f4ff;
  padding: 12px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(59,130,246,0.1);
}
.mobile-menu-phone svg { width: 18px; height: 18px; color: #e8572a; }

.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.mobile-menu-buttons .btn { width: 100%; justify-content: center; }

/* Hamburger → X animation */
.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BODY PADDING FOR FIXED HEADER
   ============================================ */
body { padding-top: 70px; }

/* ============================================
   HERO ASIDE
   ============================================ */
.hero-aside {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.hero-aside::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 50%, rgba(232,87,42,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-aside .upload-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

/* ============================================
   DROP ZONE INTERACTIVE
   ============================================ */
.drop-zone { cursor: pointer; user-select: none; -webkit-user-select: none; }

.drop-zone.drag-over .drop-zone-icon {
  background: rgba(232,87,42,0.18);
  transform: scale(1.05);
  transition: all 0.25s ease;
}
.drop-zone.drag-over .drop-zone-icon svg {
  animation: bounce-up 0.5s ease infinite alternate;
}
@keyframes bounce-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #e8572a 0%, #c94820 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(232,87,42,0.35);
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover {
  box-shadow: 0 6px 24px rgba(232,87,42,0.55);
  transform: translateY(-2px);
}
.scroll-top-btn svg { width: 20px; height: 20px; }

/* ============================================
   HEADER PHONE SVG ICON
   ============================================ */
.header-phone svg { width: 14px; height: 14px; color: #e8572a; flex-shrink: 0; }

/* ============================================
   SECTION ALTERNATING BACKGROUNDS
   ============================================ */
.how-section,
.types-section,
.pricing-section,
.reviews-section,
.contacts-section {
  background: var(--color-bg);
}
.inside-section,
.who-section,
.comparison-section,
.final-cta-section,
.pain-section {
  background: var(--color-bg-alt);
}

/* ============================================
   GLASSMORPHISM ON UPLOAD & PRICING CARDS
   ============================================ */
.upload-card,
.pricing-main {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   ORANGE GRADIENT TEXT UTILITY
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, #e8572a 0%, #f5834a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   COMPARISON TABLE ROW HOVER
   ============================================ */
.comparison-table tbody tr { transition: background 0.2s ease; }
.comparison-table tbody tr:hover { background: rgba(59,130,246,0.03); }
.comparison-table tbody tr:hover .fns-col { background: rgba(232,87,42,0.05); }

/* ============================================
   TRUST BAR DOT SEPARATORS
   ============================================ */
.trust-bar-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(59,130,246,0.3);
  flex-shrink: 0;
}

/* ============================================
   STEPS CONNECTOR LINE (desktop)
   ============================================ */
@media (min-width: 769px) {
  .steps-grid { position: relative; }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(16.67% + 20px);
    right: calc(16.67% + 20px);
    height: 1px;
    background: linear-gradient(90deg,
      rgba(232,87,42,0.3) 0%,
      rgba(59,130,246,0.2) 50%,
      rgba(232,87,42,0.3) 100%
    );
    z-index: 0;
    pointer-events: none;
  }
}

/* ============================================
   FOOTER CONTACT ITEMS
   ============================================ */
.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #8b9bbe;
  transition: color 0.28s ease;
}
.footer-contact-item:hover { color: #e8572a; }
.footer-contact-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ============================================
   ACCESSIBLE FOCUS STYLES
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #e8572a;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.15), transparent);
  margin: 0;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header, .scroll-top-btn, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; padding-top: 0; }
}
