:root {
    --bg-dark: #0d0d0d;           /* Strict architectural charcoal */
    --bg-darker: #0d0d0d;         /* Maintain duotone consistency */
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.05);
    --text-primary: #fcfbfa;      /* Clean off-white */
    --text-charcoal: #0d0d0d;     /* High-end charcoal */
    --text-muted: #808080;        /* Muted neutral grey */
    --accent-blue: #0066ff;        /* Shreeji Brand Blue */
    --accent-blue-hover: #0088ff;
    
    /* Glass-specific variables */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-accent: rgba(200, 230, 255, 0.01);
    --glass-blur: 32px;           /* Increased blur for better depth */
    
    --space-sm: 2rem;
    --space-md: 4rem;
    --space-lg: 8rem;
    --space-xl: 14rem;            /* Massively increased for architectural breathing room */
}

[data-theme="light"] {
    --bg-dark: #fcfbfa;           /* Very light pearl cream */
    --bg-darker: #f2efe9;         /* Soft almond/taupe for alternating sections */
    --bg-card: rgba(210, 200, 190, 0.15); 
    --border-color: rgba(180, 170, 160, 0.3);
    --text-primary: #2a2522;      /* Elegant soft off-black */
    --text-muted: #6e645e;
    --glass-bg: rgba(252, 251, 250, 0.75);
    --glass-border: rgba(180, 170, 160, 0.25);
    
    --cta-bg: linear-gradient(135deg, rgba(242, 239, 233, 0.95), rgba(235, 230, 220, 0.95));
    --hero-overlay: linear-gradient(to right, rgba(252,251,250,0.95) 0%, rgba(252,251,250,0.85) 45%, rgba(252,251,250,0.2) 100%);
    --hero-title-gradient: linear-gradient(to right, #1f1b19, #8c7e75);
    --hero-subtitle-color: #4a423e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    letter-spacing: -0.01em;     /* Tighter spacing for modern look */
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;             /* Lighter weight as seen in screenshot */
    line-height: 1.1;
    letter-spacing: -0.04em;      /* Strict architectural tracking */
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

h2 { 
    font-size: 4.5rem;            /* Massively increased for discovery sections */
    margin-bottom: 2.5rem; 
    max-width: 900px;
}
h3 { 
    font-size: 2rem; 
    margin-bottom: 1.25rem;
}
h4 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
}
p { 
    color: var(--text-muted); 
    font-size: 1.1rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Classes */
/* Discovery Layouts */
.discovery-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) 5%;
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.section-label::before {
    content: '◆';                 /* The diamond symbol from screenshot */
    font-size: 0.6rem;
}

.light-section {
    background-color: #f5f5f5;    /* Subtle off-white requested */
    color: var(--text-charcoal);
}

.light-section h2 {
    color: var(--text-charcoal);
}

.light-section .section-label {
    color: #888;
}

.light-section p {
    color: #444;
}

.light-section .info-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-charcoal);
}

.light-section .info-card h3 {
    color: var(--text-charcoal);
}

.light-section .info-card p {
    color: #666;
}

.light-section .btn-technical {
    background: var(--text-charcoal);
    color: #fcfbfa;
}

/* Technical Buttons (Exo Ape style) */
.btn-technical {
    background: #0d0d0d;
    color: #fcfbfa;
    padding: 1rem 2rem;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-technical:hover {
    background: #1a1a1a;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-technical:active {
    transform: translateY(0) scale(0.98);
}

/* Brand Recall & UI Evolution */
.shreeji-blue {
    color: var(--accent-blue) !important;
}

.big-name {
    font-size: 1.1rem !important;
    letter-spacing: 0.45em !important;
}

.btn-fluid-dark {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #0d0d0d;
    color: #fcfbfa;
    padding: 1.2rem 2.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.btn-fluid-dark:hover {
    background: #2a2522;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.industry-card {
    padding: 3.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-blue);
    transform: translateY(-10px);
}

.industry-card .label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.industry-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.btn-technical::before {
    content: '↳';                 /* Arrow icon from screenshot */
    font-size: 1.2rem;
}

.glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.sheen {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%); /* Center on mouse */
    opacity: 0;
    z-index: 5;
    mix-blend-mode: soft-light;
}

/* Navigation */
/* Floating Architectural Navbar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92%);
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(13, 13, 13, 0.2);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 0.6rem 1rem;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.7);
    top: 1rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 991px) {
    .nav-links { display: none; }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img, .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video {
    filter: brightness(0.6) saturate(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(7, 7, 7, 0.2) 0%, rgba(7, 7, 7, 0.8) 100%);
    z-index: 1;
}

.hero-brand-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-brand-eyebrow::after {
    content: "";
    height: 1px;
    width: 60px;
    background: var(--accent-blue);
    opacity: 0.4;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.fluid-header {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.badge {
    font-family: 'Space Mono', monospace;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;           /* More technical shape */
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0;
}

.hero-title {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom, #fff 30%, #999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
}

/* Section Shared styling */
section {
    padding: var(--space-xl) 0;
}
.dark-section {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--space-xl); /* Expansive spacing */
}

/* Global Reach (Cards) */
.info-card {
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-img-small {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Features Component */
.feature-item {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Staggered entrance delays */
.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 102, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.feature-item:hover::before {
    opacity: 1;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--text-primary);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.icon-circle i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5px;
}

.feature-item:hover .icon-circle {
    background: var(--text-primary);
    color: var(--bg-dark);
    transform: scale(1.1) translateY(-5px);
}

/* 3D Flip Card System */
.tech-grid {
    gap: 2rem;
}

.flip-card {
    background-color: transparent;
    height: 480px;
    perspective: 1500px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.flip-card-front {
    background-color: #0d0d0d;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.5s ease;
}

.flip-card:hover .flip-card-front img {
    filter: brightness(0.9);
}

.tech-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, transparent 100%);
    text-align: left;
}

.tech-card-overlay h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-card-overlay p {
    font-size: 0.85rem;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.flip-card-back {
    background-color: #fcfbfa; /* Off-white back for contrast */
    color: #0d0d0d;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.tech-specs {
    text-align: left;
}

.tech-specs .label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #888;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.tech-specs h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0d0d0d;
}

.tech-specs p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2.5rem;
}

.btn-technical-small {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--accent-blue);
    padding-bottom: 4px;
}

/* Premium Split Section */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 500px;
    margin-top: 3rem;
}

.benefits-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
}

.benefit-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefits-list h5 {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.light-section .benefits-list h5 {
    color: var(--text-charcoal);
}

.benefits-list p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.7;
    margin: 0;
}

.split-image-container {
    padding: 1rem;
    height: 600px;
}
.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Products Section */
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-md);
}

.view-all {
    color: var(--accent-blue);
    font-weight: 500;
}
.view-all:hover {
    text-decoration: underline;
}

.product-card {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111, #222);
}

.product-info {
    padding: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.cta-box {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: var(--cta-bg, linear-gradient(to bottom, rgba(20, 20, 20, 0.8), rgba(5, 5, 5, 0.9)));
    border: 1px solid var(--border-color);
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: var(--space-lg) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links h4 {
    margin-bottom: 1rem;
    color: white;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--accent-blue);
}
.contact-link {
    color: var(--accent-blue) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.socials {
    display: flex;
    gap: 1.5rem;
}

/* Animations & Scroll Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.grid > .reveal:nth-child(1) { transition-delay: 0.1s; }
.grid > .reveal:nth-child(2) { transition-delay: 0.2s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.3s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.4s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.5s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar { width: 96%; top: 1rem; }
    .nav-links { gap: 1.5rem; }
    .nav-links a { font-size: 0.65rem; }
    .nav-actions { display: none; }
    
    .split-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    .split-image-container { height: 400px; }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 5rem;
        --space-lg: 3rem;
        --space-md: 2rem;
    }
    
    h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
    h3 { font-size: 1.5rem; }
    .fluid-header { font-size: 1.8rem; line-height: 1.3; }
    .hero-title { font-size: 2.8rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1.05rem; padding: 0 1rem; }
    
    .nav-links { display: none; }
    .navbar { padding: 0.6rem 1.5rem; width: 92%; border-radius: 100px; }
    .nav-container { justify-content: space-between; }
    .brand { margin: 0; }
    .brand-text { font-size: 0.75rem; letter-spacing: 0.1em; }
    .logo-img { height: 24px; }
    
    .mobile-toggle { display: flex; margin-left: auto; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .split-image-container { height: 280px; }
    .flip-card { height: 400px; }
    .flip-card-back { padding: 1.5rem; }
    .tech-card-overlay { padding: 1.5rem; }
    
    .industry-card { padding: 2rem 1.5rem; }
    .feature-item { padding: 1.5rem; }
    
    .hero-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .btn-fluid-dark, .btn-technical { padding: 1rem 1.5rem; font-size: 0.7rem; }
}

/* Localized Modal System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    max-width: 650px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(40px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--text-primary);
    color: #0d0d0d;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.light-section-modal .modal-card {
    background: #fcfbfa;
    color: #0d0d0d;
    border-color: rgba(0,0,0,0.1);
}

.light-section-modal .modal-title {
    color: #0d0d0d;
}

.light-section-modal .modal-description {
    color: #444;
}

/* Localized Modal System Styles Continue... */

/* Contact Data Wall Styles */
.contact-data-wall {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.contact-col {
    padding: 2rem 0;
    border-left: 1px solid rgba(13, 13, 13, 0.05);
    padding-left: 2rem;
}

.contact-col:first-child {
    border-left: none;
    padding-left: 0;
}

.contact-col .label {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.5rem;
}

.contact-col p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-charcoal);
    font-weight: 500;
}

@media (max-width: 991px) {
    .contact-data-wall {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-col {
        border-left: none;
        border-bottom: 1px solid rgba(13, 13, 13, 0.05);
        padding-left: 0;
        padding-bottom: 2rem;
    }
    .contact-col:last-child {
        border-bottom: none;
    }
}

/* Mobile Side Menu System */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    max-width: 80%;
    background: #0d0d0d;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a.mobile-link {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.mobile-nav-links a.btn-technical {
    border-bottom: none;
    padding-bottom: 1rem;
    font-size: 0.8rem;
}
