/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- NAVBAR --- */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: height 0.3s ease;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-dot {
    color: #4A90E2;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
    /* This relative positioning was causing the mega menu to skew right */
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #4A90E2;
}

.arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

/* --- STANDARD DROPDOWN STYLES --- */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    /* Standard dropdown animation */
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 1100;
}

/* Standard hover effect */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 28px;
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f8f9fb;
    color: #4A90E2;
    padding-left: 32px;
}

.dropdown-header {
    padding: 12px 28px 8px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 12px;
}

.dropdown-header:first-child {
    margin-top: 0;
}

/* --- MEGA MENU FIXES --- */
.dropdown-mega {
    /* Use fixed to center relative to SCREEN, not the small nav item */
    position: fixed;
    top: 75px;
    /* Matches Navbar Height */
    left: 50%;
    /* Dimensions */
    width: 90vw;
    max-width: 1300px;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    /* Rounded corners only at bottom */
    /* Initial Animation State for Mega Menu */
    transform: translateX(-50%) translateY(-10px);
    margin-top: 0;
}

/* Specific Hover State for Mega Menu */
/* We must override the standard hover transform to keep the X centering */
.nav-item:hover .dropdown-mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    width: 100%;
    background: white;
    /* Ensure background is solid */
}

.mega-menu-column {
    padding: 40px;
}

.solutions-column .solution-block {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.solutions-column .solution-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.solution-block h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #000;
}

.solution-block p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.btn-learn-more {
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s;
}

.btn-learn-more:hover {
    background: #4A90E2;
}

.features-column {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.features-column .feature-block {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.features-column .feature-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.features-column h4,
.sidebar-column h4 {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-list.one-column {
    grid-template-columns: 1fr;
}

.feature-list a,
.accelerator-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.feature-list a:hover,
.accelerator-list a:hover {
    color: #4A90E2;
}

.accelerator-list {
    list-style: none;
    display: flex;
    gap: 24px;
}

.sidebar-column {
    background: #f5f8fc;
}

.sidebar-column .insights-list {
    margin-bottom: 32px;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    margin-bottom: 20px;
}

.insight-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #ddd;
    flex-shrink: 0;
    background: #ddd;
    /* Fallback color */
}

.insight-item h5 {
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
    line-height: 1.4;
    font-weight: 500;
    transition: color 0.2s;
}

.insight-item span {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
}

.insight-item:hover h5 {
    color: #4A90E2;
}

.quick-links-list {
    list-style: none;
    columns: 1;
    /* Changed to 1 for better fit in sidebar */
    gap: 20px;
}

.quick-links-list li {
    margin-bottom: 12px;
}

.quick-links-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.quick-links-list a:hover {
    color: #4A90E2;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sign-in {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.sign-in:hover {
    color: #4A90E2;
}

.btn-cta {
    background: #000;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-cta:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Homepage Hero Section */
.hero-wrapper {
    background: linear-gradient(180deg, #e8f1fb 0%, #f5f8fc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.gartner-banner {
    background: white;
    padding: 16px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
}

.gartner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gartner-logo {
    font-size: 24px;
    font-weight: 700;
    color: #003366;
}

.gartner-text {
    font-size: 14px;
    color: #333;
}

.access-report {
    padding: 10px 24px;
    border: 2px solid #000;
    background: white;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}

.access-report:hover {
    background: #000;
    color: white;
}

.hero {
    padding: 120px 60px 80px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(135, 180, 230, 0.3) 0%, rgba(135, 180, 230, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    color: #000;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-button {
    background: #000;
    color: white;
    padding: 16px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
}

.hero-button:hover {
    background: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Homepage Three Column Section */
.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 80px;
    background: white;
}

.column-card {
    padding: 60px 50px;
    background: #f8f9fb;
    border-right: 1px solid #e5e5e5;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.column-card:last-child {
    border-right: none;
}

.column-card:hover {
    background: white;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    z-index: 10;
}

.column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.column-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.arrow-icon {
    font-size: 20px;
    color: #333;
    transition: transform 0.3s;
}

.column-card:hover .arrow-icon {
    transform: translateX(6px);
}

.column-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Features Grid */
.features {
    padding: 100px 60px;
    background: white;
}

.features-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.features-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.features-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fb;
    padding: 40px 32px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    font-size: 13px;
}

.cookie-text a {
    color: white;
    text-decoration: underline;
}

.cookie-accept {
    background: white;
    color: #000;
    padding: 10px 28px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.cookie-accept:hover {
    background: #e5e5e5;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 60px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #4A90E2;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

@media screen and (max-width: 1024px) {

    .navbar,
    .gartner-banner,
    .hero,
    .features,
    .footer,
    .cookie-banner {
        padding-left: 30px;
        padding-right: 30px;
    }

    .nav-menu {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .dropdown-mega {
        width: 96vw;
    }

    .hero h1 {
        font-size: 52px;
    }

    .features-grid {
        gap: 20px;
    }

    .footer-content {
        gap: 30px;
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {

    .navbar,
    .gartner-banner,
    .hero,
    .features,
    .footer,
    .cookie-banner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar {
        height: auto;
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 15px;
        border-top: 1px solid #eee;
        padding-top: 10px;
        display: none;
    }

    .navbar.nav-active .nav-menu {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        justify-content: space-between;
    }

    .nav-actions {
        margin-left: auto;
    }

    .dropdown-mega,
    .dropdown {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        display: none;
        background: #f9f9f9;
    }

    .nav-item:hover .dropdown-mega,
    .nav-item:hover .dropdown {
        display: block;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
    }

    .features-column {
        border: none;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .mega-menu-column {
        padding: 20px;
    }

    .accelerator-list {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-button {
        width: 100%;
        text-align: center;
    }

    .gartner-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: stretch;
    }

    .gartner-content {
        flex-direction: column;
        gap: 10px;
    }

    .access-report {
        text-align: center;
    }

    .three-columns {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .column-card {
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

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

    .features-header h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column ul {
        margin-bottom: 10px;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .nav-actions {
        display: none;
    }

    .sign-in {
        display: none;
    }

    .logo {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 32px;
    }
}