/* =========================
   Fake macOS Menu Bar
========================= */
.macos-menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 243, 245, 0.92) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.menubar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Apple Logo */
.menubar-apple {
    font-size: 15px;
    opacity: 0.85;
    cursor: default;
}
.menubar-apple::before {
    content: '';
}

.menubar-appname {
    font-weight: 600;
}

.menubar-menu {
    color: rgba(0, 0, 0, 0.85);
    cursor: default;
}

.menubar-menu:hover,
.menubar-appname:hover,
.menubar-apple:hover {
    opacity: 1;
}

/* App icon in menu bar */
.menubar-app-icon {
    display: flex;
    align-items: center;
}

.menubar-icon {
    width: 18px;
    height: 18px;
    cursor: pointer;
    opacity: 0.85;
}

.menubar-icon:hover {
    opacity: 1;
}

/* Dropdown aligned to right */
.dropdown-right {
    left: auto;
    right: -8px;
}

.menubar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(0, 0, 0, 0.85);
}

.menubar-status-icon {
    display: flex;
    align-items: center;
    opacity: 0.85;
}

.menubar-status-icon svg {
    display: block;
}

.menubar-time {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

/* Dropdown Menus */
.menubar-dropdown {
    position: relative;
}

.menubar-dropdown-content {
    display: none;
    position: absolute;
    top: 22px;
    left: -8px;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 6px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
    padding: 5px 0;
    z-index: 10000;
}

.menubar-dropdown:hover .menubar-dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 3px 20px 3px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
    margin: 0 5px;
}

.dropdown-item:hover {
    background: #0A6FFF;
    color: white;
}

.dropdown-item:hover .shortcut {
    color: rgba(255, 255, 255, 0.6);
}

.dropdown-item.disabled {
    color: rgba(0, 0, 0, 0.3);
}

.dropdown-item.disabled:hover {
    background: transparent;
    color: rgba(0, 0, 0, 0.3);
}

.dropdown-item.checked::before {
    content: '✓';
    position: absolute;
    left: 8px;
    font-size: 11px;
    font-weight: 600;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 5px 12px;
}

.shortcut {
    color: rgba(0, 0, 0, 0.4);
    font-size: 12px;
    margin-left: 30px;
}

/* =========================
   Fake AudioDock (matching app exactly)
========================= */
.fake-audiodock {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding: 10px 6px 10px 10px;
    background: rgba(245, 245, 247, 0.75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px 0 0 16px;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
    z-index: 9998;
}

.dock-device {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Colored circle like the app */
.dock-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dock-circle svg {
    width: 34px;
    height: 34px;
}

.dock-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make it white like the SVG icons */
}

/* Full icon images (already include colored circle) */
.dock-full-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: contain;
}

/* App icons as PNG (SF Symbols on flat colored circles) */
.dock-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dock-separator {
    width: 36px;
    height: 2px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 1px;
    margin: 4px 0;
}

/* Active indicator dot (white, below icon) */
.active-dot {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Tooltip (like app labels) */
.dock-device::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 80px;
    background: rgba(40, 40, 45, 0.92);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Tooltip arrow */
.dock-device::before {
    content: '';
    position: absolute;
    right: 74px;
    width: 0;
    height: 0;
    border-left: 6px solid rgba(40, 40, 45, 0.92);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.dock-device:hover::after,
.dock-device:hover::before {
    opacity: 1;
}

/* Hide menu bar and dock on mobile */
@media (max-width: 600px) {
    .macos-menubar {
        display: none;
    }
    .fake-audiodock {
        display: none;
    }
}

/* =========================
   Reset & Base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light only;
}

/* =========================
   Custom Scrollbar
========================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1fbf4;
}

::-webkit-scrollbar-thumb {
    background: #34C759;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2DB84D;
}

/* =========================
   Body & Typography
========================= */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
                 'Helvetica Neue', Arial, sans-serif;
    background-color: #f1fbf4;
    color: #333;
    line-height: 1.6;
}

h1, h2 {
    font-weight: 700;
    color: #1B8F3A;
}

h3 {
    font-weight: 700;
    color: #333;
}

/* =========================
   Layout
========================= */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   Speech Bubble (Hero)
========================= */
.speech-bubble {
    position: relative;
    display: inline-block;
    background-color: #1B8F3A;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    transform: rotate(-5deg);
    box-shadow: 0 4px 15px rgba(27, 143, 58, 0.4);
    margin-bottom: 14px;
}

/* Petite pointe de bulle */
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 24px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #1B8F3A transparent;
    width: 0;
}

/* Brand inside bubble (simple, sans sur-style) */
.speech-bubble .brand {
    font-weight: 700;
}

/* =========================
   App Icon
========================= */
.app-icon {
    width: 128px;
    height: 128px;
    margin-bottom: 1rem;
}

/* =========================
   Hero
========================= */
.hero {
    text-align: center;
    padding: 130px 20px 40px; /* Extra top padding for fixed menu bar */
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.1;
}

.slogan {
    font-size: 1.15rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.85;
    color: #555;
}

.description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   Buttons
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: #34C759;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

/* Accessibilité : focus clavier */
a:focus {
    outline: 2px solid #34C759;
    outline-offset: 4px;
}

/* Utility */
.hidden {
    display: none !important;
}

/* =========================
   Coming Soon Badge
========================= */
.coming-soon {
    display: inline-block;
    margin-top: 1rem;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 20px;
}

/* =========================
   Why Section
========================= */
.why {
    padding: 40px 20px;
    text-align: center;
}

.why h2 {
    margin-bottom: 1.5rem;
}

.benefits {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.benefits li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 1rem;
}

.benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34C759;
    font-weight: bold;
}

/* =========================
   Features
========================= */
.features {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feature {
    text-align: center;
    padding: 10px 5px;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.feature h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.feature p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.35;
}

/* =========================
   Testimonial Section
========================= */
.testimonial {
    padding: 60px 20px;
    text-align: center;
}

.testimonial h2 {
    margin-bottom: 1.5rem;
}

.testimonial blockquote {
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial blockquote p {
    margin-bottom: 1rem;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    color: #1B8F3A;
    font-size: 0.95rem;
}

/* =========================
   FAQ Section
========================= */
.faq {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.5);
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* =========================
   Download Section
========================= */
.download {
    padding: 80px 20px;
    text-align: center;
}

.download h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2FAF63;
}

.download .price {
    font-size: 2rem;
    font-weight: 700;
    color: #34C759;
    margin-bottom: 0.25rem;
}

.download .price s {
    color: #777;
    font-weight: 400;
}

.launch-offer {
    font-size: 0.95rem;
    color: #1B8F3A;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.trust-line {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.download p {
    color: #666;
    margin-bottom: 1.5rem;
}

.download .compatibility {
    margin-bottom: 1rem;
}

.badge-silicon {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1B8F3A;
    background-color: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 20px;
}

/* =========================
   Footer
========================= */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #1B8F3A;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.contact {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.contact a {
    color: #1B8F3A;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    color: #666;
}

/* =========================
   Page Content (Privacy, Support)
========================= */
.page-content {
    padding: 60px 20px 80px;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-content h3 {
    color: #1B8F3A;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.page-content h4 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: #555;
}

.page-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #555;
}

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

.page-content a {
    color: #1B8F3A;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #1B8F3A;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* =========================
   About Page
========================= */
.about-hero {
    text-align: center;
    padding: 100px 20px 40px;
}

.about-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    font-size: 1.15rem;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
}

.about-content {
    padding: 40px 20px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content a {
    color: #1B8F3A;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.about-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #555;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1B8F3A;
    font-weight: bold;
}

.about-content .back-link {
    display: inline-block;
    margin-top: 2rem;
}

/* =========================
   Multiple Testimonials
========================= */
.testimonial blockquote + blockquote {
    margin-top: 2rem;
}

.last-updated {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

/* =========================
   Changelog Page
========================= */
.changelog-entry {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.changelog-entry:last-child {
    border-bottom: none;
}

.changelog-entry h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.changelog-entry .version-date {
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

.changelog-entry .version-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1B8F3A;
    background-color: rgba(52, 199, 89, 0.1);
    border-radius: 20px;
    margin-bottom: 1rem;
}

.changelog-entry ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-entry li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #555;
}

.changelog-entry li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #1B8F3A;
    font-weight: bold;
}

/* =========================
   Responsive
========================= */

/* Tablettes */
@media (max-width: 900px) and (min-width: 601px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 70px 20px 30px;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
