@font-face {
    font-family: 'Robot Dreamer';
    src: url('font/robot_dreamer/Robot Dreamer.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Robot Dreamer';
    src: url('font/robot_dreamer/Robot Dreamer Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: rgba(255, 255, 255, 0.6);
    --gray-medium: rgba(255, 255, 255, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Robot Dreamer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

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

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 8px 16px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.nav-list a:hover {
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8), 0 0 160px rgba(255, 255, 255, 0.6);
    /* Super intensified text glow */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 40px 40px;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-text {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(28px, 4vw, 60px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: titleDisappearReappear 8s ease-in-out infinite;
}

.title-line:nth-child(1) {
    animation-delay: 0s;
}

.title-line:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes titleDisappearReappear {

    0%,
    37.5% {
        opacity: 1;
        transform: translateY(0);
    }

    42.5%,
    95% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-light);
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: subtitleReveal 1s ease-out 0.6s forwards;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
    align-self: flex-end;
    opacity: 0;
    transform: translateY(20px);
    animation: ctaReveal 1s ease-out 0.8s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.5s ease;
    color: var(--white);
    z-index: 10;
}

.scroll-indicator.visible {
    opacity: 1;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 500;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

@keyframes ctaReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translate(4px, -4px);
}



/* Product Section */
.product-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
}

.product-content {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.product-text {
    max-width: 600px;
}

.product-title {
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.product-description {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-light);
    max-width: 500px;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.product-link:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.product-link svg {
    transition: transform 0.3s ease;
}

.product-link:hover svg {
    transform: translate(4px, -4px);
}

/* Slider Styles */
/* Slider Styles */
.product-image-container {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    /* overflow: visible; Allow scaling items to be visible if needed, but container might clip. 
       Let's keep clips for now, but ensure enough height. */
}

.product-slider {
    position: relative;
    width: 100%;
    height: 600px;
    /* Fixed height for carousel */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* animation removed */
}

.slide {
    position: absolute;
    width: 300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: scale(0.6) translateX(0);
    z-index: 1;
    cursor: pointer;
}

/* Position Classes controlled by JS */
.slide.prev {
    transform: translateX(-350px) scale(0.8);
    opacity: 0.5;
    z-index: 5;
    transition: all 0.4s ease;
}

.slide.prev:hover,
.slide.next:hover {
    opacity: 0.8;
}

.slide.active {
    transform: translateX(0) scale(1.3);
    opacity: 1;
    z-index: 10;
    cursor: pointer;
}

.slide.next {
    transform: translateX(350px) scale(0.8);
    opacity: 0.5;
    z-index: 5;
}

.product-image {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    /* Default: slight blur for "Coming Soon" state */
    filter: blur(1.5px) brightness(0.9) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: filter 0.4s ease;
}

.slide.prev .product-image,
.slide.next .product-image {
    filter: blur(2.5px) brightness(0.7) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.slide.prev:hover .product-image,
.slide.next:hover .product-image {
    filter: blur(1.2px) brightness(0.9) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.coming-soon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(18px, 2.2vw, 28px);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.slide-label {
    position: absolute;
    bottom: -50px;
    /* Hidden by default or pushed down */
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Glow/Cinema Effect Background */
.slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: all 1.2s ease;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.slide.active::before {
    width: 500px;
    height: 500px;
    opacity: 0.5;
    background: radial-gradient(circle, rgba(200, 220, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
}

.slide.active .slide-label {
    opacity: 1;
    bottom: -50px;
    /* Pushed further down to sit below the image */
}


/* Tech Section */
.tech-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 40px;
    background: var(--black);
}

.tech-content {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tech-text {
    max-width: 600px;
}

.tech-title {
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.tech-description {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-light);
    max-width: 500px;
}

.tech-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tech-link:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.tech-link svg {
    transition: transform 0.3s ease;
}

.tech-link:hover svg {
    transform: translate(4px, -4px);
}

/* Company Section */
.company-section {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px;
    scroll-margin-top: 120px;
}

.company-inner {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.company-content {
    max-width: 920px;
    margin: 0 auto;
}

.company-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.company-description {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 28px;
    line-height: 1.5;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.company-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 18px 16px;
}

.company-card-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.company-card-text {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.55;
}

.company-list {
    margin: 0;
    padding-left: 18px;
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.55;
}

.company-list li + li {
    margin-top: 6px;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px;
    /* Prevent fixed header from covering the section on anchor jumps */
    scroll-margin-top: 120px;
}

.newsletter-inner {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

.newsletter-content {
    max-width: 720px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 48px;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.newsletter-description {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-field {
    flex: 1;
    min-width: 280px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-light);
}

.input-animated {
    position: relative;
    border-radius: 4px;
    overflow: visible;
}

.input-animated::before {
    /* Back glow (like product section) */
    content: "";
    position: absolute;
    inset: -135px;
    background: radial-gradient(circle, rgba(200, 220, 255, 0.22) 0%, rgba(255, 255, 255, 0) 72%);
    opacity: 0;
    filter: blur(22px);
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.input-animated:focus-within::before {
    opacity: 0.55;
}

.input-animated-inner {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
}

.input-animated-inner::before {
    /* Animated shimmer inside the input */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.035) 0%,
            rgba(255, 255, 255, 0.14) 42%,
            rgba(255, 255, 255, 0.035) 75%);
    background-size: 220% 100%;
    animation: newsletterInputShimmer 3.6s linear infinite;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
}

.input-animated:focus-within .input-animated-inner::before {
    opacity: 1;
}

.form-field input {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-size: 16px;
    /* Use a clean UI font so characters like '@' render normally */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
    min-height: 48px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.form-field input::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
}

.form-field input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

@keyframes newsletterInputShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .input-animated-inner::before {
        animation: none;
    }
}

.newsletter-submit {
    padding: 12px 24px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    min-height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    background: var(--gray-light);
}

.footer-social {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.6;
}

.footer-social a.footer-social__linkedin {
    transition: color 0.5s ease, opacity 0.3s ease;
}

.footer-social a.footer-social__linkedin:hover {
    color: #0A66C2;
    opacity: 1;
}

.footer-contact-btn {
    padding: 12px 24px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-contact-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.footer-bottom {
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-medium);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--black);
        flex-direction: column;
        padding: 40px;
        gap: 32px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero-cta {
        align-self: flex-start;
    }

    .product-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .product-link {
        align-self: flex-start;
    }

    .tech-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .tech-link {
        align-self: flex-start;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 0 24px;
    }

    .hero-content {
        padding: 0 24px 60px;
    }

    .product-section,
    .tech-section,
    .newsletter-section {
        padding: 80px 24px;
    }

    .product-image-container {
        padding: 0 24px;
    }

    .footer-main,
    .footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .form-field {
        min-width: 100%;
    }

    .newsletter-submit {
        width: 100%;
        margin-top: 0;
    }
}