/* Global Styles */
:root {
    --primary-color: #4c6ef5;
    --primary-dark: #3b5bdb;
    --primary-light: #748ffc;
    --secondary-color: #20c997;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --danger-color: #fa5252;
    --success-color: #40c057;
    --warning-color: #fd7e14;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

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

.bg-light {
    background-color: var(--light-color);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 20px 0 80px;
    position: relative;
    overflow: hidden;
}

header:before {
    content: '';
    position: absolute;
    width: 150%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,202.7C960,181,1056,139,1152,117.3C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 0;
    bottom: -50px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 10px;
    object-fit: cover;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-links ul {
    display: flex;
}

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

.nav-links ul li a {
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.nav-links ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links ul li a:hover:after {
    width: 100%;
}

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

.menu-icon i,
.nav-links i {
    display: none; /* Hide by default on desktop */
    cursor: pointer;
}

.hero {
    display: flex;
    align-items: center;
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 80%;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.coming-soon-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--warning-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.feature-icon i {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* How it Works Section */
.steps {
    margin-bottom: 50px;
}

.step {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* Languages Section */
.languages-showcase {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.language-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.language-flag {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.language-flag:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow);
    z-index: 2;
}

.language-list {
    border-top: 1px solid var(--light-gray);
    padding-top: 30px;
}

.language-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.language-column {
    width: 30%;
}

.language-column li {
    margin-bottom: 10px;
    color: var(--gray-color);
}

.language-column li i {
    color: var(--success-color);
    margin-right: 8px;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,224C672,213,768,171,864,149.3C960,128,1056,128,1152,149.3C1248,171,1344,213,1392,234.7L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: center bottom;
    opacity: 0.6;
}

.download-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

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

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.download-app {
    margin-bottom: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-btn i {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--dark-color);
}

.download-btn div {
    text-align: left;
}

.download-btn span {
    font-size: 0.7rem;
    display: block;
    color: var(--gray-color);
}

.download-btn strong {
    font-size: 1.1rem;
    display: block;
    color: var(--dark-color);
}

.downloads-count {
    font-size: 1.2rem;
    font-weight: 500;
}

.downloads-count i {
    color: var(--secondary-color);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
    font-size: 1rem;
    color: var(--gray-color);
}

.faq-item.active .faq-question {
    background: var(--primary-light);
}

.faq-item.active .faq-question h3,
.faq-item.active .faq-question i {
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 15px;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    bottom: -8px;
    left: 0;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

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

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.contact-info p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

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

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        max-width: 70%;
    }

    .step {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--primary-color);
        z-index: 100;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 20px;
        transition: var(--transition);
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-links ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .nav-links i {
        display: block; /* Show on mobile */
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        color: white;
    }

    .menu-icon {
        display: block;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .language-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .download-btn {
        padding: 10px 20px;
    }

    .download-btn i {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo img {
        margin: 0 auto 15px;
    }

    .footer-links {
        justify-content: space-around;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

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

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

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .feature-card {
        padding: 15px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }
}

/* Legal Pages Styles */
.legal-header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.legal-header .logo a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.legal-header .nav-links ul li a {
    color: white;
}

.terms-content, 
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

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

.terms-content h3,
.privacy-content h3 {
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-content p, 
.terms-content ul,
.privacy-content p, 
.privacy-content ul {
    margin-bottom: 20px;
    line-height: 1.7;
}

.terms-content ul,
.privacy-content ul {
    padding-left: 20px;
}

.terms-content ul li,
.privacy-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.last-updated {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 40px;
}

