:root {
    --primary-color: #EC4D25;
    --primary-hover: #d13d1a;
    --secondary-color: #2BCFCE;
    --text-color: #1f2937;
    --text-light: #939599;
    --bg-color: #FAFAFA;
    --bg-light: #CDCDCF;
    --border-color: #CDCDCF;
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.9);
    --container-width: 1100px;
}

body.dark-theme {
    --text-color: #f3f4f6;
    --text-light: #9ca3af;
    --bg-color: #111827;
    --bg-light: #1f2937;
    --border-color: #374151;
    --card-bg: #262f3f;
    --header-bg: rgba(17, 24, 39, 0.9);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* Header & Nav */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-txt-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-text {
    letter-spacing: -0.5px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.2px;
    text-transform: none;
}

.logo-subtitle strong {
    color: var(--text-color);
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-tabs {
    display: flex;
    background: var(--bg-light);
    padding: 4px;
    border-radius: 10px;
    margin-right: 10px;
}

.nav-tab {
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-tab.active {
    background: var(--card-bg);
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Settings Dropdown */
.settings-dropdown {
    position: relative;
    display: inline-block;
}

.settings-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px;
    z-index: 1000;
    border: 1px solid var(--border-color);
    margin-top: 10px;
}

.settings-menu.show {
    display: block;
}

.settings-group {
    margin-bottom: 15px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.settings-options {
    display: flex;
    gap: 5px;
    background: var(--bg-light);
    padding: 3px;
    border-radius: 8px;
}

.settings-option {
    flex: 1;
    padding: 6px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.settings-option.active {
    background: var(--card-bg);
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-tagline strong {
    font-weight: 800;
}

.screenshot-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--text-light);
    border-radius: 12px;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
    transition: opacity 0.3s ease;
}

.screenshot-placeholder.small {
    aspect-ratio: 4/3;
    margin-bottom: 15px;
}

.mobile-mockup {
    max-width: 200px;
    margin: 0 auto;
    aspect-ratio: 9/19;
    border-radius: 30px;
    border: 8px solid #333;
}

.mobile-screenshot {
    max-width: 200px;
    margin: 0 auto;
    border-radius: 30px;
    border: 8px solid #333;
}

/* Features */
.features {
    padding: 80px 0;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

body.dark-theme .feature-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Feature Highlight */
.feature-highlight {
    padding: 100px 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.highlight-content h2 {
    font-size: 2.5rem;
    margin: 15px 0 20px;
    line-height: 1.2;
}

.highlight-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.badge-primary {
    background: rgba(236, 77, 37, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.highlight-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 800;
}

.highlight-list li strong {
    display: block;
    color: var(--text-color);
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
}

.screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.screenshot-item {
    text-align: center;
}

.caption {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Download Section */
.download {
    padding: 80px 0;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.download-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.download-card:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.platform-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.download-card.disabled {
    opacity: 0.7;
    background: var(--bg-light);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--border-color);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.faq-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: var(--primary-color);
    color: white;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

.footer-tagline strong {
    color: var(--primary-color);
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* Tech Foundation Section */
.tech-foundation {
    margin-top: 60px;
    margin-bottom: 60px;
}

.tech-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.tech-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tech-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.tech-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
}

.tech-content p a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Support Banner */
.support-banner {
    margin-top: 40px;
    margin-bottom: 60px;
}

.support-box {
    background: #FFDD00;
    /* BuyMeACoffee color */
    color: #000000;
    padding: 30px 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 20px rgba(255, 221, 0, 0.2);
}

body.dark-theme .support-box {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.support-icon {
    font-size: 3rem;
}

.support-text {
    flex: 1;
}

.support-text h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #000000;
}

.support-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #000000;
}

.support-action .btn-secondary {
    background: #000000;
    color: #FFDD00;
    border: none;
    font-weight: 800;
    white-space: nowrap;
}

.support-action .btn-secondary:hover {
    background: #333333;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .support-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .support-icon {
        font-size: 4rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }

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

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

    .nav-links {
        display: none;
        /* Simplification pour mobile */
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}