:root {
    --bg-primary: #001e2b;
    --bg-secondary: #002e3b;
    --bg-card: #0c2630;
    --text-primary: #fafafa;
    --text-secondary: #88979f;
    --purple: #00ed64;
    --magenta: #00684a;
    --accent: #00ed64;
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 237, 100, 0.25);
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Mesh Background Glow */
.mesh-gradient {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; max-width: 1000px; box-sizing: border-box;
    height: 600px;
    background: radial-gradient(circle at 30% 20%, rgba(0, 237, 100, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(0, 104, 74, 0.12) 0%, transparent 60%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}

.text-purple {
    color: var(--purple);
}

.highlight-text {
    background: linear-gradient(to right, var(--purple), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chip-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: rgba(0, 237, 100, 0.1);
    border: 1px solid var(--border-highlight);
    color: var(--purple);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: #e4e4e7;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: white;
}

.btn-gradient:hover {
    box-shadow: 0 4px 20px rgba(0, 237, 100, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 30, 43, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 100%; max-width: 1200px; box-sizing: border-box;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    transform: rotate(45deg);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: linear-gradient(to right, var(--purple), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.menu-burger {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-burger span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Wrapper */
.content-wrapper {
    max-width: 100%; max-width: 1200px; box-sizing: border-box;
    margin: 0 auto;
    padding: 4rem 2rem 8rem;
    min-height: calc(100vh - 180px);
}

.view-panel {
    display: none;
    animation: slideIn 0.4s ease-out forwards;
}

.view-panel.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero section elements */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 2rem 0 6rem;
}

.hero-info p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

/* Glass Viewport Mockup */
.hero-image-showcase {
    display: flex;
    justify-content: center;
}

.glass-viewport {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    width: 100%;
    max-width: 100%; max-width: 524px; box-sizing: border-box;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.viewport-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    margin-bottom: 10px;
    padding-left: 4px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 320px;
    background-color: #000;
}

.showcase-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: white;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.slider-bar::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background-color: white;
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.overlay-text {
    position: absolute;
    bottom: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    pointer-events: none;
    z-index: 5;
}

.left-overlay {
    left: 15px;
}

.right-overlay {
    right: 15px;
}

/* Features Flex */
.brand-benefits {
    border-top: 1px solid var(--border);
    padding-top: 6rem;
}

.features-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
}

.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 237, 100, 0.08), transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Services */
.panel-header {
    text-align: center;
    max-width: 100%; max-width: 700px; box-sizing: border-box;
    margin: 0 auto 5rem;
}

.panel-header h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 15px 40px rgba(0, 237, 100, 0.03);
}

.service-icon-wrap {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* About Section */
.about-flex {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-details h2 {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.about-achievements {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.metric-card h5 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.company-mission {
    border-top: 1px solid var(--border);
    padding-top: 5rem;
}

.company-mission h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.principle-item h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--purple);
}

/* Sandbox Workspace */
.sandbox-workspace {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.sandbox-controls {
    padding: 2.5rem;
    border-right: 1px solid var(--border);
    background-color: rgba(255,255,255,0.01);
}

.sandbox-controls h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.slider-group {
    margin-bottom: 1.75rem;
}

.slider-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.slider-group label span {
    color: var(--purple);
    font-weight: 700;
}

.slider-group input[type="range"] {
    width: 100%;
    accent-color: var(--purple);
    background: var(--bg-primary);
    height: 6px;
    border-radius: 3px;
    outline: none;
}

.control-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-primary);
    transition: .3s;
    border: 1px solid var(--border);
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 14px; width: 14px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .3s;
}

.switch input:checked + .slider {
    background-color: var(--purple);
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

.switch .slider.round {
    border-radius: 34px;
}

.switch .slider.round:before {
    border-radius: 50%;
}

.sandbox-viewer {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-window {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.viewer-header {
    background-color: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    overflow-x: auto;
    white-space: nowrap;
}

.viewer-body {
    background-color: #000;
}

.sandbox-svg-image {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.2s ease;
}

/* Contact */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    padding: 2rem 0;
}

.contact-pitch h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-details-box {
    margin-top: 2rem;
    font-size: 1rem;
}

.contact-details-box p {
    margin-bottom: 0.5rem;
}

.contact-card-wrap {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
}

.signup-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-block {
    margin-bottom: 1.5rem;
}

.input-block label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.input-block input, .input-block select {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-block input:focus, .input-block select:focus {
    border-color: var(--purple);
}

.signup-feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.signup-feedback.success {
    display: block;
    background-color: rgba(0, 237, 100, 0.1);
    border: 1px solid rgba(0, 237, 100, 0.2);
    color: #00ed64;
}

/* Footer */
.footer-wrap {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    background-color: #00161f;
}

.footer-content {
    max-width: 100%; max-width: 1200px; box-sizing: border-box;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding-bottom: 4rem;
    }
    
    .contact-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sandbox-workspace {
        grid-template-columns: 1fr;
    }
    
    .sandbox-controls {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-burger {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    h1 {
        font-size: 2.8rem;
    }
}

/* Partners Block */
.partners-block {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.partners-head {
    font-size: 0.8rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.partners-grid-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    height: 35px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.svg-partner {
    height: 100%;
    width: 120px;
}

/* Pricing switch */
.pricing-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.cycle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.cycle-label.active {
    color: var(--text-primary);
}

.toggle-slider-wrap {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-slider-wrap input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider-round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-primary);
    transition: .3s;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.toggle-slider-round:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    transition: .3s;
    border-radius: 50%;
}

.toggle-slider-wrap input:checked + .toggle-slider-round:before {
    transform: translateX(20px);
}

.pricing-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 6rem;
}

.price-tier-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.price-tier-card.premium-tier {
    border-color: var(--purple);
    box-shadow: 0 15px 35px rgba(0, 237, 100, 0.15);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.tier-top h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tier-top p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.tier-cost {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
}

.tier-cost .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.tier-cost .cost-num {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.tier-cost .duration {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.tier-cost .text-custom {
    font-size: 2.8rem;
    font-family: var(--font-heading);
}

.tier-benefits-list {
    list-style: none;
    margin-bottom: 3rem;
}

.tier-benefits-list li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* FAQ Block */
.faq-accordion-block {
    max-width: 100%; max-width: 800px; box-sizing: border-box;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.faq-accordion-block h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-row h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Solutions page */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.sol-features {
    list-style: none;
    margin-top: 1.5rem;
}

.sol-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.compliance-showcase {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 4rem;
    margin-bottom: 3rem;
}

.tags-flex {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tag-item {
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Split Docs Layout */
.split-docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
}

.docs-menu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-right: 1px solid var(--border);
    padding-right: 1.5rem;
    height: fit-content;
}

.docs-menu-sidebar h4 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.sidebar-menu-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sidebar-menu-item:hover, .sidebar-menu-item.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-menu-item.active {
    border-left: 2px solid var(--purple);
    padding-left: 10px;
    font-weight: 600;
}

.docs-panes-wrapper h2 {
    font-size: 2.2rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.docs-panes-wrapper h3 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.docs-pane-section {
    display: none;
}

.docs-pane-section.active {
    display: block;
    animation: slideIn 0.4s ease-out forwards;
}

.code-terminal-card {
    background-color: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.code-card-tabs {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    display: flex;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-right: 1px solid var(--border);
    transition: all 0.2s ease;
}

.tab-btn.active {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.04);
    border-bottom: 2px solid var(--purple);
}

.code-block-body {
    padding: 1.5rem;
}

.code-block-body pre {
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* About careers & profiles */
.about-team-section {
    margin-top: 4rem;
}

.team-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-profile-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.profile-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-profile-card h4 {
    margin-bottom: 0.25rem;
}

.team-profile-card .role {
    color: var(--purple);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.careers-block-detail {
    border-top: 1px solid var(--border);
    padding-top: 5rem;
    margin-top: 6rem;
    text-align: center;
}

.careers-block-detail p {
    max-width: 100%; max-width: 600px; box-sizing: border-box;
    margin: 0 auto 3rem;
}

.careers-wrapper-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%; max-width: 800px; box-sizing: border-box;
    margin: 0 auto;
}

.career-card-row {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.career-card-row h4 {
    margin-bottom: 0.25rem;
}

.career-card-row .location {
    font-size: 0.85rem;
    color: var(--magenta);
    font-weight: 600;
}

@media (max-width: 968px) {
    .split-docs-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .docs-menu-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 1.5rem;
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }
}



/* --- Added Premium Custom Components --- */

/* Image Assets Formats */
.hero-image-wrap {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(11, 15, 25, 0.3) 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.hero-png-img, .about-png-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .about-grid-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Core Values Layout */
.about-values {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.value-card h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Company History Timeline */
.company-timeline {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.timeline-trail {
    position: relative;
    max-width: 100%; max-width: 800px; box-sizing: border-box;
    margin: 4rem auto 0;
    padding-left: 2rem;
    border-left: 2px solid var(--border);
}

.timeline-node {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 1.5rem;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.node-year {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.node-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.node-content p {
    color: var(--text-secondary);
}

/* How It Works (Steps) */
.workflow-steps-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    user-select: none;
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Zero-Trust Architecture Panel */
.architecture-blueprint {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4rem;
    align-items: center;
    margin: 6rem 0;
}

.blueprint-content h2 {
    margin-bottom: 1.5rem;
}

.blueprint-list {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.blueprint-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.blueprint-svg-wrap {
    display: flex;
    justify-content: center;
}

.blueprint-svg {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .architecture-blueprint {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }
}

/* Testimonials Grid */
.testimonials-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3.5rem;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 2rem;
}

.quote::before {
    content: '“';
    font-size: 3rem;
    color: var(--accent);
    line-height: 0;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.reviewer {
    display: flex;
    flex-direction: column;
}

.reviewer strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.reviewer span {
    font-size: 0.85rem;
    color: var(--accent);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Interactive Collapsible Service Drawers */
.interactive-service-block {
    cursor: pointer;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.interactive-service-block:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.service-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-summary-info {
    flex: 1;
    padding-right: 2rem;
}

.service-chevron {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.service-detail-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.service-detail-drawer.active {
    max-height: 600px;
    transition: max-height 0.4s ease-in;
}

.drawer-content {
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    padding-top: 2rem;
}

.drawer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.drawer-info-block h4, .drawer-specs-block h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.drawer-features-list {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.drawer-features-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.drawer-specs-block pre {
    background-color: #07090f;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.2rem;
    overflow-x: auto;
}

.drawer-specs-block pre code {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .drawer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Privacy & Policy Content Layout */
.policy-section {
    max-width: 100%; max-width: 800px; box-sizing: border-box;
    margin: 0 auto;
}

.policy-body-content {
    margin-top: 3.5rem;
}

.policy-body-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.policy-body-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Navigation Dropdown styling */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 0;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    margin-top: 0.75rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--border) transparent;
}

.dropdown-item {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 1.75rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.2s ease forwards;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Flex alignment for nav items */
.nav-menu {
    align-items: center !important;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    padding: 0;
}

/* Mobile Responsive Overrides for Dropdown Menu */
@media (max-width: 768px) {
    .nav-dropdown {
        display: block;
        width: 100%;
        text-align: left;
        margin: 0.5rem 0;
    }
    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--accent);
        border-radius: 0;
        background-color: rgba(255, 255, 255, 0.02) !important;
        margin-top: 0.5rem;
        width: 100%;
        padding: 0.25rem 0 0.25rem 1rem;
        display: none;
    }
    .dropdown-menu::before {
        display: none !important;
    }
    .dropdown-item {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    .nav-dropdown.active .dropdown-menu,
    .nav-dropdown:hover .dropdown-menu {
        display: block !important;
        animation: none !important;
    }
}


/* ==========================================================================
   PREMIUM RESPONSIBILITY OVERRIDES (FLUID CONTAINERS & COLLAPSIBLE GRIDS)
   ========================================================================== */

/* --- Container Width Normalization (< 1240px) --- */
@media (max-width: 1240px) {
    body .header-container, body .main-content, body .footer-container,
    body .nav-container, body .content-wrapper, body .footer-content,
    body .container-sec, body .main-sec, body .container-inner, body .sec-footer,
    body .net-nav-container, body .net-main, body .container-center,
    body .asr-nav-container, body .asr-main, body .inner-container,
    body .gate-container, body .gate-main,
    body .acc-container, body .acc-main,
    body .apo-nav-container, body .apo-main,
    body .erp-container, body .erp-main,
    body .art-container, body .art-main {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

/* --- Intermediate Component Fluidity (< 840px) --- */
@media (max-width: 840px) {
    body .section-header, body .sec-header, body .section-title, body .about-hero,
    body .faq-section, body .careers-list, body .timeline-trail, body .policy-section,
    body .faq-accordion-block, body .careers-block-detail p, body .careers-wrapper-list,
    body .faq-container-sec, body .careers-list-sec,
    body .faq-section-net, body .careers-list-net,
    body .faq-section-asr, body .careers-list-asr,
    body .faq-section-gate, body .careers-list-gate,
    body .faq-section-acc, body .careers-list-acc,
    body .faq-section-apo, body .careers-list-apo, body .infrastructure-summary-apo p, body .careers-block-apo p,
    body .faq-section-erp, body .careers-list-erp, body .infrastructure-summary-erp p, body .careers-block-erp p,
    body .faq-section-art, body .careers-list-art, body .infrastructure-summary-art p, body .careers-block-art p,
    body .about-careers p {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
}

/* --- Mobile Grid Stacking & Scaling (< 768px) --- */
@media (max-width: 768px) {
    /* Stack all multi-column CSS grids */
    body .playground-grid, body .dashboard-layout,
    body .docs-split-view-apo, body .docs-split-view-erp, body .docs-split-view-art,
    body .split-docs-layout, body .workspace-split, body .contact-split, body .hero-split,
    body .about-flex, body .principles-grid, body .sandbox-workspace,
    body .about-grid-hero, body .architecture-blueprint, body .testimonials-grid, body .drawer-grid,
    body .input-row, body .team-grid-cards, body .values-grid, body .steps-grid, body .career-card-row {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    /* Layout specific sidebars adjustments */
    .docs-menu-sidebar {
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
        padding-right: 0 !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .sandbox-controls {
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
        padding-bottom: 2rem !important;
        width: 100% !important;
    }

    /* Keep components inside mobile bounds */
    .viewer-window, .glass-viewport, .interactive-service-block, 
    .value-card, .step-card, .testimonial-card, .pricing-card, .price-tier-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Input & Forms Stretching */
    .input-block input, .input-block select, .input-block textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fix table overflows in dashboards */
    .table-container, .dashboard-logs, .sku-table-wrap, .log-viewport {
        overflow-x: auto !important;
        width: 100% !important;
    }

    /* Logo adjustment */
    .logo {
        font-size: 1.1rem !important;
    }
}

/* --- Mobile Typographical Adaptation (< 480px) --- */
@media (max-width: 480px) {
    h1, .hero-content h1, .hero-text h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    h2 {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }
    h3 {
        font-size: 1.3rem !important;
    }
    
    .brand-benefits h2, .section-header h2, .sec-header h2 {
        font-size: 1.8rem !important;
    }

    /* Section padding normalization on narrow screens */
    section, .about-values, .company-timeline, .workflow-steps-section {
        padding: 3rem 0 !important;
    }
}

/* ==========================================================================
   Responsive Polish & Overflow Prevention Overrides
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Fix footer links horizontal overflow on mobile viewports */
.footer-links,
.footer-links-sec,
.footer-links-net,
.footer-links-asr,
.footer-links-gate,
.footer-links-acc,
.footer-links-apo,
.footer-links-erp,
.footer-links-art {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.25rem !important;
}

@media (max-width: 768px) {
    /* Scale down oversized hero headings to fit mobile screens */
    h1 {
        font-size: 2.2rem !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
    }

    /* Additional safety for hero text wrapper margins and padding */
    .hero-text, .hero-section {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   MongoDB-Style Design Modeling Extensions
   ========================================================================== */

/* Tech Backdrop Grid Overlay */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -2;
}

/* Announcement Banner */
.announcement-banner {
    background-color: #00161f;
    border-bottom: 1px solid rgba(0, 237, 100, 0.15);
    color: var(--text-primary);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 101;
}

.announcement-banner span.badge {
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.announcement-banner a {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.announcement-banner a:hover {
    opacity: 0.8;
}

/* Experience Profile Switcher */
.profile-switcher-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2.5rem;
    position: relative;
    z-index: 10;
}

.profile-switcher {
    display: flex;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.profile-btn.active {
    color: var(--bg-primary);
}

.switcher-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 237, 100, 0.3);
}

/* Profile Panel Transitions */
.profile-panel {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.profile-panel.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(10px);
}

/* Premium Card hover glow effect */
.value-card, .card-item, .step-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.value-card:hover, .card-item:hover, .step-card:hover {
    border-color: rgba(0, 237, 100, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 237, 100, 0.05), 
                0 0 1px 1px rgba(0, 237, 100, 0.15) inset !important;
}
