@font-face {
    font-family: 'BrotherSignature';
    src: url('./BrotherSignature-7BWnK.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #264653;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Lantern Font Styling */
.lantern-font {
    font-family: 'BrotherSignature', cursive;
    font-weight: normal;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.logo {
    font-size: 35px;
    font-weight: 700;
    color: #264653;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #264653;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2a9d8f;
}

/* Pages */
.page {
    display: none;
    padding-top: 80px;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: #E9C46A;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 60px;
    gap: 60px;
}

.hero-content h1 {
    font-size: 140px;
    font-weight: 700;
    color: #264653;
    line-height: 1;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 24px;
    color: #264653;
    margin-bottom: 40px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #264653;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #264653;
    color: white;
}

.btn-secondary:hover {
    background: #1a4d57;
    transform: translateY(-2px);
}

.hero-video {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    object-fit: contain;
    width: 100%; /* Take up the full width of the container */
    height: auto; /* Let the height be determined by the aspect ratio */
    aspect-ratio: 16 / 9; /* Sets the aspect ratio to 16:9 */
}




/* Video Styling */
video {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Section */
.section {
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #264653;
    text-align: center;
}

.section-subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 60px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* What is Lantern */
.what-is-lantern {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.lantern-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.lantern-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.benefits h3 {
    font-size: 48px;
    font-weight: 700;
    color: #2a9d8f;
    margin-bottom: 30px;
}

.benefit-item {
    font-size: 22px;
    margin: 20px 0;
    color: #264653;
}

.benefit-item strong {
    font-weight: 700;
}

/* Use Cases */
.use-cases {
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100vw;
    
}

.use-cases h2 {
    font-size: 56px;
    margin-bottom: 60px;
    margin-left: 60px;
}

.use-case-grid {
    display: flex;
    width: calc(100vw - 120px);
    margin-top: 40px;
    align-items: center;
    justify-content:space-between;
    padding: 60px;
}

.use-case-card {
    background: #E9C46A;
    border-radius: 20px;
    padding: 40px;
    width: 25vw;
    text-align: center;
}

.use-case-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 20px;
}

.use-case-card h3 {
    font-size: 32px;
    font-weight: 600;
    color: #264653;
}

/* Stats Bar */
.stats-bar {
    background: #264653;
    color: white;
    padding: 60px 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stat-item h3 {
    font-size: 72px;
    font-weight: 700;
    color: #E9C46A;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 24px;
    color: white;
}

/* Carousel */
.carousel-section {
    padding: 80px 60px;
    background: #f8f9fa;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide > div {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.carousel-slide iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 60px;
    background: white;
}

.cta-section h2 {
    font-size: 56px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 22px;
    color: #666;
    margin-bottom: 40px;
}

.cta-section .btn {
    background: #2a9d8f;
    color: white;
    font-size: 20px;
}

/* Researchers Page */
.researchers-hero {
    background: #2a9d8f;
    color: white;
    padding: 100px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.researchers-hero h1 {
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
}

.researchers-hero p {
    font-size: 24px;
    margin-bottom: 40px;
}

.exploded-view {
    background: white;
    border-radius: 20px;
    padding: 30px;
}

.exploded-view img {
    width: 100%;
    height: auto;
}

/* Build Documentation */
.build-docs {
    background: #f8f9fa;
}

.video-tutorial {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.video-tutorial h3 {
    font-size: 36px;
    color: #2a9d8f;
    margin-bottom: 30px;
}

.video-tutorial video {
    width: 100%;
    max-width: 900px;
    height: 500px;
    border-radius: 15px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resource-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.resource-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #264653;
}

.resource-card p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.resource-card .btn {
    font-size: 16px;
    padding: 12px 30px;
}

/* Parts Breakdown */
.parts-breakdown {
    margin-top: 80px;
}

.parts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.parts-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
}

.parts-section h3 {
    font-size: 32px;
    color: #2a9d8f;
    margin-bottom: 25px;
}

.part-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.part-item:last-child {
    border-bottom: none;
}

.part-name {
    font-weight: 600;
    color: #264653;
}

.part-price {
    color: #666;
}

.total-cost {
    border-top: 3px solid #2a9d8f;
    padding-top: 20px;
    margin-top: 20px;
}

.total-cost .part-price {
    color: #2a9d8f;
    font-weight: 700;
    font-size: 24px;
}

/* Downloads */
.downloads-section {
    background: #264653;
    color: white;
    padding: 80px 60px;
}

.downloads-section .section-title {
    color: white;
}

.downloads-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.download-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.download-card h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #264653;
}

.download-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .hero,
    .what-is-lantern,
    .researchers-hero {
        grid-template-columns: 1fr;
    }

    .use-case-grid,
    .resource-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content h1,
    .researchers-hero h1 {
        font-size: 64px;
    }

    .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-container,
    .section,
    .hero,
    .researchers-hero {
        padding: 40px 30px;
    }

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