/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #F7F7F7;
    overflow-x: hidden;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #FF6B6B;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-img {
    height: 40px;
    width: auto;
}

.app-preview {
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
    display: none;
}

@media (min-width: 992px) {
    .app-preview {
        display: block;
    }
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FF6B6B;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding: 0 30px;
    max-width: 800px;
    margin: 0 auto;
}

.logo-placeholder {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.hero-app-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeIn 1s ease-out;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    background: black;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.app-store-btn:hover,
.play-store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.app-store-btn::before,
.play-store-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.app-store-btn:hover::before,
.play-store-btn:hover::before {
    left: 100%;
}

.app-store-btn i,
.play-store-btn i {
    font-size: 2rem;
    margin-right: 10px;
}

.app-store-btn span,
.play-store-btn span {
    text-align: left;
    font-size: 0.8rem;
}

.app-store-btn span:first-child,
.play-store-btn span:first-child {
    font-size: 0.9rem;
}

.app-store-btn.large,
.play-store-btn.large {
    padding: 15px 25px;
}

.app-store-btn.large i,
.play-store-btn.large i {
    font-size: 2.5rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2C3E50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FF6B6B;
    border-radius: 2px;
}

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

.feature-card {
    background: #F7F7F7;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #FF6B6B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2C3E50;
}

.feature-card p {
    color: #7F8C8D;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #4ECDC4 0%, #FF6B6B 100%);
    color: white;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #FF6B6B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Download Section */
.download {
    padding: 100px 0;
    text-align: center;
    background-color: white;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2C3E50;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #7F8C8D;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #F7F7F7;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2C3E50;
}

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

.contact-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.contact-item i {
    font-size: 2.5rem;
    color: #FF6B6B;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2C3E50;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #2C3E50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: #FF6B6B;
}

/* Footer */
footer {
    background: #2C3E50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: #FF6B6B;
    margin-bottom: 15px;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FF6B6B;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background-color: white;
    text-align: center;
}

.screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2C3E50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.screenshots h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FF6B6B;
    border-radius: 2px;
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.screenshot-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-card:nth-child(1) {
    animation-delay: 0.1s;
}

.screenshot-card:nth-child(2) {
    animation-delay: 0.2s;
}

.screenshot-card:nth-child(3) {
    animation-delay: 0.3s;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-card .caption {
    padding: 20px;
    background: #F7F7F7;
    font-weight: 500;
}

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

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .app-buttons {
        justify-content: center;
    }

    .steps {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .features h2,
    .how-it-works h2,
    .download h2,
    .contact h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-btn,
    .play-store-btn {
        width: 80%;
        justify-content: center;
    }
}