body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #ffffff;
    background: radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 20, 147, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
                linear-gradient(45deg, #1a1a1a 0%, #2a2a2a 100%);
    background-attachment: fixed;
    background-size: cover;
}

#hero {
    background: linear-gradient(135deg, #FF00FF 0%, #FF1493 50%, #8A2BE2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
    box-shadow: inset 0 0 100px rgba(255, 0, 255, 0.5);
    position: relative;
}
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Legacy header logo (absolute) for non-top-bar usage */
.header-logo {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-block;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.06);
}
.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display:block;
}

/* Top bar layout and overrides */
.top-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    z-index: 2;
}
.top-bar .top-center {
    flex: 1;
    text-align: center;
}

/* Override the absolute-positioned header logo when placed inside the top bar */
.top-bar .header-logo {
    position: static;
    display: inline-block;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Right-side tool badge (non-clickable container by current markup) */
.right-badge {
    display: inline-block;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    padding: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}
.right-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Make the Free & Open Source text a compact pill in the top bar */
.top-bar .open-source-badge {
    display: inline-block;
    font-size: 1.25em;
    letter-spacing: 1.7px;
    font-weight: 900;
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 18px;
    border-radius: 999px;
    margin: 0; /* no extra gap in the top bar */
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Responsive adjustments for top bar elements */
@media (max-width: 768px) {
    .top-bar .header-logo,
    .top-bar .right-badge {
        width: 56px;
        height: 56px;
        padding: 4px;
        border-radius: 8px;
    }
    .top-bar .open-source-badge {
        font-size: 1.1em;
        padding: 6px 14px;
        letter-spacing: 1.3px;
    }
}

/* Original hero text badge (used elsewhere on page) */
.open-source-badge {
    display: block;
    color: #C77BFF;
    font-size: 5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 25px;
    /* Bold, clean Electric Violet color chosen to match background */
}
.brand-name {
    font-size: 4em;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
#hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

#hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FF1493, #FF00FF);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(45deg, #FF00FF, #FF1493);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.8);
    transform: translateY(-2px);
}

#features {
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#features h2 {
    font-size: 3em;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    font-weight: 800;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 0, 255, 0.2);
    padding: 25px;
    margin: 25px;
    width: calc(33.333% - 50px);
    min-width: 250px;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.feature:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 0, 255, 0.4);
}

.feature h3 {
    color: #FF1493;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.4em;
}

.feature ul {
    list-style: none;
    padding: 0;
}

.feature li {
    margin-bottom: 15px;
    text-align: left;
    color: #e0e0e0;
}

.highlight-metric {
    font-weight: 900;
    font-size: 1.1em;
    color: #ffffff;
    display: inline-block;
    margin-right: 5px;
}

#pricing {
    padding: 100px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
}

#pricing h2 {
    font-size: 3em;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    font-weight: 800;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 1200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255, 0, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: left;
    color: #e0e0e0;
}

th {
    background: linear-gradient(45deg, #FF00FF, #8A2BE2);
    color: white;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}
tbody tr:hover {
    background: rgba(255, 0, 255, 0.1);
    transition: background 0.3s ease;
}

#cta {
    background: linear-gradient(135deg, #FF1493 0%, #FF00FF 50%, #8A2BE2 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    box-shadow: inset 0 0 100px rgba(255, 20, 147, 0.5);
    position: relative;
}
#cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

#cta h2 {
    font-size: 3em;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    font-weight: 800;
}

#cta p {
    font-size: 1.4em;
    margin-bottom: 50px;
    color: #f0f0f0;
}

footer {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #e0e0e0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accessible visually-hidden helper */
.sr-only {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Trust & Testimonial styles (centered) */
#trust, .trust-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center; /* center children horizontally */
    justify-content: center;
    color: #f5f5f5;
    text-align: center;
}

/* Testimonial card centered and constrained */
.testimonial-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 30px rgba(255, 0, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.06);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-card h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.3em;
}
.testimonial-card blockquote {
    margin: 12px 0;
    font-size: 1.05em;
    color: #f0f0f0;
    line-height: 1.5;
    text-align: center;
}
.testimonial-card cite {
    display: block;
    margin-top: 8px;
    color: #dcdcdc;
    font-size: 0.95em;
    text-align: center;
}


/* Security/license lines centered */
.trust-section .security,
.trust-section .license {
    text-align: center;
    color: #e6e6e6;
    margin: 6px 0;
}

/* FAQ accordion (center container, centered content) */
#faq, .faq-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* center the FAQ container */
    justify-content: center;
    text-align: center; /* keep the heading centered */
}
.faq-section h3 {
    color: #fff;
    margin-bottom: 18px;
    text-align: center;
}
.faq-list {
    margin: 0 auto;
    max-width: 760px; /* constrain FAQ width and center */
    text-align: center; /* center question/answer text as requested */
    width: 100%;
}
.faq-list details {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    transition: box-shadow 0.25s ease, background 0.2s ease;
}
.faq-list details[open] {
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 30px rgba(255, 0, 255, 0.06);
    background: rgba(255,0,255,0.04);
}
.faq-list summary {
    cursor: pointer;
    list-style: none;
    outline: none;
    font-weight: 700;
    color: #fff;
    padding: 6px 0;
    text-align: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p {
    margin: 10px 0 0 0;
    color: #e6e6e6;
    line-height: 1.5;
    text-align: center;
}

/* Responsive tweaks */

/* Section alternation helpers (apply .section-alt-a / .section-alt-b to section tags)
   - Both helpers now use the same hero color palette for consistency.
   - .section-alt-a uses the original hero gradient.
   - .section-alt-b uses the same gradient with a slight opacity overlay to preserve contrast. */
.section-alt-a {
    background: linear-gradient(135deg, #FF00FF 0%, #FF1493 50%, #8A2BE2 100%);
    color: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}
.section-alt-b {
    /* Same palette with slightly reduced opacity to create a subtle alternate tone */
    background: linear-gradient(135deg, rgba(255,0,255,0.92) 0%, rgba(255,20,147,0.92) 50%, rgba(138,43,226,0.92) 100%);
    color: #ffffff;
    padding: 80px 20px;
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Video section styles (responsive 16:9 embed, accessible focus, poster/fallback handling) */
.video-section .video-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}
.video-section h2 {
    font-size: 2.4em;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 0, 255, 0.18);
    font-weight: 800;
}
.video-intro {
    color: #e8e8e8;
    margin-bottom: 18px;
}

/* Responsive embed container keeps 16:9 */
.video-embed {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1000px;
    margin: 18px auto;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.video-embed video,
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}
.video-links {
    margin-top: 10px;
    color: #e6e6e6;
}
.video-embed:focus {
    outline: 3px solid rgba(255,20,147,0.6);
    outline-offset: 6px;
}

/* Slight adjustments on small screens so sections stay readable */
@media (max-width: 768px) {
    .section-alt-a, .section-alt-b {
        padding: 48px 16px;
    }
    .video-section h2 {
        font-size: 1.8em;
    }
}

/* Plugins section */
.plugins-section {
    padding: 80px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plugins-section h2 {
    font-size: 2.6em;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 0, 255, 0.25);
    font-weight: 800;
}
.plugins-intro {
    color: #e8e8e8;
    margin-bottom: 36px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid: 3 columns desktop, 2 tablet, 1 mobile */
.plugins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    padding: 0 10px;
    box-sizing: border-box;
}

.plugin-card {
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 18px rgba(255, 0, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plugin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.55), 0 0 30px rgba(255, 0, 255, 0.12);
}

.plugin-image {
    width: 140px;
    height: 140px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.03);
    box-sizing: border-box;
    padding: 8px;
}
.plugin-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Slightly reduce icon size on small screens to keep card balance */
@media (max-width: 768px) {
    .plugin-image {
        width: 120px;
        height: 120px;
    }
}

.plugin-card h4 {
    margin: 8px 0 8px 0;
    color: #ff1493;
    font-size: 1.05em;
    font-weight: 800;
}
.plugin-desc {
    color: #e6e6e6;
    font-size: 0.95em;
    line-height: 1.4;
    margin: 0;
    padding: 0 6px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .plugins-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature {
        width: calc(50% - 50px);
        margin: 25px;
    }
    .partner-logos img {
        width: 90px;
    }
}
@media (max-width: 768px) {
    .plugins-grid {
        grid-template-columns: 1fr;
    }

    /* legacy badge sizing below hero */
    .open-source-badge {
        font-size: 3em;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }
    .brand-name {
        font-size: 3em;
        letter-spacing: 1px;
    }
    #hero h1 {
        font-size: 2em;
    }
    #hero p {
        font-size: 1.2em;
    }
    .feature-list {
        flex-direction: column;
    }
    .feature {
        width: 100%;
        margin: 25px 0;
    }
    table {
        font-size: 0.9em;
    }
    th, td {
        padding: 15px;
    }
    #features h2, #pricing h2, #cta h2 {
        font-size: 2.5em;
    }
    .cta-button {
        font-size: 1.1em;
        padding: 16px 30px;
    }
    .partner-logos {
        gap: 16px;
    }
}
/* Hero landing image directly below "Console-IR" brand */
.hero-landing {
    max-width: 560px;
    margin: 6px auto 10px;
    padding: 0 10px;
    box-sizing: border-box;
}
.hero-landing-image {
    width: 100%;
    height: auto;
    max-height: 30vh; /* tighter so H1/desc/CTA stay above the fold */
    display: block;
    border-radius: 12px;
    background: transparent; /* remove black background */
    border: 0; /* remove visible boundary */
    box-shadow: none; /* remove visible boundary */
}
@media (max-width: 768px) {
    .hero-landing {
        max-width: 420px;
        margin: 6px auto 10px;
        padding: 0 8px;
    }
    .hero-landing-image {
        max-height: 28vh;
        border-radius: 10px;
    }
}