/* Base Styles */
:root {
    --primary-color: #0096FF;
    --secondary-color: #333;
    --accent-color: #4cc9f0;
    --text-color: #fff;
    --dark-bg: #0B0E15;
    --dark-secondary: #1A1F2B;
    --light-text: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    /* Spacing between major vertical sections */
    --section-spacing: 5rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: var(--dark-bg);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 90px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    opacity: 0.9;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0096FF, #4cc9f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    flex: 1;
    margin: 0 2rem;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-text);
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--text-color);
}

/* Subtle underline animation on nav hover */
nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Provide consistent vertical spacing across top-level sections */
section {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
    padding-left: 8%;
    padding-right: 8%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Prevent Safari from collapsing the actions section */
    flex-shrink: 0;
}

.contact-link {
    color: var(--light-text);
    font-size: 0.9rem;
}

.account-button {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 20px;
    margin-bottom: 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 14, 21, 0.7), rgba(11, 14, 21, 0.7));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.primary-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 150, 255, 0.3);
}

.primary-button:hover {
    background: #0084e3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 255, 0.4);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    /* Ensure background blur works on Safari */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 5rem 5%;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-content p {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 85%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: translateY(-5px);
}

/* Trusted Section */
.trusted-section {
    padding: 5rem 5%;
    text-align: center;
}

.trusted-section h3 {
    font-size: 0.9rem;
    color: var(--light-text);
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.6;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Advanced Section */
.advanced-section {
    padding: 5rem 5%;
    background-color: var(--dark-secondary);
}

.feature-card {
    background-color: rgba(30, 35, 45, 0.7);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex: 1;
}

.feature-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.advanced-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.advanced-feature {
    display: flex;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.advanced-content {
    flex: 1;
}

.advanced-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.advanced-content p {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.advanced-features-list {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.advanced-features-list li {
    margin-bottom: 0.7rem;
    position: relative;
    color: var(--light-text);
}

.advanced-features-list li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.advanced-image {
    flex: 1;
}

.advanced-image img {
    width: 85%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.advanced-image img:hover {
    transform: translateY(-5px);
}

/* Customer Stories */
.customer-stories {
    padding: 5rem 5%;
}

.customer-stories h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.story-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--light-text);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: var(--text-color);
    font-weight: 500;
}

.story-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 85%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.story-text {
    flex: 1;
}

.story-client-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.story-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.story-text p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.story-link {
    color: var(--primary-color);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
    background: var(--dark-secondary);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0096FF, #4cc9f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    display: inline-block;
    margin-bottom: 3rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-column h4 {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.link-column ul li {
    margin-bottom: 0.8rem;
}

.link-column ul li a {
    color: var(--text-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-column ul li a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .feature-block {
        flex-direction: column;
        text-align: center;
    }

    .feature-block.reverse {
        flex-direction: column;
    }
    
    .advanced-feature {
        flex-direction: column;
        text-align: center;
    }

    .story-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-button, .secondary-button {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: url('../images/heroes/hero.png') no-repeat center center;
    background-size: contain;
    border-radius: 20px;
    overflow: visible;
    z-index: 1;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 2;
    border-radius: 20px;
}

/* Generic Page Title Section */
.page-title-section {
    padding: 100px 20px 60px; /* Adjust padding */
    text-align: center;
    background: linear-gradient(rgba(18, 24, 38, 0.8), rgba(18, 24, 38, 0.95)), var(--dark-bg);
    color: var(--light-text);
    margin-bottom: 40px;
}

.page-title-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-title-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary-text);
}

/* Product/Solution Detail Sections (reusing feature-block) */
.product-category-section {
    padding-left: 5%;
    padding-right: 5%;
}

.product-detail-section {
    padding-left: 8%;
    padding-right: 8%;
}

.product-features-list, .solution-features-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.product-features-list li, .solution-features-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.product-features-list li::before, .solution-features-list li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Developer Resources */
.developer-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resource-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.resource-card p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.resource-card.full-width {
    grid-column: 1 / -1; /* Make card span full width */
}

.sdk-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.sdk-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.sdk-link:hover {
    color: var(--accent-color);
}

.sdk-link i {
    margin-right: 8px;
}

/* Company Page Styles */
.company-hero {
    background: linear-gradient(rgba(18, 24, 38, 0.85), rgba(18, 24, 38, 1)), url('../images/backgrounds/dark-map-bg.jpg') no-repeat center center;
    background-size: cover;
}

.company-section {
    padding: 60px 20px;
}

.company-section .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.company-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.company-section p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-us p {
    text-align: left;
}

.careers, .press {
     background-color: var(--section-bg-darker);
}

.contact-info .contact-details {
    margin-top: 30px;
    text-align: left;
    display: inline-block;
}

.contact-info .contact-details p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.contact-info .contact-details i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px; /* Align icons */
    text-align: center;
}

/* Resources Page */
.resources-section {
    padding: 60px 20px;
}

.resources-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.resources-section h2 {
     font-size: 2.2rem;
     text-align: center;
     margin-bottom: 40px;
     color: var(--primary-color);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.resource-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.resource-item img {
    width: 85%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.resource-item h3 {
    font-size: 1.3rem;
    margin: 20px 20px 10px;
    color: var(--light-text);
}

.resource-item p {
    margin: 0 20px 20px;
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.resources-section .secondary-button {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
}

.alternate-bg {
    background-color: var(--section-bg-darker);
}

.webinar-list {
    margin-top: 30px;
}

.webinar-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.webinar-item h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--light-text);
}

.webinar-item p {
    margin: 0;
    color: var(--secondary-text);
    flex-basis: 100%; /* Push buttons to next line on small screens */
}

@media (min-width: 768px) {
    .webinar-item p {
       flex-basis: auto; 
    }
}


/* Pricing Page */
.pricing-table-section {
    padding: 60px 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.25);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -40px; /* Position partially off-card */
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 5px 40px; /* Wider padding */
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: center;
}


.pricing-card h3 {
    font-size: 1.6rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.price {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price-period {
    font-size: 1rem;
    color: var(--secondary-text);
    font-weight: normal;
}

.price-description {
    color: var(--secondary-text);
    margin-bottom: 30px;
    min-height: 40px; /* Ensure consistent height */
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    color: var(--secondary-text);
}

.pricing-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.pricing-card .primary-button,
.pricing-card .secondary-button {
    display: block;
    width: 100%;
    margin-top: auto; /* Push button to bottom */
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background-color: var(--section-bg-darker);
}

.faq-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.faq-item {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.faq-item h4 {
    font-size: 1.2rem;
    color: var(--light-text);
    margin: 0 0 10px 0;
    cursor: pointer; /* Optional: for JS toggle */
}

.faq-item p {
    color: var(--secondary-text);
    line-height: 1.6;
    margin: 0;
    /* Optional: Initially hidden for JS toggle 
    display: none; 
    */
}


/* Ensure footer is always at the bottom if content is short */
main {
    flex: 1;
}


/* Responsive Adjustments for New Sections */
@media (max-width: 768px) {
    .page-title-section h1 {
        font-size: 2.5rem;
    }
    .developer-resources-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
    .pricing-grid {
         grid-template-columns: 1fr; /* Stack cards */
    }
    .resource-grid {
         grid-template-columns: 1fr; /* Stack cards */
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 5%;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 160px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-color);
}

/* Comparison Table */
.pricing-comparison {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.pricing-comparison table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-comparison th,
.pricing-comparison td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
}

.pricing-comparison th {
    background: var(--dark-secondary);
    font-weight: 600;
}

.pricing-comparison tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}

/* Solution Finder Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: var(--dark-secondary);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    color: var(--text-color);
}

.modal h3 {
    margin-bottom: 1rem;
}

.modal .actions {
    margin-top: 1.5rem;
    text-align: right;
}

.modal .actions button {
    margin-left: 0.5rem;
}

.hidden { display: none; }

/* Copy button */
.copy-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
}

pre.code-block { position: relative; }

.api-sandbox-section .sandbox-panel {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

/* === Image Soft-Edge Utilities === */
/* Use on images that need subtle blending into dark backgrounds */
.blurred-edge {
    position: relative;
    display: block;
    border-radius: 12px;
    z-index: 0;
    /* stronger fade: only center 50% fully opaque */
    mask-image: radial-gradient(circle at center, white 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, white 50%, transparent 100%);
    mask-mode: alpha;
}

.blurred-edge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 120px 60px var(--dark-bg);
    pointer-events: none;
    z-index: -1;
}

/* Optional overlay wrapper: place the image inside .image-overlay to get a semi-transparent dark veil + edge blur */
.image-overlay {
    position: relative;
    display: inline-block; /* Keeps natural image flow */
    overflow: hidden;
}

.image-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15); /* subtle dark veil */
    pointer-events: none;
    /* slight blur for smooth edge blending */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Additional consistent horizontal padding */
.page-title-section,
.solution-detail-section,
.product-detail-section {
    padding-left: 8%;
    padding-right: 8%;
}

/* Temporarily hide login/account button */
.nav-actions .account-button { display: inline-block; }