/* Show .desktop-only only on large screens */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}
/* Show .mobile-only only on small screens */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}
#languageToggle,
#languageDropdown,
.language-option {
    min-width: 48px;
    height: 48px;
    box-sizing: border-box;
}

:root {
    --primary-color: #002E6B;
    --primary-dark: #001F47;
    --secondary-color: #00A4ED;
    --accent-color: #E69900;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --gradient-1: linear-gradient(135deg, #002E6B 0%, #00A4ED 100%);
    --gradient-2: linear-gradient(135deg, #002E6B 0%, #00A4ED 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Mode */
[data-theme="dark"] {
    --text-dark: #F9FAFB;
    --text-light: #D1D5DB;
    --bg-light: #111827;
    --bg-white: #1F2937;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 6rem;
    list-style: none;
    align-items: center;
    padding: 0 3rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-buttons {
    position: relative;
    right: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

/* Mobile Menu Active States */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-lg);
    gap: 1rem;
}

[data-theme="dark"] .nav-links.active {
    background: rgba(31, 41, 55, 0.95);
}

.nav-links.active li {
    margin: 0;
}

.nav-links.active a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-links.active a:last-child {
    border-bottom: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    position: relative;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--secondary-color);
}

.theme-toggle-circle {
    position: relative;
    border-radius: 100%;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

[data-theme="dark"] .theme-toggle-circle {
    background: var(--accent-color);
}

/* Language Selector */
.language-selector {
    position: relative;
    flex-shrink: 0;
}

.language-toggle {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.language-toggle:hover {
    border-color: var(--secondary-color);
    background: var(--bg-white);
}

.language-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.language-code {
    font-size: 0.875rem;
    font-weight: 700;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    min-height: 100px; /* Ensure enough height for both options */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    /* overflow: hidden; */ /* Removed to allow clicking on options */
}

.language-dropdown.active .language-option {
    visibility: visible;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
}

.language-option:hover {
    background: var(--bg-light);
}

.language-option.active {
    background: var(--secondary-color);
    color: white;
}

.language-name {
    flex: 1;
    text-align: left;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-md);
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(to bottom, #FFFFFF, var(--bg-light));
}

[data-theme="dark"] .hero {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-light));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.app-store-button img,
.coming-soon-badge img {
    transition: transform 0.3s ease;
}

.app-store-button:hover img {
    transform: translateY(-2px);
}

.coming-soon-badge {
    position: relative;
    display: inline-block;
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    width: 75%;
    justify-self: center;
}

.opacity-50 {
    opacity: 0.5;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-number-plus {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Remove hover effect from hero stats */

/* Prevent scaling or transform on hero stats hover */
.stat:hover,
.stat-label:hover,
.stat-number:hover,
.stat-number-plus:hover {
    transform: none !important;
    scale: none !important;
    
}

.hero-image {
    position: relative;
}

.phone-mockup {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

@media (max-width: 600px) {
    .gradient-circle {
        display: none !important;
    }
}

.gradient-circle-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    right: -100px;
}

.gradient-circle-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    left: -100px;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories {
    background: var(--bg-light);
    padding: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    padding: 4px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 46, 107, 0.15);
    cursor: default;
}

.category-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.15);
}

.category-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 46, 107, 0.3);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.category-questions {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features {
    background: var(--bg-white);
}

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

.feature-card {
    position: relative;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    padding: 4px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .feature-card {
    background: var(--bg-white);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 46, 107, 0.15);
    cursor: default;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    position: relative;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    padding: 2px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    background: var(--bg-white);
}

.screenshots-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: center;
}

.screenshot-item img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1rem;
}

.screenshot-label {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Download CTA */
.download-cta {
    background: var(--gradient-2);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.compatibility-info {
    margin-bottom: 2rem;
}

.compatibility-info p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

#cta-download-buttons {
    display: flex;
    justify-content: center;
}

#cta-download-buttons .hero-buttons {
    justify-content: center;
}

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

[data-theme="dark"] .contact {
    background: var(--bg-light);
    color: var(--text-dark);
}

.contact-content {
    display: block;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin: 0 auto;
}

.contact-info {
     display: flex;
     gap: 6rem;
     flex-wrap: wrap; /* Added to ensure items can wrap */
}

.contact-row {
    /* Make the row shrink to its content so it can be centered by the parent flex container. */
    display: inline-flex;
    justify-content: center;
    gap: 6rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
}

[data-theme="dark"] .contact-icon {
    opacity: 0.9;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

[data-theme="dark"] .contact-item h3 {
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.contact-item a,
.social-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .contact-item a,
[data-theme="dark"] .social-link {
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--bg-white);
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: var(--bg-light);
    border-color: #4B5563;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

[data-theme="dark"] .footer {
    background: #0a1628;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}
/* Make download column hug content and reduce spacing */
.footer-download-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.footer-download-content > * {
    margin-bottom: 0.5rem;
}
.footer-download-content > *:last-child {
    margin-bottom: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-app-badge img {
    height: 40px;
}

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

/* Make the disclaimer heading and paragraph more compact and readable */
.footer-bottom h4 {
    font-size: 1rem; /* smaller than section headings */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem;
}

.footer-disclaimer {
    font-size: 0.65rem; /* slightly smaller for a formal look */
    font-style: italic;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 0.9rem;
    line-height: 1.6;
    /* take more of the available width but cap at a comfortable maximum */
    width: min(1100px, 90%);
    max-width: 1100px;
    text-align: center; /* center-align the paragraph */
}

.footer-bottom {
    padding-bottom: 1.5rem; /* add some space below the copyright */
}

/* Responsive Design */
@media (max-width: 1450px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-content {
        position: relative;
    }

   .nav-buttons {
        position: absolute;
        right: 4rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }


    .language-code {
        display: inline;
    }



    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

   
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1.25rem 0.5rem 1rem;
    }

    .category-image {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .category-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }

    .category-name {
        font-size: 0.85rem;
    }

    .category-questions {
        font-size: 0.65rem;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    /* Hide gradient circles when mobile menu is active (small screens) */
    .gradient-circle {
        display: none !important;
    }

    .btn-primary {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-card {
        padding: 1.25rem 0.5rem 1rem;
    }

    .category-image {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .category-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }

    .category-name {
        font-size: 0.85rem;
    }

    .category-questions {
        font-size: 0.65rem;
    }

    /* Mobile Download Button */
    .nav-buttons .btn-primary {
        display: none;
        padding: 0.5rem 0.5rem;
        font-size: 0.5rem;
    }
}

/* Legal Pages Content Styling */
.legal-content {
    color: var(--text-dark);
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.5rem;
}

.legal-content h3 {
    font-size: 1.25rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* Make App Store and Google Play badge images larger */
.app-store-button img,
.coming-soon-badge img {
    width: 180px;
    height: 80px;
    display: block;
    object-fit: cover;
}
