/* ============================================
   ARPIA Website - Consolidated Stylesheet
   ============================================ */

/* ============================================
   Custom Fonts - ArpiaFont
   ============================================ */

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-ExtraBoldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-BookItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ArpiaFont';
    src: url('../fonts/Regular-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* CSS Variables */
:root {
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #d0d0d0;
    --off-white: #f5f5f5;
    --white: #ffffff;
    --border-gray: #333333;
    --hover-gray: #404040;
}


/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ArpiaFont', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-gray);
}

/* Override for index page - lighter blur to show video */
.index-page header.index-header-blur {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Index page header menu - whiter text and custom hover */
.index-page header.index-header-blur .nav-links a {
    color: var(--white);
    font-weight: 500;
}

.index-page header.index-header-blur .nav-links a:hover {
    color: #F4AE3C;
}

.index-page header.index-header-blur .nav-links a.active {
    color: var(--white);
}

/* Index page mobile menu CTA button - black text on white background */
.index-page header.index-header-blur .nav-links .mobile-menu-cta a.cta-btn {
    color: var(--black) !important;
    background: var(--white) !important;
}

/* Sign-in link styling for index page */
.index-page header.index-header-blur .sign-in-link {
    color: var(--white);
}

.index-page header.index-header-blur .sign-in-link:hover {
    color: #F4AE3C;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    width: 150px;
    height: auto;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.mobile-menu-toggle span:nth-child(1) {
    transform-origin: top left;
}

.mobile-menu-toggle span:nth-child(3) {
    transform-origin: bottom left;
}

body.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

body.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

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

/* Hide mobile menu CTA on desktop */
.nav-links .mobile-menu-cta {
    display: none;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Sign In Dropdown */
.sign-in-dropdown {
    position: relative;
}

.sign-in-link {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sign-in-link:hover {
    color: var(--white);
}

.sign-in-link::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.sign-in-dropdown.active .sign-in-link::after {
    transform: rotate(180deg);
}

.sign-in-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--black);
    border: 1px solid var(--border-gray);
    border: 1px solid var(--border-gray);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.sign-in-dropdown.active .sign-in-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sign-in-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--light-gray);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-gray);
}

.sign-in-dropdown-menu a:last-child {
    border-bottom: none;
}

.sign-in-dropdown-menu a:hover {
    background: var(--dark-gray);
    color: var(--white);
}

/* CTA Button */
.cta-btn {
    padding: 0.75rem 1.75rem;
    background: var(--white);
    color: var(--black);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 1.05rem;
}

.cta-btn:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5% 4rem;
    z-index: 1;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    background: #000;
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Video background for index page - covers header + hero */
.index-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}

.index-video-overlay {
    position: fixed !important;
    z-index: 0.5 !important;
}

.index-hero {
    background: transparent !important;
}

.video-overlay {
    will-change: auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Hero Video Background (for all pages except index) */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    background: #000;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 100%);
    z-index: 0.5;
    pointer-events: none;
}

.hero-with-video {
    position: relative;
    overflow: hidden;
    background: transparent !important;
    padding: 0;
    min-height: 100vh;
    width: 100%;
}

.hero-with-video .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Optimize video performance on mobile */
@media (max-width: 768px) {
    .banner-video {
        object-position: center;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding-top: 8rem;
}

.hero-content[style*="grid"] {
    padding-top: 8rem;
}

.index-hero .hero-content {
    padding-top: 8rem;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    font-size: 0.75rem;
    color: var(--light-gray);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out;
}

.hero-tag a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-tag a:hover {
    color: var(--white);
}

h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-gray);
    max-width: 900px;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle-highlight {
    position: relative;
    padding: 2.5rem 3rem;
    margin: 2rem 0 3rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 900px;
}

.hero-subtitle-highlight .hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Sections & Content
   ============================================ */

section {
    position: relative;
    padding: 8rem 5% 4rem;
    z-index: 1;
}

/* Index page sections - black background */
/* Index page hero section - transparent background to show video */
.index-page main > section.hero {
    background: transparent !important;
}

/* Hero sections with video - transparent background */
.hero-with-video {
    background: transparent !important;
}

/* All pages - all sections between hero and footer have white background */
main > article,
main > section:not(.hero):not(.cta-section) {
    background: var(--white) !important;
    color: var(--black);
}

/* Override inline styles for sections - but preserve dark backgrounds that need light text */
main > section[style*="background"]:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) {
    background: var(--white) !important;
}

/* Sections with dark backgrounds - ensure light text */
main > section[style*="background"][style*="dark-gray"],
main > section[style*="background"][style*="black"],
main > section[style*="var(--dark-gray)"],
main > section[style*="var(--black)"] {
    background: var(--dark-gray) !important;
    color: var(--white) !important;
}

main > section[style*="background"][style*="dark-gray"] h2,
main > section[style*="background"][style*="dark-gray"] h3,
main > section[style*="background"][style*="dark-gray"] h4,
main > section[style*="background"][style*="black"] h2,
main > section[style*="background"][style*="black"] h3,
main > section[style*="background"][style*="black"] h4,
main > section[style*="var(--dark-gray)"] h2,
main > section[style*="var(--dark-gray)"] h3,
main > section[style*="var(--dark-gray)"] h4,
main > section[style*="var(--black)"] h2,
main > section[style*="var(--black)"] h3,
main > section[style*="var(--black)"] h4 {
    color: var(--white) !important;
}

main > section[style*="background"][style*="dark-gray"] p,
main > section[style*="background"][style*="black"] p,
main > section[style*="var(--dark-gray)"] p,
main > section[style*="var(--black)"] p {
    color: var(--light-gray) !important;
}

main > section[style*="background"][style*="dark-gray"] .section-subtitle,
main > section[style*="background"][style*="black"] .section-subtitle,
main > section[style*="var(--dark-gray)"] .section-subtitle,
main > section[style*="var(--black)"] .section-subtitle {
    color: var(--light-gray) !important;
}

main > section[style*="background"][style*="dark-gray"] .section-tag,
main > section[style*="background"][style*="black"] .section-tag,
main > section[style*="var(--dark-gray)"] .section-tag,
main > section[style*="var(--black)"] .section-tag {
    background: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
}

/* Text colors for white background sections */
main > article h2,
main > article h3,
main > article p,
main > section:not(.hero):not(.cta-section) h2,
main > section:not(.hero):not(.cta-section) h3,
main > section:not(.hero):not(.cta-section) h4,
main > section:not(.hero):not(.cta-section) p {
    color: var(--black);
}

main > article .section-subtitle,
main > section:not(.hero):not(.cta-section) .section-subtitle {
    color: var(--dark-gray);
}

main > article .section-tag,
main > section:not(.hero):not(.cta-section) .section-tag {
    background: var(--dark-gray);
    color: var(--white);
    border-color: var(--dark-gray);
}

/* Feature cards on white background */
main > section:not(.hero):not(.cta-section) .feature-card:not([style*="black"]):not([style*="dark-gray"]),
main > section:not(.hero):not(.cta-section) .feature-card[style*="background"]:not([style*="black"]):not([style*="dark-gray"]) {
    background: var(--off-white) !important;
    border-color: var(--border-gray);
}

main > section:not(.hero):not(.cta-section) .feature-card:not([style*="black"]):not([style*="dark-gray"]) h3,
main > section:not(.hero):not(.cta-section) .feature-card:not([style*="black"]):not([style*="dark-gray"]) p,
main > section:not(.hero):not(.cta-section) .feature-card:not([style*="black"]):not([style*="dark-gray"]) div[style*="color"] {
    color: var(--black) !important;
}

main > section:not(.hero):not(.cta-section) .feature-card:not([style*="black"]):not([style*="dark-gray"]) .feature-number {
    color: var(--black);
}

/* Feature cards with dark backgrounds - ensure light text */
main > section .feature-card[style*="background"][style*="black"],
main > section .feature-card[style*="background"][style*="dark-gray"],
main > section .feature-card[style*="var(--black)"],
main > section .feature-card[style*="var(--dark-gray)"] {
    background: var(--black) !important;
    color: var(--white) !important;
}

main > section .feature-card[style*="background"][style*="black"] h3,
main > section .feature-card[style*="background"][style*="black"] p,
main > section .feature-card[style*="background"][style*="dark-gray"] h3,
main > section .feature-card[style*="background"][style*="dark-gray"] p,
main > section .feature-card[style*="var(--black)"] h3,
main > section .feature-card[style*="var(--black)"] p,
main > section .feature-card[style*="var(--dark-gray)"] h3,
main > section .feature-card[style*="var(--dark-gray)"] p {
    color: var(--white) !important;
}

main > section .feature-card[style*="background"][style*="black"] .feature-number,
main > section .feature-card[style*="background"][style*="dark-gray"] .feature-number,
main > section .feature-card[style*="var(--black)"] .feature-number,
main > section .feature-card[style*="var(--dark-gray)"] .feature-number {
    color: var(--light-gray) !important;
}

main > section .feature-card[style*="background"][style*="black"] div[style*="color"],
main > section .feature-card[style*="background"][style*="dark-gray"] div[style*="color"],
main > section .feature-card[style*="var(--black)"] div[style*="color"],
main > section .feature-card[style*="var(--dark-gray)"] div[style*="color"] {
    color: var(--light-gray) !important;
}

/* Any div or element with dark background - ensure light text */
main > section div[style*="background"][style*="black"]:not([style*="white"]),
main > section div[style*="background"][style*="dark-gray"]:not([style*="white"]),
main > section div[style*="var(--black)"]:not([style*="var(--white)"]),
main > section div[style*="var(--dark-gray)"]:not([style*="var(--white)"]) {
    color: var(--white) !important;
}

main > section div[style*="background"][style*="black"] h2,
main > section div[style*="background"][style*="black"] h3,
main > section div[style*="background"][style*="black"] h4,
main > section div[style*="background"][style*="dark-gray"] h2,
main > section div[style*="background"][style*="dark-gray"] h3,
main > section div[style*="background"][style*="dark-gray"] h4,
main > section div[style*="var(--black)"] h2,
main > section div[style*="var(--black)"] h3,
main > section div[style*="var(--black)"] h4,
main > section div[style*="var(--dark-gray)"] h2,
main > section div[style*="var(--dark-gray)"] h3,
main > section div[style*="var(--dark-gray)"] h4 {
    color: var(--white) !important;
}

main > section div[style*="background"][style*="black"] p,
main > section div[style*="background"][style*="dark-gray"] p,
main > section div[style*="var(--black)"] p,
main > section div[style*="var(--dark-gray)"] p {
    color: var(--light-gray) !important;
}

/* Comparison table on white background */
main > section:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) .comparison-header,
main > section:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) .comparison-row {
    background: var(--off-white);
    border-color: var(--border-gray);
    color: var(--black);
}

main > section:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) .comparison-cell,
main > section:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) .comparison-cell.header,
main > section:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) .comparison-cell.feature {
    color: var(--black) !important;
}

main > section:not(.hero):not(.cta-section):not([style*="dark-gray"]):not([style*="black"]) .comparison-cell.feature {
    font-weight: 700 !important;
}

/* Comparison table on dark background - ensure dark styling */
main > section[style*="dark-gray"] .comparison-table,
main > section[style*="black"] .comparison-table {
    background: var(--dark-gray) !important;
    border-color: var(--border-gray);
}

main > section[style*="dark-gray"] .comparison-header,
main > section[style*="black"] .comparison-header {
    background: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--border-gray);
}

main > section[style*="dark-gray"] .comparison-row,
main > section[style*="black"] .comparison-row {
    background: var(--dark-gray) !important;
    color: var(--white) !important;
    border-color: var(--border-gray);
}

main > section[style*="dark-gray"] .comparison-row:hover,
main > section[style*="black"] .comparison-row:hover {
    background: var(--medium-gray) !important;
}

main > section[style*="dark-gray"] .comparison-row div,
main > section[style*="black"] .comparison-row div {
    color: var(--white) !important;
}

main > section[style*="dark-gray"] .comparison-row .check,
main > section[style*="black"] .comparison-row .check {
    color: #4ade80 !important;
}

main > section[style*="dark-gray"] .comparison-row .x,
main > section[style*="black"] .comparison-row .x {
    color: var(--light-gray) !important;
}

/* Use case cards on white background */
main > section:not(.hero):not(.cta-section) .use-case-card {
    background: var(--off-white) !important;
    border-color: var(--border-gray);
}

main > section:not(.hero):not(.cta-section) .use-case-card h3,
main > section:not(.hero):not(.cta-section) .use-case-card .use-case-label,
main > section:not(.hero):not(.cta-section) .use-case-card .use-case-text {
    color: var(--black);
}

/* Problem section specific styling */
main > article.problem-section {
    background: var(--white) !important;
}

main > article.problem-section h2,
main > article.problem-section .lead,
main > article.problem-section p {
    color: var(--black);
}

/* SVG diagrams - adjust colors for white background */
main > section:not(.hero):not(.cta-section) svg text {
    fill: var(--black) !important;
}

main > section:not(.hero):not(.cta-section) svg rect,
main > section:not(.hero):not(.cta-section) svg line {
    stroke: var(--dark-gray) !important;
}

main > section:not(.hero):not(.cta-section) svg[style*="background"] {
    background: var(--off-white) !important;
}

/* CTA section - white background with inverted colors (all pages) */
main > section.cta-section {
    background: var(--white) !important;
    color: var(--black);
}

main > section.cta-section h2 {
    color: var(--black);
}

main > section.cta-section p {
    color: var(--medium-gray);
}

main > section.cta-section .cta-btn {
    background: var(--black);
    color: var(--white);
}

main > section.cta-section .cta-btn:hover {
    background: var(--dark-gray);
}

main > section.cta-section .btn-secondary {
    border-color: var(--black);
    color: var(--black);
}

main > section.cta-section .btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.content-section {
    position: relative;
    padding: 4rem 5% 6rem;
    z-index: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    width: 100%;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    font-size: 0.7rem;
    color: var(--light-gray);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: left;
}

/* Center h2 only in specific sections like CTA */
.cta-section h2,
section[style*="text-align: center"] h2 {
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    line-height: 1.6;
}

/* Problem Section */
.problem-section {
    position: relative;
    padding: 8rem 5% 4rem;
    z-index: 1;
    background: var(--dark-gray);
}

.problem-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    width: 100%;
}

.problem-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.problem-text .lead {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 3rem;
    line-height: 1.3;
}

/* ============================================
   Architecture & Features
   ============================================ */

.architecture {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 0;
    width: 100%;
}

.arch-layer {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 3rem;
    margin-bottom: 1px;
    transition: background 0.3s;
}

.arch-layer:hover {
    background: var(--medium-gray);
}

.arch-layer-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    margin-bottom: 1rem;
    font-weight: 700;
}

.arch-layer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.arch-layer h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.arch-layer p {
    color: var(--light-gray);
    max-width: 700px;
}

.arch-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.arch-logo {
    color: var(--light-gray);
    font-size: 1rem;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.feature-card {
    background: var(--dark-gray);
    padding: 3rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--black);
}

.feature-number {
    font-size: 0.75rem;
    color: var(--light-gray);
    font-family: 'ArpiaFont', 'Space Grotesk', monospace;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Feature number on light background - ensure dark color */
main > section:not(.hero):not(.cta-section) .feature-card .feature-number {
    color: var(--black) !important;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* ============================================
   Comparison Table
   ============================================ */

.comparison-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
}

.comparison-table {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--black);
    padding: 1.5rem 2rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 600px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-gray);
    align-items: center;
    transition: background 0.2s;
    min-width: 600px;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover {
    background: var(--medium-gray);
}

.comparison-row.header {
    background: var(--black);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comparison-row div:first-child {
    font-weight: 500;
    font-size: 0.95rem;
}

.comparison-row div:not(:first-child) {
    text-align: center;
    font-size: 1rem;
}

.comparison-row .check {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-row .x {
    color: var(--light-gray);
    font-weight: 700;
    font-size: 1.2rem;
}

.check-mark {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.x-mark {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-gray);
}

.warning-mark {
    text-align: center;
    font-size: 1.2rem;
    color: var(--light-gray);
}

/* ============================================
   Use Cases
   ============================================ */

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 3rem;
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: var(--white);
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.use-case-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.use-case-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.use-case-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.use-case-text {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--white);
    color: var(--black);
    padding: 8rem 5% 4rem;
    text-align: center;
}

.cta-section h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-btn {
    background: var(--black);
    color: var(--white);
}

.cta-section .cta-btn:hover {
    background: var(--dark-gray);
}

.cta-section .btn-secondary {
    border-color: var(--black);
    color: var(--black);
}

.cta-section .btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-method p {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.contact-method a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-method a:hover {
    text-decoration: underline;
}

.info-card {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 2rem;
    margin-top: 2rem;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.info-card p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   Form Styles
   ============================================ */

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-container {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 3rem;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.form-header p {
    color: var(--light-gray);
    font-size: 0.95rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.label-hint {
    font-weight: 400;
    color: var(--light-gray);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--black);
    border: 1px solid var(--border-gray);
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'ArpiaFont', 'Inter', sans-serif;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--white);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--black);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.form-note a {
    color: var(--white);
    text-decoration: underline;
}

.progress-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-gray);
    transition: background 0.3s;
}

.progress-dot.active {
    background: var(--white);
}

/* ============================================
   Footer
   ============================================ */

footer {
    position: relative;
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border-gray);
    background: #000000 !important;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.05rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-gray);
    color: var(--light-gray);
    font-size: 1rem;
}

.footer-bottom a {
    color: var(--light-gray);
    text-decoration: none;
}

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

/* ============================================
   Animations & Utilities
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
    font-size: 0.85rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ============================================
   Pricing Page Styles
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.pricing-card {
    background: var(--dark-gray);
    padding: 3rem;
    transition: all 0.3s;
    border: none;
}

.pricing-card:hover {
    background: var(--black);
}

.pricing-card.featured {
    background: var(--black);
    border: 1px solid var(--white);
}

.pricing-header {
    margin-bottom: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-tier {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--white);
}

.pricing-subtitle {
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--white);
    margin-right: 0.75rem;
    font-weight: 700;
}

/* ============================================
   White Glove Services Styles
   ============================================ */

.white-glove {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.white-glove-header {
    text-align: left;
    margin-bottom: 4rem;
}

.white-glove-header h2 {
    margin-bottom: 1rem;
}

.white-glove-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.white-glove-phase {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 2.5rem;
    transition: all 0.3s;
}

.white-glove-phase:hover {
    background: var(--black);
    border-color: var(--white);
}

.white-glove-phase h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.white-glove-phase .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.white-glove-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.white-glove-list li {
    padding: 0.75rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.white-glove-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

/* ============================================
   FAQ Styles
   ============================================ */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 2.5rem;
    transition: all 0.3s;
}

.faq-item:hover {
    background: var(--black);
    border-color: var(--white);
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.faq-item p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   Comparison Table Cells
   ============================================ */

.comparison-cell {
    padding: 0.5rem 0;
}

.comparison-cell.header {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comparison-cell.feature {
    font-weight: 600;
    color: var(--white);
}

/* ============================================
   Industries Page Styles
   ============================================ */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.industry-card {
    background: var(--dark-gray);
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s;
}

.industry-card:hover {
    background: var(--black);
}

.industry-header {
    padding: 3rem 3rem 2rem;
}

.industry-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-gray);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.industry-header h3 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: var(--white);
}

.industry-header p {
    color: var(--light-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.industry-content {
    padding: 0 3rem 3rem;
}

.industry-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Industry cards - ensure all text is light on dark backgrounds */
.industry-card h3 {
    color: var(--white) !important;
}

.industry-card p {
    color: var(--light-gray) !important;
}

.industry-card .stat-number {
    color: var(--white) !important;
}

.industry-card .stat-label {
    color: var(--light-gray) !important;
}

.industry-card .industry-use-cases li {
    color: var(--light-gray) !important;
}

.industry-card .industry-cta {
    color: var(--white) !important;
}

.industry-card .industry-cta .arrow {
    color: var(--white) !important;
}

.industry-use-cases {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.industry-use-cases li {
    padding: 0.75rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-gray);
}

.industry-use-cases li:last-child {
    border-bottom: none;
}

.industry-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s;
    margin-top: 1rem;
    text-decoration: none;
}

.industry-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.industry-cta .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.industry-card:hover .industry-cta {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.industry-card:hover .industry-cta .arrow {
    transform: translateX(5px);
}

/* ============================================
   Platform Page Styles
   ============================================ */

.platform-layers {
    max-width: 1400px;
    margin: 0 auto;
}

.layer {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 3rem;
    margin-bottom: 1px;
    transition: all 0.3s;
}

.layer:hover {
    background: var(--black);
    border-color: var(--white);
}

.layer-header {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.layer-number {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-gray);
    font-weight: 700;
    min-width: 100px;
}

.layer-title {
    flex: 1;
}

.layer-title h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.layer-subtitle {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ============================================
   Interactive Platform Layers
   ============================================ */

.platform-layers-interactive {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 5%;
}

.layer-block {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.layer-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--white);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.layer-block:hover,
.layer-block.active {
    background: var(--black);
    border-color: var(--white);
    transform: translateX(4px);
    box-shadow: -4px 0 20px rgba(255, 255, 255, 0.1);
}

.layer-block:hover::before,
.layer-block.active::before {
    transform: scaleY(1);
}

.layer-block-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 3rem;
    position: relative;
}

.layer-block-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-gray);
    line-height: 1;
    min-width: 60px;
    transition: color 0.3s;
}

.layer-block:hover .layer-block-number,
.layer-block.active .layer-block-number {
    color: var(--white);
}

.layer-block-title {
    flex: 1;
}

.layer-block-title h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    transition: color 0.3s;
}

.layer-block-subtitle {
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.6;
    transition: color 0.3s;
}

.layer-block:hover .layer-block-subtitle,
.layer-block.active .layer-block-subtitle {
    color: var(--white);
}

.layer-block-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    color: var(--light-gray);
    transition: all 0.3s;
    flex-shrink: 0;
}

.layer-block-icon i {
    font-size: 20px;
    line-height: 1;
}

.layer-block:hover .layer-block-icon,
.layer-block.active .layer-block-icon {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(5deg);
}

.layer-block-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    padding: 0 3rem;
}

.layer-block.active .layer-block-content {
    max-height: 2000px;
    opacity: 1;
    padding: 0 3rem 3rem;
}

.layer-block:hover .layer-block-content {
    max-height: 2000px;
    opacity: 1;
    padding: 0 3rem 3rem;
}

/* Mobile adjustments for interactive layers */
@media (max-width: 768px) {
    .platform-layers-interactive {
        padding: 0;
    }

    .layer-block-header {
        padding: 1.5rem;
        gap: 1rem;
    }

    .layer-block-number {
        font-size: 2rem;
        min-width: 40px;
    }

    .layer-block-title h3 {
        font-size: 1.25rem;
    }

    .layer-block-subtitle {
        font-size: 0.9rem;
    }

    .layer-block-icon {
        width: 40px;
        height: 40px;
    }

    .layer-block-icon i {
        font-size: 18px;
    }

    .layer-block.active .layer-block-content,
    .layer-block:hover .layer-block-content {
        padding: 0 1.5rem 1.5rem;
    }

    .layer-block:hover {
        transform: translateX(0);
    }
}

.capability {
    padding: 1.5rem;
    background: var(--black);
    border: 1px solid var(--border-gray);
    transition: all 0.3s;
    color: var(--white);
}

.capability:hover {
    border-color: var(--white);
}

.capability h4 {
    color: var(--white) !important;
    margin-bottom: 0.75rem;
}

.capability p {
    color: var(--white) !important;
    line-height: 1.7;
}

/* Layer block content - ensure all text and icons are white */
.layer-block-content {
    color: var(--white);
}

.layer-block-content h4,
.layer-block-content h3,
.layer-block-content h2 {
    color: var(--white) !important;
}

.layer-block-content p {
    color: var(--white) !important;
}

/* Ensure all text in layer blocks is white */
.layer-block {
    color: var(--white);
}

.layer-block h3,
.layer-block h4,
.layer-block h2 {
    color: var(--white) !important;
}

.layer-block p {
    color: var(--white) !important;
}

.layer-block-subtitle {
    color: var(--white) !important;
}

/* Layer block icons - ensure white */
.layer-block-icon {
    color: var(--white) !important;
}

.layer-block-icon i {
    color: var(--white) !important;
}

.layer-block:hover .layer-block-icon,
.layer-block.active .layer-block-icon {
    color: var(--white) !important;
}

/* Layer block number - ensure white */
.layer-block-number {
    color: var(--white) !important;
}

.layer-block:hover .layer-block-number,
.layer-block.active .layer-block-number {
    color: var(--white) !important;
}

.capability h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.capability p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Features Page Styles
   ============================================ */

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.feature-benefits li {
    padding: 0.5rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.feature-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

/* Feature benefits on light background - ensure dark text */
main > section:not(.hero):not(.cta-section) .feature-card .feature-benefits li {
    color: var(--dark-gray) !important;
}

main > section:not(.hero):not(.cta-section) .feature-card .feature-benefits li::before {
    color: var(--black) !important;
}

.deep-dive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.deep-dive-content {
    padding: 2rem 0;
}

.deep-dive-content h2,
.deep-dive-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.deep-dive-content p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Deep dive on light background - ensure dark text */
main > section:not([style*="dark-gray"]):not([style*="black"]) .deep-dive-content h2,
main > section:not([style*="dark-gray"]):not([style*="black"]) .deep-dive-content h3 {
    color: var(--black) !important;
}

main > section:not([style*="dark-gray"]):not([style*="black"]) .deep-dive-content p {
    color: var(--dark-gray) !important;
}

main > section:not([style*="dark-gray"]):not([style*="black"]) .deep-dive-content strong {
    color: var(--black) !important;
}

.deep-dive-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto 4rem;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.stat-card {
    background: var(--off-white);
    border: none;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-number,
.stat-card .number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-card .stat-label,
.stat-card .label {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* ============================================
   Comparison Grid Styles
   ============================================ */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.comparison-card {
    background: var(--dark-gray);
    padding: 3rem;
    transition: all 0.3s;
}

.comparison-card:hover {
    background: var(--black);
}

.comparison-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
}

.comparison-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-features li {
    padding: 0.75rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-gray);
}

.comparison-features li:last-child {
    border-bottom: none;
}

.comparison-features .check {
    color: #4ade80;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comparison-features .x {
    color: var(--light-gray);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ============================================
   Industry Page Use Case Styles
   ============================================ */

.use-case {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 3rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.use-case:hover {
    background: var(--black);
    border-color: var(--white);
}

.use-case-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.use-case-number {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-gray);
    font-weight: 700;
    margin-bottom: 1rem;
}

.use-case-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.use-case-header p {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

.use-case-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.use-case-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-section ul li {
    padding: 0.5rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.use-case-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

.impact-metric {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
    text-align: center;
}

.impact-metric .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.impact-metric .label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.challenge-card {
    background: var(--dark-gray);
    border: none;
    padding: 2.5rem;
    transition: all 0.3s;
}

.challenge-card:hover {
    background: var(--black);
}

.challenge-number {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-gray);
    font-weight: 700;
    margin-bottom: 1rem;
}

.challenge-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.challenge-card p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   Compliance Grid Styles
   ============================================ */

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.compliance-card {
    background: var(--black);
    padding: 2.5rem;
    transition: all 0.3s;
    border: none;
}

.compliance-card:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
}

.compliance-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.compliance-card p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   CTA Buttons
   ============================================ */

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

/* ============================================
   Company Page Styles
   ============================================ */

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.story-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.story-content p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.value-card {
    background: var(--dark-gray);
    padding: 3rem;
    transition: all 0.3s;
    border: none;
}

.value-card:hover {
    background: var(--black);
}

/* Value cards on light background */
main > section:not([style*="dark-gray"]):not([style*="black"]) .value-card[style*="off-white"]:hover {
    background: var(--white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.value-number {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-gray);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.value-card p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.timeline {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0 3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-gray) var(--black);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.timeline::-webkit-scrollbar {
    height: 8px;
}

.timeline::-webkit-scrollbar-track {
    background: var(--black);
}

.timeline::-webkit-scrollbar-thumb {
    background: var(--border-gray);
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: var(--medium-gray);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--border-gray);
    z-index: 1;
}

.timeline-item {
    position: relative;
    min-width: 300px;
    max-width: 350px;
    flex-shrink: 0;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--black);
    z-index: 2;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.timeline-content p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-card {
    background: var(--black);
    border: 1px solid var(--border-gray);
    padding: 2.5rem;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: var(--white);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-card p {
    color: var(--light-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.contact-link:hover {
    color: var(--light-gray);
    gap: 1rem;
}

/* Email button links in contact cards */
.contact-card .contact-link[style*="background"] {
    background: var(--black) !important;
    color: var(--white) !important;
}

.contact-card .contact-link[style*="background"]:hover {
    background: var(--dark-gray) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Active Navigation Link
   ============================================ */

.nav-links a.active {
    color: var(--white);
    font-weight: 600;
}

/* ============================================
   Feature Matrix Styles
   ============================================ */

.feature-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive: Tablet - 2 columns */
@media (max-width: 1024px) {
    .feature-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Responsive: Mobile - 1 column */
@media (max-width: 768px) {
    .feature-matrix {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .matrix-header {
        padding: 1.5rem;
        flex-wrap: wrap;
    }
    
    .matrix-header h3 {
        font-size: 1.25rem;
    }
    
    .matrix-header ion-icon {
        font-size: 1.5rem;
    }
    
    .matrix-items {
        padding: 1rem;
        gap: 1rem;
    }
    
    .matrix-feature {
        padding: 1.25rem;
    }
    
    .matrix-feature-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .matrix-feature-header ion-icon {
        font-size: 1.25rem;
    }
    
    .matrix-label {
        font-size: 1rem;
    }
    
    .matrix-value {
        font-size: 0.9rem;
    }
    
    .matrix-why {
        font-size: 0.8rem;
    }
}

.matrix-category {
    background: var(--black);
    border: 1px solid var(--border-gray);
    padding: 0;
    transition: all 0.3s;
}

.matrix-category:hover {
    border-color: var(--white);
}

.matrix-header {
    background: var(--dark-gray);
    padding: 2rem;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.matrix-header ion-icon {
    font-size: 1.75rem;
    color: var(--white);
    flex-shrink: 0;
}

.matrix-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.matrix-items {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.matrix-feature {
    background: var(--dark-gray);
    border: 1px solid var(--border-gray);
    padding: 1.5rem;
    transition: all 0.3s;
    border-radius: 4px;
}

.matrix-feature:hover {
    background: var(--medium-gray);
    border-color: var(--white);
    transform: translateY(-2px);
}

.matrix-feature-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.matrix-feature-header ion-icon {
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.matrix-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.matrix-value {
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.matrix-why {
    font-size: 0.85rem;
    color: var(--light-gray);
    line-height: 1.6;
    font-style: italic;
    opacity: 0.9;
    padding-left: 0.5rem;
    border-left: 2px solid var(--border-gray);
}

/* ============================================
   Integration Grid Styles
   ============================================ */

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.integration-card {
    background: var(--off-white);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    border: none;
}

.integration-card:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.integration-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
}

.integration-icon i {
    font-size: 3rem;
    line-height: 1;
    color: var(--black);
}

.integration-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

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

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .problem-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .comparison-card {
        padding: 2rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        font-size: 0.7rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    nav {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 5% 2rem;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    body.menu-open .nav-links {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-gray);
    }

    .nav-links a {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.25rem;
        width: 100%;
    }

    .nav-links .mobile-menu-cta {
        margin-top: 2rem;
        border: none;
        display: block !important;
    }

    .nav-links .mobile-menu-cta a.cta-btn {
        background: var(--white);
        color: var(--black);
        padding: 1rem 2rem;
        border-radius: 4px;
        text-align: center;
        font-weight: 600;
        display: block;
        width: 100%;
    }

    /* Index page mobile menu button - ensure black text */
    .index-page .nav-links .mobile-menu-cta a.cta-btn {
        color: var(--black) !important;
        background: var(--white) !important;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-right .cta-btn {
        display: none;
    }

    .sign-in-link {
        display: none;
    }

    body.menu-open .mobile-menu-toggle {
        position: fixed;
        top: 1.5rem;
        right: 5%;
        z-index: 1002;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 0 5% 4rem;
        min-height: 60vh;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .hero-content[style*="grid"] {
        grid-template-columns: 1fr !important;
        padding-top: 5rem;
    }

    .index-hero .hero-content {
        padding-top: 5rem;
    }

    .hero-with-video .hero-content {
        padding-top: 5rem;
    }

    .hero-content svg {
        height: 300px;
    }

    .hero-cta {
        flex-direction: column;
    }

    section {
        padding: 6rem 5% 4rem;
    }

    .content-section {
        padding: 3rem 5% 4rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .comparison-wrapper {
        padding: 0;
        overflow-x: auto;
    }

    .comparison-table {
        min-width: 600px;
    }

    .feature-matrix {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .matrix-header {
        padding: 1.5rem;
        flex-wrap: wrap;
    }
    
    .matrix-header h3 {
        font-size: 1.25rem;
    }
    
    .matrix-header ion-icon {
        font-size: 1.5rem;
    }
    
    .matrix-items {
        padding: 1rem;
        gap: 1rem;
    }
    
    .matrix-feature {
        padding: 1.25rem;
    }
    
    .matrix-feature-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .matrix-feature-header ion-icon {
        font-size: 1.25rem;
    }
    
    .matrix-label {
        font-size: 1rem;
    }
    
    .matrix-value {
        font-size: 0.9rem;
    }
    
    .matrix-why {
        font-size: 0.8rem;
    }

    .comparison-header,
    .comparison-row {
        min-width: 600px;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }

    .comparison-header {
        font-size: 0.7rem;
    }

    .comparison-row div:first-child {
        font-size: 0.9rem;
    }

    footer {
        padding: 3rem 5% 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-bottom {
        padding-top: 2rem;
        font-size: 0.9rem;
    }

    .arch-layer-content {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

    .industry-stats {
        grid-template-columns: 1fr;
    }

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

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

    .timeline-item {
        min-width: 250px;
    }

    .use-case-content {
        grid-template-columns: 1fr;
    }

    .deep-dive {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .timeline-item {
        min-width: 280px;
    }

    .problem-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

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

    .hero-subtitle-highlight {
        padding: 1.5rem 1.5rem;
        margin: 1.5rem 0 2rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 8px;
    }

    .hero-subtitle-highlight .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .layer-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .white-glove-grid {
        grid-template-columns: 1fr;
    }

    .platform-layers {
        gap: 3rem;
    }

    .industry-use-cases {
        grid-template-columns: 1fr;
    }

    .industry-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-cta div {
        flex-direction: column;
    }

    /* Platform Comparison Responsive */
    .platform-comparison {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .platform-comparison .comparison-column.highlight {
        order: -1;
    }

    /* Complexity Grid Responsive */
    .complexity-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    /* Integration Diagram Responsive */
    .integration-diagram {
        padding: 2rem 1.5rem !important;
    }

    .integration-diagram > div > div {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .integration-diagram > div > div > div:not(:first-child):not(:last-child) {
        transform: rotate(90deg);
        margin: -1rem 0;
    }

    /* Testimonial Responsive */
    .testimonial-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    /* Complexity Grid Mobile */
    .complexity-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Team Grid Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .team-member-card {
        padding: 1.5rem !important;
    }
    
    .team-member-card div:first-child {
        width: 140px !important;
        height: 140px !important;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .team-member-card {
        padding: 2rem !important;
    }
}

/* Team member card hover effects - Light mode */
.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--dark-gray) !important;
}

.team-member-card:hover div:first-child {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2) !important;
}

.team-member-card:hover h3 {
    color: var(--black) !important;
}


