/* ================================================
   AWARE ROBOTICS - STYLES
   ================================================ */

/* ======================= */
/* RESET & BASE */
/* ======================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ======================= */
/* LOADING SCREEN */
/* ======================= */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-svg {
    overflow: visible;
}

#loader-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2s ease-in-out infinite alternate;
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

/* ======================= */
/* HERO SECTION */
/* ======================= */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    z-index: 10;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* ======================= */
/* MAIN HEADER */
/* ======================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.main-header.scrolled {
    padding: 1rem 4%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.hero-logo {
    position: relative;
    /* Reset from absolute */
    top: auto;
    left: auto;
    z-index: 110;
    opacity: 0;
    transform: translateY(-40px);
}

.hero-logo img {
    height: 48px;
    width: auto;
    transition: height 0.4s ease;
}

.main-header.scrolled .hero-logo img {
    height: 40px;
}

/* Hamburger Button */
.hamburger-btn {
    position: relative;
    /* Reset from absolute */
    top: auto;
    right: auto;
    z-index: 110;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    transform: translateX(40px);
    transition: color 0.3s ease;
    display: block;
    /* Default visible on mobile */
}

.hamburger-btn:hover {
    color: #FACC15;
}

/* Desktop Navigation */
.desktop-nav {
    position: static;
    /* Removed relative to allow full width dropdowns */
    /* Reset from absolute */
    top: auto;
    right: auto;
    z-index: 110;
    /* transform: translateY(-40px); REMOVED to prevent fixed position trapping. Handled by GSAP. */
    opacity: 0;
    display: none;
    /* Hidden on mobile */
}

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

.nav-links li a.nav-link {
    text-decoration: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
    z-index: 110;
    transition: color 0.3s ease;
}

.nav-links li a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #eda500;
    transition: width 0.3s ease;
}

.nav-links li a.nav-link:hover {
    color: #eda500;
}

.nav-links li a.nav-link:hover::after {
    width: 100%;
}

/* Keep link active when mega menu is open */
.nav-item.has-dropdown:hover .nav-link {
    color: #eda500;
}

.nav-item.has-dropdown:hover .nav-link::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-item {
    position: static;
    /* Vital for the dropdown to use the header as width reference */
    height: 100%;
    display: flex;
    align-items: center;
}

/* Ensure parent containers don't trap the absolute position */
.desktop-nav,
.nav-links,
.nav-item.has-dropdown {
    position: static !important;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
    border-bottom-width: 3px;
}

.dropdown-menu {
    position: fixed;
    /* FIXED breaks it out of the container completely */
    top: 80px;
    /* Aligns it exactly below the fixed header */
    left: 0;
    width: 100vw;
    background: rgba(5, 5, 5, 0.85);
    /* Translucent dark background like header */
    backdrop-filter: blur(20px);
    /* Glass blur effect */
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* REMOVED transition-delay here so it closes immediately when hover is lost */
    z-index: 1000;
    border-bottom: 0px solid var(--primary-yellow);
    pointer-events: none;
}


.mega-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.mega-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    /* Allows wrapping if excessive items */
}

/* Ensure consistent card width corresponding to ~1/4 of container */
.mega-card {
    flex: 0 1 calc(25% - 1.5rem);
    /* Dynamically sized to roughly 4 cols, adjusting for gap */
    min-width: 280px;
    /* Minimum width to prevent squishing */
    /* Max width to maintain card aesthetic */

    display: block;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mega-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mega-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.mega-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mega-card:hover .mega-card-img img {
    transform: scale(1.1);
}

.mega-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(237, 165, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-card-overlay span {
    color: #000;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.mega-card:hover .mega-card-overlay {
    opacity: 1;
}

.mega-card:hover .mega-card-overlay span {
    transform: translateY(0);
}

.mega-card-info {
    padding: 1.5rem;
}

.mega-card-info h4 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #fff;
}

.mega-card-info p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.5;
}

.mega-footer {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    background-color: #eda500;
    /* Primary Yellow */
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 165, 0, 0.3);
}

.view-all-link:hover {
    gap: 1.2rem;
    background-color: #ffb81c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 165, 0, 0.5);
}

.nav-arrow {
    transition: transform 0.3s ease;
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Connect the hover area via the header itself (no gap), 
   but keep a small bridge just in case of sub-pixel rendering or border radius gaps */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -100px;
    /* Large negative value to reach up to the header */
    left: 0;
    width: 100%;
    height: 100px;
    /* Match the top offset to fill the gap */
    background: transparent;
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    /* Constrain content width */
    margin: 0 auto;
    padding: 0 2rem;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.dropdown-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dropdown-item:hover .dropdown-img-wrapper img {
    transform: scale(1.1);
}

.dropdown-title {
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.3s ease;
}

.dropdown-item:hover .dropdown-title {
    color: #eda500;
}

@media (min-width: 1024px) {
    .hamburger-btn {
        display: none;
    }

    .desktop-nav {
        display: block;
    }
}

/* Hero Text */
.hero-text {
    position: absolute;
    bottom: 3rem;
    left: 2rem;
    z-index: 30;
    max-width: 800px;
    opacity: 0;
    transform: translateY(40px);
}

@media (min-width: 768px) {
    .hero-text {
        left: 4rem;
    }
}

.hero-text h1 {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

.highlight-text {
    color: #fff;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* CTA Button */
.cta-button {
    padding: 0.75rem 1.5rem;
    background-color: #eda500;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .cta-button {
        font-size: 1rem;
    }
}

.cta-button:hover {
    background-color: #f5b800;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(237, 165, 0, 0.3);
}

.cta-button:active {
    transform: scale(0.95);
}

/* Sound Hint */
.sound-hint {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
}

.sound-hint span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FACC15;
    font-size: 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Skip Button */
.skip-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skip-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.skip-btn.hidden {
    display: none;
}

/* Mobile Hint */
.mobile-hint {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    padding: 0.75rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FACC15;
    font-size: 0.875rem;
    border-radius: 50px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-hint.visible {
    opacity: 1;
}

/* ======================= */
/* ABOUT SECTION */
/* ======================= */
#about {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f0;
}



.about-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
}

@media (min-width: 768px) {
    .about-content {
        padding: 8rem 4rem;
    }
}

.about-label {
    margin-bottom: 2rem;
}

.about-label span {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .about-label span {
        font-size: 1rem;
    }
}

.about-heading {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

@media (min-width: 768px) {
    .about-heading {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .about-heading {
        font-size: 1.875rem;
    }
}

.about-paragraph {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

@media (min-width: 768px) {
    .about-paragraph {
        font-size: 1.125rem;
    }
}

#about-button {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
}

/* ======================= */
/* PRODUCTS SECTION */
/* ======================= */
#products {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}



.products-title {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 5;
}

@media (min-width: 768px) {
    .products-title {
        top: 3rem;
        left: 3rem;
    }
}

@media (min-width: 1024px) {
    .products-title {
        top: 4rem;
        left: 4rem;
    }
}

.products-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .products-title h1 {
        font-size: 1rem;
    }
}

/* Robot Layers */
.robot-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.robot-layer[data-robot="0"] {
    opacity: 1;
}

.robot-layer[data-robot="1"],
.robot-layer[data-robot="2"] {
    opacity: 0;
}

.robot-back,
.robot-front {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Replaces background-size: cover */
    display: block;
}

.robot-back {
    z-index: 1;
    filter: brightness(0.9);
}

.robot-front {
    z-index: 3;
}

.robot-name {
    position: absolute;
    top: 5rem;
    left: 2rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .robot-name {
        top: 7rem;
        left: 3rem;
    }
}

@media (min-width: 1024px) {
    .robot-name {
        top: 8rem;
        left: 4rem;
    }
}

.robot-name h2 {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .robot-name h2 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .robot-name h2 {
        font-size: 6rem;
    }
}

.robot-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 4;
    max-width: 600px;
    will-change: opacity;
    transform: translateZ(0);
}

@media (min-width: 768px) {
    .robot-info {
        bottom: 3rem;
        left: 3rem;
    }
}

@media (min-width: 1024px) {
    .robot-info {
        bottom: 4rem;
        left: 4rem;
    }
}

.robot-info p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .robot-info p {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .robot-info p {
        font-size: 1.25rem;
    }
}

/* ======================= */
/* MENU OVERLAY */
/* ======================= */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
    will-change: transform, opacity;
}

.menu-overlay.open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.menu-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 50;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-close-btn:hover {
    color: #eda500;
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-close-btn svg {
    transition: transform 0.3s ease;
}

.menu-close-btn:hover svg {
    transform: rotate(90deg);
}

.menu-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem;
}

@media (min-width: 768px) {
    .menu-content {
        padding: 6rem 3rem;
    }
}

@media (min-width: 1024px) {
    .menu-content {
        padding: 6rem 5rem;
    }
}

.menu-grid {
    width: 100%;
    max-width: 1600px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .menu-column {
        gap: 4rem;
    }
}

.menu-item {
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.menu-item-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(237, 165, 0, 0.2);
    line-height: 1;
    transition: color 0.5s ease;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

@media (min-width: 768px) {
    .category-number {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .category-number {
        font-size: 4.5rem;
    }
}

.menu-item:hover .category-number {
    color: rgba(237, 165, 0, 0.4);
}

.menu-item-content {
    flex: 1;
    padding-top: 0.5rem;
}

.category-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .category-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .category-title {
        font-size: 3.5rem;
    }
}

.menu-item:hover .category-title {
    color: #eda500;
}

.category-line {
    height: 1px;
    width: 0;
    background: linear-gradient(to right, #eda500, transparent);
    margin-bottom: 1.5rem;
    transition: width 0.7s ease;
}

.menu-item:hover .category-line {
    width: 100%;
}

.menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-link {
    display: block;
    position: relative;
    font-size: 1rem;
    color: #999;
    text-decoration: none;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
}

@media (min-width: 768px) {
    .menu-link {
        font-size: 1.125rem;
    }
}

.menu-link:hover {
    color: #fff;
    transform: translateX(12px);
}

.menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #eda500;
    transition: width 0.4s ease;
}

.menu-link:hover::after {
    width: 100%;
}

/* ======================= */
/* CUSTOM ALERT */
/* ======================= */
.alert-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alert-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-alert.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.alert-content {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    max-width: 400px;
    margin: 0 1rem;
    border: 1px solid #eee;
}

.alert-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.alert-icon>div {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(237, 165, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-message {
    color: #333;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.alert-content .cta-button {
    width: 100%;
}

/* ======================= */
/* UTILITIES */
/* ======================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ======================== */
/* ROBOTS PAGE STYLES */
/* ======================== */

.robots-page {
    background-color: var(--color-background);
    overflow-y: auto !important;
    /* Allow normal scroll */
}

/* Static Header Elements for Subpage */
.static-logo {
    position: fixed;
    top: 40px;
    left: 40px;
    opacity: 1 !important;
    transform: none !important;
    z-index: 100;
}

.static-btn {
    opacity: 1 !important;
    transform: none !important;
}

/* Robots Hero */
.robots-hero {
    min-height: 100vh;
    /* Taller hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding: 120px 40px 40px 40px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    z-index: -1;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--color-background), transparent);
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    display: flex;
    flex-direction: column;
    color: var(--color-text);
    line-height: 0.9;
    text-transform: uppercase;
}

.word-aware {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(5rem, 18vw, 14rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    /* Subtle text shadow for lift */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform-origin: left bottom;
}

.word-reality {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 15px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Robots Grid */
.robots-list {
    padding: 0 40px 100px 40px;
    margin-bottom: 50px;
}

.robots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

/* New Robot Card Design */
.robot-card {
    background-color: #555;
    /* Mid-grey fallback */
    background: linear-gradient(145deg, #444, #333);
    /* Subtle gradient for depth */
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.robot-card:hover {
    transform: translateY(-5px);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Vertical Dark Strip */
.card-strip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    /* Adjust width of the strip */
    height: 100%;
    background-color: #222;
    /* Darker strip */
    z-index: 0;
}

/* Typography Title */
.card-title {
    position: relative;
    z-index: 10;
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    margin-top: 40px;
    color: #fff;
    text-transform: lowercase;
    /* Matches image */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Image */
.card-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 50%;
    z-index: 5;
    transition: transform 0.5s ease;
}

.robot-card:hover .card-image {
    transform: translate(-50%, -55%) scale(1.05);
    /* Slight floats up on hover */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
}

/* Footer Button */
.card-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    /* Matches strip width */
    height: 60px;
    background-color: #1a1a1a;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.robot-card:hover .card-footer {
    background-color: #000;
    color: #fff;
}

.card-footer svg {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.robot-card:hover .card-footer svg {
    transform: translateY(3px);
}

/* Media Queries */
@media (max-width: 768px) {
    .word-aware {
        font-size: 4rem;
    }

    .word-reality {
        font-size: 2rem;
        margin-left: 4px;
    }

    .robots-hero {
        padding: 100px 20px 40px 20px;
        min-height: 60vh;
    }

    .robots-list {
        padding: 0 20px 100px 20px;
    }
}

/* ======================= */
/* FOOTER */
/* ======================= */
.site-footer {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6rem 0 2rem;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo img {
    height: 32px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: #eda500;
    border-color: #eda500;
    color: #000;
    transform: translateY(-3px);
}

/* Footer Links & Headings */
.footer-heading {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #eda500;
    transform: translateX(5px);
}

/* Newsletter */
.footer-newsletter p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    position: relative;
    max-width: 100%;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #eda500;
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #eda500;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #ffc107;
    transform: scale(1.05);
}

/* ========================================= */
/* SOFTWARES SECTION (Horizontal Scroll) */
/* ========================================= */
.softwares-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--black);
}

.horizontal-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    width: fit-content;
    /* Dynamic width to hold cloned slides */
}

.software-card {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    /* Vertically center content */
    justify-content: flex-start;
    /* Left aligned content */
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Separator */
}

.software-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover entire slide */
    z-index: 1;
    opacity: 0.6;
    /* Dim slightly */
}

.software-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    /* Strong gradient for text readability */
    z-index: 2;
}

.software-content {
    position: relative;
    z-index: 5;
    margin-left: 10vw;
    max-width: 600px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Improve contrast */
}

.software-number {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-yellow);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.software-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.software-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 400px;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: white;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-yellow);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #eda500;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer-desc {
        max-width: 500px;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .footer-brand,
    .footer-links,
    .footer-newsletter {
        text-align: center;
        align-items: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ======================= */
/* PROJECTS SECTION (Full Screen Joined) */
/* ======================= */
.projects-section {
    position: relative;
    width: 100%;
    /* No padding to allow full width/height connection */
    padding: 0;
    background-color: var(--black);
    overflow: hidden;
}

.section-heading {
    /* Kept for semantic structure but hidden if sticking to pure image look, or overlay it. */
    /* For now, let's keep it floating or remove padding if we want 100% flush. */
    /* If user wants headings visible relative to images, we can do absolute positioning or just standard padding at top. */
    /* Given "Fotoğraflar tam ekran olsun", let's make the container full screen height or close to it. */
    position: absolute;
    top: 5vh;
    left: 5vw;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.projects-grid {
    display: flex;
    /* Remove space between items */
    gap: 0;
    width: 100%;
    /* Full viewport height for impact */
    height: 100vh;
}

.project-item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Border to separate the two images slightly or none? User said "yapışık olsun" (joined/stuck together), so no gap. */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.project-item:last-child {
    border-right: none;
}

/* Image Wrapper is now the full background of the item */
.project-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* Full sharp edges */
    z-index: 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
    filter: grayscale(100%) brightness(0.7);
    /* Darken slightly for text readability */
}

.project-item:hover .project-img {
    transform: scale(1.03);
    filter: grayscale(0%) brightness(0.9);
}

/* Info Styling - Overlay on top of image */
.project-info {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 4rem;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    /* Default background, overridden below */
    transition: all 0.5s ease;
}

/* Top Layout (Left Item: Content Top) */
.project-item.top-text .project-info {
    top: 0;
    bottom: auto;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

/* Bottom Layout (Right Item: Content Bottom) */
.project-item.bottom-text .project-info {
    bottom: 0;
    top: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.project-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    /* Larger */
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.5;
}

.project-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.project-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 80%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-link {
    /* Matching .cta-button styles */
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #eda500;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-link:hover {
    background-color: #f5b800;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(237, 165, 0, 0.4);
    border-color: transparent;
}

.project-link:active {
    transform: scale(0.95);
}

/* Animation triggers */
.project-item:hover .project-info {
    transform: translateY(0);
    /* Can add slight movement if desired */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .projects-grid {
        flex-direction: column;
        height: auto;
        /* Stack vertically on mobile */
    }

    .project-item {
        height: 60vh;
        /* Shorter per item on mobile */
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .project-info {
        padding: 2rem;
    }

    .project-title {
        font-size: 2rem;
    }

    .section-heading {
        position: relative;
        top: 0;
        left: 0;
        padding: 2rem;
        margin-bottom: 0;
        font-size: 2rem;
    }

    /* Mobile Separator Adjustment */
    .project-separator {
        flex-direction: row;
        width: 100%;
        height: 80px;
        padding: 0 2rem;
    }

    .separator-line {
        width: 100%;
        height: 1px;
    }
}

/* ======================= */
/* PROJECT SEPARATOR       */
/* ======================= */
.project-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 80px;
    height: 100vh;
    /* Match project item height */
    background: #000;
    /* Or transparent if overlapping */
    position: relative;
    z-index: 10;
}

.separator-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(237, 165, 0, 0.3), rgba(237, 165, 0, 0.8), rgba(237, 165, 0, 0.3), transparent);
    flex: 1;
}

.separator-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(237, 165, 0, 0.3);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    box-shadow: 0 0 15px rgba(237, 165, 0, 0.1);
    transition: all 0.5s ease;
}

.diamond-shape {
    width: 16px;
    height: 16px;
    background: #eda500;
    box-shadow: 0 0 10px #eda500;
    transition: all 0.5s ease;
}

/* Interactive Hover Effects */
.project-separator:hover .separator-icon {
    border-color: #eda500;
    box-shadow: 0 0 30px rgba(237, 165, 0, 0.3);
    transform: rotate(225deg);
    /* Spin effect */
}

.project-separator:hover .diamond-shape {
    transform: scale(0.6);
}

.project-separator:hover .separator-line {
    background: linear-gradient(to bottom, transparent, #eda500, transparent);
}

/* Specific Mobile Overrides placed in previous media query block via replacement above or we merge here */

/* ======================= */
/* AGRICULTURE PAGE STYLES */
/* ======================= */

/* 1. Agri Hero */
.agri-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center title vertically in image */
    overflow: hidden;
}

.agri-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.agri-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agri-hero-content {
    z-index: 10;
    text-align: center;
}

.agri-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: #fff;
    /* Changed to white for better visibility on most hero banners */
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.agri-title span {
    font-weight: 300;
    display: block;
    font-size: 3rem;
    letter-spacing: 0.2em;
}

/* 2. Intro Section */
.agri-intro {
    background-color: #1a1a1a;
    padding: 6rem 0;
    color: #fff;
    position: relative;
}

.agri-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlight {
    color: #fff;
    font-weight: 700;
}

.text-box {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-yellow);
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.8;
}

.agri-img-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.agri-img-col img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.model-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-yellow);
    color: #000;
    padding: 0.5rem 1.5rem;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    border-radius: 4px;
}

/* 3. Usage Section */
.agri-usage {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.usage-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.usage-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usage-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.usage-text-overlay {
    background: rgba(0, 0, 0, 0.85);
    /* Dark box as per image */
    padding: 3rem;
    max-width: 500px;
    border-top: 4px solid var(--primary-yellow);
}

.usage-text-overlay h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.highlight-yellow {
    color: var(--primary-yellow);
}

/* 4. Technical Layer */
.tech-layer-section {
    background-color: #000;
}

.tech-block {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Reverse layout for alternating blocks */
.tech-block.reverse .tech-grid {
    direction: rtl;
    /* Simple way to flip columns */
}

.tech-block.reverse .tech-grid>* {
    direction: ltr;
    /* Reset content direction */
}

.tech-visual {
    position: relative;
}

.tech-placeholder-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-overlay-text {
    position: absolute;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-desc h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #666;
    /* Grey start */
}

.tech-desc h3 .white {
    color: #fff;
    display: block;
}

.tech-desc p {
    color: #aaa;
    line-height: 1.7;
    max-width: 450px;
}

/* 5. Comparison */
.agri-comparison {
    padding: 8rem 0;
    background: #080808;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Responsive grid */
    gap: 2rem;
    margin-top: 4rem;
}

.comp-card {
    background: #111;
    border: 1px solid #333;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.comp-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    background: #151515;
}

.comp-card.featured {
    border-color: var(--primary-yellow);
    background: #1a1a1a;
    position: relative;
    transform: scale(1.05);
    /* Make specific card bigger */
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.comp-img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

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

.comp-card h3 {
    font-family: 'Unbounded', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.comp-card h3 .code {
    color: var(--primary-yellow);
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    /* Or center */
}

.specs-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.specs-list li::before {
    content: '•';
    color: var(--primary-yellow);
    margin-right: 10px;
}

.cta-button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

/* Mobile Responsive For Agri Page */
@media (max-width: 768px) {
    .agri-title {
        font-size: 3rem;
    }

    .agri-title span {
        font-size: 1.5rem;
    }

    .agri-intro-grid,
    .tech-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-block.reverse .tech-grid {
        direction: ltr;
    }

    .comp-card.featured {
        transform: none;
    }

    .usage-text-overlay {
        margin: 20px;
        padding: 2rem;
    }
}