/* =============================================
   BONTEK — Landing Page Styles
   bontek.fr
   ============================================= */

:root {
    --primary: #1E3A8A;
    --primary-dark: #172554;
    --primary-light: #dbeafe;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

body.menu-open {
    overflow: hidden;
}

body.page-rich-layout {
    background: var(--gray-50);
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}
.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-block { width: 100%; }

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

/* Navbar over dark hero - light text */
.navbar:not(.scrolled) .logo { color: var(--white); }
.navbar:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.85); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--white); }
.navbar:not(.scrolled) .btn-ghost { color: rgba(255, 255, 255, 0.9); }
.navbar:not(.scrolled) .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.navbar:not(.scrolled) .btn-primary { background: var(--white); color: var(--primary); }
.navbar:not(.scrolled) .btn-primary:hover { background: rgba(255, 255, 255, 0.95); color: var(--primary); }
.navbar:not(.scrolled) .logo-icon { background: var(--white); color: var(--primary); }
.navbar:not(.scrolled) .mobile-toggle span { background: var(--white); }

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

/* Sous-pages : barre claire dès le chargement */
.navbar.navbar-page {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}
.navbar.navbar-page .logo { color: var(--gray-900); }
.navbar.navbar-page .logo-icon {
    background: var(--primary);
    color: var(--white);
}
.navbar.navbar-page .nav-links a { color: var(--gray-600); }
.navbar.navbar-page .nav-links a:hover { color: var(--gray-900); }
.navbar.navbar-page .btn-ghost { color: var(--gray-600); }
.navbar.navbar-page .btn-ghost:hover { background: var(--gray-100); }
.navbar.navbar-page .btn-primary { background: var(--primary); color: var(--white); }
.navbar.navbar-page .btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.navbar.navbar-page .mobile-toggle span { background: var(--gray-700); }
.navbar.navbar-page .nav-caret { display: inline-block; margin-left: 4px; opacity: 0.7; }
.nav-item-dropdown {
    position: relative;
}
.nav-item-dropdown .dropdown-panel {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 220px;
    padding: 8px 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    z-index: 200;
}
.nav-item-dropdown:hover .dropdown-panel { display: block; }
.dropdown-panel a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}
.dropdown-panel a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Article (textes Word) */
.page-hero {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f2f1f6 0%, #e8eef8 100%);
    border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    max-width: 720px;
}
.page-hero .lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}
.page-hero .sub {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 640px;
    line-height: 1.6;
}
.page-content {
    padding: 48px 0 100px;
}
.prose-block {
    max-width: 720px;
    margin: 0 auto;
}
.prose-block h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 40px 0 16px;
}
.prose-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 28px 0 10px;
}
.prose-block p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}
.prose-block ul {
    margin: 0 0 24px;
    padding-left: 22px;
    color: var(--gray-600);
    line-height: 1.75;
}
.prose-block li { margin-bottom: 12px; }
.prose-block strong { color: var(--gray-900); font-weight: 600; }
.prose-block a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.prose-block a:hover { color: var(--primary-dark); }

/* ========== Pages institutionnelles (même langage visuel que l’accueil) ========== */
.page-rich-layout .page-hero {
    padding: 0;
    background: none;
    border: none;
}

/* Hero sous-pages : dégradé identique à .hero + grille texte + visuel */
.subpage-hero {
    position: relative;
    padding: clamp(100px, 16vw, 152px) 0 clamp(48px, 7vw, 80px);
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.subpage-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(30, 58, 138, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(23, 37, 84, 0.15), transparent);
    z-index: 0;
    pointer-events: none;
}
.subpage-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(240px, 420px);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}
.subpage-hero-copy .hero-badge {
    margin-bottom: 20px;
}
.subpage-hero-copy h1 {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.subpage-hero-copy .gradient-text {
    background: linear-gradient(135deg, #93c5fd, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subpage-hero-copy .subpage-lead {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 12px;
    line-height: 1.4;
}
.subpage-hero-copy .hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin: 0 0 4px;
    max-width: 36rem;
    text-align: left;
}
.subpage-hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.subpage-hero .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.subpage-hero-media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.subpage-hero-media img {
    width: 100%;
    height: auto;
    min-height: 220px;
    max-height: min(52vh, 440px);
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

/* Ancien bloc plein écran image + overlay (rétrocompat si besoin) */
.solution-hero-visual {
    position: relative;
    min-height: 320px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    margin: 96px 24px 0;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}
.solution-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.solution-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(15, 52, 96, 0.75) 50%, rgba(30, 58, 138, 0.65) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 32px;
}
.solution-hero-overlay-inner {
    max-width: 720px;
}
.solution-hero-overlay h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.solution-hero-overlay .lead {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 8px;
}
.solution-hero-overlay .sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}
.solution-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.solution-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.solution-badge-pill svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.page-rich-layout .solution-intro {
    max-width: none;
    margin: 0;
    padding: clamp(48px, 8vw, 72px) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.solution-intro .solution-intro-head {
    margin-bottom: 24px;
}
.solution-intro .solution-intro-head h2 {
    margin-bottom: 0;
}
.solution-intro-prose {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.solution-intro-prose p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.75;
    margin: 0 0 12px;
}
.solution-intro-prose p:last-child {
    margin-bottom: 0;
}

.solution-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    text-align: center;
}
.solution-intro h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.solution-intro p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.75;
    margin: 0 0 12px;
}
.solution-intro p:last-child { margin-bottom: 0; }

.solution-stats-outer {
    background: var(--gray-50);
    padding: clamp(40px, 6vw, 56px) 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.page-rich-layout .solution-stats-outer .solution-stats {
    margin-bottom: 0;
}
.page-rich-layout .solution-stats {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}
.page-rich-layout .container > .solution-stats {
    padding-left: 0;
    padding-right: 0;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 0 24px;
}
.solution-stat-card {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.solution-stat-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.solution-stat-card .num {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}
.solution-stat-card .lbl {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.solution-features-section {
    padding: 40px 24px 64px;
    background: var(--gray-50);
}
.page-rich-layout .solution-features-section {
    padding: clamp(48px, 8vw, 80px) 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
}
.page-rich-layout .solution-features-section .section-header {
    margin-bottom: clamp(36px, 5vw, 48px);
}
.page-rich-layout .solution-features-section .section-header h2 {
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.page-rich-layout .solution-features-section .section-header .section-desc {
    margin-bottom: 0;
}
.solution-features-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 12px;
}
.solution-features-section .section-desc {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.65;
}
.page-rich-layout .solution-features-section .section-desc {
    margin-left: auto;
    margin-right: auto;
}
.solution-feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.solution-fcard {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.25s;
}
.solution-fcard:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.solution-fcard-visual {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.solution-fcard-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.solution-fcard-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--primary);
}
.solution-fcard-body {
    padding: 24px 22px 26px;
}
.solution-fcard-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 10px;
}
.solution-fcard-body p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

.solution-split-banner {
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}
.solution-split-banner .img-wrap {
    min-height: 280px;
}
.solution-split-banner .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}
.solution-split-banner .text-wrap {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.solution-split-banner .text-wrap h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 14px;
}
.solution-split-banner .text-wrap p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 0 12px;
}
.solution-split-banner .text-wrap ul {
    margin: 8px 0 0;
    padding-left: 20px;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.65;
}
.solution-split-banner .text-wrap li { margin-bottom: 8px; }

.solution-graphic-wrap {
    max-width: 1000px;
    margin: 0 auto 56px;
    padding: 0 24px;
}
.solution-infographic {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px 28px 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.solution-infographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #3b82f6, var(--primary-dark));
}
.solution-infographic h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 28px;
}
.solution-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}
.solution-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 140px;
}
.solution-flow-step .circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-light), #e0e7ff);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}
.solution-flow-step span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.35;
}
.solution-flow-arrow {
    color: var(--gray-300);
    flex-shrink: 0;
}
.solution-cta-inline {
    text-align: center;
    padding: 0 24px 80px;
}
.solution-cta-inline .btn { margin: 4px; }
.solution-back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

.solution-legal-document {
    max-width: 880px;
    margin: 0 auto 100px;
    padding: 48px 40px 56px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}
.solution-legal-document h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
    margin: 40px 0 16px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-100);
}
.solution-legal-document h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.solution-legal-document h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 24px 0 10px;
}
.solution-legal-document p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 14px;
}
.solution-legal-document ul {
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 15px;
}
.solution-legal-document li { margin-bottom: 8px; }
.solution-legal-document a { color: var(--primary); font-weight: 600; }
.solution-legal-document .legal-lead {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin: 8px 0 16px;
}

@media (max-width: 900px) {
    .solution-feature-cards {
        grid-template-columns: 1fr;
    }
    .solution-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .solution-split-banner {
        grid-template-columns: 1fr;
    }
    .solution-split-banner .img-wrap { order: -1; min-height: 220px; }
    .solution-flow-arrow {
        transform: rotate(90deg);
    }
    .subpage-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .subpage-hero-copy .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .subpage-hero-copy .solution-badges-row {
        justify-content: center;
    }
    .subpage-hero-media {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
    .solution-hero-visual {
        margin: 88px 16px 0;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .solution-legal-document {
        margin-left: 16px;
        margin-right: 16px;
        padding: 32px 22px 40px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: clamp(12px, 2.5vw, 28px);
    flex-wrap: nowrap;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--gray-900); }

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}
.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.mobile-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =============================================
   HERO
   ============================================= */

.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(30, 58, 138, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(23, 37, 84, 0.15), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(30, 58, 138, 0.3);
    color: rgba(255, 255, 255, 0.95);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.hero .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #1E3A8A, #172554);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat { text-align: center; }
.hero .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}
.hero .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}
.hero .stat-divider {
    background: rgba(255, 255, 255, 0.3);
}

/* =============================================
   TRUSTED BY
   ============================================= */

.trusted-by {
    padding: 60px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.trusted-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-300);
    white-space: nowrap;
}

/* =============================================
   SECTION HEADER
   ============================================= */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-badge {
    display: inline-flex;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-500);
}

/* =============================================
   FEATURES
   ============================================= */

.features {
    padding: 100px 0;
}

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

.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    background: var(--white);
}
.feature-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--icon-color) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--icon-color);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* =============================================
   ROLES
   ============================================= */

.roles {
    padding: 100px 0;
    background: var(--gray-50);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.role-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.role-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.role-card-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
    position: relative;
}

.role-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.role-syndic { background: #dbeafe; color: #1E3A8A; }
.role-owner { background: var(--primary-light); color: var(--primary); }
.role-artisan { background: #d1fae5; color: #059669; }

.role-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.role-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.role-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.role-features li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: 24px;
    position: relative;
}
.role-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 12px;
    color: var(--gray-300);
    flex-shrink: 0;
}

/* =============================================
   MOBILE APP
   ============================================= */

.mobile-app {
    padding: 100px 0;
    background: var(--gray-50);
}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.mobile-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.mobile-text p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.mobile-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.mobile-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 500;
}

.app-stores {
    display: flex;
    gap: 12px;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gray-900);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.store-badge:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
}

/* Phone mockup */
.mobile-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    border-radius: 36px;
    background: var(--gray-900);
    padding: 8px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.1);
}

.phone-screen {
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    min-height: 480px;
}

.phone-header {
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8px;
}
.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--gray-900);
    border-radius: 0 0 16px 16px;
}

.phone-content {
    padding: 16px;
}

.phone-app-bar {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.phone-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}
.phone-stat-row {
    display: flex;
    gap: 16px;
}
.phone-stat { flex: 1; }
.phone-stat-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}
.phone-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

.phone-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}
.phone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.phone-dot.green { background: #10b981; }
.phone-dot.orange { background: #f59e0b; }
.phone-dot.blue { background: #3b82f6; }

.phone-list-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}
.phone-list-sub {
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* =============================================
   PRICING
   ============================================= */

.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
    position: relative;
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.pricing-price {
    margin-bottom: 8px;
}
.price-amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}
.price-period {
    font-size: 16px;
    color: var(--gray-400);
}

.pricing-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}
.pricing-features li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: 28px;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* =============================================
   CTA
   ============================================= */

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.cta .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
    background: transparent;
}
.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--white);
}
.cta-foot {
    margin-top: 28px;
}
.cta .solution-back-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cta .solution-back-link:hover {
    color: var(--white);
}

/* =============================================
   CONTACT
   ============================================= */

.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.contact-info > p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
}
.contact-item svg {
    flex-shrink: 0;
    color: var(--primary);
}
.contact-item a {
    color: var(--gray-700);
    transition: color 0.2s;
}
.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}
.form-group textarea { resize: vertical; }

/* =============================================
   FOOTER
   ============================================= */

.footer {
    padding: 64px 0 32px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    color: var(--gray-500);
}

.footer-brand .logo span { color: var(--white); }

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}
.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    color: var(--gray-500);
    transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }

/* =============================================
   ANIMATIONS
   ============================================= */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.05s; }
.feature-card:nth-child(3) { transition-delay: 0.1s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.2s; }
.feature-card:nth-child(6) { transition-delay: 0.25s; }
.feature-card:nth-child(7) { transition-delay: 0.3s; }
.feature-card:nth-child(8) { transition-delay: 0.35s; }
.feature-card:nth-child(9) { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .features-grid,
    .roles-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 { font-size: 44px; }
    .section-header h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        margin-bottom: 48px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .features-grid,
    .roles-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .step-arrow {
        transform: rotate(90deg);
    }

    .mobile-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .mobile-visual { order: -1; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .section-header h2 { font-size: 28px; }
    .cta h2 { font-size: 28px; }
    .mobile-text h2 { font-size: 28px; }
    .contact-info h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .container { padding: 0 16px; }
    .feature-card { padding: 24px; }
    .role-card { padding: 28px 24px; }
    .pricing-card { padding: 28px 24px; }
    .contact-form { padding: 24px; }

    .app-stores {
        flex-direction: column;
    }
}
