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

/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Gradient background */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, 
        #00d2ff 0%, 
        #3a7bd5 20%, 
        #9d50bb 40%, 
        #ff00cc 60%,
        #ff8d00 80%, 
        #ffed00 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    z-index: -1;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    height: 36px;
    width: auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Main content */
main {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section {
    margin-bottom: 8rem;
    padding-top: 2rem;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Hero section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    
    text-align: center;
    margin-bottom: 0;
    padding-top: 0;
    box-sizing: border-box;
    padding-bottom: 2rem; /* Add some bottom padding */
}

.hero-content {
    max-width: 800px;
    width: 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

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

.btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.video-showcase {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.video-showcase h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.3rem);
}

.video-showcase p {
    text-align: center;
    color: #D3D3D3;
    margin-top: 1rem;
    margin-bottom: 3rem;
    
}

.video-container {
    position: relative;
    width: 100%;
    background: var(--card-bg-light);
    border-radius: 15px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.video-thumbnail video {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: all 0.3s ease;
    background: var(--card-bg-light);
}

.video-thumbnail.loaded video {
    opacity: 0.99;
    filter: blur(10px);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    transform: scale(1.1);
}

.video-thumbnail.playing video {
    opacity: 1;
    filter: none;
    -webkit-filter: none;
    -moz-filter: none;
    -o-filter: none;
    -ms-filter: none;
    transform: scale(1);
}

.play-button {
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
    background: var(--primary-color);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.play-button:hover {
    background: #3d7a34;
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

/* Hide play button when video is playing */
.video-thumbnail.playing .play-button {
    display: none;
}

/* Hide controls when video is not playing */
.video-thumbnail video::-webkit-media-controls {
    display: none !important;
}

.video-thumbnail.playing video::-webkit-media-controls {
    display: flex !important;
}

@media (max-width: 768px) {
    .video-showcase {
        padding: 2rem 1rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
    }
    
    .play-button i {
        font-size: 1.5rem;
    }

    .video-thumbnail video {
        filter: blur(5px);
        -webkit-filter: blur(5px);
        -moz-filter: blur(5px);
        -o-filter: blur(5px);
        -ms-filter: blur(5px);
    }
}

/* Video wrapper styling */
.video-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Hide the overlay as it's no longer needed */
.video-overlay {
    display: none;
}






/* Features section */
.features {
    padding-top: 6rem;
    position: relative;
}

.features h2 {
    font-size: clamp(2rem, 4vw, 2.3rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease, 
                background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}


.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.3s ease;
}

.feature-card:hover h3 {
    transform: translateY(-2px);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.feature-card:hover p {
    opacity: 1;
}

/* Download section */
.download {
    padding-top: 8rem;
}

.download h2 {
    font-size: clamp(2rem, 4vw, 2.3rem);
}

.download h1 {
    font-size: clamp(2rem, 4vw, 1.3rem);
    margin-bottom: 0.25rem;
    font-weight: 600;
}   

.download-header i {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.download-content h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.download-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-options {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(45deg, #0078d7, #00a2ff);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 1.25rem;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.download-btn i {
    font-size: 2.5rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.download-platform {
    font-size: 1.4rem;
    font-weight: 600;
}

.system-requirements {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1.25rem;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem 5%;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-small {
    height: 24px;
    width: auto;
}

.footer-logo p {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive design */
@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .video-container iframe {
        height: 450px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

/* iPad-specific adjustments */
@media (max-width: 820px) and (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 1rem 5%;
        justify-content: space-between;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .video-container iframe {
        height: 350px;
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .download-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .download-btn {
        padding: 1rem 1.5rem;
    }

    section {
        margin-bottom: 6rem;
    }
    
    .features {
        padding-top: 4rem;
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 0.75rem;
    }

    nav ul {
        gap: 0.75rem;
    }

    .hero {
        min-height: 80vh;
        height: 80vh;
        padding-top: 0px; /* Account for header height */
    }

    .hero-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        height: 240px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
    
    .download-btn {
        padding: 1rem 1.5rem;
    }
    
    .download-btn i {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .download-content h2 {
        font-size: 1.75rem;
    }

    .download-content > p {
        font-size: 1rem;
    }
} 