/* ============================================
   SHOPFLY LANDING — CSS PRINCIPAL
   Couleurs: Vert WhatsApp (#25D366), Navy (#0f172a), Blanc
   ============================================ */

:root {
    --primary: #25D366;
    --primary-dark: #1da851;
    --primary-light: #e8f8ee;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { display: block; text-align: center; }

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon { font-size: 1.8rem; }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--dark); }

/* ---- HERO ---- */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(120deg, var(--primary), #128C7E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.stat-label { font-size: 0.85rem; color: var(--gray); }

/* ---- PHONE MOCKUP ---- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 580px;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    padding: 20px 16px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mockup-logo {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
}

.mockup-wa {
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mockup-product {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.mockup-img { font-size: 2rem; margin-bottom: 6px; }
.mockup-name { font-size: 0.7rem; font-weight: 600; margin-bottom: 4px; }
.mockup-price { font-size: 0.7rem; color: var(--primary-dark); font-weight: 700; }

.qr-float {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: var(--white);
    padding: 12px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.qr-float span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 4px;
}

#heroQR canvas { border-radius: 8px; }

/* ---- FEATURES ---- */
.features { padding: 100px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- DEMO STEPS ---- */
.demo {
    padding: 100px 0;
    background: var(--gray-light);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    width: 220px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--gray); }

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* ---- PRICING ---- */
.pricing { padding: 100px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }

.price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.price span { font-size: 0.9rem; color: var(--gray); font-weight: 400; }

.pricing-card ul {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
}

/* ---- CTA ---- */
.cta-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

/* ---- FOOTER ---- */
.footer {
    padding: 60px 0 30px;
    background: var(--dark-2);
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer p { font-size: 0.9rem; line-height: 1.7; }

.footer a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 60px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .hero-stats { flex-direction: column; gap: 16px; }
    .qr-float { right: -10px; bottom: 10px; }
    .phone-mockup { width: 260px; height: 500px; }
    .cta-section h2 { font-size: 1.8rem; }
}