/* ==========================================================================
   LANDING PAGE - STYLE STARTUP PREMIUM
   Fichier: assets/style-landing-page.css
   ========================================================================== */

/* VARIABLES */
:root {
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --accent: #10b981;
    --accent-hover: #059669;
    --border: #2a2a2a;
}

/* RESET BODY POUR LANDING */
body.landing-startup {
    margin: 0;
    padding: 0;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.navbar .logo .text-accent {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    gap: 32px;
}

.navbar nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.navbar .btn-login {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.navbar .btn-login:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* HERO SECTION */
.hero-startup {
    position: relative;
    padding: 120px 0 180px;
    text-align: center;
    overflow: hidden;

    background: var(--bg-dark);
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 300px;
}

.visual-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.visual-card.p1 {
    top: 0;
    left: 10%;
    width: 250px;
}

.visual-card.p2 {
    top: 80px;
    right: 15%;
    width: 200px;
    animation-delay: 0.5s;
}

.visual-card.p3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    animation-delay: 1s;
}

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

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.skeleton-line {
    height: 8px;
    background: #2a2a2a;
    border-radius: 4px;
    margin: 8px 0;
}

.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-50 { width: 50%; }

.badge-token {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 8px;
}

/* SECTIONS */
section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* BENTO GRID */
.section-features {
    background: var(--bg-dark);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.bento-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card.wide {
    grid-column: span 3;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CHANGELOG */
.section-changelog {
    background: #0a0a0a;
}

.tech-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--border);
}

.log-entry {
    position: relative;
    margin-bottom: 60px;
}

.log-marker {
    position: absolute;
    left: -45px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--border);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}

.log-marker.glow {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.log-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.log-version {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 8px 0 12px;
}

.tag-new {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 12px;
}

.log-desc {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.log-list {
    list-style: none;
    padding: 0;
}

.log-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.log-list li strong {
    color: var(--text-primary);
}

/* FAQ */
.section-faq {
    background: var(--bg-dark);
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* CTA */
.section-cta {
    background: var(--bg-dark);
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-card), #1f1f1f);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-checklist {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin-bottom: 40px;
}

.cta-checklist li {
    padding: 8px 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.cta-checklist .check {
    color: var(--accent);
    font-weight: 700;
    margin-right: 12px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 18px 38px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    display: inline-block;
}

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



/* Champ auteur dans le formulaire de commentaire */
.comment-author-input {
    margin-bottom: 12px;
}

.comment-author-input label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.comment-author-input input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.comment-author-input input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}





/* FOOTER */
.footer-startup {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

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

.footer-col strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    margin: 4px 0 0;
    font-size: 0.9rem;
}




/* RESPONSIVE */
@media(max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card.large,
    .bento-card.wide {
        grid-column: span 1;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .navbar nav {
        display: none;
    }
}


@media(max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .visual-card {
        width: 180px !important;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}
