@media (max-width: 900px) {
        .bento-grid, .org-grid {
            gap: 0.4rem;
        }
        .bento-card, .light-card {
            padding: 0.56rem 0.32rem;
        }
        .features-header, .org-section .features-header {
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }
        .features-title, .org-section .features-title {
            font-size: 0.96rem;
        }
        .features-subtitle, .org-section .features-subtitle {
            font-size: 0.72rem;
        }
        .org-section .features-header {
            margin-bottom: 0.8rem;
        }
        .org-grid {
            grid-template-rows: 88px 88px;
        }
    .container {
        padding-left: 0.24rem;
        padding-right: 0.24rem;
    }
}
/* HERO SECTION */
/* Universal container for horizontal padding */
/* Universal container for horizontal padding */
.container {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.56rem;
    padding-right: 0.56rem;
    box-sizing: border-box;
}

/* Import Space Mono font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');


/* ===== NEW HERO SECTION (Add this to your existing CSS) ===== */
:root {
    --primary: #295950;
    --accent: #96c549;
    --bg: #f4f8f6;
    --text: #1c2b29;
    --muted: #6c7f7a;
}

.hero {
    /* min-height: 100vh; */
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding: 60px 60px 60px;
    gap: 40px;
    /* background: var(--bg); */
    color: var(--text);
    position: relative;
    overflow: hidden;
    
}

.hero .left h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 22px;
    font-weight: 600;
    color: #4e615e;
    text-align: left;
    margin-left: 10%;
    font-family: 'Space Mono Bold', monospace;
}
.hero .left p {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: 30px;
    max-width: 560px;
    line-height: 1.6;
    text-align: left;
    margin-left: 10%;
    font-family: monospace;
}

/* Hide hero buttons by default, show with JS */
.hero .buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 30px;
    margin-left:10%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}


.hero .buttons a {
    padding: 8px 16px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.25s ease;
    font-size: 0.90rem;
}

.hero .buttons .primary {
    background: var(--accent);
    color: #0e1a18;
    border: 1px solid #59b349;
}

.hero .buttons .primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(150, 197, 73, 0.35);
    background: #86b53d;
}

.hero .buttons .outline {
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text);
    background: #fff;
}

.hero .buttons .outline:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.hero .proof {
    margin-top: 40px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 40px;
    margin-left: 20%;
}

.hero .visual {
    position: relative;
    height: 520px;
}

.hero canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 40px 40px;
        text-align: center;
    }
    
    .hero .left h1 {
        font-size: 2.8rem;
    }
    
    .hero .left p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero .buttons {
        justify-content: center;
    }
    
    .hero .proof {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero .visual {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 24px 40px;
    }
    
    .hero .left h1 {
        font-size: 2.2rem;
    }
    
    .hero .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero .buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .hero .proof {
        gap: 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero .left h1 {
        font-size: 1.8rem;
    }
    
    .hero .proof {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .hero .proof span {
        width: calc(50% - 12px);
    }
}

/* Scrolled Navigation State (Home Page Only) */
.site-header.scrolled-nav {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3.2px 16px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled-nav .main-nav {
    display: none;
    /* Or use opacity/visibility if you want animation, but display:none ensures layout reflow */
}


.site-header.scrolled-nav .btn-login {
    display: none;
}

/* TRUSTED BY SECTION */
.trusted-section {
    border-bottom: 1px solid #e5e7eb;
    padding: 2.8rem 0;
    background: #fff;
}

.trusted-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3.2rem;
}

.trusted-label-col {
    flex-shrink: 0;
}

.trusted-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
    max-width: 240px;
    opacity: 1;
    /* Visible by default */
}

.trusted-logos-col {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    gap: 1.6rem;
    height: 2.4rem;
    /* Fixed height for window */
    overflow: hidden;
    position: relative;
    color: #000;
}

.logo-column {
    position: relative;
    height: 100%;
    overflow: hidden;
    min-width: 80px;
}

.logo-track {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    /* Vertical gap matched */
    animation: scrollDown 10s linear infinite;
}

.logo-item {
    font-weight: 700;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #000;
    letter-spacing: -0.03em;
    height: 2.4rem;
    /* Match window height */
    flex-shrink: 0;
    opacity: 1;
}

/* Stagger columns */
/* Stagger columns removed for unified movement */
.logo-track {
    animation-delay: 0s;
}

/* Infinite Scroll Down */
@keyframes scrollDown {
    0% {
        transform: translateY(-75%);
    }

    /* Start hidden above */
    100% {
        transform: translateY(-25%);
    }

    /* Move down to next set */
}

.company-inngest {
    font-family: sans-serif;
}

.company-durable {
    font-family: sans-serif;
}

.company-upstash {
    font-family: monospace;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.company-cartesia {
    font-family: serif;
    font-weight: 500;
}

/* COMPONENTS SECTION */
.components-section {
    padding: 4.8rem 0;
    background: #fff;
    overflow: hidden;
}

.components-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    align-items: center;
}

.section-label {
    display: block;
    color: #295950;
    font-weight: 700;
    font-size: 0.72rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-heading {
    font-size: 2.8rem;
    line-height: 1.05;
    font-weight: 800;
    color: #020817;
    margin-bottom: 1.2rem;
    letter-spacing: -0.04em;
}

.section-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.6rem;
    max-width: 400px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-bottom: 3.2rem;
    font-size: 0.8rem;
}

.explore-link .arrow {
    transition: transform 0.2s;
    font-size: 0.8em;
}

.explore-link:hover .arrow {
    transform: translateX(2.4px);
}

.component-accordion {
    border-top: 1px solid #e5e7eb;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header-wrap {
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.status-dot {
    width: 6.4px;
    height: 6.4px;
    background-color: transparent;
    border: 1px solid #d1d5db;
    /* Inactive border */
    border-radius: 50%;
    transition: all 0.2s;
}

.accordion-item.active .status-dot {
    background-color: #295950;
    border-color: #295950;
}

.accordion-title {
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    color: #6b7280;
    /* Gray when inactive */
    text-transform: uppercase;
    transition: color 0.2s;
}

.accordion-item.active .accordion-title {
    color: #295950;
}

.accordion-trigger {
    font-size: 0.64rem;
    color: #666;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-trigger {
    transform: rotate(180deg);
}

.accordion-body {
    display: none;
    padding-bottom: 1.2rem;
    padding-left: 1.2rem;
    /* Align with text */
    animation: fadeIn 0.3s ease;
}

.accordion-item.active .accordion-body {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-desc {
    font-size: 0.76rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.accordion-desc code {
    background: #f3f4f6;
    padding: 0.08rem 0.24rem;
    border-radius: 3.2px;
    font-size: 0.9em;
    font-family: monospace;
    color: #111;
}

.component-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.comp-item {
    font-family: monospace;
    font-size: 0.72rem;
    color: #6b7280;
    padding: 1.6px 0;
    cursor: pointer;
    transition: color 0.2s;
}

.comp-item:hover {
    color: #111;
}

.comp-item.highlight {
    color: #295950;
    font-weight: 600;
}

/* AUTH CARD VISUAL */
.components-visual {
    position: relative;
    padding: 1.6rem;
    background: transparent;
}

/* Background flourish */
.bg-blur {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(41, 89, 80, 0.4) 0%, transparent 70%);
    filter: blur(32px);
    z-index: -1;
    border-radius: 50%;
}

.bg-blur.top-right {
    top: -24px;
    right: -24px;
}

.auth-card-container {
    perspective: 800px;
    position: relative;
    /* Stack effect spacers */
    display: flex;
    justify-content: center;
}

/* Simulated cards behind */
.auth-card-container::before,
.auth-card-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90%;
    /* Slightly narrower */
    height: 100%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    z-index: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 3.2px 4.8px -0.8px rgba(0, 0, 0, 0.05);
}

.auth-card-container::before {
    transform: translateY(-12px) scale(0.95);
    opacity: 0.6;
}

.auth-card-container::after {
    transform: translateY(-24px) scale(0.9);
    opacity: 0.4;
}

/* Hover effect for stack */
.auth-card-container:hover::before {
    transform: translateY(-16px) scale(0.95) rotate(-1deg);
    opacity: 0.7;
}

.auth-card-container:hover::after {
    transform: translateY(-32px) scale(0.9) rotate(1deg);
    opacity: 0.5;
}

.auth-card {
    position: relative;
    z-index: 10;
    /* Above fake cards */
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 20px 40px -9.6px rgba(0, 0, 0, 0.15),
        0 8px 24px -4px rgba(0, 0, 0, 0.06),
        0 0 0 0.8px rgba(0, 0, 0, 0.03);
    padding: 1.6rem 1.6rem 1.2rem;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    /* transition: transform 0.3s ease; */
    /* Removed transition for movement */
    /* transition: transform 0.3s ease; */
}

.auth-card:hover {
    transform: translateY(-1.6px);
    box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.2);
}

.card-reset-anim {
    animation: cardPulse 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cardPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.98);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* DEMO ANIMATION FORM */
.demo-form {
    text-align: left;
    margin-top: 1.2rem;
}

.form-group {
    margin-bottom: 0.8rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.32rem;
}

.label-row label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #111;
}

.fake-input-box {
    width: 100%;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6.4px;
    padding: 0 0.64rem;
    display: flex;
    align-items: center;
    font-size: 0.76rem;
    color: #111;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.btn-auth-continue {
    width: 100%;
    background: #2d333a;
    /* Dark gray like Clerk */
    color: #fff;
    border: none;
    padding: 0.64rem;
    border-radius: 6.4px;
    font-weight: 600;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: default;
    box-shadow: 0 3.2px 4.8px rgba(0, 0, 0, 0.05);
    margin-top: 1.2rem;
}

.auth-card-footer {
    margin-top: 1.2rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.8rem;
    font-size: 0.68rem;
}

.footer-login-link {
    color: #666;
    margin-bottom: 0.8rem;
}

.footer-login-link a {
    color: #295950;
    text-decoration: none;
    font-weight: 500;
}

.secured-by {
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
    font-size: 0.64rem;
}

.clerk-logo-text {
    font-weight: 600;
    color: #295950;
    /* or gray */
    color: #6b7280;
    display: inline-flex;
    align-items: center;
}

/* TYPING SIMULATION */
.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid transparent;
    /* Caret */
}

/* EMAIL ANIMATION STATE */
.email-text::before {
    content: "user@example.com";
    display: inline-block;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width 1.5s steps(16, end);
}

.fake-input-box.typing-active .email-text::before {
    width: 100%;
}

/* PASSWORD ANIMATION STATE */
.password-text::before {
    content: "•••••••••";
    display: inline-block;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width 1s steps(9, end);
}

.fake-input-box.typing-active .password-text::before {
    width: 100%;
}

/* MOUSE CURSOR STATE */
.demo-mouse-pointer {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 1.6px 3.2px rgba(0, 0, 0, 0.15));
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
    opacity: 0;
    /* Hidden by default until JS creates it or moves it */
}

.demo-mouse-pointer.active {
    opacity: 1;
}

.demo-mouse-pointer.clicking {
    transform: scale(0.9);
}

/* Button Active State Simulation */
/* Button Active State Simulation */
.btn-auth-continue {
    transition: transform 0.1s;
}

.btn-auth-continue:active {
    transform: scale(0.98);
}



.auth-logo-placeholder {
    width: 38.4px;
    height: 38.4px;
    margin: 0 auto 0.8rem;
    background: #111;
    border-radius: 9.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 3.2px 8px rgba(0, 0, 0, 0.2);
}

.auth-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    font-size: 0.76rem;
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem;
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    font-size: 0.76rem;
    transition: all 0.2s;
}

.social-btn:hover {
    background: #e5e7eb;
}

.social-icon {
    width: 16px;
    height: 16px;
}

.auth-divider {
    margin-top: 1.2rem;
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0.8px;
    background: #e5e7eb;
}

.auth-divider span {
    background: #fff;
    padding: 0 0.8rem;
    position: relative;
    color: #999;
    font-size: 0.68rem;
}

@media (max-width: 900px) {

    .trusted-wrapper,
    .components-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 2.4rem;
        text-align: center;
    }

    .trusted-logos-col {
        flex-wrap: wrap;
        justify-content: center;
    }

    .components-content {
        order: 1;
    }

    .components-visual {
        order: 2;
    }

    .section-heading {
        font-size: 2rem;
    }

    .accordion-item {
        justify-content: space-between;
    }

    .explore-link {
        justify-content: center;
    }
}

/* AUTH FEATURES SECTION (Dark Grid) */
.auth-features-section {
    background-color: #050505;
    /* Deep black */
    color: #fff;
    padding: 6.4rem 0 6.4rem;
    /* Increased top padding for notch */
    position: relative;
    overflow: hidden;
    /* Trapezoidal Notch at Top AND Bottom */
    clip-path: polygon(
            /* Top Notch */
            0 0,
            calc(50% - 280px) 0,
            calc(50% - 240px) 32px,
            calc(50% + 240px) 32px,
            calc(50% + 280px) 0,
            100% 0,

            /* Bottom Notch */
            100% 100%,
            calc(50% + 280px) 100%,
            calc(50% + 240px) calc(100% - 32px),
            calc(50% - 240px) calc(100% - 32px),
            calc(50% - 280px) 100%,
            0 100%);
    margin-top: -1.6px;
    /* Prevent sub-pixel white line gaps */
    margin-bottom: -1.6px;
}

.auth-features-section::before,
.auth-features-section::after {
    /* Subtle decorative gradients for "antigravity" feel */
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(41, 89, 80, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-features-section::before {
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
}

.auth-features-section::after {
    bottom: -160px;
    left: 10%;
}

.features-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.features-label {
    display: inline-block;
    color: #96c549;
    /* Light purple */
    font-weight: 600;
    font-size: 0.72rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.features-title {
    font-size: 1.76rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #ffffff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 0.96rem;
}

.explore-auth-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1.6px;
}

.explore-auth-link:hover {
    opacity: 0.8;
}

/* BENTO GRID */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.2rem;
    max-width: 1000px !important;
    margin: 0 auto;
}

.bento-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 12.8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bento-card:hover {
    transform: translateY(-1.6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: #333;
}

.card-content {
    padding: 1.2rem;
}

.card-content h3 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #eee;
}

.card-content p {
    font-size: 0.68rem;
    color: #888;
    line-height: 1.5;
}

.text-red {
    color: #ff5555;
}

.mt-auto {
    margin-top: auto;
}

/* CARD SPECIALIZATIONS */
/* 1. MFA */
.card-mfa {
    grid-column: span 1;
    grid-row: span 1;
}

.visual-mfa {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #111, #161616);
}

.mfa-dots {
    display: flex;
    gap: 4.8px;
}

.mfa-dots span {
    width: 6.4px;
    height: 6.4px;
    background: #333;
    border-radius: 1.6px;
}

.mfa-dots span:nth-child(even) {
    background: #555;
}

/* 2. Session (Tall Center) */
.card-session {
    grid-column: span 1;
    grid-row: span 2;
}

.visual-session {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    padding: 1.6rem 0;
}

.session-ui {
    width: 80%;
    background: #1a1a1a;
    border-radius: 9.6px;
    padding: 0.8rem;
    box-shadow: 0 3.2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.device-icon {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.session-row {
    font-size: 0.6rem;
    color: #b4b4b4;
    padding: 4.8px 0;
    border-bottom: 1px solid #222;
}

.session-row:last-child {
    border-bottom: none;
}

/* 3. OTP */
.card-otp {
    grid-column: span 1;
    grid-row: span 1;
}

.visual-otp {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-icons {
    display: flex;
    gap: 8px;
}

.icon-circle {
    width: 58.6px;
    height: 56.6px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* 4. Fraud (Tall Left) */
.card-fraud {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column-reverse;
    max-height: 71%;
}

.visual-fraud {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.6rem;
}

.fraud-alert {
    background: #221111;
    color: #ff8888;
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    font-size: 0.6rem;
    border: 1px solid #442222;
}

.fraud-timeline span {
    display: block;
    width: 1.6px;
    height: 16px;
    background: #333;
    margin: 3.2px auto;
}

/* 5. Social */
.card-social {
    grid-column: span 1;
    grid-row: span 1;
}

.soc-icons-grid {
    display: flex;
    gap: 0.8rem;
    padding: 1.6rem 1.2rem 0;
}

.soc-icon {
    width: 34.8px;
    height: 34.8px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: #ccc;
}

/* 6. Magic Links (Tall Right) */
.card-magic {
    grid-column: span 1;
    grid-row: span 2;
    background: radial-gradient(circle at center, #295950 0%, #111 70%);
}

.visual-magic {
    padding: 1.6rem 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.magic-link-ui {
    text-align: center;
}

.magic-code {
    font-family: monospace;
    letter-spacing: 3.2px;
    color: #fff;
    font-size: 0.96rem;
    margin-bottom: 0.8rem;
}

.magic-user-avatar {
    width: 32px;
    height: 32px;
    background: #444;
    border-radius: 50%;
    margin: 0 auto 0.4rem;
}

.magic-email {
    font-size: 0.56rem;
    color: #666;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .bento-card,
    .card-session,
    .card-fraud,
    .card-magic {
        grid-column: span 1;
        grid-row: span 1;
    }

    .features-title {
        font-size: 1.6rem;
    }
}

/* ORGANIZATIONS SECTION (Light Grid) */
.org-section {
    padding: 2.8rem 0 2rem 0;
    color: #131316;
    /* Updated to user's variable --typography-heading */
    background-color: #fff;
    position: relative;
    z-index: 1;
    /* Ensure it stays below notch overlaps if any */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Specific Header Styling for Org Section */
.org-section .features-header {
    text-align: left;
    /* Left align as per image */
    margin-bottom: 1.6rem;
    max-width: 640px;
    margin-left: 0;
    margin-right: auto;
}

.org-section .features-label {
    color: #295950;
    /* Vivid Purple */
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    /* Looks clearer in image, though typically uppercase */
    margin-bottom: 0.4rem;
    display: block;
}

.org-section .features-title {
    font-size: 1.36rem;
    font-weight: 700;
    color: #131316;
    background: none;
    -webkit-text-fill-color: initial;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.org-section .features-subtitle {
    font-size: 0.784rem;
    color: #42434D;
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 0.88rem;
    font-weight: 400;
}

.org-section .explore-auth-link {
    color: #131316;
    /* --typography-link */
    font-weight: 600;
    font-size: 0.8rem;
    border-bottom: none;
    /* Remove underline style */
    display: inline-flex;
    align-items: center;
    gap: 4.8px;
    text-decoration: none;
}

.org-section .explore-auth-link::after {

    /* Play arrow style */
    font-size: 0.6em;
    position: relative;
    top: 0.8px;
}

.org-section .explore-auth-link:hover {
    opacity: 0.7;
}

.org-grid {
    grid-template-rows: 192px 192px;
    /* Fixed height rows for this specific layout */
}

.light-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 3.2px 4.8px -0.8px rgba(0, 0, 0, 0.05), 0 1.6px 3.2px -0.8px rgba(0, 0, 0, 0.03);
}

.light-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 12px -2.4px rgba(0, 0, 0, 0.1);
}

.light-card .card-content h3 {
    color: #111;
}

.light-card .card-content p {
    color: #555;
}

/* Org Card Spans */
/* Left Column */
.card-roles {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* Center Column (Split) */
.card-autojoin {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: row;
}

.card-invites {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* Right Column */
.card-org-ui {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

/* Org Visuals - Custom Roles Refined */
.visual-roles {
    flex-grow: 1;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.roles-grid-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.roles-3x3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.6rem;
    width: 100%;
    max-width: 192px;
    /* Constrain grid size */
    aspect-ratio: 1;
    margin-bottom: auto;
    /* Push labels down */
    margin-top: 0.8rem;
}

.role-grid-item {
    border-radius: 6.4px;
    overflow: hidden;
    position: relative;
    background: transparent;
}

/* Empty Slots - faint gray boxes optionally, or just empty space? Image shows white/faint boxes */
.empty-slot {
    background: #f0f0f0;
    border-radius: 6.4px;
    opacity: 0.5;
}

.avatar-slot {
    background: #fff;
    border-radius: 6.4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1.6px 3.2px rgba(0, 0, 0, 0.05);
}

.role-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    /* Default grayscale */
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Active Highlight (Middle Left in image) */
.active-role-slot {
    box-shadow: 0 0 0 1.6px #d4bfff, 0 6.4px 12.8px -3.2px rgba(41, 89, 80, 0.2);
    /* Purple glow ring */
    z-index: 2;
    transform: scale(1.05);
}

.active-role-slot .role-avatar {
    filter: grayscale(0%);
    /* Full color */
    opacity: 1;
}

/* Floating Labels Marquee */
.role-marquee-mask {
    width: 100%;
    overflow: hidden;
    padding-top: 1.2rem;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    
}

.role-marquee-track {
    display: flex;
    align-items: center;
    /* Center items vertically */
    gap: 0.8rem;
    /* Space between plain text items */
    white-space: nowrap;
    width: max-content;
    animation: scroll-left 25s linear infinite;
    animation-play-state: paused;
}

.card-roles .role-marquee-track {
    animation-play-state: running;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.role-pill {
    padding: 0.2rem 0.4rem;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #9ca3af;
    /* Light gray text for non-active */
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: default;
}

.role-pill:hover,
.role-pill.active {
    background: #fff;
    border: 1px solid #eee;
    color: #111;
    font-weight: 600;
    box-shadow: 0 3.2px 9.6px rgba(0, 0, 0, 0.08);
    /* Soft shadow like image */
    padding: 0.32rem 1rem;
    /* Larger padding for pill look */
}

/* Org Visuals - Auto-join Refined */
.visual-autojoin {
    flex-grow: 1;
    position: relative;
    background: #fff;
    overflow: hidden;
    /* For background rings */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem 0;
    min-width: 187px;
}

/* Background Rings Effect */
.autojoin-bg-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background:
        radial-gradient(circle, transparent 20%, #fafafa 21%, #fafafa 22%, transparent 23%),
        radial-gradient(circle, transparent 35%, #fafafa 36%, #fafafa 37%, transparent 38%),
        radial-gradient(circle, transparent 50%, #fafafa 51%, #fafafa 52%, transparent 53%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.autojoin-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.autojoin-avatars {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    /* Spacing between avatars */
    margin-bottom: 0;
}

.aj-avatar {
    width: 38.4px;
    height: 38.4px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.4px solid #fff;
    box-shadow: 0 3.2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.autojoin-connectors {
    width: 160px;
    height: 48px;
    margin-top: -8px;
    /* Overlap slightly with avatars */
    margin-bottom: -4px;
    /* Touch button */
    z-index: 1;
}

.autojoin-badge {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6.4px;
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #111;
    box-shadow: 0 3.2px 12px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14.4px;
    height: 14.4px;
    border-radius: 50%;
    border: 1.2px solid #9ca3af;
    color: #9ca3af;
    font-size: 11.2px;
    line-height: 1;
    font-weight: 400;
}

.domain-pill {
    background: #fff;
    border: 1px solid #ddd;
    padding: 3.2px 9.6px;
    border-radius: 16px;
    font-size: 0.56rem;
    font-weight: 500;
}

.visual-invites {
    padding: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.invite-btn-mock {
    background: #111;
    color: #fff;
    border: none;
    padding: 0.48rem 0.96rem;
    border-radius: 24px;
    font-size: 0.64rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.visual-org-ui {
    flex-grow: 1;
    background: #fafafa;
    padding: 1.6rem;
}

.org-switcher-mock {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6.4px;
    box-shadow: 0 3.2px 9.6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.switcher-header {
    border-bottom: 1px solid #eee;
    padding: 0.64rem;
    font-size: 0.64rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.clerk-icon {
    width: 12.8px;
    height: 12.8px;
    background: #295950;
    border-radius: 3.2px;
}

/* INTEGRATIONS SECTION (Dark with Notch) */
.integrations-section {
    background-color: #050505;
    color: #fff;
    padding: 6.4rem 0;
    /* Space for notch */
    position: relative;
    margin-top: -1.6px;
    /* Standard small overlap */
    z-index: 10;

    /* Concave Notch (Cutouts IN) - Matches Auth Section */
    clip-path: polygon(
            /* Top Notch */
            0 0,
            calc(50% - 280px) 0,
            calc(50% - 240px) 32px,
            calc(50% + 240px) 32px,
            calc(50% + 280px) 0,
            100% 0,

            /* Bottom Notch */
            100% 100%,
            calc(50% + 280px) 100%,
            calc(50% + 240px) calc(100% - 32px),
            calc(50% - 240px) calc(100% - 32px),
            calc(50% - 280px) 100%,
            0 100%);
}

.integrations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
/* TESTIMONIALS SECTION (Light with Reverse Notch Effect via Previous Section) */
.testimonials-section {
    position: relative;
    background-color: #fff;
    padding: 4.8rem 0 6.4rem;
    /* Restore standard padding */
    margin-top: -1.6px;
    /* Standard overlap */
    z-index: 5;
}

.testi-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 3.2rem;
    /* Add spacing back visually */
}

.testi-header {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 1.6rem;
}

.testi-header .features-label {
    color: #295950;
}

.testi-header .features-title {
    font-size: 2.4rem;
}

/* Masonry Grid (3 Columns) */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    align-items: start;
    /* Important for masonry look */
}

.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Testimonial Card */
.testi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 9.6px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.testi-card:hover {
    transform: translateY(-3.2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-brand {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.testi-quote {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #42434D;
}

.testi-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
    padding-top: 0.8rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #111;
    font-size: 0.76rem;
}

.author-role {
    font-size: 0.68rem;
    color: #666;
}

.author-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Specialized Cards */
.vercel-card .card-brand {
    color: #000;
}

.stripe-card {
    background: #96c549;
    /* Stripe Blurple */
    border: none;
    color: #fff;
}

.stripe-card .card-brand {
    color: #fff;
    font-weight: 800;
    font-style: italic;
}

.stripe-card .testi-quote {
    color: rgba(255, 255, 255, 0.9);
}

.stripe-card .testi-author {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.stripe-card .author-name {
    color: #fff;
}

.stripe-card .author-role {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-notch-wrapper {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .testi-notch-wrapper {
        width: 240px;
    }
}

.integ-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.integ-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: linear-gradient(to bottom, #ffffff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.integ-desc {
    color: #888;
    margin-bottom: 1.2rem;
    max-width: 407px;
    line-height: 1.5;
}

/* CREATORS SECTION */
.creators-section {
    background-color: #fff;
    padding: 6.4rem 0;
    color: #111;
}

.creators-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3.2rem;
    color: #111;
    letter-spacing: -0.02em;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 3.2rem;
}

.creator-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.creator-usecase {
    font-size: 0.76rem;
    color: #666;
    line-height: 1.4;
    min-height: 2.24em;
    /* Align lines */
}

.creator-usecase strong {
    color: #111;
    font-weight: 600;
}

.creator-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12.8px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.main-creator-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.creator-card:hover .main-creator-img {
    transform: scale(1.03);
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mini-avatar {
    width: 19.2px;
    height: 19.2px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: #111;
}

.creators-cta {
    margin-top: 1.6rem;
}

.btn-get-started {
    display: inline-block;
    padding: 0.64rem 1.2rem;
    background-color: #f3f4f6;
    color: #111;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 1.6rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-get-started:hover {
    background-color: #e5e7eb;
}

/* Responsive */
@media (max-width: 1024px) {
    .creators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.4rem;
    }

    .creators-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .creators-grid {
        grid-template-columns: 1fr;
    }
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 2.4rem;
}

.logo-box {
    width: 64px;
    height: 64px;
    background: #111;
    border: 1px solid #222;
    border-radius: 9.6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.2s;
}

.logo-box:hover {
    border-color: #444;
    color: #fff;
    transform: translateY(-1.6px);
}

/* Responsive */
@media (max-width: 900px) {
    .org-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-roles,
    .card-autojoin,
    .card-invites,
    .card-org-ui {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card-autojoin {
        flex-direction: column;
    }

    .visual-autojoin {
        width: 100%;
        padding: 1.6rem 0;
    }

    .integrations-grid {
        grid-template-columns: 1fr;
        gap: 4.8rem;
    }
}

/* LATEST BLOGS SECTION */
.latest-blogs-section {
    background-color: #fff;
    padding: 0 0 6.4rem;
    /* Bottom padding only */
    color: #111;
}

.blogs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.2rem;
}

.blogs-title {
    font-size: 2rem;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.02em;
}

.btn-view-blog {
    padding: 0.48rem 0.96rem;
    border: 1px solid #e5e7eb;
    border-radius: 1.6rem;
    color: #111;
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-view-blog:hover {
    background-color: #f9fafb;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.blog-card:hover {
    opacity: 0.8;
}

.blog-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    /* Square images as per design */
    border-radius: 9.6px;
    overflow: hidden;
    background: #050505;
    /* Black background matching reference */
    padding: 1.6rem;
    /* Add padding to reduce image size visually */
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevent cropping, keep graphics intact */
}

.blog-title {
    font-size: 0.96rem;
    font-weight: 500;
    line-height: 1.4;
    color: #111;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.68rem;
    color: #666;
}

.blog-read-link {
    font-size: 0.72rem;
    font-weight: 500;
    color: #111;
    margin-top: auto;
    text-decoration: none;
}

.blog-read-link:hover {
    text-decoration: underline;
}

/* Responsive for Blogs */
@media (max-width: 900px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .blogs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}


/* WORKSPACE SOLUTIONS SECTION (Replaces Components Section) */
.workspace-section {
    padding: 2.8rem 0 2rem 0;
    background: #fff;
    overflow: hidden;
}

.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: center;
}

/* Content Styles */
.workspace-content .section-label {
    display: block;
    color: #295950;
    font-weight: 700;
    font-size: 0.72rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.workspace-content .section-heading {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    color: #020817;
    margin-bottom: 0.8rem;
    letter-spacing: -0.04em;
}

.workspace-content .section-desc {
    font-size: 0.84rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.96rem;
    max-width: 400px;
}

.workspace-content .explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-bottom: 3.2rem;
    font-size: 0.8rem;
}

.workspace-content .explore-link .arrow {
    transition: transform 0.2s;
    font-size: 0.8em;
}

.workspace-content .explore-link:hover .arrow {
    transform: translateX(2.4px);
}

/* ACCORDION STYLES WITH FIXES */
.component-accordion {
    border-top: 1px solid #e5e7eb;
    margin-bottom: 0.4rem;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header-wrap {
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-header-wrap:hover {
    opacity: 0.8;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.status-dot {
    width: 6.4px;
    height: 6.4px;
    background-color: transparent;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.2s;
}

.accordion-item.active .status-dot {
    background-color: #295950;
    border-color: #295950;
}

.accordion-title {
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    color: #6b7280;
    text-transform: uppercase;
    transition: color 0.2s;
}

.accordion-item.active .accordion-title {
    color: #295950;
}

/* ACCORDION ARROW - FIXED */
.accordion-trigger {
    font-size: 0.64rem;
    color: #666;
    transition: transform 0.3s ease;
    transform: rotate(180deg); /* Start pointing DOWN */
    display: inline-block;
}

.accordion-item.active .accordion-trigger {
    transform: rotate(0deg); /* Point UP when active */
}

/* ACCORDION BODY */
.accordion-body {
    display: none;
    padding-bottom: 0.8rem;
    padding-left: 0.8rem;
    animation: fadeIn 0.3s ease;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
    display: block;
    max-height: 800px; /* Large enough for content */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-desc {
    font-size: 0.76rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.accordion-desc code {
    background: #f3f4f6;
    padding: 0.08rem 0.24rem;
    border-radius: 2.56px;
    font-size: 0.9em;
    font-family: monospace;
    color: #111;
}

.component-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.comp-item {
    font-family: monospace;
    font-size: 0.72rem;
    color: #6b7280;
    padding: 1.6px 0;
    cursor: pointer;
    transition: color 0.2s;
}

.comp-item:hover {
    color: #111;
}

.comp-item.highlight {
    color: #295950;
    font-weight: 600;
}

/* WORKSPACE CARD VISUAL */
.workspace-visual {
    position: relative;
    padding: 0.8rem 0.4rem;
    background: transparent;
}

/* Background flourish */
.bg-blur {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(41, 89, 80, 0.4) 0%, transparent 70%);
    filter: blur(32px);
    z-index: -1;
    border-radius: 50%;
}

.bg-blur.top-right {
    top: -24px;
    right: -24px;
}

.workspace-card-container {
    perspective: 800px;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Simulated cards behind */
.workspace-card-container::before,
.workspace-card-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 95%;
    height: 113%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    z-index: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 3.2px 4.8px -0.8px rgba(0, 0, 0, 0.05);
}

.workspace-card-container::before {
    transform: translateY(-12px) scale(0.95);
    opacity: 0.6;
}

.workspace-card-container::after {
    transform: translateY(-24px) scale(0.9);
    opacity: 0.4;
}

.workspace-card-container:hover::before {
    transform: translateY(-16px) scale(0.95) rotate(-1deg);
    opacity: 0.7;
}

.workspace-card-container:hover::after {
    transform: translateY(-32px) scale(0.9) rotate(1deg);
    opacity: 0.5;
}

.workspace-card {
    position: relative;
    z-index: 10;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 20px 40px -9.6px rgba(0, 0, 0, 0.15),
        0 8px 24px -4px rgba(0, 0, 0, 0.06),
        0 0 0 0.8px rgba(0, 0, 0, 0.03);
    padding: 0.96rem 0.8rem;
    max-width: 352px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.workspace-card:hover {
    transform: translateY(-1.6px);
    box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.2);
}

.workspace-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 325px;
}

/* Logo */
.workspace-logo-placeholder {
    width: 44.8px;
    height: 44.8px;
    margin: 0 auto;
    background: linear-gradient(135deg, #96c549 0%, #96c549 100%);
    border-radius: 11.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6.4px 16px rgba(41, 89, 80, 0.3);
}

.workspace-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.workspace-subtitle {
    font-size: 0.76rem;
    color: #666;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* Stats Grid */
.workspace-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin: 0.4rem 0;
}

.stat-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 9.6px;
    padding: 0.8rem;
    text-align: center;
    transition: all 0.2s;
}

.stat-card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1.6px);
}

.stat-icon {
    width: 25.6px;
    height: 25.6px;
    margin: 0 auto 0.4rem;
    background: #fff;
    border-radius: 6.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #295950;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.6rem;
    color: #666;
    font-weight: 500;
}

/* Progress Indicators */
.workspace-progress {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: #fafafa;
    border-radius: 9.6px;
    padding: 1.2rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #111;
}

.progress-percent {
    font-size: 0.68rem;
    font-weight: 600;
    color: #295950;
}

.progress-bar {
    height: 4.8px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #295950 0%, #96c549 100%);
    border-radius: 8px;
    transition: width 1s ease;
}

/* Action Button */
.btn-workspace-action {
    width: 100%;
    background: #96c549;
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 9.6px;
    font-weight: 600;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 3.2px 9.6px rgba(41, 89, 80, 0.3);
}

.btn-workspace-action:hover {
    background: #295950;
    transform: translateY(-1.6px);
    box-shadow: 0 4.8px 12.8px rgba(41, 89, 80, 0.4);
}

.btn-workspace-action:active {
    transform: scale(0.98);
}

/* Footer */
.workspace-card-footer {
    padding-top: 0.8rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}

.footer-info {
    color: #9ca3af;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
}

.brand-text {
    font-weight: 600;
    color: #295950;
    display: inline-flex;
    align-items: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .workspace-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .workspace-content {
        order: 1;
        text-align: center;
    }

    .workspace-visual {
        order: 2;
    }

    .workspace-content .section-heading {
        font-size: 2rem;
    }

    .workspace-content .explore-link {
        justify-content: center;
    }

    .workspace-stats-grid {
        grid-template-columns: 1fr;
    }

    .accordion-item {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .workspace-section {
        padding: 3.2rem 0;
    }

    .workspace-content .section-heading {
        font-size: 1.6rem;
    }

    .workspace-card {
        padding: 1.2rem;
    }

    .workspace-title {
        font-size: 1rem;
    }

    .workspace-stats-grid {
        gap: 0.6rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .accordion-header-wrap {
        padding: 0.8rem 0;
    }
}


/* AI SOLUTIONS VISUAL CUSTOMIZATIONS */

/* 1. Consultation Card */
.card-consultation {
    grid-column: span 1;
    grid-row: span 1;
}

.visual-consultation {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #295950 0%, #111 100%);
}

.consultation-icon svg {
    color: #96c549;
}

/* 2. Architecture Design (Tall Center) */
.card-architecture {
    grid-column: span 1;
    grid-row: span 2;
}

.visual-architecture {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    padding: 1.6rem;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.arch-layer {
    width: 100%;
}

.arch-connector {
    margin: 3.2px 0;
}

/* 3. R&D Workflow */
.card-workflow {
    grid-column: span 1;
    grid-row: span 1;
}

.visual-workflow {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6.4px;
    padding: 0.8rem;
}

.workflow-badge {
    background: #222;
    color: #96c549;
    padding: 4.8px 9.6px;
    border-radius: 16px;
    font-size: 0.6rem;
    font-weight: 600;
    border: 1px solid #333;
}

/* 4. Model Development (Tall Left) */
.card-model-dev {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column-reverse;
}

.visual-model-dev {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.6rem;
}

.model-progress {
    text-align: center;
}

.progress-ring {
    margin-bottom: 0.8rem;
}

.model-status {
    font-size: 0.6rem;
    color: #888;
}

/* 5. Deployment */
.card-deployment {
    grid-column: span 1;
    grid-row: span 1;
}

.deploy-icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0.56rem 0.56rem 0.56rem 0.56rem;
}

.deploy-icon {
    font-size: 1.6rem;
    text-align: center;
}

/* 6. Optimization (Tall Right) */
.card-optimization {
    grid-column: span 1;
    grid-row: span 2;
    background: radial-gradient(circle at center, #295950 0%, #111 70%);
}

.visual-optimization {
    padding: 1.6rem 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.optimization-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.metric-item {
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 6.4px;
    padding: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metric-label {
    font-size: 0.6rem;
    color: #888;
}

.metric-value {
    font-size: 0.96rem;
    font-weight: 700;
    color: #96c549;
}

/* Grid Layout for AI Solutions */
.ai-solutions-grid {
    /* Inherits the same bento-grid structure */
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .card-architecture,
    .card-model-dev,
    .card-optimization {
        grid-column: span 1;
        grid-row: span 1;
    }
}
/*  */
.left P {
    min-height: 88px;
}
