/**
 * WP Notify Landing — Feuille de style principale
 */

/* ═══════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════ */
:root {
    --bg:         #07070f;
    --bg-alt:     #0b0b18;
    --card:       #121222;
    --card2:      #161628;
    --border:     #1e1e32;
    --border-soft:#161628;

    --blue:       #4f8ef7;
    --blue-dim:   rgba(79,142,247,.10);
    --teal:       #00c9a7;
    --teal-dim:   rgba(0,201,167,.08);
    --gold:       #f5c842;
    --gold-dim:   rgba(245,200,66,.07);
    --red:        #ff5e6c;
    --red-dim:    rgba(255,94,108,.08);
    --purple:     #a78bfa;
    --purple-dim: rgba(167,139,250,.08);

    --text:       #e4e4f4;
    --text-soft:  #8888a8;
    --text-dim:   #44445a;
    --accent:     #a78bfa;   /* WPN = violet */

    --font:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Syne', var(--font);
    --font-mono:    'DM Mono', monospace;

    --nav-h:    64px;
    --ease:     cubic-bezier(.4, 0, .2, 1);
    --dur:      .4s;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,.35);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
}

[data-theme="light"] {
    --bg:         #f5f6fa;
    --bg-alt:     #ebedf5;
    --card:       #ffffff;
    --card2:      #f0f1f8;
    --border:     #d8dae5;
    --border-soft:#e2e4ee;

    --blue-dim:   rgba(79,142,247,.08);
    --teal-dim:   rgba(0,201,167,.06);
    --gold-dim:   rgba(245,200,66,.08);
    --red-dim:    rgba(255,94,108,.06);
    --purple-dim: rgba(167,139,250,.06);

    --text:       #1a1a2e;
    --text-soft:  #5a5a78;
    --text-dim:   #9898b0;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }


/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.wpn-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(7,7,15,.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.wpn-nav-inner {
    max-width: 1200px; margin: 0 auto;
    height: 100%; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
}
.wpn-logo { display: flex; align-items: center; gap: 10px; }
.wpn-logo-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    flex-shrink: 0;
}
.wpn-logo-text {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 800;
    white-space: nowrap;
}
.wpn-nav-links { display: flex; gap: 6px; }
.wpn-nav-link {
    padding: 6px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 500;
    color: var(--text-soft);
    transition: color var(--dur), background var(--dur);
}
.wpn-nav-link:hover  { color: var(--text); background: var(--card); }
.wpn-nav-link.active { color: var(--accent); background: var(--purple-dim); }

.wpn-nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Theme toggle */
.wpn-theme-switch { display: flex; align-items: center; cursor: pointer; }
.wpn-theme-switch input { display: none; }
.wpn-switch-track {
    width: 48px; height: 26px; border-radius: 13px;
    background: var(--card); border: 1px solid var(--border);
    position: relative;
    transition: background var(--dur), border-color var(--dur);
}
.wpn-switch-track:hover { border-color: var(--accent); }
.wpn-switch-thumb {
    position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s var(--ease);
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.wpn-switch-thumb i { font-size: 11px; color: #fff; position: absolute; transition: opacity .2s; }
.wpn-icon-dark  { opacity: 1; }
.wpn-icon-light { opacity: 0; }
.wpn-theme-switch input:checked + .wpn-switch-track .wpn-switch-thumb { transform: translateX(22px); }
.wpn-theme-switch input:checked + .wpn-switch-track .wpn-icon-dark  { opacity: 0; }
.wpn-theme-switch input:checked + .wpn-switch-track .wpn-icon-light { opacity: 1; }

/* Hamburger */
.wpn-hamburger {
    display: none; background: none; border: none;
    width: 28px; height: 20px; position: relative;
    flex-direction: column; justify-content: space-between;
}
.wpn-hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all .3s;
}

/* Mobile nav menu */
.wpn-nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 4px;
}

[data-theme="light"] .wpn-navbar { background: rgba(245,246,250,.88); }
[data-theme="light"] .wpn-hamburger span { background: var(--text); }


/* ═══════════════════════════════════════════
   PAGE & SECTIONS
═══════════════════════════════════════════ */
.wpn-main { padding-top: var(--nav-h); }

.wpn-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 40px;
    scroll-margin-top: var(--nav-h);
}
.wpn-section:nth-child(even) { background: var(--bg-alt); }
.wpn-section-inner { width: 100%; max-width: 1000px; }

.wpn-section-hero {
    min-height: calc(100vh - var(--nav-h));
    padding: 80px 40px;
}
#slide-footer { padding: 60px 40px; }


/* ═══════════════════════════════════════════
   BOUTONS
═══════════════════════════════════════════ */
.wpn-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    border: none; cursor: pointer;
    transition: all .25s var(--ease);
    text-decoration: none;
}
.wpn-btn-sm  { padding: 7px 16px; font-size: 12px; border-radius: 8px; }
.wpn-btn-lg  { padding: 14px 32px; font-size: 15px; border-radius: 12px; }
.wpn-btn-primary { background: var(--accent); color: #fff; }
.wpn-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(167,139,250,.35); }
.wpn-btn-ghost   { background: transparent; color: var(--text-soft); border: 1px solid var(--border); }
.wpn-btn-ghost:hover { border-color: var(--text-soft); color: var(--text); }
.wpn-btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.wpn-btn-outline:hover { background: var(--purple-dim); }


/* ═══════════════════════════════════════════
   BADGES
═══════════════════════════════════════════ */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .3px; text-transform: uppercase;
}
.badge-xs     { padding: 2px 8px; font-size: 10px; }
.badge-teal   { background: var(--teal-dim);   color: var(--teal); }
.badge-blue   { background: var(--blue-dim);   color: var(--blue); }
.badge-gold   { background: var(--gold-dim);   color: var(--gold); }
.badge-red    { background: var(--red-dim);    color: var(--red); }
.badge-purple { background: var(--purple-dim); color: var(--purple); }
.badge-dim    { background: rgba(255,255,255,.05); color: var(--text-dim); }


/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.slide-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge   { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-title   { font-family: var(--font-display); font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero-gradient {
    background: linear-gradient(135deg, var(--accent), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="light"] .hero-gradient {
    background: linear-gradient(135deg, #7c5fda, #009b82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc        { font-size: 16px; line-height: 1.7; color: var(--text-soft); margin-bottom: 28px; }
.hero-desc strong { color: var(--text); }
.hero-actions     { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust       { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item  { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.hero-trust-item i { font-size: 14px; }

/* Hero mockup — notifications */
.hero-visual  { display: flex; justify-content: center; }
.hero-mockup  {
    width: 100%; max-width: 380px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: mockup-float 6s ease-in-out infinite;
}
@keyframes mockup-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
.mockup-bar  { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.mockup-dot  { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot.red  { background: var(--red); }
.mockup-dot.gold { background: var(--gold); }
.mockup-dot.teal { background: var(--teal); }

.mockup-notifs { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mockup-notif  {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    background: var(--bg-alt); border: 1px solid var(--border);
}
.mockup-notif-icon {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.mockup-notif-body { flex: 1; min-width: 0; }
.mockup-notif-title { font-size: 11px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-notif-sub   { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.mockup-notif-time  { font-size: 9px; color: var(--text-dim); flex-shrink: 0; font-family: var(--font-mono); }


/* ═══════════════════════════════════════════
   CONTENU DES SECTIONS
═══════════════════════════════════════════ */
.slide-content  { width: 100%; }
.slide-centered { text-align: center; }
.slide-header   { margin-bottom: 28px; }

.slide-title {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 800;
    line-height: 1.2; margin-bottom: 14px;
}
.slide-desc {
    color: var(--text-soft);
    font-size: 15px; line-height: 1.7;
    margin-bottom: 28px; max-width: 600px;
}
.slide-centered .slide-desc { margin-left: auto; margin-right: auto; }

/* Feature cards */
.features-list { display: flex; flex-direction: column; gap: 14px; }
.feature-card  {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
    transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: rgba(167,139,250,.3); transform: translateY(-2px); }
.feature-icon  { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.feature-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.feature-desc  { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
.feature-body  { flex: 1; }

/* Problem cards */
.problem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin: 28px 0;
}
.problem-card  {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 20px; text-align: center;
    transition: border-color .3s, transform .3s;
}
.problem-card:hover  { border-color: var(--red); transform: translateY(-3px); }
.problem-number { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.problem-label  { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.problem-cta    { margin-top: 8px; }

/* Channel cards */
.channels-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 12px;
}
.channel-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 20px; text-align: center;
    transition: border-color .3s, transform .3s;
}
.channel-card:hover      { transform: translateY(-4px); }
.channel-whatsapp:hover  { border-color: var(--teal); }
.channel-sms:hover       { border-color: var(--blue); }
.channel-email:hover     { border-color: var(--gold); }
.channel-icon            { font-size: 36px; margin-bottom: 14px; }
.channel-whatsapp .channel-icon { color: var(--teal); }
.channel-sms .channel-icon      { color: var(--blue); }
.channel-email .channel-icon    { color: var(--gold); }
.channel-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.channel-stat { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.channel-desc { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }


/* ═══════════════════════════════════════════
   MONITORING — UPTIME
═══════════════════════════════════════════ */
.uptime-preview { margin: 28px 0; }
.uptime-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 24px;
}
.uptime-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.uptime-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600;
}
.uptime-online { color: var(--teal); }
.uptime-url    { font-size: 13px; color: var(--text-soft); flex: 1; }
.uptime-badge  {
    font-family: var(--font-mono); font-size: 11px;
    background: var(--teal-dim); color: var(--teal);
    padding: 3px 10px; border-radius: 20px;
}
.uptime-bars {
    display: flex; gap: 3px; align-items: flex-end;
    height: 40px; margin-bottom: 8px;
}
.uptime-bar {
    flex: 1; border-radius: 3px; min-width: 0;
    height: 100%; display: block;
}
.uptime-bar-up   { background: var(--teal); opacity: .6; }
.uptime-bar-down { background: var(--red); }
.uptime-legend {
    display: flex; justify-content: space-between;
    font-size: 10px; color: var(--text-dim);
}


/* ═══════════════════════════════════════════
   PRICING — 3 PLANS
═══════════════════════════════════════════ */
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin: 32px 0 24px;
}
.pricing-plan {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; padding: 32px 24px;
    position: relative; text-align: left;
    transition: border-color .3s, transform .3s;
    display: flex; flex-direction: column;
}
.pricing-plan:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.4); }
.pricing-plan-highlight {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--card) 60%, rgba(167,139,250,.06));
}
.pricing-plan-highlight:hover { border-color: var(--accent); }

.pricing-plan-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #fff;
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 14px; border-radius: 20px;
    white-space: nowrap;
}
.pricing-plan-label  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--text-dim); margin-bottom: 16px; }
.pricing-plan-price  { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.pricing-plan-amount { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--text); }
.pricing-plan-period { font-size: 15px; color: var(--text-soft); }

.pricing-plan-features {
    list-style: none; display: flex; flex-direction: column;
    gap: 10px; margin-bottom: 28px; flex: 1;
}
.pricing-plan-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--text-soft);
}
.pricing-plan-features li i { color: var(--teal); width: 16px; text-align: center; flex-shrink: 0; }

.pricing-plan-cta { width: 100%; justify-content: center; }

.pricing-note {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 13px; color: var(--text-soft);
    padding: 14px 20px; background: var(--teal-dim); border-radius: 12px;
    max-width: 480px; margin: 0 auto;
}


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.slide-footer-wrap   { width: 100%; }
.wpn-page-footer     { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; border-top: 1px solid var(--border); background: var(--bg-alt); border-radius: 16px; }
.wpn-page-footer-inner { padding: 32px 28px 24px; }
.wpn-footer-top      { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.wpn-footer-logo     { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wpn-footer-name     { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.wpn-footer-tagline  { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.wpn-footer-heading  { font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.wpn-footer-col      { display: flex; flex-direction: column; gap: 8px; }
.wpn-footer-col a    { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-soft); transition: color .2s; }
.wpn-footer-col a:hover { color: var(--accent); }
.wpn-footer-col a i  { font-size: 11px; width: 14px; text-align: center; }
.wpn-footer-bottom   { border-top: 1px solid var(--border); padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); }
.wpn-footer-sep      { color: var(--border); }
.wpn-footer-bottom a { color: var(--accent); font-weight: 600; transition: opacity .2s; }
.wpn-footer-bottom a:hover { opacity: .8; }


/* ═══════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Navbar */
    .wpn-nav-links  { display: none; }
    .wpn-hamburger  { display: flex; }
    .wpn-nav-inner  { padding: 0 14px; }
    .wpn-logo-text  { font-size: 15px; }
    .wpn-nav-actions .wpn-btn-sm { padding: 6px 12px; font-size: 11px; }

    /* Sections */
    .wpn-section      { padding: 64px 20px; }
    .wpn-section-hero { padding: 48px 20px; min-height: calc(100svh - var(--nav-h)); }
    #slide-footer     { padding: 40px 16px; }

    /* Hero */
    .slide-hero   { grid-template-columns: 1fr; gap: 24px; text-align: center; overflow: hidden; }
    .hero-content { max-width: 100%; overflow: hidden; }
    .hero-title   { font-size: 26px; word-break: break-word; overflow-wrap: break-word; }
    .hero-desc    { font-size: 14px; margin-bottom: 20px; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: center; gap: 10px; }
    .hero-actions .wpn-btn-primary { width: 100%; justify-content: center; padding: 14px 18px; font-size: 14px; }
    .hero-actions .wpn-btn-ghost   { width: auto; padding: 11px 22px; font-size: 13px; }
    .hero-trust      { justify-content: center; gap: 8px; flex-wrap: wrap; }
    .hero-trust-item { font-size: 11px; }
    .hero-badge      { justify-content: center; }
    .hero-badge .badge { font-size: 10px; padding: 4px 10px; }
    .hero-visual     { display: none; }

    /* Contenu */
    .slide-title  { font-size: 22px; word-break: break-word; }
    .slide-desc   { font-size: 14px; word-break: break-word; }
    .slide-header { margin-bottom: 20px; }

    /* Cards */
    .channels-grid { grid-template-columns: 1fr; gap: 12px; }
    .channel-card  { padding: 20px 16px; }
    .channel-icon  { font-size: 28px; margin-bottom: 10px; }
    .channel-name  { font-size: 16px; }
    .problem-grid  { grid-template-columns: 1fr; gap: 12px; }
    .problem-card  { padding: 20px 16px; }
    .problem-number { font-size: 32px; }
    .feature-card  { padding: 14px; gap: 12px; }
    .feature-icon  { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
    .feature-title { font-size: 13px; }
    .feature-desc  { font-size: 12px; }

    /* Pricing */
    .pricing-grid  { grid-template-columns: 1fr; gap: 24px; }
    .pricing-plan  { padding: 28px 20px; }
    .pricing-plan-amount { font-size: 36px; }

    /* Monitoring */
    .uptime-bars   { height: 32px; }
    .uptime-header { gap: 8px; }

    /* Footer */
    .wpn-footer-top        { grid-template-columns: 1fr; gap: 20px; text-align: center; margin-bottom: 20px; }
    .wpn-footer-logo       { justify-content: center; }
    .wpn-footer-col        { align-items: center; }
    .wpn-page-footer       { border-radius: 12px 12px 0 0; padding: 0 12px; }
    .wpn-page-footer-inner { padding: 20px 12px 16px; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Navbar */
    .wpn-nav-actions .wpn-btn { display: none; }
    .wpn-logo-text { font-size: 14px; }

    /* Sections */
    .wpn-section      { padding: 48px 16px; }
    .wpn-section-hero { padding: 32px 16px; }

    /* Hero */
    .hero-title      { font-size: 22px; }
    .hero-desc       { font-size: 13px; }
    .hero-trust      { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .hero-trust-item { font-size: 10px; gap: 5px; }

    /* Contenu */
    .slide-title { font-size: 20px; }
    .slide-desc  { font-size: 13px; }

    /* Pricing */
    .pricing-plan-amount { font-size: 30px; }
    .pricing-plan        { padding: 24px 16px; }
}
