/* Base Styles */
:root {
    /* Colors based on the app's theme */
    --primary-color: #262A62; /* Deep purple from app_theme.dart */
    --secondary-color: #FF9800; /* Orange from app_theme.dart */
    --tertiary-color: #03DAC5; /* Teal from app_theme.dart */
    --surface-color: #FFFFFF;
    --background-color: #F8F9FA;
    --text-primary-color: #1C1B1F;
    --text-secondary-color: #49454F;
    --disabled-color: #CAC4D0;
    --outline-color: #E0E0E0;
    --success-color: #4CAF50;
    --error-color: #EF4444;
    --warning-color: #FFA000;
    --info-color: #2196F3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-primary-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-secondary-color);
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    background-color: var(--surface-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin-left: 30px;
}

.nav-links ul li a {
    color: var(--text-primary-color);
    font-weight: 500;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

.fa-bars, .fa-times {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 50%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--surface-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary-color);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--background-color);
}

.steps-carousel {
    margin-top: 50px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.steps-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.step.active {
    display: flex;
    opacity: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    width: 100%;
    max-width: 600px;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-content p {
    margin-bottom: 30px;
    color: var(--text-secondary-color);
    font-size: 1.1rem;
}

.step-content img {
    max-width: 45%;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--text-primary-color);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.step-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.step-dot {
    width: 12px;
    height: 12px;
    background-color: var(--disabled-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.step-dot:hover {
    background-color: var(--primary-color);
    opacity: 0.7;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--surface-color);
}

.testimonial-slider {
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author p {
    color: var(--text-secondary-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--disabled-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Download Section */
.download {
    padding: 100px 0;
    background-color: var(--background-color);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--text-primary-color);
    color: white;
    transform: translateY(-5px);
}

.download-btn i {
    font-size: 2rem;
    margin-right: 10px;
}

.download-btn div {
    display: flex;
    flex-direction: column;
}

.download-btn .store-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.app-screenshot {
    margin-top: 60px;
    text-align: center;
}

.app-screenshot img {
    max-width: 35%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -200px;
        height: 100vh;
        width: 200px;
        background-color: var(--surface-color);
        z-index: 999;
        transition: right 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links ul {
        flex-direction: column;
        padding: 80px 20px;
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
    
    .fa-bars {
        display: block;
    }
    
    .fa-times {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content img {
        max-width: 60%;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial {
        padding: 20px;
    }
}
