/* Base styles */
html {
    scroll-behavior: smooth;
}

#solutions {
    scroll-margin-top: 20px;
    margin: 0 20px;
}

/* Offset anchors (e.g., references) by 80px so content sits a bit higher after scroll */
.ref {
    scroll-margin-top: 80px;
}

:root {
    --primary-color: #282c35;
    --text-color: #333333;
    --background-light: #f8f9fa;
    --border-color: #e9ecef;
    --container-width: 1200px;
    --hover-color: #6e7a87;
    --footer-background-color: #000000;
    --footer-text-color: #dfdfdf;
}

/* Typography */
body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    margin-top: 0;
    color: #000;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 80px;
}

/* Other Tools section */
#other-tools.container {
  max-width: var(--container-width);
  margin: 40px auto;
  padding: 0 20px 20px;
}
#other-tools h2 {
  margin: 10px 0 20px;
}
#other-tools .tool {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 20px;
  margin-bottom: 16px;
}
#other-tools .tool h3 { margin: 0 0 8px; }

/* Card wrapper style for content sections */
.card-section .container {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 32px;
}

@media (max-width: 768px) {
  .card-section .container {
    padding: 20px;
    margin: 0 20px;
  }
}

.full-width-image {
    width: 100%;
    height: auto;
    margin: 0 0 40px;
    border-radius: 8px;
}

.text-section {
    max-width: 800px;
    margin: 0 auto;
}

.text-section h2 {
    margin: 40px 0 20px;
}

.text-section p {
    margin-bottom: 20px;
}

.team-member {
    margin-bottom: 40px;
    background: var(--background-light);
    border-radius: 8px;
}
.team-member .team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 60px;
    display: block;
    margin-bottom: 12px;
}
.team-member .team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 10px;
}
.team-member .team-linkedin svg { width: 100%; height: 100%; fill: #0a66c2; }
.team-member .team-linkedin:hover svg { fill: #004182; }

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-member p {
    margin-bottom: 15px;
}

.team-member p:last-child {
    margin-bottom: 0;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar__logo {
    height: 42px;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Solutions dropdown */
.nav-item { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 2px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor; /* small down arrow */
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Emphasize/rotate arrow when menu is active via hover or keyboard focus */
.nav-item:hover > .dropdown-toggle::after,
.nav-item:focus-within > .dropdown-toggle::after {
    transform: rotate(180deg); /* points up when open */
    opacity: 1;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 8px;
    z-index: 1001;
}
.dropdown-menu a { color: var(--text-color); text-decoration: none; padding: 6px 8px; border-radius: 6px; }
.dropdown-menu a:hover { background: var(--background-light); color: var(--hover-color); }
.nav-item:hover > .dropdown-menu { display: flex; }
/* Keep dropdown open when hovering the dropdown itself or using keyboard */
.dropdown-menu:hover { display: flex; }
.nav-item:focus-within > .dropdown-menu { display: flex; }

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
}

.nav-toggle .bar::before,
.nav-toggle .bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
}

.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after { top: 7px; }

@media (max-width: 900px) {
    /* Container for nav toggle and links */
    .navbar .container { 
        position: relative; 
    }

    /* Navigation toggle button */
    .nav-toggle { 
        display: inline-flex;
        position: relative;
        z-index: 1002;
    }

    /* Fullscreen overlay menu */
    .nav-links { 
        display: none; 
        position: fixed; 
        inset: 0; 
        background: #fff; 
        padding: 100px 24px 24px; 
        flex-direction: column; 
        gap: 16px; 
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        pointer-events: none;
        overflow-y: auto;
        z-index: 1001;
    }

    /* Extended hover area above dropdown */
    .nav-links::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        right: 0;
        height: 25px;
        background: transparent;
    }

    /* Open state will be toggled by JS */
    .navbar.open .nav-links { 
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Mobile dropdown renders inline */
    .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        border: 0; 
        padding: 8px 0 0 12px; 
        display: none;
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
}

/* When menu is open, always show Solutions dropdown; hover disabled */
@media (max-width: 900px) {
  .navbar.open .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger to X and body scroll lock */
@media (max-width: 900px) {
  .nav-toggle { position: relative; }
  .navbar.open .nav-toggle .bar { background: transparent; }
  .navbar.open .nav-toggle .bar::before {
    top: 0;
    transform: rotate(45deg);
  }
  .navbar.open .nav-toggle .bar::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .nav-toggle .bar::before,
  .nav-toggle .bar::after {
    transition: transform 0.2s ease, top 0.2s ease;
  }
}
body.menu-open { overflow: hidden; }
.hero {
    background-color: var(--background-light);
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Simple grid/cards for features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

/* Footer */
.footer {
    background-color: var(--footer-background-color);
    color: var(--footer-text-color);
    padding: 60px 0;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--footer-text-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--footer-text-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Home: Utility and new section styles */
.container-80 {
    max-width: var(--container-width);
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.home-section-service {
    padding: 60px 0 20px;
    text-align: center;
}

.home-section-service h1 {
    font-size: 2rem;
    margin: 0 0 12px;
}

.home-section-service svg {
    display: inline-block;
}

.home-section-stacks {
    padding: 30px 0 20px;
    background-color: var(--background-light);
}

.home-hero-h1-wrapper {
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.home-hero-h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
}

.home-hero-p {
    font-size: 1.1rem;
    font-weight: 400;
}

.home-how-it-works {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.home-how-it-works > div {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

.home-how-it-works h3 {
    margin: 14px 0 8px;
}

.home-how-it-works p {
    margin: 0;
    color: #555;
}

/* Utilities */
.mt-10 { margin-top: 10px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.mpb-0 { padding-bottom: 0px !important; }
.mb-50 { margin-bottom: 50px; }
.mb-30 { margin-bottom: 30px; }
.text-center { text-align: center; }
.f-w-600 { font-weight: 600; }
.color-blue { color: #2b4cf0; }
.color-light-blue { color: #7B9BFB; }
.color-dark-grey { color: #4b5563; }

/* Divider */
.home-section-divider {
    padding: 24px 0;
}

.home-section-divider .divider {
    height: 2px;
    background: linear-gradient(90deg, rgba(43,76,240,0.2), rgba(43,76,240,0.55), rgba(43,76,240,0.2));
    border-radius: 2px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: var(--hover-color);
}

/* Developer section */
.home-section-developer { padding: 40px 0; background: #000; color: #e5e7eb; }
.home-section-developer h1,
.home-section-developer h2,
.home-section-developer h3,
.home-section-developer h4,
.home-section-developer h5,
.home-section-developer h6 { color: #ffffff; }
.home-section-developer a { color: #93c5fd; }
.home-section-developer a:hover { color: #bfdbfe; }
.home-section-developer .container-80 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: stretch; }
.developer-first-text { margin-bottom: 20px; }
.button--dark { background: #111827; }
.button--dark:hover { background: #0b1220; }
.terminal { background: #0b1220; color: #e5e7eb; border-radius: 10px; overflow: hidden; border: 1px solid #111827; }
.terminal-header { padding: 8px 12px; background: #111827; }
.terminal-circles { display: flex; gap: 8px; }
.terminal-circle { width: 10px; height: 10px; border-radius: 50%; background: #6b7280; }
.terminal-body { padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 14px; }
.color-pink { color: #ec4899; }
.color-yellow { color: #f59e0b; }
.color-white { color: #e5e7eb; }
.indent { padding-left: 16px; display: inline-block; }

@media (max-width: 992px) {
  .home-section-developer .container-80 { grid-template-columns: 1fr; gap: 20px; }
}

/* Form styles */
.request-api-form {
    max-width: 640px;
    margin-top: 16px;
}

.request-api-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.request-api-form input[type="text"],
.request-api-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-top: 12px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.mt-20 { margin-top: 20px; }

.mt-140 { margin-top: 140px; }

@media (max-width: 768px) {
    .request-api-form .form-grid {
        grid-template-columns: 1fr;
    }
}
/* Terms Page Specific */
.terms-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.terms-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.terms-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
}

.terms-content p {
    margin-bottom: 1.5rem;
}

.terms-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.8rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        height: 60px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .content-section {
        padding: 60px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }

    .home-how-it-works {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .home-hero-h1 { font-size: 2.1rem; }
    .home-section-service h1 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .home-how-it-works {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .container-80 { width: 100%; }
    .home-hero-h1 { font-size: 1.8rem; }
}

#request-api {display: none;}

/* Introduction section */
.home-section-stacks-introduction {
    padding: 40px 0 20px;
}

.home-section-stacks-introduction .container-80 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: start;
}

.home-section-introduction {
    max-width: 900px;
    margin: 0 auto 40px;
}

.home-introduction-h2-wrapper h2 {
    margin: 0 0 12px;
}

.home-section-benefit {
    position: relative;
    background: #eef3ff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    overflow: hidden;
}

.home-section-benefit svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
}

.home-benefit-text-wrapper {
    position: relative;
    z-index: 1;
}

.benefits p {
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    border-radius: 8px;
}

.benefits p.indentation {
    padding-left: 16px;
}

/* Utility colors for earlier content */
.color-black { color: #111827; }
.color-bllack { color: #111827; }

@media (max-width: 992px) {
    .home-section-stacks-introduction .container-80 {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .home-section-introduction { margin-bottom: 24px; }
}

/* Economic gains / ML & Alice section */
.home-section-economic-gains {
    padding: 40px 0 20px;
}

.home-section-economic-gains .container-80 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.home-section-economic-gains img {
    width: 100%;
    height: auto;
}

.home-section-similar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.home-machine-text-wrapper {
    padding: 24px;
}

.home-machine-text-wrapper h2 {
    margin: 0 0 12px;
}

.home-machine-text-wrapper p {
    margin: 10px 0;
    color: #4b5563;
}

/* Contact section styling */
.home-section-contact {
  position: relative;
  background-color: #f8f9ff;
  padding: 80px 0;
  overflow: hidden;
}

.home-section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237b9bfb' fill-opacity='0.15'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.home-section-contact .container {
  position: relative;
  z-index: 1;
}

.home-section-contact h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.home-section-contact p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.home-section-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.home-section-contact a:hover {
  color: var(--hover-color);
}

/* Home hero: absolute image layout (scoped) */
.home-hero-image-inner-container.__absolute-layout {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 40px;
  padding: 20px;
}

.home-hero-image-inner-container.__absolute-layout .perspective {
  perspective: 1200px;
  perspective-origin: 50% 40%;
}

.home-hero-image-inner-container.__absolute-layout .rotated-flex-container {
  display: flex;
  gap: 28px;
  transform-style: preserve-3d;
}

/* Ensure hero text container aligns nicely when placed beside visuals */
.home-hero-image-inner-container.__absolute-layout > .container {
  margin: 0;
  padding: 0;
  text-align: left; /* override .hero center for this layout */
  align-self: start;
  margin-top: 0; /* lift the left column upward */
}
.home-hero-image-inner-container.__absolute-layout > .container h1 {
  margin-bottom: 16px;
}
.home-hero-image-inner-container.__absolute-layout > .container p {
  margin-bottom: 18px;
}

.home-hero-image-inner-container.__absolute-layout .flex-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.home-hero-image-inner-container.__absolute-layout .svg-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 10px;
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-hero-image-inner-container.__absolute-layout .svg-container svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: geometricPrecision;
}

/* Provide default fills for SVG class tokens used by inline assets */
.home-hero-image-inner-container.__absolute-layout svg .cls-1 { fill: #ffffff; }
.home-hero-image-inner-container.__absolute-layout svg .cls-2 { fill: #eef2f7; }
.home-hero-image-inner-container.__absolute-layout svg .cls-3 { fill: #434343; }
.home-hero-image-inner-container.__absolute-layout svg .cls-4 { fill: #e5e7eb; }
.home-hero-image-inner-container.__absolute-layout svg .cls-5 { fill: #99cf8b; }
.home-hero-image-inner-container.__absolute-layout svg .cls-6 { fill: #777ebd; }
.home-hero-image-inner-container.__absolute-layout svg .cls-7 { fill: #e8c16c; }
.home-hero-image-inner-container.__absolute-layout svg .cls-8 { fill: #928fc6; }
.home-hero-image-inner-container.__absolute-layout svg .cls-9 { stroke: #111827; stroke-width: 2px; fill: none; }
.home-hero-image-inner-container.__absolute-layout svg .cls-10 { fill: #444545; }
.home-hero-image-inner-container.__absolute-layout svg polyline.cls-10,
.home-hero-image-inner-container.__absolute-layout svg line.cls-10 {
  stroke: #444545;
  stroke-width: 2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.home-hero-image-inner-container.__absolute-layout svg .cls-11 { fill: #eae787; }
.home-hero-image-inner-container.__absolute-layout svg line.cls-11,
.home-hero-image-inner-container.__absolute-layout svg polyline.cls-11 {
  stroke: #eae787;
  stroke-width: 2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.home-hero-image-inner-container.__absolute-layout svg .cls-12 { stroke: #444545; stroke-width: 2px; fill: none; }
.home-hero-image-inner-container.__absolute-layout svg .cls-13 { stroke: #434343; stroke-width: 2px; fill: none; }
.home-hero-image-inner-container.__absolute-layout svg .cls-14 { fill: #f4f6ff; }
.home-hero-image-inner-container.__absolute-layout svg .cls-15 { fill: #99cf8b; }
.home-hero-image-inner-container.__absolute-layout svg .cls-16 { fill: #928fc6; }
.home-hero-image-inner-container.__absolute-layout svg .cls-17 { fill: #e8c16c; }
.home-hero-image-inner-container.__absolute-layout svg .cls-18 { fill: #e4e4f2; }
.home-hero-image-inner-container.__absolute-layout svg .cls-19 { fill: #fbbf46; }

/* Fix RobotInGlass rendering: make glass translucent and outlined */
.home-hero-image-inner-container.__absolute-layout svg #BackGlass rect {
  fill: rgba(255,255,255,0.55) !important;
  stroke: #d1d5db;
  stroke-width: 1;
}

/* Ensure hero SVG labels render bold and black (Request, Analyze, Predict) */
.home-hero-image-inner-container.__absolute-layout svg text {
  fill: #000000 !important;
  font-weight: 700;
}
.home-hero-image-inner-container.__absolute-layout svg #FrontGlass rect {
  fill: rgba(255,255,255,0.15) !important;
  stroke: #94a3b8;
  stroke-width: 1.25;
}
.home-hero-image-inner-container.__absolute-layout svg #FrontGlass path {
  stroke: #94a3b8;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

/* Subtle card rotations per quadrant for a dynamic feel */
.home-hero-image-inner-container.__absolute-layout .top-left-m5-flex {
  transform: rotateZ(-4deg) rotateX(2deg);
  width: clamp(220px, 26vw, 300px);
}

.home-hero-image-inner-container.__absolute-layout .top-right-m5-flex {
  transform: rotateZ(3deg) rotateX(1deg);
  width: clamp(220px, 26vw, 300px);
}

.home-hero-image-inner-container.__absolute-layout .bottom-left-m5-flex {
  transform: rotateZ(2deg) rotateX(3deg);
  width: clamp(220px, 26vw, 300px);
}

.home-hero-image-inner-container.__absolute-layout .bottom-right-m5-flex {
  transform: rotateZ(-3deg) rotateX(2deg);
  width: clamp(280px, 34vw, 420px);
}

/* Hover lift */
.home-hero-image-inner-container.__absolute-layout .svg-container:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 1024px) {
  .home-hero-image-inner-container.__absolute-layout .rotated-flex-container {
    gap: 22px;
  }
  .home-hero-image-inner-container.__absolute-layout .bottom-right-m5-flex {
    width: clamp(260px, 42vw, 360px);
  }
}

@media (max-width: 768px) {
  .home-hero-image-inner-container.__absolute-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: auto;
  }
  /* Hide perspective visuals on small screens */
  .home-hero-image-inner-container.__absolute-layout .perspective {
    display: none;
  }
  .home-hero-image-inner-container.__absolute-layout .rotated-flex-container {
    flex-direction: column;
    align-items: center;
  }
  .home-hero-image-inner-container.__absolute-layout .flex-column {
    width: 100%;
    align-items: center;
  }
  .home-hero-image-inner-container.__absolute-layout .svg-container {
    width: clamp(240px, 88vw, 520px);
    transform: none; /* reduce rotation stacking on small screens */
  }
  .home-hero-image-inner-container.__absolute-layout .top-left-m5-flex,
  .home-hero-image-inner-container.__absolute-layout .top-right-m5-flex,
  .home-hero-image-inner-container.__absolute-layout .bottom-left-m5-flex,
  .home-hero-image-inner-container.__absolute-layout .bottom-right-m5-flex {
    transform: none;
  }
}
