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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #1E0E3E;
    line-height: 1.6;
}

/* Landing Page Container */
.landing-page {
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 16rem;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 80px;
}

.app-icon {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin-right: 1rem;
}

.nav-playstore-btn {
    display: flex;
    align-items: center;
}

.nav-playstore-btn img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-playstore-btn:hover img {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1E0E3E;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #666;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.playstore-btn {
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.playstore-btn img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floatIn 1s ease-out;
    padding: 2rem;
    max-width: 50%;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
    max-height: 700px;
    object-fit: contain;
}

.character-image {
    position: absolute;
    right: -50px;
    bottom: 0;
    height: 80%;
    width: auto;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 6rem 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
    padding: 2rem;
}

.mockup-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    border-radius: 20px;
    transition: all 0.3s ease;
    max-height: 600px;
    object-fit: contain;
}

.mockup-image:hover {
    transform: scale(1.02) translateY(-5px);
    filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.2));
}

.features-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out 0.2s forwards;
}

.features-content h2 {
    font-size: 2.5rem;
    color: #1E0E3E;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h3 {
    color: #2B60DB;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: #666;
}

.feature-item ul {
    list-style: none;
    margin-top: 1rem;
}

.feature-item li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Stats Section */
.stats {
    padding: 6rem 4rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(43, 96, 219, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(107, 47, 188, 0.1);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-color: #f8f2ff;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: #2B60DB;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #1E0E3E;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: #666;
    font-size: 1.1rem;
}

/* App Interface Section */
.app-interface {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-interface h2 {
    font-size: 3rem;
    color: #1E0E3E;
    margin-bottom: 4rem;
    font-weight: 700;
}

.interface-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.interface-track {
    display: flex;
    width: calc(350px * 8); /* 4 cards * 2 sets */
    animation: scroll 30s linear infinite;
}

.interface-track:hover {
    animation-play-state: paused;
}

.interface-card {
    flex: 0 0 350px;
    padding: 0 20px;
    transition: all 0.5s ease;
}

.interface-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(43, 96, 219, 0.15);
    transition: all 0.5s ease;
    object-fit: contain;
    max-height: 600px;
}

.interface-card:hover .interface-image {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(43, 96, 219, 0.15);
}

/* Auto Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 4)); /* Move by width of 4 cards */
    }
}

/* Add gradient overlay to indicate more content */
.interface-slider::before,
.interface-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.interface-slider::before {
    left: 0;
    background: linear-gradient(to right, #f8f9ff 0%, transparent 100%);
}

.interface-slider::after {
    right: 0;
    background: linear-gradient(to left, #f8f9ff 0%, transparent 100%);
}

/* Responsive Design for App Interface */
@media (max-width: 1200px) {
    .interface-track {
        width: calc(250px * 8);
    }
    
    .interface-card {
        flex: 0 0 250px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 4));
        }
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 7rem 2rem 3rem;
        gap: 3rem;
    }

    .hero-content {
        padding-right: 0;
        align-items: center;
        max-width: 100%;
    }

    .hero-image {
        max-width: 80%;
        padding: 1rem;
    }

    .top-nav {
        padding: 1rem 2rem;
        height: 70px;
    }

    .app-icon {
        height: 50px;
        width: 50px;
    }

    .nav-playstore-btn img {
        height: 40px;
    }

    .app-interface {
        padding: 4rem 1rem;
    }

    .app-interface h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .interface-track {
        width: calc(200px * 8);
    }
    
    .interface-card {
        flex: 0 0 200px;
        padding: 0 10px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 4));
        }
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }

    .hero-image {
        max-width: 90%;
        padding: 0.5rem;
    }

    .top-nav {
        padding: 0.75rem 1rem;
        height: 60px;
    }

    .app-icon {
        height: 40px;
        width: 40px;
    }

    .nav-playstore-btn img {
        height: 35px;
    }

    .interface-track {
        width: calc(180px * 8);
    }
    
    .interface-card {
        flex: 0 0 180px;
        padding: 0 8px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 4));
        }
    }

    .app-interface h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .interface-slider::before,
    .interface-slider::after {
        width: 50px;
    }
}

/* Circle Decoration */
.circle-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 30px solid rgba(43, 96, 219, 0.1);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    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%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-20px);
    }
}

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

/* Footer */
footer {
    background-color: white;
    padding: 4rem;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

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

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-right h3 {
    color: #1E0E3E;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: #2B60DB;
    transform: translateX(5px);
}

.footer-links a::before {
    content: "→";
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .interface-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .hero {
        padding: 6rem 2rem 4rem;
    }
    
    .character-image {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .character-image {
        display: none;
    }

    .features {
        flex-direction: column;
        padding: 4rem 1rem;
    }

    .features-content {
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-left {
        align-items: center;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }

    .footer-links a:hover {
        transform: translateY(-2px);
    }

    .footer-links a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .top-nav {
        padding: 0.5rem 1rem;
    }

    .app-icon {
        height: 40px;
    }

    .nav-playstore-btn img {
        height: 30px;
    }

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

    .stat-item {
        min-width: 100%;
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhance button animations */
.playstore-btn {
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.playstore-btn:hover {
    transform: scale(1.05) translateY(-2px);
    filter: brightness(1.05);
}

/* Add hover effects to navigation */
.nav-playstore-btn {
    transition: all 0.3s ease;
}

.nav-playstore-btn:hover {
    transform: scale(1.05) translateY(-2px);
    filter: brightness(1.05);
}

/* About Section Styles */
.about-section {
    padding: 8rem 4rem 4rem;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(43, 96, 219, 0.08);
    animation: fadeInUp 0.8s ease-out;
}

.about-content h1 {
    font-size: 3rem;
    color: #1E0E3E;
    margin-bottom: 2rem;
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-description .highlight {
    font-size: 1.4rem;
    color: #2B60DB;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-description h2 {
    font-size: 1.8rem;
    color: #1E0E3E;
    margin: 2rem 0 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    position: relative;
}

.about-description p {
    margin-bottom: 1.5rem;
}

.about-description a {
    color: #2B60DB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-description a:hover {
    color: #1E0E3E;
    text-decoration: underline;
}

/* Responsive styles for About page */
@media (max-width: 768px) {
    .about-section {
        padding: 7rem 2rem 3rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .about-content h1 {
        font-size: 2.5rem;
    }

    .about-description .highlight {
        font-size: 1.2rem;
    }

    .about-description h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 6rem 1rem 2rem;
    }

    .about-content {
        padding: 1rem;
    }

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

    .about-description {
        font-size: 1rem;
    }

    .about-description .highlight {
        font-size: 1.1rem;
    }

    .about-description h2 {
        font-size: 1.3rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #1E0E3E;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: #2B60DB;
    background-color: rgba(43, 96, 219, 0.1);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
}
  