:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --body-color: #f5f8ff;
    --gradient-primary: linear-gradient(135deg, #4a6cf7 0%, #121a3e 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--body-color);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-image {
    transform: none;
    box-shadow: 30px 30px 60px rgba(0, 0, 0, 0.25);
    border-radius: 40px;
    transition: all 0.5s ease;
    max-width: 350px;
    max-height: 660px;
    margin: 0 auto;
    display: block;
    animation: fadeIn 1.2s ease-in-out;
}

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

.fade-in-1 {
    animation: fadeIn 0.8s ease-in-out;
}

.fade-in-2 {
    animation: fadeIn 1s ease-in-out 0.2s;
    animation-fill-mode: both;
}

.fade-in-3 {
    animation: fadeIn 1.2s ease-in-out 0.4s;
    animation-fill-mode: both;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background-color: white;
}

.feature-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-item: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;
}

/* How It Works Section */
.how-it-works {
    background-color: #f8f9fa;
}

.step-content {
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.how-it-works img {
    max-height: 420px;
    margin: 0 auto;
    display: block;
}

/* Download Section */
.download {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
}

.download a {
    display: inline-block;
    text-decoration: none;
}

.download .app-store-badge.svg {
    max-width: 240px;
}

.qr-code img {
    max-height: 320px;
    margin: 0 auto;
    display: block;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Contact Section */
.contact {
    background: var(--gradient-primary);
    color: white;
}

.contact-card {
    background-color: white;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: #121a3e;
    color: #adb5bd;
    padding: 80px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Privacy and Terms Pages */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0 50px;
    margin-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease-in-out;
}

.page-header p {
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in-out 0.2s;
    animation-fill-mode: both;
}

.privacy-content, .terms-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1.2s ease-in-out;
}

.privacy-content h2, .terms-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.privacy-content h3, .terms-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.privacy-content p, .privacy-content li, 
.terms-content p, .terms-content li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-content ul, .privacy-content ol,
.terms-content ul, .terms-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.privacy-content li, .terms-content li {
    margin-bottom: 10px;
}

.back-to-home {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    transform: translateX(-5px);
}

.back-to-home i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 60px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-image {
        max-width: 280px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn-primary, .btn-outline-light {
        width: 100%;
        text-align: center;
    }
}

/* Hide test button */
.test-button {
    display: none;
}
