:root {
    --primary-blue: #327EBD;
    --primary-yellow: #FFDA4B;
    --blue-glow: rgba(50, 126, 189, 0.15);
    --yellow-glow: rgba(255, 218, 75, 0.12);
    --bg-black: #08070c;
    --bg-dark: #0f0e16;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(50, 126, 189, 0.3);
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-muted: #6b7280;
    --primary-purple: #7c3aed;
    /* For integration with Vytros */
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
}

/* --- Floating Orbs --- */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.orb-blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: floatOrb 25s infinite ease-in-out;
}

.orb-yellow {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-yellow) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: floatOrb 20s infinite ease-in-out reverse;
}

.orb-purple {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 75%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, 40px) scale(1.1);
    }
}

/* --- Header / Nav --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(8, 7, 12, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    padding: 0.9rem 5%;
    background: rgba(8, 7, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a.active {
    color: var(--primary-blue);
}

.header-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s ease;
    font-family: 'League Spartan', sans-serif;
    letter-spacing: 0.5px;
}

.header-btn:hover {
    background: var(--text-white);
    color: var(--bg-black);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 10rem 5% 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
}

.hero-content {
    flex: 1.2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(50, 126, 189, 0.1);
    border: 1px solid rgba(50, 126, 189, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-yellow);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-white) 30%, #a5cdeb 70%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero p.tagline {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.btn {
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'League Spartan', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #256193);
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(50, 126, 189, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(50, 126, 189, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.soon-tag {
    font-size: 0.65rem;
    background: rgba(255, 218, 75, 0.15);
    color: var(--primary-yellow);
    border: 1px solid rgba(255, 218, 75, 0.25);
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(50, 126, 189, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* --- Phone Mockup Custom styling --- */
.phone-mockup {
    width: 290px;
    height: 590px;
    background: #000000;
    border: 10px solid #1c1a26;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(50, 126, 189, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screen {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* Prevent crop of statusbar/navigation bar */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.phone-screen img.active {
    opacity: 1;
    z-index: 2;
}

/* Hide physical overlays to prevent overlap with native screenshot statusbars */
.phone-camera {
    display: none;
}

.phone-speaker {
    display: none;
}

.phone-home-indicator {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Section Global Styling --- */
.section {
    padding: 6rem 5%;
    position: relative;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-yellow);
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-white), var(--text-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Showcase / Flex Section --- */
.showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.showcase-tab {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 18px;
    text-align: left;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.showcase-tab:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.showcase-tab.active {
    background: rgba(50, 126, 189, 0.05);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(50, 126, 189, 0.05);
}

.tab-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.showcase-tab.active .tab-icon {
    background: var(--primary-blue);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(50, 126, 189, 0.4);
    border-color: var(--primary-blue);
}

.tab-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.showcase-tab.active .tab-content h3 {
    color: var(--primary-blue);
}

.tab-content p {
    font-size: 0.88rem;
    color: var(--text-gray);
}

.showcase-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Features Section (Bento Grid) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px rgba(50, 126, 189, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(50, 126, 189, 0.1);
    border: 1px solid rgba(50, 126, 189, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-blue);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(50, 126, 189, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Specific bento spans */
.feature-large {
    grid-column: span 2;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.feature-large-text {
    flex: 1;
}

/* --- Tech Stack Section --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 218, 75, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 218, 75, 0.05);
}

.tech-logo-wrapper {
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-yellow);
}

.tech-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tech-card h4 {
    font-size: 1.15rem;
    color: var(--text-white);
}

.tech-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: 'League Spartan', sans-serif;
    letter-spacing: 0.5px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
    padding-top: 15px;
    border-top-color: var(--border-color);
}

.faq-toggle-icon {
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-yellow);
}

/* --- CTA Section --- */
.cta-section {
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(50, 126, 189, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(50, 126, 189, 0.2);
    padding: 4.5rem 3rem;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 218, 75, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cta-box h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text-white), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 5% 2rem;
    background: rgba(8, 7, 12, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-white);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* --- Applications Section (Bento Grid) --- */
.bento-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 310px;
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1.5rem 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    width: 100%;
}

/* Theme variable sets */
.bento-card.theme-web {
    --theme-color: #10b981;
    --theme-glow: rgba(16, 185, 129, 0.15);
    --theme-bg: rgba(16, 185, 129, 0.03);
    grid-column: span 2;
}

.bento-card.theme-game {
    --theme-color: #f59e0b;
    --theme-glow: rgba(245, 158, 11, 0.15);
    --theme-bg: rgba(245, 158, 11, 0.03);
    grid-column: span 1;
    grid-row: span 2;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card.theme-data {
    --theme-color: #f43f5e;
    --theme-glow: rgba(244, 63, 94, 0.15);
    --theme-bg: rgba(244, 63, 94, 0.03);
    grid-column: span 2;
}

.bento-card.theme-ai {
    --theme-color: #8b5cf6;
    --theme-glow: rgba(139, 92, 246, 0.15);
    --theme-bg: rgba(139, 92, 246, 0.03);
    grid-column: span 1;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card.theme-cv {
    --theme-color: #06b6d4;
    --theme-glow: rgba(6, 182, 212, 0.15);
    --theme-bg: rgba(6, 182, 212, 0.03);
    grid-column: span 1;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card.theme-gui {
    --theme-color: #f97316;
    --theme-glow: rgba(249, 115, 22, 0.15);
    --theme-bg: rgba(249, 115, 22, 0.03);
    grid-column: span 1;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-color);
    box-shadow: 0 15px 35px var(--theme-glow), inset 0 0 15px var(--theme-bg);
}

.bento-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.bento-card-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 1rem;
}

.bento-card.theme-web .bento-card-info,
.bento-card.theme-data .bento-card-info {
    width: 55%;
    flex-shrink: 0;
}

.bento-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-card-icon {
    background: var(--theme-color);
    color: #08070c;
    border-color: var(--theme-color);
    box-shadow: 0 0 12px var(--theme-glow);
}


.bento-card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bento-card-text h3 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

.bento-card:hover .bento-card-text h3 {
    color: var(--theme-color);
}

.bento-card-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.45;
    margin-bottom: 0.8rem;
}

.bento-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.bento-card-tag {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 6px;
    color: var(--text-muted);
}

.bento-card:hover .bento-card-tag {
    color: var(--text-gray);
    border-color: rgba(255, 255, 255, 0.1);
}

.bento-card-visual {
    width: 45%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-left: 1.5rem;
}

/* --- Simulators Inside Bento Cards --- */

/* 1. Web Simulator */
.bento-sim-browser {
    width: 100%;
    height: 180px;
    background: #09080e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.bento-browser-url {
    background: #111019;
    border-radius: 6px;
    padding: 3px 10px;
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--text-gray);
    margin: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}

.bento-browser-body {
    flex-grow: 1;
    padding: 0.75rem;
    font-family: monospace;
    font-size: 0.7rem;
    color: #10b981;
    text-align: left;
    overflow-y: auto;
    line-height: 1.4;
}

.bento-log-ticker {
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 4px;
    font-size: 0.62rem;
    color: var(--text-muted);
}

.bento-sim-game-wrapper {
    width: 100%;
    height: 350px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.bento-game-score {
    position: absolute;
    top: 6px;
    left: 8px;
    font-family: monospace;
    font-size: 0.62rem;
    color: #f59e0b;
}

.bento-game-alien {
    position: absolute;
    width: 20px;
    height: 14px;
    top: 25px;
    left: 50%;
    margin-left: -10px;
    background: #ef4444;
    border-radius: 3px;
    animation: bentoAlienMove 6s infinite linear;
    will-change: transform;
}

.bento-game-laser {
    position: absolute;
    width: 2px;
    height: 10px;
    background: #f59e0b;
    bottom: 25px;
    left: 50%;
    margin-left: -1px;
    opacity: 0;
    will-change: transform, opacity;
}

.bento-game-laser.laser-1 {
    animation: bentoLaser1 6s infinite linear;
}

.bento-game-laser.laser-2 {
    animation: bentoLaser2 6s infinite linear;
}

.bento-game-ship {
    position: absolute;
    width: 24px;
    height: 12px;
    background: #3b82f6;
    bottom: 15px;
    left: 50%;
    margin-left: -12px;
    border-radius: 3px 3px 0 0;
    animation: bentoShipMove 6s infinite linear;
    will-change: transform;
}

@keyframes bentoShipMove {

    0%,
    100% {
        transform: translate3d(-40px, 0, 0);
    }

    20% {
        transform: translate3d(-20px, 0, 0);
    }

    40% {
        transform: translate3d(30px, 0, 0);
    }

    70% {
        transform: translate3d(20px, 0, 0);
    }

    85% {
        transform: translate3d(-10px, 0, 0);
    }
}

@keyframes bentoAlienMove {

    0%,
    100% {
        transform: translate3d(30px, 0, 0) scale(1);
        background: #ef4444;
    }

    20% {
        transform: translate3d(10px, 0, 0);
    }

    35% {
        transform: translate3d(-20px, 0, 0) scale(1.2);
        background: #ffbd2e;
    }

    40% {
        transform: translate3d(-10px, 0, 0) scale(1);
        background: #ef4444;
    }

    60% {
        transform: translate3d(40px, 0, 0);
    }

    80% {
        transform: translate3d(20px, 0, 0) scale(1.2);
        background: #ffbd2e;
    }

    85% {
        transform: translate3d(10px, 0, 0) scale(1);
        background: #ef4444;
    }
}

@keyframes bentoLaser1 {

    0%,
    20% {
        transform: translate3d(-10px, 0, 0);
        opacity: 0;
    }

    21% {
        opacity: 1;
    }

    35% {
        transform: translate3d(-10px, -285px, 0);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes bentoLaser2 {

    0%,
    70% {
        transform: translate3d(30px, 0, 0);
        opacity: 0;
    }

    71% {
        opacity: 1;
    }

    80% {
        transform: translate3d(30px, -285px, 0);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* 3. Data Science Simulator */
.bento-sim-data-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-chart-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: bentoChartDraw 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes bentoChartDraw {

    0%,
    100% {
        stroke-dashoffset: 600;
    }

    50%,
    90% {
        stroke-dashoffset: 0;
    }
}

/* 4. AI Voice Wave Simulator */
.bento-sim-ai-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-wave-container {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 35px;
    margin-bottom: 20px;
}

.bento-wave-bar {
    width: 4px;
    height: 10px;
    background: linear-gradient(to top, #8b5cf6, #c084fc);
    border-radius: 2px;
    animation: bentoWavePulse 1.2s infinite ease-in-out;
}

.bento-wave-bar:nth-child(1) {
    animation-delay: 0.1s;
    height: 8px;
}

.bento-wave-bar:nth-child(2) {
    animation-delay: 0.3s;
    height: 20px;
}

.bento-wave-bar:nth-child(3) {
    animation-delay: 0.5s;
    height: 35px;
}

.bento-wave-bar:nth-child(4) {
    animation-delay: 0.2s;
    height: 12px;
}

.bento-wave-bar:nth-child(5) {
    animation-delay: 0.4s;
    height: 28px;
}

.bento-wave-bar:nth-child(6) {
    animation-delay: 0.6s;
    height: 8px;
}

@keyframes bentoWavePulse {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(2.2);
    }
}

.bento-ai-text {
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--text-gray);
    border-left: 2px solid #8b5cf6;
    padding-left: 6px;
    text-align: left;
    width: 100%;
    line-height: 1.4;
}

/* 5. Computer Vision Scanner */
.bento-sim-cv-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.bento-cv-box {
    width: 100%;
    height: 80px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    position: relative;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 80%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bento-face-wire {
    width: 50px;
    height: 50px;
    stroke: #06b6d4;
    stroke-width: 0.8;
    stroke-dasharray: 4;
    animation: bentoFaceFlow 4s linear infinite;
    opacity: 0.45;
}

.bento-cv-laser {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06b6d4 15%, #06b6d4 85%, transparent);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
    left: 0;
    top: 0;
    animation: bentoLaserScan 2.5s ease-in-out infinite;
    will-change: transform;
}

.bento-cv-target {
    position: absolute;
    width: 32px;
    height: 44px;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 4px;
    animation: bentoTargetHighlight 2.5s ease-in-out infinite;
    pointer-events: none;
}

.bento-cv-target::before,
.bento-cv-target::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-color: #06b6d4;
    border-style: solid;
}

.bento-cv-target::before {
    top: -1px;
    left: -1px;
    border-width: 1.5px 0 0 1.5px;
}

.bento-cv-target::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1.5px 1.5px 0;
}

.bento-cv-tag-conf {
    position: absolute;
    top: -14px;
    left: -1px;
    font-family: monospace;
    font-size: 0.55rem;
    color: #06b6d4;
    background: rgba(8, 7, 12, 0.85);
    padding: 0 3px;
    border-radius: 3px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    white-space: nowrap;
    animation: bentoTargetTextHighlight 2.5s ease-in-out infinite;
}

@keyframes bentoFaceFlow {
    to {
        stroke-dashoffset: -20;
    }
}

@keyframes bentoLaserScan {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, 80px, 0);
    }
}

@keyframes bentoTargetHighlight {

    0%,
    50%,
    100% {
        opacity: 0.3;
        border-color: rgba(6, 182, 212, 0.25);
        box-shadow: 0 0 0 transparent;
    }

    20%,
    30%,
    70%,
    80% {
        opacity: 1;
        border-color: rgba(6, 182, 212, 0.85);
        box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
    }
}

@keyframes bentoTargetTextHighlight {

    0%,
    50%,
    100% {
        color: rgba(6, 182, 212, 0.5);
        border-color: rgba(6, 182, 212, 0.2);
    }

    20%,
    30%,
    70%,
    80% {
        color: rgba(6, 182, 212, 1);
        border-color: rgba(6, 182, 212, 0.5);
    }
}

/* 6. Desktop GUI widget */
.bento-sim-gui-wrapper {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bento-gui-widget {
    width: 100%;
    background: #12111a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.bento-gui-title {
    background: #08070c;
    padding: 3px 8px;
    font-size: 0.6rem;
    font-family: sans-serif;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.bento-gui-body {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.bento-gui-btn {
    background: #f97316;
    color: #08070c;
    font-family: sans-serif;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 4px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.bento-gui-btn:hover {
    background: #ff8836;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}



/* Responsive adjustments */
@media (max-width: 992px) {
    .gradient-orb {
        display: none;
    }

    .bento-apps-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1.25rem;
    }

    .bento-card {
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 1.25rem;
        min-height: auto !important;
    }

    .bento-card.theme-web,
    .bento-card.theme-game,
    .bento-card.theme-data,
    .bento-card.theme-ai,
    .bento-card.theme-cv,
    .bento-card.theme-gui {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: auto !important;
    }

    .bento-card-info {
        height: auto !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .bento-card-visual {
        width: 100% !important;
        padding-left: 0 !important;
        margin-top: 0 !important;
    }

    .bento-sim-game-wrapper {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .bento-card {
        padding: 1.5rem;
    }
}

/* --- Backend Section --- */
.backend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.backend-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Custom backend themes using CSS variables */
.backend-card.theme-exec {
    --theme-color: #38bdf8;
    --theme-glow: rgba(56, 189, 248, 0.08);
    --theme-bg: rgba(56, 189, 248, 0.02);
}

.backend-card.theme-wm {
    --theme-color: #a855f7;
    --theme-glow: rgba(168, 85, 247, 0.08);
    --theme-bg: rgba(168, 85, 247, 0.02);
}

.backend-card.theme-renderer {
    --theme-color: #fbbf24;
    --theme-glow: rgba(251, 191, 36, 0.08);
    --theme-bg: rgba(251, 191, 36, 0.02);
}

.backend-card.theme-pypi {
    --theme-color: #34d399;
    --theme-glow: rgba(52, 211, 153, 0.08);
    --theme-bg: rgba(52, 211, 153, 0.02);
}

.backend-card.theme-templates {
    --theme-color: #22d3ee;
    --theme-glow: rgba(34, 211, 238, 0.08);
    --theme-bg: rgba(34, 211, 238, 0.02);
}

.backend-card.theme-editor {
    --theme-color: #f43f5e;
    --theme-glow: rgba(244, 63, 94, 0.08);
    --theme-bg: rgba(244, 63, 94, 0.02);
}

/* Centered background glow */
.backend-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--theme-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.backend-card:hover::before {
    opacity: 1;
}

.backend-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    z-index: 1;
}

.backend-badge {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--theme-color);
    background: var(--theme-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.backend-card:hover .backend-badge {
    border-color: var(--theme-color);
    box-shadow: 0 0 8px var(--theme-glow);
}

.backend-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s ease;
    z-index: 1;
}

.backend-icon i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.backend-card:hover .backend-icon {
    background: var(--theme-color);
    color: #08070c;
    border-color: var(--theme-color);
    box-shadow: 0 0 12px var(--theme-glow);
}

.backend-card:hover .backend-icon i {
    transform: scale(1.15);
}

.backend-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    transition: color 0.3s ease;
    z-index: 1;
}

.backend-card:hover h3 {
    color: var(--theme-color);
}

.backend-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    z-index: 1;
}

.backend-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    z-index: 1;
}

.backend-spec {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.backend-card:hover .backend-spec {
    color: var(--text-gray);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Hover dynamic states */
.backend-card:hover {
    transform: translateY(-6px);
    border-color: var(--theme-color);
    box-shadow: 0 15px 35px var(--theme-glow), inset 0 0 15px var(--theme-bg);
}

/* --- Responsive Media Queries --- */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    header {
        padding: 1rem 3%;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .header-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 7, 12, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem 5%;
        gap: 1.25rem;
        align-items: flex-start;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .header-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        gap: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-group {
        justify-content: center;
    }

    .showcase-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .showcase-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.75rem;
        width: 100%;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Hide scrollbar on Firefox */
    }

    .showcase-tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar on Chrome/Safari */
    }

    .showcase-tab {
        flex-direction: row;
        align-items: center;
        padding: 0.8rem 1.2rem;
        gap: 0.6rem;
        border-radius: 12px;
        min-width: fit-content;
        scroll-snap-align: start;
    }

    .tab-icon {
        width: 32px;
        height: 32px;
    }

    .showcase-tab.active .tab-icon {
        box-shadow: 0 0 10px rgba(50, 126, 189, 0.3);
    }

    .showcase-tab .tab-content p {
        display: none;
        /* Hide description on tablet/mobile to save space */
    }

    .showcase-tab .tab-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    .showcase-mockup-wrapper {
        order: 2;
    }

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

    .feature-large {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .bento-card {
        padding: 1.25rem 1rem;
    }

    .backend-grid {
        grid-template-columns: 1fr;
    }

    .backend-card {
        padding: 1.75rem 1.5rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* --- Google Play & App Store Download Buttons --- */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 14px;
    color: var(--text-white);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Poppins', sans-serif;
    text-align: left;
    cursor: pointer;
    min-width: 190px;
}

.download-btn svg {
    flex-shrink: 0;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.download-btn-sub {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.2;
}

.download-btn-main {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
    line-height: 1.2;
    margin-top: 2px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.download-btn-google:hover {
    box-shadow: 0 10px 30px rgba(50, 126, 189, 0.25);
    border-color: var(--primary-blue);
    background: rgba(50, 126, 189, 0.08);
}

.download-btn-apple:hover {
    box-shadow: 0 10px 30px rgba(255, 218, 75, 0.15);
    border-color: var(--primary-yellow);
    background: rgba(255, 218, 75, 0.05);
}

.download-btn .soon-tag {
    margin-left: auto;
    font-size: 0.58rem;
    padding: 1px 6px;
}