/* ===================================
   BASE STYLES
   =================================== */
body {
  font-family: Arial, sans-serif;
  margin: 0px;
  padding: 0px;
  background: #fafafa;
  color: #333;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

input, select, textarea, button {
  font-size: 16px;
}


h1 {
  text-align: center;
}

button {
  margin: 5px;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* ===================================
   CHART CONTAINERS
   =================================== */
.chart-container {
    position: relative;
    width: 70%;
    max-height: 60vh;
    margin-bottom: 90px;
}

.chart-container h2 {
    text-align: left;
    margin-top: 0; 
    padding-top: 20px; 
    margin-left: 20px; 
}

#t-bills-navigator, 
#t-bonds-navigator {
    width: 100%;
    height: 20px;
    display: block;
}

.main-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 50px;
}

.site-footer {
    position: fixed;  
    bottom: 10px;
    left: 10px;
    font-size: 14px;
    color: #555;
    font-style: italic;
}

.date-picker-container {
    text-align: center;
    margin-bottom: 20px; 
}

.controls-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#pin-curve-button {
    width: 27px;  
    height: 24px;  
    padding: 0;    
    border: 0px;
    background-color: purple;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pin-curve-button svg {
    fill: white;
    transform: rotate(45deg);
}

#cbr-chart {
    width: 100%;
    height: 400px;
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    position: relative;
    padding: 0px;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
   font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}



.nav-item.has-dropdown > a::before {
            content: '';
            margin-left: 0.4rem;
            font-size: 16px;
            transition: transform 0.3s ease;
        }

        .nav-item.has-dropdown:hover > a::before {
            transform: rotate(-180deg);
        }

.dropdown-outer {
    position: absolute;
    top: 100%; /* Stays below the trigger link */
    
    /* 1. ALIGN RIGHT EDGE to the parent .nav-item's right edge */
    right: 0; 
    
    /* 2. REMOVE the left: 0 and full-width viewport centering hacks */
    left: auto; /* Ensure no conflict */
    width: auto; /* Let the content determine the width, constrained by max-width */
    
    /* Optional: Set a starting width for the outer background */
    min-width: 500px; 
    
    /* REMOVE: width: 100vw; */
    /* REMOVE: transform: translateX(calc((100vw - 100%) / -2)); */
    
    /* Background and visibility (kept the same) */
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
   border-radius: 4px;
}

        .dropdown {
    /* No absolute positioning here—it's a normal block element now */
    
    /* Set max-width and center it (this is where the desired width is enforced) */
    max-width: 1400px; /* or whatever width matches your .home-nav-container */
    
    
    /* Apply internal spacing */
    padding: 2rem;
    list-style: none;
    border-radius: 8px;
    
    /* Remove old absolute positioning and related styles */
    /* REMOVE: position: absolute; */
    /* REMOVE: top: 100%; */
    /* REMOVE: left: 50%; */
    /* REMOVE: transform: translateX(-50%); */
    /* REMOVE: width: 100vw; */
    /* REMOVE: max-width: 1400px; */
    /* REMOVE: opacity: 0; and visibility: hidden; (These belong to the .dropdown-outer) */
    /* REMOVE: box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); (This belongs to the .dropdown-outer) */
}  

        .nav-item.has-dropdown:hover .dropdown-outer {
            opacity: 1;
            visibility: visible;
            margin-top: 1rem;
        }

        .dropdown-grid {
            
            grid-template-columns: repeat(3, 1fr) repeat(3, 1fr);
            gap: 1.5rem 2rem;
            align-items: start;
           width: 100%;
    box-sizing: border-box;
        }

        .dropdown-description {
            grid-column: 1 / 4;
            padding: 1.5rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 6px;
            border-left: 4px solid #22c55e;
        }

        .dropdown-description h3 {
            font-size: 16px;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .dropdown-description p {
            color: #666;
            font-size: 1rem;
            line-height: 1.6;
        }

        .dropdown-items {
            grid-column: 4 / 7;
            display: contents;
        }

        .dropdown li {
            list-style: none;
        }

        .dropdown a {
            display: block;
            padding: 1rem 1.2rem;
            text-decoration: none;
            color: #333;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            border-radius: 2px;
            background: ;
            border: 1px solid transparent;
        }

        .dropdown a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #22c55e 0%, #dc2626 100%);
            transition: width 0.3s ease;
        }

        .dropdown a:hover::after {
            
            color: #fff;
            transform: translateX(5px);
            border-color: #22c55e;
        }

        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .dropdown {
                max-width: 95vw;
            }
        }

        @media (max-width: 768px) {
            .dropdown-grid {
                grid-template-columns: 1fr;
            }

            .dropdown-description,
            .dropdown-items {
                grid-column: 1;
            }
        }

/* ===================================
   MULTISELECT & CURRENCY SELECT
   =================================== */
.currency-select {
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    max-width: 400px;
    min-height: 120px;
    margin: 0.5rem 0 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
}

.custom-multiselect {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0.5rem auto 1rem;
    z-index: 10;
}

.multiselect-button {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}

.multiselect-button:hover {
    border-color: #999;
}

.multiselect-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    align-items: center;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-sizing: border-box;
}

.multiselect-dropdown.open {
    display: block;
}

.multiselect-option {
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
}

.multiselect-option:hover {
    background-color: #f5f5f5;
}

.multiselect-option:last-child {
    border-bottom: none;
}

.multiselect-option input[type="checkbox"] {
    margin: 0;
}

.multiselect-option label {
    cursor: pointer;
    flex: 1;
}

.dropdown-arrow {
    transition: transform 0.2s;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

/* ===================================
   COMPARE PAGE STYLES
   =================================== */
.compare-page .main-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
}

.left-sidebar, .right-sidebar {
    flex: 0 0 280px;
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.compare-page .chart-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.compare-page .chart-container {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    position: relative;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    border-bottom: 1px solid #000000;
    padding-bottom: 5px;
    margin-top: 0;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1);
    accent-color: #4e79a7;
}

.checkbox-item label {
    font-size: 14px;
    cursor: pointer;
    color: #555;
    flex: 1;
    line-height: 1.3;
}

.checkbox-item:hover {
    background-color: rgba(78, 121, 167, 0.1);
    border-radius: 4px;
    margin: 0 -4px;
    padding: 4px 4px;
}

.chart-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.chart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.control-button {
    padding: 8px 16px;
    border: 0.05px solid #f0f0f0;
    background: white;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.control-button:hover {
    background: #f0f0f0;
}

.control-button.active {
    background: #4e79a7;
    color: white;
    border-color: #4e79a7;
}

#compare-chart {
    width: 100% !important;
    height: 100% !important;
}

.compare-page .navbar {
    position: relative;
    z-index: 1001;
}

.compare-page .site-footer {
    position: static;
    text-align: center;
    margin-top: 40px;
    bottom: auto;
    left: auto;
}

/* ===================================
   NSE SECTIONS
   =================================== */
#indexChart {
    display: block;
    width: 100%;
    height: 400px;
    max-height: 60vh;
}

.section {
    margin-bottom: 40px;
    position: relative;
    width: 70%;
}

.section canvas {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* ===================================
   STOCK SEARCH SECTION
   =================================== */
.search-section {
    margin: 30px auto;
    padding: 20px;
    max-width: 600px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.search-controls input,
.search-controls select {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-controls button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.search-controls button:hover {
    background: #0056b3;
}

.stock-info-container {
    margin: 20px auto;
    max-width: 900px;
}

.stock-info-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.info-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background: #f9fafb;
    padding: 15px;
    border-radius: 3px;
    border-left: 2px solid #007bff;
}

.info-card h4 {
    margin-top: 0;
    color: #007bff;
}

.info-card p {
    margin: 8px 0;
    font-size: 14px;
}

#stock-chart-container {
    max-width: 900px;
    margin: 40px auto;
    height: 400px;
}

/* ===================================
   PERFORMANCE PERIODS
   =================================== */
.performance-periods {
    margin-top: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.performance-periods h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.period-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.period-box {
    padding: 9px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.period-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.period-box.positive {
    border-color: #28a745;
}

.period-box.positive .period-value {
    color: #28a745;
}

.period-box.negative {
    border-color: #dc3545;
}

.period-box.negative .period-value {
    color: #dc3545;
}

.period-box.active {
    border-color: #007bff;
    background: #e7f3ff;
}

.period-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
}

.period-value {
    display: block;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* ===================================
   HOME PAGE LANDING STYLES
   =================================== */
.home-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
   position: relative;
}

.home-nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
   position: relative;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.home-logo span {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.home-logo:hover span {
    opacity: 0.8;
}

.home-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.home-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
   font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.home-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e 0%, #dc2626 100%);
    transition: width 0.3s ease;
}

.home-nav-links a:hover {
    color: #dc2626;
}

.home-nav-links a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #22c55e 0%, #dc2626 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

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

.hero h1 {
    font-size: 45px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #dc2626;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    color: #22c55e;
}

.features {
    padding: 5rem 0rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #dc2626 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-card:hover .feature-icon img {
    filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.3));
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ===================================
   MARKETS LOGO CAROUSEL
   =================================== */
.markets {
    background: #f8f9fa;
    padding: 5rem 2rem;
    overflow: hidden;
}

.markets-container {
    max-width: 1500px;
    margin: 0 auto;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
    padding: 2rem 0;
}

.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

.logo-track {
    display: flex;
    gap: rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 1rem;
    border-radius: 10px;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-item {
        width: 120px;
        height: 60px;
        padding: 0.75rem;
    }
    
    .logo-track {
        gap: 2rem;
        animation: scroll 30s linear infinite;
    }
    
    .logo-carousel::before,
    .logo-carousel::after {
        width: 50px;
    }
}
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0rem;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    background: linear-gradient(135deg, #22c55e 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .compare-page .main-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .left-sidebar, .right-sidebar {
        flex: none;
        position: static;
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .compare-page .chart-area {
        order: -1;
    }
    
    .compare-page .chart-container {
        height: 450px;
    }
}

@media (max-width: 768px) {
    /* Compare page mobile */
    .compare-page .main-container {
        padding: 10px;
        gap: 15px;
    }
    
    .left-sidebar, .right-sidebar {
        padding: 15px;
        grid-template-columns: 1fr;
    }
    
    .compare-page .chart-container {
        height: 400px;
        padding: 15px;
    }
    
    .sidebar-section h3 {
        font-size: 15px;
    }
    
    .checkbox-item label {
        font-size: 13px;
    }
    
    .chart-title {
        font-size: 20px;
    }
    
    .chart-controls {
        gap: 10px;
    }
    
    .control-button {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Performance periods mobile */
    .period-boxes {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .period-box {
        padding: 10px;
    }
    
    .period-value {
        font-size: 14px;
    }

    /* Home page mobile */
    .mobile-menu-btn {
        display: block;
    }

    .home-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .home-nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   COMING SOON CARD STYLES
   =================================== */
.coming-soon-card {
    position: relative;
    cursor: default;
    opacity: 0.95;
    overflow: visible;
}

.coming-soon-badge {
    position: absolute;
    top: -20px;
    right: 0px;
    width: 90px;
    height: auto;
    z-index: 10;
    
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e 0%, #dc2626 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.coming-soon-card:hover::before {
    transform: scaleX(1);
}

.coming-soon-card:hover {
    transform: translateY(-5px);
}

.coming-soon-card:hover .coming-soon-badge {
    
    transition: transform 0.3s ease;
}
