/* ========================================
   TOKENIZZ - Award-Winning Design System
   Inspired by Apple.com and Revolut.com
   ======================================== */

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

:root {
    /* Colors - White/Grey Dominant with Tech Accents */
    --color-white: #ffffff;
    --color-off-white: #fafafa;
    --color-light-grey: #f5f5f7;
    --color-grey: #e8e8ed;
    --color-mid-grey: #86868b;
    --color-dark-grey: #424245;
    --color-charcoal: #1d1d1f;
    --color-black: #000000;
    
    /* Tech Accent Colors */
    --color-accent-blue: #0066cc;
    --color-accent-purple: #5e5ce6;
    --color-accent-cyan: #00c7be;
    --color-accent-pink: #ff2d55;
    
    /* Gradients */
    --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    --gradient-light: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent-purple) 0%, var(--color-accent-blue) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;
    
    /* Layout */
    --max-width: 1400px;
    --nav-height: 72px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    color: var(--color-charcoal);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

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

.nav-menu a {
    color: var(--color-charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-accent-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition-fast);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--nav-height);
}

@media (max-width: 768px) {
    .hero {
        height: 85vh; /* Shorter on mobile - see next section sooner */
    }
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-charcoal);
}

.btn-primary:hover {
    background: var(--color-light-grey);
    transform: translateY(-2px);
}

.btn-primary-large {
    background: var(--color-white);
    color: var(--color-charcoal);
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-primary-large:hover {
    background: var(--color-light-grey);
    transform: translateY(-2px);
}

.btn-secondary-large {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* === MISSION SECTION === */
.mission-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-charcoal);
}

.section-title.centered {
    text-align: center;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-dark-grey);
    font-weight: 400;
}

/* === FULL-BLEED SECTIONS === */
.full-bleed-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.full-bleed-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.full-bleed-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 92, 230, 0.85) 0%, rgba(0, 102, 204, 0.85) 100%);
}

.full-bleed-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 4rem;
}

.display-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.display-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

/* === SPLIT SECTIONS === */
.split-section {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

.split-section.alt-bg {
    background: var(--color-light-grey);
}

.split-image,
.split-content {
    flex: 1;
    min-height: 100vh;
}

.split-image {
    position: relative;
    overflow: hidden;
}

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

.split-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 4rem;
    background: var(--color-white);
}

.split-section.alt-bg .split-content {
    background: var(--color-light-grey);
}

.split-inner {
    max-width: 550px;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-charcoal);
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-dark-grey);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-grey);
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.feature-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-blue);
    font-weight: 600;
}

/* Split Section Layout Variants */
.split-left {
    flex-direction: row;
}

.split-right {
    flex-direction: row-reverse;
}

/* === CORE CAPABILITIES SECTION (3x2 Grid with Grey Background) === */
.core-capabilities-section {
    padding: var(--spacing-2xl) 0;
    background: #e8e8ed; /* More grey background */
}

.core-capabilities-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.core-capability-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    transition: all var(--transition-smooth);
    aspect-ratio: 1 / 1; /* Force square shape */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.core-capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.capability-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-smooth);
    flex-shrink: 0;
}

.capability-icon svg {
    transition: all var(--transition-smooth);
}

.core-capability-card:hover .capability-icon {
    transform: scale(1.05);
}

.icon-blue {
    background: rgba(0, 102, 204, 0.1);
    color: var(--color-accent-blue);
}

.icon-purple {
    background: rgba(94, 92, 230, 0.1);
    color: var(--color-accent-purple);
}

.icon-cyan {
    background: rgba(0, 199, 190, 0.1);
    color: var(--color-accent-cyan);
}

.core-capability-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-charcoal);
    line-height: 1.3;
}

.core-capability-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-dark-grey);
}

/* === VISION TEXT SECTION === */
.vision-text-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

.vision-text-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-blue);
    margin-bottom: 1.5rem;
}

.vision-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-charcoal);
}

.vision-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-dark-grey);
}

/* === GRADIENT SECTION === */
.gradient-section {
    position: relative;
    padding: var(--spacing-2xl) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.gradient-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gradient-content {
    position: relative;
    z-index: 2;
}

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

.capability-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-smooth);
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

.capability-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-grey);
}

/* === DARK SECTION === */
.dark-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-charcoal);
    overflow: hidden;
}

.dark-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dark-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.overlay-dark-heavy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.dark-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 4rem;
    text-align: center;
}

.dark-inner {
    color: var(--color-white);
}

.dark-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-cyan);
    margin-bottom: 1.5rem;
}

.dark-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.dark-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* === IMAGE + STATS SECTION === */
.image-stats-section {
    background: var(--color-light-grey);
    padding: var(--spacing-2xl) 0;
}

.image-stats-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.stats-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stats-features {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.stat-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-grey);
}

/* === TECH BADGES === */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-light-grey);
    color: var(--color-charcoal);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid var(--color-grey);
}

/* === CTA BUTTONS GROUP === */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

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

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

.footer-brand p {
    color: var(--color-mid-grey);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: var(--color-mid-grey);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-mid-grey);
    font-size: 0.875rem;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn var(--transition-slow) 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn var(--transition-slow) 0.6s forwards;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* === SOLUTIONS PAGE === */
.solutions-hero {
    padding: calc(var(--nav-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--color-white);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.solutions-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title-dark {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--color-charcoal);
}

.hero-subtitle-dark {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark-grey);
    max-width: 700px;
    margin: 0 auto;
}

.centered-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-dark-grey);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* === CONTACT PAGE === */
.contact-hero {
    padding: calc(var(--nav-height) + var(--spacing-2xl)) 0 var(--spacing-xl);
    background: var(--color-light-grey);
    text-align: center;
}

.contact-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--color-grey);
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-charcoal);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--color-charcoal);
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 24px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.modal-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-dark-grey);
    margin-bottom: 2rem;
}

.btn-close-modal {
    padding: 1rem 2.5rem;
    background: var(--color-charcoal);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-close-modal:hover {
    background: var(--color-black);
}

/* === LEGAL PAGES === */
.legal-section {
    padding: calc(var(--nav-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
    background: var(--color-white);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-container h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.legal-container .last-updated {
    font-size: 0.95rem;
    color: var(--color-mid-grey);
    margin-bottom: 3rem;
}

.legal-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    color: var(--color-charcoal);
}

.legal-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--color-charcoal);
}

.legal-container p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-dark-grey);
    margin-bottom: 1.5rem;
}

.legal-container ul,
.legal-container ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-container li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-dark-grey);
    margin-bottom: 0.75rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .split-section {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .split-image,
    .split-content {
        min-height: 60vh;
    }
    
    .image-stats-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .core-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --spacing-lg: 3rem;  /* Reduced from 4rem */
        --spacing-xl: 4rem;  /* Reduced from 6rem */
        --spacing-2xl: 5rem; /* Reduced from 8rem */
    }
    
    .navbar {
        background: rgba(255, 255, 255, 0.95); /* More opaque on mobile */
        backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); /* Always show shadow on mobile */
    }
    
    .nav-brand {
        font-size: 1.375rem; /* Slightly bigger on mobile */
        font-weight: 800; /* Bolder */
        letter-spacing: 0.02em; /* Wider spacing for all caps */
    }
    
    .nav-container {
        padding: 0 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-smooth);
        pointer-events: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 1.5rem; /* Tighter horizontal padding */
    }
    
    .hero-content,
    .full-bleed-content,
    .dark-content {
        padding: 0 1.5rem;
    }
    
    .split-content {
        padding: var(--spacing-lg) 1.5rem;
    }
    
    .image-stats-container {
        padding: 0 1.5rem;
    }
    
    /* Tighter section spacing */
    .mission-section {
        padding: 3rem 0; /* Reduced from 8rem */
    }
    
    .core-capabilities-section {
        padding: 3rem 0; /* Reduced from 8rem */
    }
    
    .vision-text-section {
        padding: 3rem 0; /* Reduced from 8rem */
    }
    
    .ai-section {
        padding: 4rem 0; /* Ensure some padding on full-bleed sections */
        min-height: 80vh; /* Shorter on mobile */
    }
    
    .ai-section .full-bleed-background img {
        object-position: center center; /* Center the purple wave on mobile */
    }
    
    .cta-section {
        padding: 4rem 0;
        min-height: 70vh; /* Shorter CTA on mobile */
    }
    
    .hero-title,
    .display-title,
    .dark-title {
        font-size: clamp(2.75rem, 10vw, 3.5rem); /* BIGGER on mobile */
        margin-bottom: 1.5rem; /* Tighter margin */
    }
    
    .hero-subtitle,
    .display-subtitle {
        font-size: 1.125rem; /* Slightly bigger */
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 7vw, 2.75rem); /* Bigger */
        margin-bottom: 1.25rem; /* Tighter */
    }
    
    .section-heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .mission-text {
        font-size: 1.0625rem; /* Slightly bigger, more readable */
        line-height: 1.6;
    }
    
    .vision-description {
        font-size: 1.0625rem; /* Bigger */
        line-height: 1.6;
    }
    
    .split-image,
    .split-content {
        min-height: 50vh;
    }
    
    .capability-card {
        padding: 2rem;
    }
    
    .core-capabilities-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 UP on mobile */
        gap: 1rem; /* Tighter gap */
        margin-top: 2rem; /* Reduced from 4rem */
    }
    
    .core-capability-card {
        padding: 1.5rem; /* Less padding for compactness */
        aspect-ratio: 1 / 1; /* Keep square on mobile */
    }
    
    .capability-icon {
        width: 44px; /* Smaller icon on mobile */
        height: 44px;
        margin-bottom: 1rem;
    }
    
    .capability-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .core-capability-card h3 {
        font-size: 1rem; /* Smaller title on mobile */
        margin-bottom: 0.5rem;
        line-height: 1.25;
    }
    
    .core-capability-card p {
        font-size: 0.8125rem; /* Smaller text on mobile */
        line-height: 1.4;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-top: 2rem; /* Tighter */
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1.25rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-content,
    .full-bleed-content,
    .dark-content {
        padding: 0 1.25rem;
    }
    
    .split-content {
        padding: var(--spacing-lg) 1.25rem;
    }
    
    .image-stats-container {
        padding: 0 1.25rem;
    }
    
    /* Even tighter spacing on small phones */
    .mission-section,
    .core-capabilities-section,
    .vision-text-section {
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1.15;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
    }
    
    .core-capabilities-grid {
        gap: 0.75rem;
    }
    
    .core-capability-card {
        padding: 1.25rem;
        aspect-ratio: 1 / 1; /* Maintain square */
    }
    
    .capability-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }
    
    .capability-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .core-capability-card h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.4rem;
    }
    
    .core-capability-card p {
        font-size: 0.75rem;
        line-height: 1.35;
    }
}