@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --bg-dark: #0D1B2A;
    --bg-dark-alt: #132438;
    /* Lighter shade for section contrast */
    --bg-card: #1B263B;
    --accent-cyan: #00B5C6;
    --accent-cyan-hover: #008C99;
    --text-white: #FFFFFF;
    --text-grey: #A9B6C1;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

/* --- Section backgrounds --- */
.section-pad {
    padding: 6rem 0;
}

.bg-alt {
    background-color: var(--bg-dark-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* --- Stats Bar (Distinct Block) --- */
.stats-container {
    background: var(--bg-card);
    margin-top: -3rem;
    /* Overlap hero slightly */
    position: relative;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

/* --- Industry Categories (Enhanced) --- */
#categories-section {
    background-color: #050A10;
    /* Darker than workflow */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Technical Grid Pattern */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.cat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.cat-item:hover {
    background: rgba(0, 181, 198, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 181, 198, 0.1);
}

.cat-icon {
    font-size: 2.5rem;
    color: var(--text-grey);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.cat-item:hover .cat-icon {
    color: var(--text-white);
}

.cat-item span {
    display: block;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.cat-item small {
    display: block;
    color: var(--text-grey);
    font-size: 0.75rem;
    line-height: 1.3;
}

.stat-block {
    text-align: center;
    flex: 1;
    padding: 1rem;
    position: relative;
    background: transparent;
    /* Reset from previous */
    border: none;
    box-shadow: none;
}

.stat-block:hover {
    transform: none;
    /* remove hop */
}

/* Vertical dividers for stats */
.stat-block:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    display: block;
}

/* --- Ecosystem Animation Support --- */
.eco-card {
    /* ... existing props ... */
    transition: all 0.5s ease;
    /* Smooth transition for highlight swap */
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.05);
}

.eco-card.active-step {
    background: #2563EB;
    /* Bright Blue */
    border-color: #3B82F6;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
    transform: scale(1.05);
    z-index: 10;
}

.eco-card.active-step h4,
.eco-card.active-step p {
    color: white !important;
}

.eco-card .icon-box {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s;
}

.eco-card.active-step .icon-box {
    transform: scale(1.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-grey);
    font-family: var(--font-body);
    line-height: 1.6;
    padding-top: var(--nav-height);
    /* Space for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.nav-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-grey);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.nav-cta:hover {
    background: var(--accent-cyan-hover);
    color: #fff;
}

/* --- Sections --- */
section {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Spacing Utility */
.section-pad {
    padding: 2.5rem 0;
}

.bg-alt {
    background: #080F18;
}

/* Hero Section */
.hero-section {
    min-height: 75vh;
    /* Clearer center to show the new Digital US Map */
    background: radial-gradient(circle at center, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0.95) 90%), url('hero-bg-us.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(-1 * var(--nav-height));
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
    /* Subtle movement animation */
    animation: heroBreathe 20s infinite alternate ease-in-out;
}

/* Simulated network traffic moving overlay */
#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content (z-index 2) but above bg */
    pointer-events: none;
}

.hero-section::before {
    /* Removed the old generic netFlow animation in favor of the canvas */
    display: none;
}

@keyframes heroBreathe {
    0% {
        background-size: 110% auto;
    }

    100% {
        background-size: 120% auto;
    }
}

@keyframes netFlow {
    0% {
        transform: perspective(1000px) rotateX(10deg) translateY(0);
    }

    100% {
        transform: perspective(1000px) rotateX(10deg) translateY(-50px);
    }
}

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

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    /* Much brighter */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    /* Enhances readability against background */
    line-height: 1.6;
}

/* --- Workflow Grid (Matching Screenshot) --- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.work-card {
    background: #080F18;
    /* Very dark, almost black blue */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s;
    text-align: left;
    /* Left align as per screenshot */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.work-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.15);
    /* Dark blue container */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #3B82F6;
    /* Bright blue icon */
    font-size: 1.5rem;
}

.work-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.work-card p {
    font-size: 0.95rem;
    color: #94A3B8;
    /* Slate grey text */
    line-height: 1.6;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-cyan-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 181, 198, 0.3);
}

.btn-outline {
    border-color: var(--accent-cyan);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(0, 181, 198, 0.1);
    transform: translateY(-2px);
}

/* Stats/Features */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    text-align: center;
}

.stat-item .stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-item .stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.step-num {
    font-size: 3rem;
    color: var(--accent-cyan);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Inventory Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.tech-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    background: #243046;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tech-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-grey);
    flex-grow: 1;
}

/* --- Stats Bar --- */
.stats-bar {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0;
    gap: 1.5rem;
    /* Gap between separate cards */
    border-bottom: none;
    /* Removing the full underline */
}

.stat-block {
    text-align: center;
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    /* Slight background */
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-block:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 181, 198, 0.5);
    /* Accent border on hover */
    background: rgba(255, 255, 255, 0.05);
}

/* Removing the old vertical separator lines since we have cards now */
.stat-block:not(:last-child)::after {
    display: none;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-grey);
}

/* --- Ecosystem Section --- */
.ecosystem-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.eco-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    width: 250px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    opacity: 0;
    /* For animation start */
    animation: fadeInUp 0.8s forwards;
}

.eco-step-1 {
    animation-delay: 0.2s;
}

.eco-step-2 {
    animation-delay: 0.6s;
}

.eco-step-3 {
    animation-delay: 1.0s;
}

.eco-card.highlight {
    background: #2563EB;
    /* Bright Blue */
    border-color: #3B82F6;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.eco-card.highlight h4,
.eco-card.highlight p {
    color: white;
}

.eco-connector {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    flex: 0 0 80px;
    position: relative;
    overflow: hidden;
}

/* The moving dot inside the connector */
.flow-dot {
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
    position: absolute;
    top: 0;
    left: -30px;
    animation: flowLine 2s infinite linear;
    box-shadow: 0 0 5px var(--accent-cyan);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flowLine {
    0% {
        left: -30px;
    }

    100% {
        left: 100%;
    }
}

/* --- Workflow Grid --- */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.work-card {
    background: rgba(13, 27, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card);
}

.work-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 181, 198, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* --- Industry Categories (Enhanced) --- */
#categories-section {
    background-color: #050A10;
    /* Darker than workflow */
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Technical Grid Pattern */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Wider for list content */
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.cat-item {
    transition: all 0.3s;
}

.cat-item:hover {
    border-color: var(--accent-cyan);
}

/* --- Bottom CTA & Footer --- */
.bottom-cta {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0) 0%, rgba(0, 181, 198, 0.05) 100%);
    padding: 6rem 0;
    text-align: center;
}

.discretion-block {
    text-align: center;
    max-width: 600px;
    margin: 4rem auto;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.shield-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: inline-block;
}

/* Footer Cols */
.footer-cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Sales Page Redesign Elements --- */

/* Features Grid (Why Masterstock) - Dark/Blue cards */
.feature-card {
    background: #0D1623;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #111C2D;
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Comparison Section (Good vs Bad) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* White Logo Utility */
.white-logo {
    filter: brightness(0) invert(1);
}

.comp-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.comp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Split Contact Form (Modern Implementation) --- */
.split-form-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background: #0D1623;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-left {
    flex: 1.5;
    padding: 3rem;
}

.form-right {
    flex: 1;
    background: #2563EB;
    /* Bright Blue */
    padding: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements for right side */
.form-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.form-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-input {
    width: 100%;
    padding: 1rem;
    background: #1A2332;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.modern-input:focus {
    border-color: var(--accent-cyan);
}

.modern-label {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card-small {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 900px) {
    .split-form-container {
        flex-direction: column;
    }

    .form-input-grid {
        grid-template-columns: 1fr;
    }
}

.comp-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.comp-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-grey);
}

.comp-list.good li ion-icon {
    color: #10B981;
    /* Green */
    font-size: 1.2rem;
}

.comp-list.bad li ion-icon {
    color: #EF4444;
    /* Red */
    font-size: 1.2rem;
}

/* Process Steps (Horizontal with Numbers) */
.process-steps-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step-item {
    flex: 1;
    min-width: 200px;
    background: #080F18;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.step-num-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #0D1623;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question ion-icon {
    transform: rotate(180deg);
}

/* Alert Box */
.alert-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #EF4444;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.alert-title {
    color: #EF4444;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.footer-brand-col {
    text-align: left;
}

.footer-col {
    text-align: left;
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
}

@media (max-width: 900px) {
    .ecosystem-diagram {
        flex-direction: column;
    }

    .eco-connector {
        height: 50px;
        width: 2px;
    }

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

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- Hero Specifics --- */
.hero-badge {
    display: inline-block;
    background: rgba(0, 181, 198, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 181, 198, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

/*Button variants*/
.btn-dark {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    color: var(--bg-dark);
    /* Dark text for contrast */
    font-weight: 700;
}

.btn-dark:hover {
    background: #E2E8F0;
    border-color: #E2E8F0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Sold Out Utility (Used by n8n) */
.tech-card.sold-out {
    opacity: 0.5;
    position: relative;
}

.tech-card.sold-out::after {
    content: "SOLD OUT";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    border: 3pt solid #ff0000;
    color: #ff0000;
    padding: 10pt 20pt;
    font-weight: 800;
    font-size: 18pt;
    z-index: 10;
    background: rgba(13, 27, 42, 0.8);
    border-radius: 8px;
}

/* Footer */
footer {
    background: #08111A;
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-links a:hover {
    color: var(--accent-cyan);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Enhanced Process Graphics */
.step-icon-large {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    background: rgba(0, 181, 198, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(0, 181, 198, 0.3);
}

.process-line {
    position: absolute;
    top: 40px;
    /* Aligns with circle center approx */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.2) 80%, transparent);
    z-index: 0;
}

.process-step-item {
    z-index: 1;
    /* Keep cards above line */
    background: #080F18;
    /* Ensure bg covers line */
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.process-step-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .ecosystem-diagram {
        flex-direction: column;
    }

    .eco-connector {
        height: 50px;
        width: 2px;
    }

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

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col,
    .footer-brand-col {
        text-align: center;
    }

    .split-form-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .navbar {
        padding: 0 1rem;
        justify-content: center;
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 1rem;
    }

    .nav-links {
        display: none;
        /* Consider a hamburger menu for future, hiding for now on small screens to avoid overflow */
    }

    /* Alternative simple mobile nav: show critical links stacked */
    /*
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    */

    /* Stats on About Page */
    .stat-badge-grid {
        grid-template-columns: 1fr;
    }

    .process-steps-row {
        flex-direction: column;
    }

    .process-line {
        display: none;
    }

    .step-icon-large {
        margin: 0 auto 1rem auto;
    }

    /* Legal Sections Grid */
    #legal-details .container {
        grid-template-columns: 1fr !important;
    }

    /* Testimonials */
    .testimonial-card-lg {
        margin-bottom: 1rem;
    }

    div[style*="grid-template-columns: 1fr 1fr;"] {
        grid-template-columns: 1fr !important;
    }

    /* Global Hub Map Section */
    .map-bg-section .container div[style*="display: flex"] {
        flex-direction: column;
    }
}

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

    .stats-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-block {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}