html {
  scroll-behavior: smooth;
}
:root {
    --bg-color: #0A1128;
    --card-bg: #152238;
    --gold: #9D92F1;
    --text-main: #ffffff;
    --text-dim: #a1a1a1;
    --border: #3E5271;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: var(--bg-color); /* Matching your black header theme */
    display: flex;
    align-items: center;
    z-index: 10001 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between; /* Pushes left and right groups apart */
    align-items: center;
    z-index: 10002;
}

/* LEFT GROUP: Logo + Menu */
.nav-main-group {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between logo and first menu item */
}

.logo img {
    height: 22px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* RIGHT GROUP: Login + Signup */
.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-login-btn {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.mobile-menu hr {
    width: 40px; /* Small centered divider like your reference */
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white line */
    margin: 20px 0; /* Vertical spacing */
    display: block; /* Ensure it's rendered */
}

.nav-signup-btn {
    background-color: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 50px; /* Rounded pill shape */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-signup-btn:hover {
    background-color: #eee;
}

/* Hide mobile menu by default */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Below the navbar */
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: white;
    padding: 20px 0;
    text-decoration: none;
    font-size: 24px; /* Larger for full-screen feel */
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.hamburger {
    display: none; /* Desktop default */
    position: relative;
    z-index: 10002; /* Topmost element */
    width: 25px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff !important;
    transition: all 0.3s ease-in-out;
}

/* 4. THE X TRANSFORMATION */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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



/* Consolidate your Media Query to 850px */
@media (max-width: 850px) {
    .desktop-only, .nav-login-btn {
        display: none !important;
    }

    .hamburger {
        display: flex !important; /* Force visibility on mobile */
    }

    .nav-container {
        padding: 0 20px;
    }
}
@media (max-width: 850px) {
    .desktop-only, .nav-login-btn {
        display: none !important;
    }

    .hamburger {
        display: flex !important; /* Force visibility on mobile */
    }

    .nav-container {
        padding: 0 20px;
    }
}
/* Mobile: Hide menu items to keep logo and buttons visible */
@media (max-width: 850px) {
    .nav-menu {
        display: none;
    }
    .nav-container {
        padding: 0 20px;
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide links on mobile, or implement a hamburger menu */
    }
    .pricing-card{
        top:1rem;
    }
}

/* Hero Section */
.hero {
    padding: 6rem 5% 0 5%;
    text-align: center;
    background: radial-gradient(circle at center, #0A1128 0%, #0A1128 100%);
}

.badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin: 1.5rem 0.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
    background: white;
    color: black;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
    padding: 12px 28px;
    border-radius: 8px;
    margin-left: 10px;
}



/* Desktop Force 2x2 */


.card {
    background: var(--card-bg);
    padding: 2.5rem;
    transition: 0.3s ease;
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card .icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* Container for Input and Button */
.input-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
    transition: border-color 0.3s ease;
}

/* Light up the border when clicking into the input */
.input-group:focus-within {
    border-color: #8D82E6; /* Light version of #6050DC */
    box-shadow: 0 0 15px rgba(96, 80, 220, 0.2);
}

/* The Email Input Field */
.waitlist-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.waitlist-input::placeholder {
    color: var(--text-dim);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .waitlist-input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-bottom: 10px;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
    }
}


.simple-footer {
    text-align: center;
    padding: 30px 20px 40px;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #f0f0f0;
    margin-top: 60px;
}

.footer-text {
    color: #666;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 15px;
    line-height: 1.6;
}

.copyright {
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 400;
}

.privacy-note {
    font-size: 0.80rem !important;
    color: #888;
    font-family: 'Inter', sans-serif;
    text-align: center;
   padding-top: 0.5rem;
}

/* Better Footer Styling */
/* --- Footer Styling --- */
.main-footer {
    background: transparent; /* Removed background */
    padding: 40px 20px;
    color: #fff;
}

/* The Separator Line */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white line */
    max-width: 1100px;
    margin: 0 auto 50px auto;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* Left Side: FAQ */
.footer-left {
    flex: 1;
    max-width: 650px;
}

.footer-right {
  position: relative;

  right:0;
}

.faq-label {
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}
.mini-fa{
    max-width:600px;
}

.mini-faq details {
    margin-bottom: 10px;
}

.mini-faq summary {
    font-size: 0.85rem;
    cursor: pointer;
    color: #ccc;
    padding: 5px 0;
    transition: color 0.3s;
}

.mini-faq summary:hover {
    color: #fff;
}

.mini-faq p {
    font-size: 0.8rem;
    color: #666;
    padding: 5px 0 10px 0;
}

/* Right Side: Nav & Branding */
.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-nav {
    margin: 20px 0;
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #6366f1;
}

.copyright {
    font-size: 0.75rem;
    color: #444;
    margin-top: 6px;
}


/* Smooth Scrolling for the links */


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-right {
        align-items: center;
        text-align: center;
    }
}

/* FAQ Accordion Styling */
.footer-faq details {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
}

.footer-faq summary {
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
    list-style: none; /* Removes default arrow */
}

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

.footer-faq p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 8px;
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
}

.footer-support {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
    padding: 0 5%;
}

.support-title {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.faq-accordion {
    max-width: 600px;
    margin: 0 auto;
}

.faq-accordion details {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.faq-accordion summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    list-style: none;
    outline: none;
}

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

.faq-accordion .content {
    padding: 0 15px 15px;
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Hover effect to make it feel premium */
.faq-accordion details:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.how-it-works {
    padding: 20px 20px;
    display: flex;
    justify-content: center; /* Centers the entire section content */
}

.center-wrapper {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1rem, 6vw, 2rem);
    text-align: center;
    margin: 0 0.5rem 0.5rem 0.5rem;
    font-weight: 800;
}

.step-grid {
    display: flex;
    justify-content: center; /* Centers the 3 steps horizontally */
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap; /* Allows stacking on mobile */
}

.step-item {
    flex: 1;
    min-width: 250px;
    max-width: 280px; /* Limits the width of each text/phone block */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers text under the phone */
    text-align: center;
}

/* SMALLER MOCKUP STYLE */

/* 1. Base State - How the phones look normally */
.mockup-container.small-mockup {
    width: 240px; 
    border-radius: 38px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Subtle shadow */
    overflow: hidden;
    line-height: 0;
    
    /* This "transition" makes the movement smooth instead of jerky */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer;
}

/* 2. Hover State - What happens when mouse is over the image */
mockup-container.small-mockup {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

/* Desktop Hover Effect */
@media (min-width: 769px) {
    .step-item {
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                    box-shadow 0.4s ease;
        padding: 20px;
        cursor: default;
    }

    /* When the user hovers anywhere on the step item */
    .step-item:hover {
        transform: translateY(-10px) scale(1.03);
    }

    /* Target the content specifically during hover */
    .step-item:hover .step-content h4 {
        color: #fff; /* Brightens the heading */
        transform: scale(1.02);
        transition: all 0.3s ease;
    }
}

@media (max-width: 768px) {
    /* Smooth transition for the whole block */
    .step-item {
        transition: transform 0.4s ease, opacity 0.4s ease;
        will-change: transform;
        opacity: 0.6; /* Dim it slightly when not in focus */
        transform: scale(0.95);
    }

    /* The "Focus" state triggered by JS or Scroll-Timeline */
    .step-item.is-visible {
        opacity: 1;
        transform: scale(1.05); /* Zoom in both image and text */
    }
    
    /* Optional: Make the text slightly bolder when active */
    .step-item.is-visible .step-content h4 {
        color: #fff; /* Or your brand's primary color */
        transition: color 0.3s ease;
    }
}

/* 3. Image adjustment to ensure it stays crisp */
.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* Optional: Slight zoom on the image inside when hovering */

.step-number {
    font-size: 0.75rem;
    color: #6050DC;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

.step-content p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Responsive: Stack them nicely */
@media (max-width: 800px) {
    .step-grid {
        flex-direction: column;
        align-items: center;
    }
}


/* --- Root Container Logic --- */
.premium-widget-container {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  padding: 30px 30px 10px 30px;
  width: 100%;
  max-width: 550px;
  margin: 20px auto;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  font-family: "Inter", sans-serif;
  border: 1px solid #f1f5f9;
}

/* --- Header Section --- */
.analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
}

.close-btn {
  background: #f8fafc;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 16px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

/* --- The Blur Layer (Background) --- */
.blurred-results-layer {
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

.status-pill-bg {
  background: #f0fdf4;
  color: #16a34a;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-grid-bg {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.info-card-bg {
  flex: 1;
  background: #f8fafc;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #f1f5f9;
}

.label-bg {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 800;
  margin-bottom: 4px;
}
.value-bg {
  font-weight: 700;
  color: #1e293b;
  font-size: 15px;
}

.skeleton-text {
  height: 12px;
  background: #e2e8f0;
  border-radius: 6px;
  margin-bottom: 10px;
}
.skeleton-text.short {
  width: 60%;
}

.check-another-disabled {
  width: 100%;
  background: #6366f1;
  color: white;
  padding: 14px;
  border-radius: 100px;
  border: none;
  font-weight: 700;
}

/* --- The Floating Unlock Card (The Overlay) --- */
.unlock-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  top:5rem;
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
    .unlock-card-overlay {
        padding: 100px;
    }
}

.unlock-card {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
  border: 1px solid #f1f5f9;
  width: 100%;
}

.unlock-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}
.unlock-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
}

.signup-btn-main {
  background: #6366f1;
  color: white;
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* --- Search Bar Styling --- */
.modern-search-bar-root {
  display: flex;
  background: white;
  padding: 8px;
  border-radius: 100px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  max-width: 550px;
  margin: 20px auto;
}

.modern-search-bar-root input {
  flex: 1;
  border: none;
  padding: 0 20px;
  font-size: 16px;
  outline: none;
}

.search-btn {
  background: #6366f1;
  color: white;
  padding: 12px 18px;
  border-radius: 100px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* Loader Animation */
.loader-dots {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.loader-dots span {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1s infinite;
}
.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}


.error-message {
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
}


.map-container {
    flex: 2;
    position: relative;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 20px;
}

.world-map-img {
    width: 100%;
    filter: invert(1) opacity(0.2); /* Makes the map white on dark bg */
}

/* Pulsing Dots */
.pulse-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #6050DC; /* Electric Blue */
    border-radius: 50%;
}

.pulse-point::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* Sidebar Feed */
.live-feed {
    height: 400px; /* Adjust this to match your map's height */
    overflow-y: hidden; /* Prevents scrollbars from appearing */
    display: flex;
    flex-direction: column;
}

.feed-header {
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

#ticker li {
    /* This ensures long text wraps correctly without breaking the layout */
    word-wrap: break-word;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}

.time { color: #6050DC; font-weight: bold; margin-right: 10px; font-size: 0.8rem; }

@media (max-width: 900px) {
    .map-dashboard { flex-direction: column; }
    .search-btn {
        font-size: 0.7rem;
    }
    
}

/* Layout for the Map Section */
.live-scam-map {
    padding: 20px 20px;
}

.map-dashboard {
    display: flex;
    gap: 30px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    min-height: 400px;
}

/* Ensure the container is the reference for absolute positioning */
.map-container {
    position: relative;
    overflow: hidden;
    background: #0A1128;
    border-radius: 12px;
    line-height: 0; /* Removes extra spacing under image */
}

.world-map-img {
    width: 100%;
    height: auto;
    filter: invert(1) opacity(0.2); /* Makes map light on dark background */
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none; /* Allows clicks to pass through if needed */
}

/* THE DYNAMIC POINTS */
.pulse-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #6050DC; /* Electric Blue */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Centers the point on the coordinate */
}

/* The Ripple Animation */
.pulse-point::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #6050DC;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

.feed-header {
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: blink 1s infinite;
}

#ticker {
    width:350px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
}

#ticker li {
    /* Prevent the list item from growing/shrinking during the 'prepend' */
    flex-shrink: 0;
    min-height: 60px; /* Ensures long text doesn't collapse the layout */
    padding: 12px;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.3s ease-out; /* Smooth transition instead of a snap */
    word-wrap: break-word; /* Prevents long text from breaking the container width */
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.time { color: #6050DC; font-weight: bold; margin-right: 8px; font-size: 0.8rem; }

@keyframes blink {
    50% { opacity: 0.3; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .map-dashboard { flex-direction: column; }
}

.pulse-point {
    /* ... existing styles ... */
    animation: pingAppear 0.5s ease-out forwards, breathe 2s infinite ease-in-out 0.5s;
    opacity: 0;
}

@keyframes pingAppear {
    from { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1); 
    }
}

#ticker li:first-child {
    border-left: 2px solid #6050DC;
    padding-left: 10px;
    background: rgba(59, 130, 246, 0.05);
}

.pulse-point {
    /* ... existing pulse styles ... */
    transition: all 0.3s ease;
}

/* --- Fix for Advanced Detection Suite --- */

/* 1. Ensure the wrapper centers the cards on the page */
#features .center-wrapper {
    max-width: 1250px; /* Matches your navbar/hero width */
    margin: 0 auto;
    padding: 4rem 5%;
}

/* 2. Fix the Grid Layout (The container of the cards) */
.grid-layout {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    width: 100%; /* Important: forces grid to fill center-wrapper */
}

/* 3. Force the 2x2 Desktop view seen in your original design */
@media (min-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* 4. Restore Card Styling (Border & Spacing) */
.card {
   background: var(--card-bg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%; /* Ensures they fill their grid slot */
}

.card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    /* 1. Reduce the container height if you set one */
    .live-feed {
        height: 220px; 
    }

    /* 2. Tighten up the individual list items */
    #ticker li {
        min-height: auto; /* Remove the fixed min-height */
        padding: 8px 12px; /* Slimmer vertical padding */
        font-size: 0.85rem; /* Slightly smaller text */
        line-height: 1.3;
    }

    /* 3. Make the "Time" badge more compact */
    #ticker li .time {
        font-size: 0.75rem;
        margin-bottom: 2px;
        display: block; /* Ensures it stays on its own line but takes less space */
    }

    /* 4. Shrink the header of the feed */
    .feed-header {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}


.check-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}