/* landing-page.css */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&display=swap');

/* General body styles from chars.css are already applied if linked first.
   We can override or add specifics here. */
body {
    margin: 0;
    background-color: #0F0F11; /* Dark background */
    color: #E1E1E6; /* Light text color for readability */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex; /* Ensure body takes full height for the container */
    flex-direction: column; /* Stack header and main content */
    min-height: 100vh;
    font-weight: 300; /* Lighter font weight for the whole page */
}

.landing-container-no-sidebar { /* Updated class name */
    display: flex;
    flex-direction: column; /* Stack header and main content */
    width: 100%;
    flex-grow: 1; /* Allow it to take available space */
}

/* Main Header Styles (Replaces Sidebar) */
.main-header {
    display: flex;
    align-items: center;
    padding: 10px 20px; /* Reduced horizontal padding */
    background-color: rgba(15, 15, 17, 0.9); /* Darker header color matching body background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    width: calc(100% - 40px);
    max-width: 1200px;
    box-sizing: border-box;
    height: 60px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.main-header.visible {
    opacity: 1;
    pointer-events: auto;
}

.header-logo {
    flex-shrink: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
}

#oto-logo {
    height: 30px;
    width: auto;
    display: block;
}

.header-search {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.header-search input[type="search"] {
    width: 100%;
    max-width: 800px;
    padding: 20px 25px;
    background-color: #282A2D; /* Search bar background */
    border: 1px solid #36383B; /* Search bar border */
    border-radius: 30px;
    color: #E1E1E6;
    font-size: 1.2em;
}

.header-search input[type="search"]::placeholder {
    color: #A8A8B3; /* Placeholder text */
}

.header-install {
    flex-shrink: 0;
    margin-left: auto;
}

.install-button {
    background-color: transparent;
    color: #FFA94D; /* Accent color */
    border: 2px solid #FFA94D; /* Thinner border */
    padding: 8px 12px; /* Adjusted padding */
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500; /* Normal font weight */
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-size: 0.95em; /* Slightly smaller font size */
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.install-button .chrome-icon-light {
    display: none;
}

.install-button:hover .chrome-icon-dark {
    display: none;
}

.install-button:hover .chrome-icon-light {
    display: inline-block;
}

.install-button img {
    width: 18px; /* Increased icon size */
    height: 18px;
    margin-right: 8px;
}

.install-button:hover {
    background-color: #FFA94D;
    color: #1F2020;
    box-shadow: 0 4px 8px rgba(255, 245, 198, 0.3);
}

.install-button:active {
    transform: scale(0.95);
    background-color: #b0d9f0; /* Slightly darker accent */
}


/* Main Content Styles */
.main-content {
    flex-grow: 1;
    padding-top: 0;
    overflow-y: auto;
    background-color: #0F0F11;
    width: 100%;
    box-sizing: border-box;
}

.content-wrapper {
    padding: 30px 20px; /* Reduced horizontal padding */
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Styles */
.hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 0;
    margin-top: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0px 0px 15px #000000, 0px 0px 15px #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.hero-logo {
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Dim video for text visibility */
}


.hero-section p {
    font-family: 'Manrope', sans-serif;
    font-size: 2em;
    color: #E1E1E6; /* Lighter paragraph text */
    max-width: 800px;
    margin: 0 auto 40px; /* Add margin to the bottom */
    font-weight: 800;
}

.social-media-bar {
    display: flex;
    justify-content: center;
    padding: 30px;
    gap: 40px;
}

.social-icon img {
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
}

.social-icon:hover img {
    transform: scale(1.1);
}

/* Evolution Section */
.evolution-section {
    padding: 30px 20px;
    text-align: center;
    background-color: #1A1A1D;
}

.section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 40px;
    font-weight: 800;
}

.section-subtitle {
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #A8A8B3;
    font-size: 1.5em;
    line-height: 1.6;
}

.evolution-main-image {
    margin-bottom: 40px;
}

.evolution-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.evolution-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.evolution-step {
    flex-basis: 30%;
    min-width: 250px;
}

.evolution-step img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evolution-step img:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.evolution-step p {
    color: #A8A8B3;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Powered By Section */
.powered-by-section {
    padding: 40px 0 60px 0;
    background-color: #0F0F11;
    overflow: hidden;
    text-align: center;
}

.logo-treadmill {
    display: flex;
    width: max-content;
}

.logo-treadmill-track {
    display: flex;
    animation: treadmill 30s linear infinite;
}

.logo-treadmill img {
    height: 60px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-treadmill img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes treadmill {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Footer */
.main-footer-container {
    background-color: #1A1A1D;
    padding: 20px;
    text-align: center;
}

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

.copyright-text {
    color: #A8A8B3;
    font-size: 0.9em;
    margin-top: 15px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-link {
    color: #A8A8B3;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-link-separator {
    color: #A8A8B3;
    margin: 0 5px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
