/* Global Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #af1e36;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --wave-color-1: rgba(37, 99, 235, 0.2);
    --wave-color-2: rgba(37, 99, 235, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Main Content Styles */
main {
    margin-top: 70px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 8rem 2rem 6rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-description {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    opacity: 0.9;
}

/* Wave Separator */
.wave-separator {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.wave-separator-reverse {
    transform: rotate(180deg);
}

.wave-separator svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave1 {
    fill: var(--wave-color-1);
    animation: wave 8s linear infinite;
}

.wave2 {
    fill: var(--wave-color-2);
    animation: wave 10s linear infinite;
    animation-delay: -2s;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Showcase Section */
.showcase {
    background-color: var(--light-bg);
    padding: 4rem 1rem;
}

.showcase-grid {
    display: flex;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    height: 70vh;
}

.showcase-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 0 0 calc(25% - 0.75rem);
    height: 100%;
    scroll-snap-align: start;
}

.showcase-item:hover {
    transform: translateY(-5px);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 30%;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.showcase-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0 auto;
    max-width: 90%;
}

/* Features Section */
.features {
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-grid, .converter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card, .converter-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover, .converter-card:hover {
    transform: translateY(-5px);
}

.feature-card i, .converter-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card img, .converter-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Download Section */
.download {
    background-color: var(--light-bg);
    text-align: center;
    padding: 4rem 2rem;
}

/* Footer Styles */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links {
    text-align: center;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    nav ul {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-item {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 1200px) {
    .showcase-item {
        flex: 0 0 calc(33.333% - 0.667rem);
    }
}

@media (max-width: 900px) {
    .showcase-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 600px) {
    .showcase-grid {
        height: 56vh;
    }

    .showcase-item {
        flex: 0 0 calc(100% - 1rem);
    }
    
    .showcase-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
        min-height: 40%;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
    }
} 