/* ========== MOBILE STYLES (matching desktop color scheme) ========== */
@media (max-width: 768px) {
  /* Mobile Navbar */
  .mobile-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 100;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #f0f4fa;
  }

  .mobile-logo img {
    height: 32px;
    width: auto;
  }

  .hamburger-btn {
    background: none;
    border: none;
    color: #f0f4fa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
  }

  /* Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #111827;
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1e2d45;
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e2d45;
  }

  .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #f0f4fa;
  }

  .sidebar-logo img {
    height: 28px;
    width: auto;
  }

  .close-sidebar {
    background: none;
    border: none;
    color: #c7d2e8;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .sidebar-menu {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
  }

  .sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #c7d2e8;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: background 0.2s;
  }

  .sidebar-item.active {
    background: rgba(99, 102, 241, 0.18);
    color: #818cf8;
  }

  .sidebar-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .sidebar-divider {
    padding: 12px 12px 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #5f9bc0;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .sidebar-submenu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #c7d2e8;
    cursor: pointer;
    border-radius: 12px;
    transition: background 0.2s;
  }

  .sidebar-submenu-header:hover {
    background: rgba(99, 102, 241, 0.08);
  }

  .submenu-chevron {
    margin-left: auto;
    transition: transform 0.2s;
    font-size: 0.75rem;
  }

  .sidebar-submenu-header.open .submenu-chevron {
    transform: rotate(90deg);
  }

  .sidebar-submenu-content {
    display: none;
    padding-left: 32px;
    margin-top: 4px;
    margin-bottom: 8px;
  }

  .sidebar-submenu-content.open {
    display: block;
  }

  .sidebar-submenu-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #c7d2e8;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: background 0.2s;
  }

  .sidebar-submenu-content a:hover {
    background: rgba(99, 102, 241, 0.12);
  }

  .mobile-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: auto;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  .mobile-badge.realtime-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
  }

  .mobile-badge.overnight-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
  }

  .sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #1e2d45;
  }

  .sidebar-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .sidebar-social a {
    color: #c7d2e8;
    font-size: 1.2rem;
    transition: color 0.2s;
  }

  .sidebar-social a:hover {
    color: #818cf8;
  }

  .sidebar-copyright {
    font-size: 0.7rem;
    text-align: center;
    color: #6b7fa0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
  }

  .sidebar-overlay.open {
    display: block;
  }

  /* Mobile Main Content */
  .mobile-main {
    padding-top: 70px;
    padding-bottom: 2rem;
  }

  /* Hero Section */
  .mobile-hero {
    padding: 2rem 1.2rem;
    text-align: center;
  }

  .mobile-badge-solid {
    background: #111827;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #c7d2e8;
    border: 1px solid #1e2d45;
    margin-bottom: 1.2rem;
    display: inline-block;
  }

  .mobile-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #f1f5f9;
    margin-bottom: 1rem;
  }

  .hero-highlight-mobile {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .mobile-tool-solid {
    background: #111827;
    border-radius: 60px;
    padding: 0.5rem 1.2rem;
    margin: 1rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid #1e2d45;
    font-weight: 500;
    color: #c7d2e8;
    font-size: 0.85rem;
  }

  .mobile-subhead {
    font-size: 0.95rem;
    color: #c7d2e8;
    margin: 1.2rem 0;
    line-height: 1.5;
    border-left: 3px solid #4f46e5;
    padding-left: 1rem;
    text-align: left;
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0 1rem;
  }

  .mobile-btn-primary, .mobile-btn-outline {
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
  }

  .mobile-btn-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
  }

  .mobile-btn-outline {
    border: 2px solid #4f46e5;
    color: #c7d2e8;
  }

  .mobile-ai-note {
    margin-top: 1rem;
    background: #111827;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    color: #c7d2e8;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #1e2d45;
  }

  /* Benefits Section */
  .mobile-benefits-section {
    padding: 2rem 1rem;
    background: #070c16;
    border-top: 1px solid #111827;
    border-bottom: 1px solid #111827;
  }

  .mobile-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .mobile-benefit-card {
    background: #111827;
    border-radius: 24px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #1e2d45;
    transition: transform 0.2s;
  }

  .mobile-benefit-card:hover {
    transform: translateY(-2px);
    border-color: #6366f1;
  }

  .mobile-benefit-icon {
    font-size: 1.5rem;
    color: #818cf8;
    margin-bottom: 0.5rem;
  }

  .mobile-benefit-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #f1f5f9;
  }

  .mobile-benefit-card p {
    font-size: 0.7rem;
    color: #c7d2e8;
    line-height: 1.4;
  }

  /* Tools Section */
  .mobile-tools-solid {
    padding: 2rem 1rem;
    background: #070c16;
  }

  .mobile-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .mobile-section-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #f1f5f9;
  }

  .mobile-section-header p {
    color: #c7d2e8;
    font-size: 0.85rem;
  }

  .mobile-tool-card-solid {
    background: #111827;
    border-radius: 32px;
    padding: 1.5rem;
    border: 1px solid #1e2d45;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .mobile-free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    margin-bottom: 1rem;
  }

  .mobile-tool-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
  }

  .mobile-tool-desc {
    color: #c7d2e8;
    font-size: 0.85rem;
    margin: 0.8rem 0;
    line-height: 1.5;
  }

  .mobile-tool-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
  }

  .mobile-btn-use, .mobile-btn-use-outline {
    padding: 0.7rem 1rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
  }

  .mobile-btn-use {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
  }

  .mobile-btn-use-outline {
    border: 2px solid #4f46e5;
    color: #c7d2e8;
  }

  .mobile-free-note {
    font-size: 0.7rem;
    color: #6b7fa0;
    margin-top: 0.8rem;
  }

  .mobile-more-engines {
    text-align: center;
  }

  .mobile-more-engines span {
    background: #111827;
    padding: 0.5rem 1.2rem;
    border-radius: 60px;
    color: #c7d2e8;
    font-size: 0.8rem;
    border: 1px solid #1e2d45;
    display: inline-block;
  }

  /* Hybrid Message */
  .mobile-hybrid-solid {
    background: #111827;
    padding: 1.2rem;
    margin: 1rem;
    border-radius: 40px;
    text-align: center;
    border: 1px solid #1e2d45;
    color: #c7d2e8;
    font-size: 0.85rem;
  }

  .mobile-hybrid-solid i {
    margin-right: 8px;
    color: #5f9bc0;
  }

  /* About Archnemix */
  .mobile-about-archnemix {
    padding: 2rem 1.2rem;
    background: #0b1120;
    border-top: 1px solid #1e2d45;
    border-bottom: 1px solid #1e2d45;
    text-align: center;
  }

  .mobile-about-archnemix h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1rem;
  }

  .brand-highlight-mobile {
    color: #818cf8;
    font-weight: 600;
  }

  .mobile-about-archnemix p {
    color: #c7d2e8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .mobile-about-footer {
    font-size: 0.8rem;
    color: #5f9bc0;
  }

  /* FAQ Section */
  .mobile-faq-section {
    padding: 2rem 1rem;
    background: #070c16;
  }

  .mobile-faq-section h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
  }

  .mobile-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .mobile-faq-item {
    background: #111827;
    border-radius: 24px;
    border: 1px solid #1e2d45;
    overflow: hidden;
  }

  .mobile-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.9rem;
  }

  .mobile-faq-question i {
    color: #818cf8;
    transition: transform 0.2s;
  }

  .mobile-faq-item.open .mobile-faq-question i {
    transform: rotate(180deg);
  }

  .mobile-faq-answer {
    display: none;
    padding: 0 1rem 1rem;
    color: #c7d2e8;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .mobile-faq-item.open .mobile-faq-answer {
    display: block;
  }

  /* Footer Note */
  .mobile-footer-note {
    padding: 1rem;
    text-align: center;
  }

  .mobile-footer-note span {
    background: #111827;
    padding: 0.5rem 1rem;
    border-radius: 60px;
    color: #c7d2e8;
    font-size: 0.75rem;
    border: 1px solid #1e2d45;
    display: inline-block;
  }

  /* ── Mobile Footer ──────────────────────────────────────────────────── */
  .mobile-footer {
    background: #0b1120;
    padding: 2rem 1.2rem 1.5rem;
    border-top: 1px solid #1e2d45;
  }

  /* 2-col grid — logo spans full width, then 2 cols for Tools/Legal, Social full width */
  .mobile-footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .mobile-footer-logo-col {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .mobile-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #c7d2e8;
  }

  .mobile-footer-logo img {
    height: 30px;
    width: auto;
  }

  .mobile-footer-tagline {
    font-size: 0.72rem;
    color: #546180;
  }

  .mobile-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.65rem;
    border-left: 2px solid #4f46e5;
    padding-left: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  /* Social column — full width */
  .mobile-footer-col:last-child {
    grid-column: 1 / -1;
  }

  /* ── Social links — pill style matching overnight footer ── */
  .mobile-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .mobile-social-links a {
    color: #8897b3;
    text-decoration: none;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 30px;
    border: 1px solid #1e2d45;
    background: #111827;
    transition: color 0.15s, border-color 0.15s;
  }

  .mobile-social-links a:active,
  .mobile-social-links a:hover {
    color: #818cf8;
    border-color: #4f46e5;
  }

  .mobile-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .mobile-footer-col li {
    margin: 0;
  }

  .mobile-footer-col a {
    color: #8897b3;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.15s;
  }

  .mobile-footer-col a:hover,
  .mobile-footer-col a:active {
    color: #818cf8;
  }

  .retrieve-link {
    color: #f59e0b !important;
  }

  /* ── Footer email ── */
  .mobile-footer-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid #1e2d45;
    border-bottom: 1px solid #1e2d45;
    margin-bottom: 1rem;
  }

  .mobile-email-link {
    color: #8897b3;
    text-decoration: none;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-email-link i {
    color: #818cf8;
  }

  .mobile-email-link:active {
    color: #c7d2e8;
  }

  /* ── Footer copyright ── */
  .mobile-footer-copyright {
    text-align: center;
    font-size: 0.7rem;
    color: #546180;
    line-height: 1.6;
  }

  .mobile-product-by {
    font-size: 0.75rem;
    color: #c7d2e8;
    margin-bottom: 0.2rem;
  }
}