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

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #0066ff;
    --text-gray: #666666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --hover-color: #0052cc;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 2rem;
    position: fixed;
    width: calc(100% - 16rem);
    left: 8rem;
    right: 8rem;
    top: 1rem;
    z-index: 1000;
    border-radius: 8px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Default state - white text for video section */
.navbar .nav-logo a,
.navbar .nav-search,
.navbar .nav-menu-button {
    color: var(--secondary-color);
}

.navbar .nav-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.navbar .nav-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* After passing video - switch to dark text */
.navbar.past-video {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.past-video .nav-logo a,
.navbar.past-video .nav-search,
.navbar.past-video .nav-menu-button {
    color: var(--primary-color);
}

.navbar.past-video .nav-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.navbar.past-video .nav-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.15s ease;
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    border: 1px solid;
}

.nav-search,
.nav-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.nav-search:hover,
.nav-menu-button:hover {
    opacity: 0.7;
}


/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.video-hero {
    margin-top: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #1a1a1a;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-cta.primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.hero-cta.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.hero-cta.secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-color);
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* Content wrapper for parallax */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Parallax spacer */
.parallax-spacer {
    height: 0;
    background: transparent;
    position: relative;
}

/* Carousel Section */
.carousel-section * {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.carousel-section {
    position: relative;
    height: 100vh;
    background-color: #f5f5f5;
    overflow: hidden;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: column;
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    margin-top: 0;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.15);
    padding-top: 4rem;
}

.carousel-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: column;
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    position: relative;
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
}

.carousel-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 40px;
}

.carousel-label {
    display: inline-block;
    color: #00ffff;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.carousel-header h2 {
    font-size: 1.75rem;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.3;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    flex: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding: 0 100px;
    min-height: calc(100vh - 200px);
    height: calc(100vh - 200px);
    max-width: 100vw;
    box-sizing: border-box;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    z-index: 10;
}

.carousel-nav-prev {
    left: 150px;
}

.carousel-nav-next {
    right: 150px;
}

.carousel-wrapper:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.carousel-nav svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.carousel-track {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: row;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: -ms-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), -ms-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    height: 100%;
    gap: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    width: max-content;
}

.carousel-slide {
    position: relative;
    float: left;
    flex: 0 0 calc(100vw - 240px);
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc(100vw - 240px);
    -ms-flex: 0 0 calc(100vw - 240px);
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    min-width: calc(100vw - 240px);
    max-width: calc(100vw - 240px);
    width: calc(100vw - 240px);
    height: 85%;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.6;
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
    margin: 0 20px;
    box-sizing: border-box;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
}

.slide-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.slide-image:hover {
    transform: scale(1.02);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.slide-category {
    display: inline-block;
    color: #00ffff;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slide-overlay h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.slide-overlay p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Carousel Slide Links */
.slide-link {
    display: block;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.slide-link:hover .slide-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.slide-link:hover .slide-overlay h3 {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #00ffff;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.indicator:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Carousel Title Squares */
.carousel-titles {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 2rem 160px 0;
    margin-bottom: 1rem;
    z-index: 10;
    flex-wrap: wrap;
}

.title-square {
    position: relative;
    padding: 0.5rem 1.25rem;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.title-square.active {
    background-color: #e8e8e8;
}

.title-square:hover:not(.active) {
    background-color: #e5e5e5;
}

.title-text {
    position: relative;
    z-index: 2;
    color: #999999;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
}

.title-square.active .title-text {
    color: #1a1a1a;
    font-weight: 500;
}

/* Progress bar implementation */
.title-square::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #d0d0d0;
    z-index: 1;
    transition: none;
}

.title-square.active::before {
    animation: progressFill 4.95s linear forwards;
}

@keyframes progressFill {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

/* Mission Statement Section */
.mission-statement {
    padding: 10rem 12rem;
    background-color: #ffffff;
}

.mission-text {
    font-size: 3rem !important;
    font-weight: 300;
    line-height: 1.3;
    text-align: left;
    color: #1a1a1a;
    max-width: 100%;
    margin: 0;
    letter-spacing: -0.02em;
    transform: translateY(50px);
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-text.visible {
    transform: translateY(0);
}

.mission-text .ai-driven {
    color: #b0b0b0;
    font-weight: 300;
    position: relative;
    display: inline;
}

.mission-text .ai-driven::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #ffffff;
    animation: none;
}

.mission-text .ai-driven.typing::after {
    animation: revealText 0.8s steps(9, end) forwards;
}

@keyframes revealText {
    from {
        left: 0;
    }
    to {
        left: 100%;
    }
}

/* Interactive Features Section */
.interactive-features {
    background-color: #ffffff;
    width: 100%;
    position: relative;
}

.interactive-features .container {
    max-width: 100%;
    padding: 0 160px;
    margin: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    margin: 0 -160px;
}

.feature-item {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 40vh;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0 160px;
}

.feature-item:hover {
    background-color: #f5f5f5;
}

.feature-item:hover .feature-video-container {
    background-color: #f5f5f5;
}

.feature-description {
    flex: 0.7;
    padding: 1rem 2rem;
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.feature-description p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

.feature-video-container {
    flex: 2;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 1rem 0.5rem 4rem 0.5rem;
    transition: background-color 0.3s ease;
}

.feature-video {
    position: absolute;
    top: 1rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 4rem;
    width: calc(100% - 1rem);
    height: calc(100% - 5rem);
    object-fit: cover;
    opacity: 0;
    transition: none;
    display: block;
}

.feature-item:hover .feature-video {
    opacity: 1;
}

.feature-title {
    flex: 1;
    padding: 0 0 0 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 50%;
}

.feature-title h3 {
    font-size: 10rem;
    font-weight: 600;
    color: #000000;
    margin: -0.2em 0 0 0;
    text-align: left;
    transition: color 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.05em;
}

.feature-item:hover .feature-title h3 {
    color: #0066ff;
    transform: translateX(15px);
}

/* Build Section */
.build-section {
    padding: 5rem 160px;
    background-color: #e0e0e0;
}

.build-content {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.build-image {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.build-text {
    flex: 1;
    padding: 4rem;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.build-text h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #000000;
    line-height: 1.2;
}

.build-text p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 2.5rem;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #000000;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.learn-more-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 160px;
    background-color: #ffffff;
    /* Removed overflow: hidden to allow carousel to extend beyond section padding */
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: left;
    margin: 0 0 3rem 0;
    padding: 1rem 160px 0 160px;
    color: #000000;
    position: relative;
    overflow: visible;
    white-space: nowrap;
    min-height: 3.5rem;
}

.testimonials-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 160px;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}


/* Cursor styles removed */

.testimonials-carousel {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    padding: 2rem 160px;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 300px;
    background-color: #f5f5f5;
    padding: 3rem;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 45px) 0, 100% 45px, 100% 100%, 0 100%);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.company-name {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #999999;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333333;
    font-style: normal;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    quotes: '"' '"';
}

.testimonial-text::before {
    content: open-quote;
    font-size: 1.5rem;
    line-height: 0;
    margin-right: 0.25rem;
    vertical-align: -0.2em;
    color: #666666;
}

.testimonial-text::after {
    content: close-quote;
    font-size: 1.5rem;
    line-height: 0;
    margin-left: 0.25rem;
    vertical-align: -0.2em;
    color: #666666;
}

/* Animation continues on hover */

/* Platforms Section */
.platforms {
    padding: 5rem 0;
    background-color: #ffffff;
}

.platforms h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.platform-card {
    border: 1px solid var(--border-gray);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

.platform-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
}

.platform-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.platform-card > p:first-of-type {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.platform-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.platform-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.platform-link:hover {
    color: var(--hover-color);
}

/* Recognition Section */
.recognition {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.recognition h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.recognition-content {
    text-align: center;
}

.recognition-item {
    margin-bottom: 3rem;
}

.recognition-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.recognition-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.recognition-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 160px;
    background-color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-box {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.cta-demo {
    background-color: #e0e0e0;
    color: #000000;
}

.cta-build {
    background-color: #2a2a2a;
    color: #ffffff;
}

.cta-text {
    font-size: 2.5rem;
    font-weight: 400;
}

.cta-arrow {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.cta-box:hover .cta-arrow {
    transform: translateX(10px);
}

.cta-demo:hover {
    background-color: #d0d0d0;
}

.cta-build:hover {
    background-color: #1a1a1a;
}

/* Footer */
.footer {
    background-color: #ffffff;
    color: #000000;
    padding: 4rem 160px 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer .container {
    max-width: 1400px;
}

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

.footer-column {
    flex: 1;
    min-width: 0;
}

.footer-info {
    flex: 0 0 250px;
}

.copyright {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.rights {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-spacer {
    height: 2rem;
}

.cookies-settings {
    display: inline-block;
    font-size: 0.875rem;
    color: #000000;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.cookies-settings:hover {
    text-decoration: underline;
}

.region-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.region-selector span {
    font-size: 0.875rem;
    cursor: pointer;
}

.region-selector span:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #000000;
    border-radius: 20px;
    text-decoration: none;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #000000;
    color: #ffffff;
}


.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #666666;
}

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

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

.footer-column ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 0.7;
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .mission-statement,
    .cta-section,
    .footer {
        padding-left: 80px;
        padding-right: 80px;
    }
    
    .testimonials-section {
        padding: 5rem 0;
    }
    
    .testimonials-title {
        padding: 1rem 80px 0 80px;
    }
    
    .testimonials-title::before {
        left: 80px;
    }
    
    
    .build-section {
        padding: 5rem 80px;
    }
    
    .interactive-features .container {
        padding: 0 80px;
    }
    
    .feature-list {
        margin: 0 -80px;
    }
    
    .feature-item {
        padding: 0 80px;
    }
    
    .testimonials-carousel {
        padding: 2rem 80px;
    }
    
}

/* Desktop layout */
@media (min-width: 1025px) {
    .footer-content {
        display: flex !important;
        flex-direction: row !important;
    }
}

/* Ensure desktop layout for feature items */
@media (min-width: 769px) {
    .feature-item {
        display: grid !important;
        grid-template-columns: 0.7fr 1fr 2fr !important;
        height: 40vh !important;
        min-height: 250px;
        max-height: 400px;
        align-items: stretch;
    }
    
    .feature-description {
        order: 1 !important;
        grid-column: 1;
        height: 100%;
        padding-left: 0;
    }
    
    .feature-video-container {
        order: 2 !important;
        grid-column: 2;
        height: 100%;
    }
    
    .feature-title {
        order: 3 !important;
        grid-column: 3;
        height: 50%;
        align-self: start;
        padding-right: 0;
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .mission-statement {
        padding: 8rem 6rem;
    }
}

@media (max-width: 1024px) {
    .mission-statement {
        padding: 6rem 4rem;
    }
    
    .mission-text {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        padding: 3rem 0;
    }

    .carousel-header h2 {
        font-size: 1.75rem;
    }

    .carousel-wrapper {
        padding: 0 20px;
    }

    .carousel-slide {
        flex: 0 0 calc(100vw - 60px);
        height: calc(100% - 20px);
    }

    .slide-overlay {
        padding: 1.5rem;
    }

    .slide-overlay h3 {
        font-size: 1.25rem;
    }

    .slide-overlay p {
        font-size: 0.85rem;
    }

    .carousel-titles {
        gap: 0.25rem;
        padding: 1rem 20px 0;
        flex-wrap: wrap;
    }

    .title-square {
        padding: 0.4rem 1rem;
    }

    .title-text {
        font-size: 0.75rem;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo a span {
        display: none;
    }

    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .nav-search {
        display: none;
    }

    .nav-actions {
        gap: 0.5rem;
    }
}

/* Page Transition Enhancements */
.carousel-slide {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-slide:hover {
    transform: scale(1.02);
}

/* Ensure smooth rendering during transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent layout shift during transitions */
html {
    overflow-x: hidden;
}

/* Smooth transition for links */
.slide-link {
    display: block;
    height: 100%;
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

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

    .recognition-stats {
        grid-template-columns: 1fr;
    }
    
    .mission-text {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .mission-statement {
        padding: 3rem 2rem;
    }
    
    .mission-text {
        font-size: 1.75rem !important;
        line-height: 1.4;
    }
    
    .interactive-features .container {
        padding: 0 40px;
    }
    
    .feature-list {
        margin: 0 -40px;
    }
    
    .build-section {
        padding: 3rem 40px;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-title {
        padding: 1rem 20px 0 20px;
        font-size: 1.75rem;
        white-space: normal; /* Allow wrapping on mobile */
        min-height: auto;
    }
    
    .testimonials-title::before {
        left: 20px;
    }
    
    
    /* Cursor removed */
    
    .testimonials-carousel {
        padding: 2rem 20px;
    }
    
    .cta-section {
        padding: 3rem 40px;
    }
    
    .footer {
        padding: 3rem 40px 2rem;
    }
    
    .feature-list {
        gap: 1rem;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        height: auto;
        width: 100%;
        padding: 0 40px;
    }
    
    .feature-description,
    .feature-video-container,
    .feature-title {
        padding: 1.5rem;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .feature-title {
        border-bottom: none;
    }
    
    .feature-description {
        order: 2;
    }
    
    .feature-video-container {
        height: 200px;
        order: 1;
    }
    
    .feature-title {
        font-size: 1.25rem;
        order: 3;
    }
    
    /* Build Section Mobile */
    .build-section {
        padding: 3rem 40px;
    }
    
    .build-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .build-image {
        height: 250px;
    }
    
    .build-text {
        text-align: left;
        padding: 2rem;
    }
    
    .build-text h2 {
        font-size: 2rem;
    }
    
    .build-text p {
        font-size: 1rem;
    }
    
    .learn-more-btn {
        align-self: center;
        width: 100%;
        text-align: center;
    }
    
    /* Testimonials Mobile */
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
        padding: 2rem;
        height: 250px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    /* CTA Mobile */
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-text {
        font-size: 1.5rem;
    }
    
    .cta-arrow {
        font-size: 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-info {
        flex: 1;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .footer-column {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
}