/* =============================================================================
   index.css — Shared base styles
   Includes: CSS variables · base reset · navbar (+ Reddit submenu) · footer
             page mode hero · shared buttons · How It Works section
             index.html-specific sections (hero, benefits, tools, faq, about)
   Imported on: ALL pages
   ============================================================================= */

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --bg-void:      #04060c;
  --bg-deep:      #070c16;
  --bg-base:      #111827;
  --bg-elevated:  #1e2d45;
  --bg-phone:     #0d1017;
  --border:       #1e2d45;
  --border-strong:#4f46e5;
  --accent:       #6366f1;
  --accent-dim:   #4f46e5;
  --accent-deep:  #312e81;
  --accent-light: #818cf8;
  --accent-pale:  #a5b4fc;
  --warm:         #f59e0b;
  --warm-bright:  #fbbf24;
  --text-primary:   #f1f5f9;
  --text-secondary: #c7d2e8;
  --text-muted:     #8897b3;
  --text-dim:       #546180;
  --text-faint:     #3f5070;
}

/* ── Base Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-void);
  color: var(--text-secondary);
  min-height: 100vh;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 60px;
  margin: 1rem 5%;
  width: 90%;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; color: #f0f4fa;
}
.logo img { height: 45px; width: auto; }
.nav-items a {
  text-decoration: none; color: #d1d9f0; font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 2px solid transparent; padding-bottom: 4px;
}
.nav-items a:hover { color: white; border-bottom-color: #6366f1; }
.nav-right-group { display: flex; align-items: center; gap: 2.5rem; }
.nav-items { display: flex; align-items: center; gap: 2.5rem; }

/* ── Dropdown (top-level Tools menu) ── */
.dropdown { position: relative; display: inline-block; }
.dropbtn {
  background: transparent; color: #c7d2e8; font-weight: 500; font-size: 0.95rem;
  border: none; cursor: pointer; padding: 0.5rem 0;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid transparent; transition: color 0.2s;
}
.dropbtn:hover { color: #fff; border-bottom-color: #4f46e5; }

.dropdown-content {
  position: absolute; top: 2.4rem; left: 0;
  background: #111827; min-width: 230px;
  border-radius: 12px; box-shadow: 0 20px 30px -10px #04060c;
  border: 1px solid #1e2d45; padding: 0.5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s ease; z-index: 150;
}
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-content > a {
  color: #c7d2e8; padding: 0.6rem 1.4rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; text-decoration: none; transition: background 0.12s, color 0.12s;
}
.dropdown-content > a:hover { background: #1a1e35; color: white; }

.coming-soon {
  font-size: 0.75rem; background: #1e2d45; color: #c7d2e8;
  padding: 0.2rem 0.8rem; border-radius: 30px;
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
}

/* ── Reddit Style nested submenu ── */
.dropdown-submenu { position: relative; }

.dropbtn-sub {
  display: flex; align-items: center; gap: 0.5rem;
  width: 100%; background: transparent; border: none;
  color: #c7d2e8; font-size: 0.88rem;
  padding: 0.6rem 1.4rem; cursor: pointer; text-align: left;
  transition: background 0.12s, color 0.12s; white-space: nowrap;
}
.dropbtn-sub:hover { background: #1a1e35; color: white; }
.submenu-arrow { margin-left: auto; font-size: 0.65rem; opacity: 0.5; }

.dropdown-submenu-content {
  display: none; position: absolute; right: 100%; top: 0;
  background: #111827; border: 1px solid #1e2d45; border-radius: 12px;
  min-width: 215px; padding: 0.4rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6); z-index: 200;
}
@media (max-width: 900px) { .dropdown-submenu-content { right: auto; left: 0; top: 100%; } }
.dropdown-submenu:hover .dropdown-submenu-content,
.dropdown-submenu:focus-within .dropdown-submenu-content { display: block; }

.dropdown-submenu-content a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.85rem; border-radius: 8px;
  color: #c7d2e8; font-size: 0.85rem;
  text-decoration: none; transition: background 0.12s; white-space: nowrap;
}
.dropdown-submenu-content a:hover          { background: rgba(99,102,241,0.12); color: white; }
.dropdown-submenu-content a.active-page    { background: rgba(99,102,241,0.18); color: #818cf8; }
.check-files-link                          { color: #f59e0b !important; }
.check-files-link:hover                    { background: rgba(245,158,11,0.08) !important; }

.submenu-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0.3rem 0.5rem; }

/* ── Nav mode badges ── */
.nav-mode-badge {
  margin-left: auto; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.15rem 0.45rem; border-radius: 30px; flex-shrink: 0;
}
.realtime-badge  { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.overnight-badge { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }

/* ── Right nav group ── */
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-right a { text-decoration: none; color: #c7d2e8; font-size: 0.9rem; transition: color 0.2s; }
.nav-right a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════════
   SHARED BUTTONS
   ═══════════════════════════════════════════════════════════════════════════════ */
.btn-primary-solid {
  background: linear-gradient(135deg,#4f46e5,#6366f1);
  color: white; border: none; padding: 0.8rem 2rem; border-radius: 60px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3); text-decoration: none;
}
.btn-primary-solid:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.4); }
.btn-primary-solid:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

.btn-outline-solid {
  background: transparent; border: 2px solid #4f46e5; font-weight: 600;
  padding: 1rem 2.6rem; border-radius: 60px; color: #c7d2e8; cursor: pointer;
  font-size: 1rem; transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline-solid:hover { background: #111827; border-color: #818cf8; color: white; }

/* ═══════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS (all tool pages)
   ═══════════════════════════════════════════════════════════════════════════════ */
.how-it-works {
  padding: 4rem 5%; background: #070c16;
  border-top: 1px solid #0d1017; border-bottom: 1px solid #0d1017; margin-top: 3rem;
}
.how-it-works h2 { text-align: center; font-size: 2.2rem; font-weight: 600; color: #f1f5f9; margin-bottom: 2rem; }
.steps-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.step-card {
  background: #0d1017; border-radius: 40px; padding: 2rem 1.8rem;
  flex: 1 1 180px; min-width: 180px; border: 1px solid #1e2d45;
  box-shadow: 0 10px 20px -10px #04060c; text-align: center; transition: transform 0.2s;
}
.step-card:hover { transform: translateY(-4px); border-color: #6366f1; box-shadow: 0 0 24px rgba(99,102,241,0.2); }
.step-icon    { font-size: 2.2rem; color: #818cf8; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; color: #f1f5f9; }
.step-card p  { color: #c7d2e8; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
footer { background: #0b1120; padding: 3rem 5% 2rem; border-top: 1px solid #1e2d45; color: #c7d2e8; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo-col { flex: 1 1 200px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 600; color: #c7d2e8; margin-bottom: 0.5rem; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-tagline { font-size: 0.9rem; color: #6b7fa0; margin-top: 0.3rem; }
.footer-col { flex: 1 1 160px; }
.footer-col h4 { font-size: 1.1rem; font-weight: 600; color: #f1f5f9; margin-bottom: 1rem; border-left: 3px solid #4f46e5; padding-left: 0.8rem; }
.social-links-footer { display: flex; flex-direction: column; gap: 0.6rem; }
.social-links-footer a { color: #c7d2e8; text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; transition: color 0.2s, transform 0.2s; }
.social-links-footer a:hover { color: #818cf8; transform: translateX(4px); }
.social-links-footer i { width: 1.2rem; color: #818cf8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: #c7d2e8; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: #818cf8; }
.footer-email { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; padding: 1.5rem 0; border-top: 1px solid #1e2d45; border-bottom: 1px solid #1e2d45; margin-bottom: 1.5rem; }
.email-link { display: inline-flex; align-items: center; gap: 8px; color: #c7d2e8; text-decoration: none; font-size: 0.95rem; transition: all 0.2s; }
.email-link i { color: #818cf8; }
.email-link:hover { color: #ffffff; transform: scale(1.05); }
.footer-copyright { text-align: center; font-size: 0.85rem; color: #6b7fa0; }
.product-by { font-size: 0.9rem; color: #c7d2e8; margin-bottom: 0.3rem; }

/* ═══════════════════════════════════════════════════════════════════════════════
   INDEX.HTML ONLY — Hero, Benefits, Tools, About, FAQ
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero { display: flex; align-items: center; flex-wrap: wrap; gap: 3rem; padding: 4rem 5% 5rem; max-width: 1300px; margin: 0 auto; }
.hero-content { flex: 1 1 400px; }
.badge-solid { background: #111827; padding: 0.4rem 1.4rem; border-radius: 40px; font-size: 0.85rem; font-weight: 500; color: #c7d2e8; border: 1px solid #1e2d45; margin-bottom: 1.5rem; display: inline-block; }
.hero-content h1 { font-size: 3.4rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #f1f5f9; }
.hero-highlight { color: #818cf8; }
.tool-solid { background: #111827; border-radius: 60px; padding: 0.7rem 1.8rem; margin: 2rem 0 1.5rem; display: inline-flex; align-items: center; gap: 0.8rem; border: 1px solid #1e2d45; font-weight: 500; color: #c7d2e8; }
.hero-subhead { font-size: 1.2rem; color: #c7d2e8; margin: 2rem 0 2.2rem; max-width: 550px; border-left: 4px solid #4f46e5; padding-left: 1.8rem; }
.hero-visual { flex: 1 1 380px; background: transparent; border: none; box-shadow: none; padding: 0; perspective: 1500px; }
.flip-card { background: transparent; width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.23,1,0.32,1); }
.hero-visual:hover .flip-card { transform: rotateY(180deg); }
.flip-front, .flip-back { backface-visibility: hidden; position: relative; width: 100%; border-radius: 48px; padding: 2.5rem 2rem; background: #111827; border: 1px solid #1e2d45; box-shadow: 0 25px 40px -20px #04060c; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flip-front { transform: rotateY(0deg); }
.flip-back  { transform: rotateY(180deg); position: absolute; top: 0; left: 0; height: 100%; justify-content: center; background: #111827; border: 1px solid #4f46e5; }
.logo-area { position: relative; width: 220px; height: 220px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; background: #070c16; border-radius: 48px; border: 1px solid #4f46e5; overflow: hidden; animation: logoPulse 3s infinite ease-in-out; }
.logo-area img { max-width: 150%; max-height: 150%; object-fit: contain; z-index: 2; display: block; }
.flip-front .logo-area::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 8px; background: linear-gradient(90deg,transparent,#818cf8,#6366f1,#818cf8,transparent); opacity: 0.6; filter: blur(2px); animation: scan 4s linear infinite; z-index: 3; pointer-events: none; }
@keyframes scan { 0% { top: -10%; } 100% { top: 110%; } }
@keyframes logoPulse { 0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.3); } 50% { box-shadow: 0 0 20px 5px rgba(99,102,241,0.55); } 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.3); } }
.visual-caption-solid { font-weight: 500; color: #c7d2e8; background: #070c16; padding: 0.6rem 1.6rem; border-radius: 60px; font-size: 0.95rem; border: 1px solid #1e2d45; margin-top: 0.5rem; }
.flip-back p { font-size: 1.2rem; line-height: 1.6; color: #e8edf5; max-width: 280px; margin: 1.5rem 0; font-weight: 400; border-left: 3px solid #4f46e5; padding-left: 1.2rem; text-align: left; }
.flip-back i { color: #818cf8; font-size: 2.5rem; margin-bottom: 1rem; }
.flip-back .signature { font-weight: 500; color: #c7d2e8; margin-top: 0.5rem; font-size: 0.9rem; }
.ai-note-solid { margin-top: 1.8rem; background: #111827; padding: 0.6rem 1.6rem; border-radius: 60px; color: #c7d2e8; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #1e2d45; }
.benefits-section { padding: 4rem 5%; background: #070c16; border-top: 1px solid #111827; border-bottom: 1px solid #111827; }
.benefits-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 1200px; margin: 0 auto; }
.benefit-card { background: #111827; border-radius: 40px; padding: 2rem 1.8rem; flex: 1 1 200px; min-width: 200px; border: 1px solid #1e2d45; box-shadow: 0 10px 20px -10px #04060c; text-align: center; transition: transform 0.2s; }
.benefit-card:hover { transform: translateY(-4px); border-color: #6366f1; box-shadow: 0 0 24px rgba(99,102,241,0.2); }
.benefit-icon { font-size: 2.2rem; color: #818cf8; margin-bottom: 1rem; }
.benefit-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; color: #f1f5f9; }
.benefit-card p  { color: #c7d2e8; font-size: 0.95rem; }
.tools-solid { padding: 3.5rem 5% 4.5rem; background: #070c16; border-top: 1px solid #111827; border-bottom: 1px solid #111827; }
.section-header-solid { text-align: center; margin-bottom: 2.5rem; }
.section-header-solid h2 { font-size: 2.4rem; font-weight: 600; color: #f1f5f9; }
.section-header-solid p  { color: #c7d2e8; font-size: 1.1rem; }
.tool-card-solid { max-width: 700px; margin: 0 auto; background: #111827; border-radius: 60px; padding: 2.5rem 2.8rem; border: 1px solid #1e2d45; box-shadow: 0 20px 30px -20px #04060c; text-align: center; }
.tool-name-solid { font-size: 2.2rem; font-weight: 600; color: #f1f5f9; margin-bottom: 1rem; }
.tool-desc-solid { color: #c7d2e8; margin: 1.2rem 0 2rem; font-size: 1.05rem; }
.free-badge { display: inline-block; background: linear-gradient(135deg,#4f46e5,#6366f1); color: #fff; font-size: 0.9rem; font-weight: 600; padding: 0.2rem 1rem; border-radius: 40px; margin-bottom: 1rem; }
.btn-use { background: linear-gradient(135deg,#4f46e5,#6366f1); color: white; font-weight: 600; padding: 0.9rem 2.4rem; border-radius: 60px; border: none; cursor: pointer; font-size: 1.1rem; box-shadow: 0 8px 18px -6px #312e81; transition: background 0.2s, transform 0.1s; text-decoration: none; display: inline-block; margin: 1rem 0 0.5rem; }
.btn-use:hover { background: #818cf8; transform: scale(1.02); }
.more-badge-solid { background: #312e81; color: white; padding: 0.6rem 2rem; border-radius: 60px; font-size: 1rem; font-weight: 500; display: inline-block; border: none; margin-top: 1.5rem; }
.more-badge-solid i { margin-right: 8px; }
.about-archnemix { padding: 4rem 5%; background: #0b1120; border-top: 1px solid #1e2d45; border-bottom: 1px solid #1e2d45; text-align: center; }
.about-archnemix h2 { font-size: 2.2rem; font-weight: 600; color: #f1f5f9; margin-bottom: 1.5rem; }
.about-archnemix p { max-width: 800px; margin: 0 auto; color: #c7d2e8; font-size: 1.2rem; line-height: 1.7; }
.about-archnemix .brand-highlight { color: #818cf8; font-weight: 600; }
.hybrid-solid { background: #111827; padding: 1.8rem 2.2rem; margin: 3rem 5% 2rem; border-radius: 80px; text-align: center; border: 1px solid #1e2d45; color: #c7d2e8; font-size: 1.2rem; }
.faq-section { padding: 3rem 5%; background: #070c16; }
.faq-section h2 { text-align: center; font-size: 2rem; font-weight: 600; color: #f1f5f9; margin-bottom: 2rem; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #111827; border-radius: 40px; padding: 1.2rem 2rem; border: 1px solid #1e2d45; }
.faq-question { font-weight: 600; color: #f1f5f9; font-size: 1.1rem; margin-bottom: 0.5rem; }
.faq-answer  { color: #c7d2e8; font-size: 0.95rem; }

/* ── Spin utility ── */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; display: inline-block; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .navbar              { flex-direction: column; align-items: stretch; gap: 0.7rem; padding: 1rem; }
  .nav-right-group     { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero-content h1     { font-size: 2.6rem; }
  .logo-area           { width: 180px; height: 180px; }
  .flip-front,
  .flip-back           { padding: 1.5rem; }
  .benefits-grid       { flex-direction: column; align-items: center; }
  .footer-main         { flex-direction: column; gap: 2rem; }
  .footer-email        { flex-direction: column; align-items: center; gap: 1rem; }
}