/* ═══════════════════════════════════════════════════════════
   TRACERY SOUND - STYLES GLOBAUX
   ═══════════════════════════════════════════════════════════
   Design moderne avec menu burger responsive
   © 2026 Ivan Erzen - Tracery Sound
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --primary-dark: #1a0a0a;
    --secondary-dark: #2d1810;
    --accent-gold: #ffd93d;
    --accent-red: #ff6b6b;
    --text-light: #f0f0f0;
    --text-gray: #999;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 50%, var(--primary-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══ NAVIGATION ═══ */
.navbar {
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo span {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: translateY(-2px);
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 217, 61, 0.1);
    color: var(--accent-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--accent-gold);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Menu Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(26, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        width: 250px;
        height: calc(100vh - 70px);
        padding: 30px 20px;
        gap: 20px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-color);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
    }
}

/* ═══ HERO SECTION ═══ */
.hero {
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 70px);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

.hero-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 50px;
    left: 50px;
}

.floating-card:nth-child(2) {
    top: 150px;
    right: 50px;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 50px;
    left: 100px;
    animation-delay: 2s;
}

.floating-card .emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }
    
    .hero-image {
        display: none;
    }
}

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
}

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

.btn-secondary:hover {
    background: var(--accent-gold);
    color: #000;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* ═══ SECTIONS ═══ */
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    margin-bottom: 50px;
    color: var(--accent-gold);
}

.featured,
.products-section,
.about-section {
    padding: 80px 20px;
}

/* ═══ FEATURED PRODUCT ═══ */
.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.lead {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-box {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.price {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent-gold);
}

.price-detail {
    color: var(--text-gray);
    font-size: 14px;
}

/* App Preview */
.app-preview {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.app-header {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.dot:nth-child(1) { background: #ff5f56; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.app-body {
    padding: 30px;
}

.bol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.bol {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.eq-preview {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 80px;
}

.eq-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-red), var(--accent-gold));
    border-radius: 4px;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
}

/* ═══ PRODUCTS GRID ═══ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 30px rgba(255, 217, 61, 0.2);
}

.product-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.product-price {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-gold);
    margin: 20px 0;
}

/* ═══ FOOTER ═══ */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

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

.footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 14px;
}

/* ═══ PAGE HEADER ═══ */
.page-header {
    padding: 80px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 15px;
}

/* ═══ CTA SECTION ═══ */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.cta-section p {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 30px;
}

/* ═══ ABOUT SECTION ═══ */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat {
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr;
    }
}

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
