/* Base Styles */
:root {
    --primary-color: #6C5CE7; /* Main app color from ColorScheme.fromSeed */
    --primary-light: rgba(108, 92, 231, 0.1);
    --secondary-color: #a29bfe;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-btn:hover {
    background-color: #5a4ad4;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.secondary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

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

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

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

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

.nav-links a {
    font-weight: 500;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 120px 0 80px;
    overflow: hidden;
    z-index: 1;
    background-image: url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.hero > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.features h2 {
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-light);
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--light-text);
}

/* App Screens Section */
.app-screens {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.app-screens h2 {
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.app-screens h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.screens-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0 60px;
}

.screen-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding: 20px 10px;
    scrollbar-width: none; /* Firefox */
}

.screen-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.screen {
    flex: 0 0 250px;
    scroll-snap-align: start;
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.screen:hover {
    transform: scale(1.05);
}

.screen img {
    width: 100%;
    height: auto;
    border-radius: 24px 24px 0 0;
}

.screen-info {
    padding: 20px;
    text-align: left;
}

.screen-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.screen-info p {
    font-size: 14px;
    color: var(--light-text);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: #5a4ad4;
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Download Section */
.download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.download-content {
    flex: 1;
    max-width: 550px;
}

.download-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.download-content p {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--text-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.download-btn i {
    font-size: 24px;
}

.download-btn span {
    display: flex;
    flex-direction: column;
}

.download-btn small {
    font-size: 10px;
    font-weight: 400;
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: #f9f9f9;
    padding: 80px 20px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.footer-logo h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-logo a {
    color: inherit;
    text-decoration: none;
}

.footer-logo a:hover h3 {
    color: var(--secondary-color);
}

.footer-logo p {
    color: var(--light-text);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}



.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero, .download {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .download-content {
        margin-bottom: 60px;
        max-width: 100%;
    }

    .cta-buttons, .download-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background-color: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateX(100%);
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

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

    .nav-links li {
        margin: 15px 0;
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 30px;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 576px) {
    .cta-buttons, .download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .feature-card {
        padding: 30px 15px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.active {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
} 