
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3a86ff;
    --secondary-color: #ffbe0b;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #ffffff;
    --text-secondary-color: #adb5bd;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

header {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: background 0.3s ease;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

#hero {
    min-height: 100vh; /* Make hero section full screen */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d324d, #3a86ff, #78b5ff);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    padding: 100px 0; /* Add padding for smaller screens */
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem; /* Adjusted for balance */
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.1rem; /* Adjusted for balance */
    color: var(--text-secondary-color);
    max-width: 600px;
    margin: 0 auto 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

/* Video Container Styles */
.video-container {
    width: 100%;
    max-width: 640px; /* Control max video size */
    margin: 20px auto 30px auto; /* Center it and add space */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


section {
    padding: 80px 0;
}

section:nth-of-type(odd) {
    background-color: var(--surface-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:nth-of-type(odd) .feature-item {
    background-color: #2a2a2a;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.feature-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.screenshot-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

#cta {
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

#cta h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: scale(1.05);
}

.store-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.store-btn-text {
    text-align: left;
}

.store-btn-text span {
    font-size: 12px;
    display: block;
}

.store-btn-text strong {
    font-size: 16px;
}

footer {
    text-align: center;
    padding: 40px 0;
    background: var(--background-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplification for this example */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated.visible {
    opacity: 1;
    transform: translateY(0);
}
