:root {
    /* Linear-like Palette */
    --bg-dark: #0B0C0E;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #F7F8F8;
    --text-secondary: #F7F8F8;
    --accent-glow: rgba(0, 157, 224, 0.15);
    /* Old Brand Colors (kept for subtle gradients only) */
    --cyan: #009DE0;
    --blue: #2C4390;
}

html {
    font-size: 62.5%; /* Restablece base a 10px. Sustituye el reset que hacía Bootstrap 3. */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Figtree', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.caja {
    max-width: 1200px;
    margin: auto;
    padding: 0 5%;
    /* Fluid padding for mobile and desktop */
}

/* New: Ambient Background Lights */
.ambient-light {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 0, 148, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
}

.header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: #0B0C0E;
    background: rgba(11, 12, 14, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.logotipo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logotipo figure {
    margin: 0 100px;
}

.logo-text-brand {
    color: white;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 2px;
    margin-left: -80px;
    text-transform: uppercase;
}

.logo-text-brand span {
    color: var(--cyan);
}

.mena {
    display: inline-flex;
    position: static;
    /* Let flexbox handle positioning */
    margin-top: 0;
}

.mena ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
}

.mena li {
    margin: 0 10px;
    /* Reduced margin for medium screens */
}

@media (min-width: 900px) {
    .mena li {
        margin: 0 20px;
    }
}

.mena a {
    color: #CCCCCC;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Figtree', sans-serif;
    transition: all 0.3s ease;
}

.mena a:hover {
    color: #FFFFFF;
}

.mena a.btn-contact {
    background-color: #7b2cbf;
    color: #FFFFFF;
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid transparent;
    white-space: nowrap;
    /* Prevent wrapping at any size */
}

.mena a.btn-contact:hover {
    background-color: #9d4edd;
    box-shadow: 0 0 15px rgba(123, 44, 191, 0.4);
    transform: translateY(-1px);
}

/* --- ANIMATIONS --- */
.levitate {
    animation: levitate 3s infinite ease-in-out;
}

.levitate-two {
    animation: levitate-two 4s infinite ease-in-out;
}

.levitate-three {
    animation: levitate-two 6s infinite ease-in-out;
}

@keyframes levitate {

    0%,
    100% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(0px);
    }
}

@keyframes levitate-two {

    0%,
    100% {
        transform: translateY(5px);
    }

    50% {
        transform: translateY(0px);
    }
}

/* --- CONTENT SECTIONS --- */
.content-section {
    padding: 120px 0 0 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 50px;
    font-family: "Figtree", sans-serif;
    font-variation-settings: "wght" 550;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.section-header p {
    font-size: 18px;
    font-family: "Figtree", sans-serif;
    color: #CCCCCC;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* --- BENTO GRID SYSTEM --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto 120px auto;
    padding: 0 5%;
}

.bento-card {
    --card-glow: rgba(255, 255, 255, 0.25);  /* Default white glow */
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-areas: "stack";
    min-height: 480px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.bento-card>* {
    grid-area: stack;
}

.bento-card:hover {
    border-color: var(--card-glow);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 18px 2px var(--card-glow);
}

.span-12 {
    grid-column: span 12;
}

.span-8 {
    grid-column: span 8;
}

.span-6 {
    grid-column: span 6;
}

.span-4 {
    grid-column: span 4;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    pointer-events: none;
}

.bento-card h3 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(to bottom right, #FFFFFF 30%, #999999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.bento-card p {
    font-size: 1.7rem;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.card-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    letter-spacing: 0.5px;
    width: fit-content;
}

/* --- POSITIONING VARIANTS --- */
.pos-center .card-content {
    align-self: center;
    justify-self: center;
    text-align: center;
    max-width: 80%;
}

.pos-top-center .card-content {
    align-self: start;
    justify-self: center;
    text-align: center;
    max-width: 80%;
    padding-top: 50px;
}

.pos-top-left .card-content {
    align-self: start;
    justify-self: start;
    text-align: left;
    padding: 50px;
}

.pos-bottom-left .card-content {
    align-self: end;
    justify-self: start;
    text-align: left;
    padding: 50px;
}

.pos-center-left .card-content {
    align-self: center;
    justify-self: start;
    text-align: left;
}

.pos-bottom-right .card-content {
    align-self: end;
    justify-self: end;
    text-align: right;
    align-items: flex-end;
}

.pos-center-right .card-content {
    align-self: center;
    justify-self: end;
    text-align: right;
    align-items: flex-end;
}

.pos-center-right.bento-card::after,
.pos-bottom-right.bento-card::after {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
}

/* --- LOGO BAR --- */
.logo-bar-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0 100px 0;
    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);
}

.logo-bar-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    gap: 80px;
    align-items: center;
}

.logo-bar-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

.logo-item img {
    height: 40px;
    width: auto;
}

/* --- OTHER COMPONENTS --- */
.eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.28px;
    margin-bottom: 24px;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Figtree', sans-serif;
}

.bento-card-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.bento-card-header h3 {
    font-size: 50px;
    font-family: "Figtree", sans-serif;
    font-variation-settings: "wght" 550;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.bento-card-header p {
    font-size: 18px;
    font-family: "Figtree", sans-serif;
    color: #CCCCCC;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.card-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.card-link:hover {
    opacity: 1;
    text-decoration: none;
    color: #fff;
}

.card-link::after {
    content: "→";
    margin-left: 6px;
    transition: transform 0.2s;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 5% 30px 5%;
    margin-top: 60px;
    margin-bottom: 0;
    background: #0B0C0E;
    background: radial-gradient(100% 50% at 50% 0%, rgba(118, 59, 209, 0.2) 0%, rgba(11, 12, 14, 0) 100%);
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.brand-col {
    max-width: 300px;
}

.brand-col p {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 1.4rem;
}

.links-col h5 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.links-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s;
}

.links-col a:hover {
    color: var(--text-primary);
}

/* --- SLIDESHOW --- */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshowFade 16s linear infinite;
    filter: brightness(0.7);
}

.slideshow-image:nth-child(1) {
    animation-delay: 0s;
}

.slideshow-image:nth-child(2) {
    animation-delay: 4s;
}

.slideshow-image:nth-child(3) {
    animation-delay: 8s;
}

.slideshow-image:nth-child(4) {
    animation-delay: 12s;
}

@keyframes slideshowFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* --- SERVICE RAWS & SPLIT LAYOUT --- */
.service-row-container {
    max-width: 1000px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 300px;
}

.service-row.reversed {
    flex-direction: row-reverse;
}

.service-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-text-content h3 {
    font-size: 3.0rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0;
    background: linear-gradient(to bottom right, #FFFFFF 30%, #999999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-text-content p {
    font-size: 1.6rem;
    color: #A1A1AA;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 480px;
}

.service-image-half {
    flex: 1;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
    background: #111;
}

/* --- METHODOLOGY --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 120px auto;
    padding: 0 5%;
}

.process-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.process-card h4 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.02em;
}

.process-card p {
    font-size: 1.5rem;
    color: #A1A1AA;
    line-height: 1.6;
    margin: 0;
}

.process-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--cyan);
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
}

/* --- CONTACT SECTION --- */
.contact-section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    background-color: #0d0d10;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(130, 40, 200, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(130, 40, 200, 0.2) 0%, transparent 40%);
    border: 1px solid rgba(123, 44, 191, 0.3);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    gap: 80px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h2 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0;
    background: linear-gradient(to bottom right, #FFFFFF 50%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    font-size: 1.8rem;
    color: #A1A1AA;
    max-width: 400px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-method {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: var(--cyan);
}

.contact-form-container {
    flex: 1.2;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1.4rem;
    color: #FFFFFF;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.submit-button {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 16px 32px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE BASE --- */
@media (max-width: 1100px) {

    .service-row,
    .service-row.reversed {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .service-text-content {
        align-items: center;
    }

    .service-image-half {
        width: 100%;
        height: 400px;
    }

    .service-text-content h3 {
        font-size: 3.6rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .bento-card::after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    }

    .card-content {
        max-width: 100%;
        padding: 30px;
        justify-content: flex-end;
    }

    .bento-card {
        min-height: 400px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-12,
    .span-8,
    .span-6,
    .span-4 {
        grid-column: span 1;
    }

    .section-header h2 {
        font-size: 3.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 50px;
    }

    .contact-section {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .contact-info h2 {
        font-size: 4rem;
    }

    .contact-form-container {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    /* Prevent service images from disappearing/collapsing */
    .service-image-half {
        height: 300px !important;
        min-height: 300px;
        display: block !important;
        overflow: hidden;
    }

    .slideshow-container {
        height: 100% !important;
        min-height: 300px;
    }

    .slideshow-image {
        display: block !important;
        /* Ensure base visibility on mobile if animation is delayed */
        opacity: 0.8 !important;
        animation: slideshowFade 16s linear infinite !important;
    }

    .slideshow-image:nth-child(1) {
        opacity: 1 !important;
    }
}

@media (max-width: 500px) {
    /* Removed redundant header caja padding as it's now global */

    /* Hide Portfolio link to save space */
    .mena li:first-child {
        display: none !important;
    }

    /* Wrap fix already handled globally by nowrap */

    .mena li {
        margin: 0 !important;
    }

    .logo-text-brand {
        font-size: 16px !important;
    }
}

/* --- PRODUCT PAGE MASTER STYLES --- */
.product-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.product-hero h1 {
    font-size: 8rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #FFFFFF 0%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-hero p.hero-desc {
    font-size: 2.2rem;
    color: #A1A1AA;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-weight: 500;
}

.product-hero .hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-visual-center {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    filter: drop-shadow(0 0 50px var(--brand-glow, rgba(255, 255, 255, 0.1)));
}

.hero-visual-center img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.content-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.8rem;
    color: #A1A1AA;
}

/* Technical Details Grid */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-info h2 {
    font-size: 3.6rem;
    margin-bottom: 24px;
}

.tech-info p {
    font-size: 1.7rem;
    color: #CCCCCC;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.tech-visual img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

/* Master Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin: 40px 0;
}

.specs-table th {
    background: var(--brand-glow, rgba(255, 255, 255, 0.05));
    color: #FFFFFF;
    text-align: left;
    padding: 18px 24px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #CCCCCC;
    font-size: 1.5rem;
}

.specs-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: #FFFFFF;
}

.specs-table .param-name {
    color: #FFFFFF;
    font-weight: 600;
    width: 35%;
}

@media (max-width: 900px) {
    .product-hero h1 {
        font-size: 4.5rem;
    }

    .product-hero p.hero-desc {
        font-size: 1.8rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- VIDEO COMPONENTS --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- FORMULA COMPONENTS --- */
.formula-box {
    background: var(--brand-glow, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--brand-primary, rgba(255, 255, 255, 0.2));
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.formula-text {
    font-family: 'Figtree', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    margin: 20px 0;
}

.formula-legend {
    font-size: 1.4rem;
    color: #A1A1AA;
}