/* ============================================================
   PharmaLogix — Feuille de styles principale
   Palette : Navy #0F2B5B | Blue #1A73E8 | Teal #00C9A7
   Typographie : Poppins (titres) + Inter (corps)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs */
    --c-navy: #0F2B5B;
    --c-navy-light: #1a3a6e;
    --c-blue: #1A73E8;
    --c-blue-light: #4a9af5;
    --c-teal: #00C9A7;
    --c-teal-light: #33d4b8;
    --c-white: #FFFFFF;
    --c-off-white: #F8FAFC;
    --c-gray-50: #F1F5F9;
    --c-gray-100: #E2E8F0;
    --c-gray-200: #CBD5E1;
    --c-gray-300: #94A3B8;
    --c-gray-400: #64748B;
    --c-gray-500: #475569;
    --c-text: #1E293B;
    --c-text-light: #64748B;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00C9A7 0%, #1A73E8 100%);
    --grad-hero: linear-gradient(160deg, #0F2B5B 0%, #1a3a6e 50%, #0F2B5B 100%);
    --grad-cta: linear-gradient(135deg, #1A73E8 0%, #00C9A7 100%);

    /* Typographie */
    --ff-heading: 'Poppins', sans-serif;
    --ff-body: 'Inter', sans-serif;

    /* Espacements */
    --section-py: 6rem;
    --container-px: 1.5rem;
    --container-max: 1200px;

    /* Bordures & Ombres */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(15, 43, 91, 0.06);
    --shadow-md: 0 4px 20px rgba(15, 43, 91, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 43, 91, 0.12);
    --shadow-xl: 0 20px 60px rgba(15, 43, 91, 0.15);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ---- UTILITAIRES ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section {
    padding: var(--section-py) 0;
}

.section--alt {
    background: var(--c-off-white);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section__tag {
    display: inline-block;
    font-family: var(--ff-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-teal);
    background: rgba(0, 201, 167, 0.1);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--c-navy);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--c-text-light);
    line-height: 1.7;
}

/* ---- BOUTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn--primary {
    background: var(--grad-primary);
    color: var(--c-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 201, 167, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 201, 167, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--white {
    background: var(--c-white);
    color: var(--c-navy);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--ghost {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 43, 91, 0.06);
    transition: all var(--transition);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.nav__logo-text {
    font-family: var(--ff-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--c-navy);
}

.nav__logo-text strong {
    font-weight: 800;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-family: var(--ff-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-gray-500);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--c-navy);
    background: var(--c-gray-50);
}

.nav__item--cta {
    margin-left: 0.75rem;
}

/* Toggle mobile */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    padding-top: 4.5rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero__orb--1 {
    width: 600px;
    height: 600px;
    background: var(--c-teal);
    top: -20%;
    right: -10%;
    animation: floatOrb 20s ease-in-out infinite;
}

.hero__orb--2 {
    width: 400px;
    height: 400px;
    background: var(--c-blue);
    bottom: -10%;
    left: -5%;
    animation: floatOrb 15s ease-in-out infinite reverse;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--c-teal);
    background: rgba(0, 201, 167, 0.1);
    border: 1px solid rgba(0, 201, 167, 0.2);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--ff-heading);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--c-white);
    margin-bottom: 1.5rem;
}

.hero__title--highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__trust-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__trust-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hero__trust-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

/* Hero Dashboard mockup */
.hero__visual {
    display: flex;
    justify-content: center;
}

.hero__dashboard {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: dashFloat 6s ease-in-out infinite;
}

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

.hero__dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero__dashboard-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.5rem;
}

.hero__dashboard-body {
    display: flex;
    min-height: 220px;
}

.hero__dashboard-sidebar {
    width: 50px;
    background: rgba(0, 0, 0, 0.15);
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.hero__dashboard-nav-item {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
}

.hero__dashboard-nav-item--active {
    background: rgba(0, 201, 167, 0.3);
    border: 1px solid rgba(0, 201, 167, 0.4);
}

.hero__dashboard-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero__dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
}

.hero__dashboard-card--chart {
    flex: 1;
}

.hero__dashboard-chart-title {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.hero__dashboard-chart {
    width: 100%;
    height: auto;
}

.hero__dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hero__dashboard-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    text-align: center;
}

.hero__dashboard-stat-value {
    display: block;
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-teal);
}

.hero__dashboard-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============ SOLUTIONS ============ */
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-card {
    background: var(--c-white);
    border: 1px solid var(--c-gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.solution-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,201,167,0.1), rgba(26,115,232,0.1));
    border-radius: var(--radius-md);
    color: var(--c-blue);
    margin-bottom: 1.25rem;
}

.solution-card__title {
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.75rem;
}

.solution-card__desc {
    font-size: 0.925rem;
    color: var(--c-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.solution-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.solution-card__features li {
    font-size: 0.85rem;
    color: var(--c-gray-500);
    padding-left: 1.25rem;
    position: relative;
}

.solution-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--c-teal);
    border-radius: 50%;
}

.solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--ff-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-blue);
    transition: all var(--transition);
}

.solution-card__link:hover {
    color: var(--c-teal);
    gap: 0.65rem;
}

/* ============ POURQUOI NOUS ============ */
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why__item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.why__item:hover {
    background: var(--c-white);
    box-shadow: var(--shadow-md);
}

.why__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
    color: var(--c-white);
    border-radius: var(--radius-md);
    margin: 0 auto 1.25rem;
}

.why__title {
    font-family: var(--ff-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.75rem;
}

.why__desc {
    font-size: 0.9rem;
    color: var(--c-text-light);
    line-height: 1.7;
}

/* ============ CHIFFRES ============ */
.stats {
    background: var(--grad-hero);
    padding: 5rem 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats__item {
    padding: 1rem;
}

.stats__number {
    font-family: var(--ff-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stats__suffix {
    font-family: var(--ff-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============ TEMOIGNAGES ============ */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial {
    background: var(--c-white);
    border: 1px solid var(--c-gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial__stars {
    display: flex;
    gap: 0.15rem;
    color: #F59E0B;
    margin-bottom: 1rem;
}

.testimonial__text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--c-gray-500);
    font-style: italic;
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--c-gray-100);
    padding-top: 1.25rem;
}

.testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--c-white);
    font-family: var(--ff-heading);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial__name {
    display: block;
    font-family: var(--ff-heading);
    font-size: 0.9rem;
    font-weight: 600;
    font-style: normal;
    color: var(--c-navy);
}

.testimonial__role {
    font-size: 0.8rem;
    color: var(--c-gray-300);
}

/* ============ CTA ============ */
.cta {
    background: var(--grad-cta);
    text-align: center;
    padding: 5rem 0;
}

.cta__content {
    max-width: 640px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--c-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--c-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .nav__logo-text {
    color: var(--c-white);
}

.footer__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer__heading {
    font-family: var(--ff-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-white);
    margin-bottom: 1.25rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--c-teal);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.footer__social-link:hover {
    color: var(--c-white);
    background: rgba(0, 201, 167, 0.2);
}

/* ============ ANIMATIONS (Scroll Reveal) ============ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

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

/* Tablette */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__dashboard {
        max-width: 400px;
    }

    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-py: 4rem;
    }

    /* Nav mobile */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--c-white);
        flex-direction: column;
        align-items: stretch;
        padding: 6rem 2rem 2rem;
        gap: 0.25rem;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }

    .nav__menu--open {
        right: 0;
    }

    .nav__link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav__item--cta {
        margin-left: 0;
        margin-top: 1rem;
    }

    .nav__item--cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Toggle animation */
    .nav__toggle--active .nav__toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle--active .nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle--active .nav__toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero__dashboard {
        max-width: 320px;
    }

    .hero__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

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

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

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        justify-content: center;
    }

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