* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@font-face {
    font-family: 'AOTFShinGoPro';
    src: url('fonts/AOTFShinGoProExLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Questrial';
    src: url('fonts/Questrial-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

.font-shingo {
    font-family: 'AOTFShinGoPro', sans-serif;
}

.font-questrial {
    font-family: 'Questrial', sans-serif;
}

/* Hamburger Menu Animation */
.hamburger-menu {
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger-menu:hover span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu:hover span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu:hover span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Lattice Mesh Styles */
.mesh-node {
    fill: #991b1b;
    stroke: #dc2626;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.mesh-node-center {
    fill: #dc2626;
    stroke: #ef4444;
    stroke-width: 3;
}

.mesh-node:hover {
    fill: #dc2626;
    stroke: #ef4444;
    stroke-width: 3;
}

.mesh-connection {
    stroke: #991b1b;
    stroke-width: 1;
    stroke-opacity: 0.3;
}

.mesh-connection-active {
    stroke: #dc2626;
    stroke-width: 2;
    stroke-opacity: 0.8;
}

.mesh-pulse {
    fill: #dc2626;
    opacity: 0;
}

@keyframes pulse {
    0% {
        r: 3;
        opacity: 1;
    }
    100% {
        r: 8;
        opacity: 0;
    }
}

/* AI Lattice Mesh Styles - Hexagonal Grid */
.ai-hex-node {
    fill: rgba(220, 38, 38, 0.15);
    stroke: rgba(220, 38, 38, 0.4);
    stroke-width: 1.5;
    transition: all 0.4s ease;
    transform-origin: center;
}

.ai-hex-node:hover {
    fill: rgba(220, 38, 38, 0.3);
    stroke: rgba(220, 38, 38, 0.7);
    stroke-width: 2;
}

.ai-hex-pulse {
    fill: rgba(220, 38, 38, 0.4);
    stroke: rgba(239, 68, 68, 0.8);
    stroke-width: 2.5;
    animation: hexPulse 0.6s ease-out;
}

@keyframes hexPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-mesh-connection {
    stroke: rgba(220, 38, 38, 0.25);
    stroke-width: 1;
    stroke-linecap: round;
}

.ai-data-flow {
    fill: rgba(239, 68, 68, 0.9);
    filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.6));
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    z-index: 40;
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #dc2626;
}

.faq-question:hover .faq-icon {
    color: #ef4444;
}

.faq-answer {
    max-height: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    transition: max-height 0.5s ease-in, padding 0.4s ease-in;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    color: #dc2626;
}

/* Waitlist Modal Styles */
#waitlistModal {
    animation: fadeIn 0.3s ease-in-out;
}

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

#waitlistModal.hidden {
    animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Slow Pulse Animation for Who We Are Section */
.animate-pulse-slow {
    animation: pulseSlow 8s ease-in-out infinite;
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}/* Scroll offset for anchor links to account for fixed header */
#products,
#about,
#faq,
#contact {
    scroll-margin-top: 100px;
}

/* Hero Slider */
