/* PharmGO Production Web Experience */

:root {
    color-scheme: light dark;
    
    /* Light mode colors */
    --bg-page-light: #ffffff;
    --bg-dark-light: #f5f7fa;
    --bg-light-light: #ffffff;
    --bg-card-light: rgba(0, 0, 0, 0.04);
    --bg-card-strong-light: rgba(0, 0, 0, 0.08);
    --brand-primary-light: #0d854d;
    --brand-primary-dark-light: #076b3e;
    --brand-secondary-light: #34d399;
    --brand-accent-light: #ef4444;
    --brand-ink-light: #111827;
    --text-main-light: rgba(17, 24, 39, 0.95);
    --text-soft-light: rgba(55, 65, 81, 0.95);
    --text-muted-light: rgba(75, 85, 99, 0.95);

    /* Dark mode colors */
    --bg-page-dark: #040f07;
    --bg-dark-dark: #071a10;
    --bg-light-dark: #0d1912;
    --bg-card-dark: rgba(255, 255, 255, 0.08);
    --bg-card-strong-dark: rgba(14, 61, 33, 0.72);
    --brand-primary-dark: #34d399;
    --brand-primary-darker-dark: #10b981;
    --brand-secondary-dark: #6ee7b7;
    --brand-accent-dark: #f87171;
    --brand-ink-dark: #f3f4f6;
    --text-main-dark: rgba(255, 255, 255, 0.95);
    --text-soft-dark: rgba(255, 255, 255, 0.8);
    --text-muted-dark: rgba(255, 255, 255, 0.6);

    /* Common properties */
    --shadow-strong: 0 24px 80px rgba(10, 40, 21, 0.15);
    --shadow-soft: 0 18px 40px rgba(9, 45, 23, 0.1);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-muted: rgba(0, 0, 0, 0.1);
    /* Layout */
    --container-max: 1200px;
    --nav-height: 72px;
    
    /* Typography */
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-size-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
    --font-size-xl: clamp(1.25rem, 1.125rem + 0.625vw, 1.75rem);
    --font-size-2xl: clamp(1.5rem, 1.375rem + 0.625vw, 2rem);
    --font-size-3xl: clamp(1.875rem, 1.675rem + 1vw, 2.5rem);
    --font-size-4xl: clamp(2.25rem, 2rem + 1.25vw, 3rem);
    
    /* Spacing */
    --space-2xs: clamp(0.25rem, 0.25rem + 0.25vw, 0.5rem);
    --space-xs: clamp(0.5rem, 0.5rem + 0.25vw, 0.75rem);
    --space-sm: clamp(0.75rem, 0.75rem + 0.375vw, 1rem);
    --space-md: clamp(1rem, 1rem + 0.5vw, 1.5rem);
    --space-lg: clamp(1.5rem, 1.5rem + 0.75vw, 2rem);
    --space-xl: clamp(2rem, 2rem + 1vw, 3rem);
    --space-2xl: clamp(3rem, 3rem + 1.5vw, 4rem);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --gradient-main: radial-gradient(circle at -10% 10%, rgba(36, 193, 107, 0.35), transparent 55%),
        linear-gradient(150deg, rgba(4, 15, 7, 0.9) 0%, rgba(13, 53, 29, 0.96) 45%, rgba(4, 15, 7, 0.95) 100%);
}

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

html {
    scroll-behavior: smooth;
}

/* Apply light theme by default */
:root {
    --bg-page: var(--bg-page-light);
    --bg-dark: var(--bg-dark-light);
    --bg-light: var(--bg-light-light);
    --bg-card: var(--bg-card-light);
    --bg-card-strong: var(--bg-card-strong-light);
    --brand-primary: var(--brand-primary-light);
    --brand-primary-dark: var(--brand-primary-dark-light);
    --brand-secondary: var(--brand-secondary-light);
    --brand-accent: var(--brand-accent-light);
    --brand-ink: var(--brand-ink-light);
    --text-main: var(--text-main-light);
    --text-soft: var(--text-soft-light);
    --text-muted: var(--text-muted-light);
}

/* Apply dark theme when user prefers it */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-page: var(--bg-page-dark);
        --bg-dark: var(--bg-dark-dark);
        --bg-light: var(--bg-light-dark);
        --bg-card: var(--bg-card-dark);
        --bg-card-strong: var(--bg-card-strong-dark);
        --brand-primary: var(--brand-primary-dark);
        --brand-primary-dark: var(--brand-primary-darker-dark);
        --brand-secondary: var(--brand-secondary-dark);
        --brand-accent: var(--brand-accent-dark);
        --brand-ink: var(--brand-ink-dark);
        --text-main: var(--text-main-dark);
        --text-soft: var(--text-soft-dark);
        --text-muted: var(--text-muted-dark);
    }
}

body {
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(76, 227, 174, 0.75);
    outline-offset: 3px;
}

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

main {
    padding-top: var(--nav-height);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.surface-gradient,
.surface-blur {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

.surface-gradient {
    background: radial-gradient(circle at 20% 30%, rgba(36, 193, 107, 0.6), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(76, 227, 174, 0.25), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(247, 102, 87, 0.2), transparent 60%);
}

.surface-blur {
    backdrop-filter: blur(200px);
}

.page-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(100%, var(--container-max));
    margin: 0 auto;
    padding: 0 1.25rem;
}

.top-nav {
    position: fixed;
    top: 0;
    z-index: 20;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
    backdrop-filter: blur(16px);
    background: rgba(7, 25, 14, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem;
    box-shadow: 0 12px 24px rgba(5, 45, 23, 0.35);
}

.brand-wordmark {
    background: linear-gradient(135deg, #ffffff 0%, #b6ffd9 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 20px rgba(35, 143, 83, 0.4);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(3, 14, 7, 0.7);
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition);
}

.nav-toggle__bar {
    display: block;
    height: 2px;
    width: 22px;
    margin: 0 auto;
    background: var(--text-main);
    border-radius: 999px;
    transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    bottom: auto;
    background: rgba(7, 26, 14, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 21;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(36, 193, 107, 0.08);
    border: 1px solid rgba(76, 227, 174, 0.1);
    text-align: center;
}

/* Mobile nav items with inline icons */
.nav-links .nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
}

.nav-links .nav-icon svg {
    display: block;
    stroke: var(--brand-secondary);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.nav-links a:hover {
    background: rgba(36, 193, 107, 0.18);
}

.nav-links.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.nav-cta {
    background: linear-gradient(120deg, var(--brand-primary) 0%, var(--brand-secondary) 90%);
    color: var(--brand-ink);
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(36, 193, 107, 0.35);
}

.hero {
    padding: 4.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.nav-backdrop {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: rgba(4, 15, 7, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 20;
}

.nav-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(76, 227, 174, 0.3), transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(36, 193, 107, 0.25), transparent 55%);
    opacity: 0.8;
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.45rem, 6vw, 3.8rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-copy .lede {
    font-size: 1.05rem;
    color: var(--text-soft);
    max-width: 36rem;
    margin-bottom: 2rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.75rem;
    color: var(--brand-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(130deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: var(--brand-ink);
    box-shadow: 0 16px 32px rgba(36, 193, 107, 0.35);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-main);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.metric-chip {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    flex-direction: column;
    min-width: 140px;
    box-shadow: var(--shadow-soft);
}

.metric-value {
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.trust-row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.trust-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-weight: 600;
}

.trust-avatars span {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual {
    position: relative;
    display: grid;
    gap: 1.5rem;
    place-items: center;
    align-content: start;
}

.hero-photo {
    position: relative;
    width: min(360px, 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo__badge {
    position: absolute;
    inset: auto 1.25rem 1.25rem 1.25rem;
    background: rgba(4, 15, 7, 0.78);
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(4, 15, 7, 0.35);
}

.hero-card {
    background: rgba(12, 40, 22, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.6rem;
    max-width: 320px;
    text-align: left;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    width: min(320px, 100%);
}

.hero-card--logistics {
    background: linear-gradient(140deg, rgba(36, 193, 107, 0.22), rgba(4, 15, 7, 0.9));
}

.hero-card__title {
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-secondary);
}

.hero-card__copy {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.6;
}

.progress {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0.75rem 0;
    overflow: hidden;
}

.progress__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-secondary));
    transition: width 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.route-map {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.route-node {
    flex: 1;
    height: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.22);
}

.route-node--active {
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary));
}

.globe {
    position: absolute;
    inset: auto -40% -40% auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at 30% 30%, rgba(76, 227, 174, 0.7), transparent 65%);
    filter: blur(40px);
    opacity: 0.6;
    animation: pulse-glow 6s ease-in-out infinite;
}

.section {
    padding: 4.5rem 0;
    position: relative;
}

.section--light {
    background: var(--bg-light);
    color: var(--brand-ink);
}

.section--dark {
    background: radial-gradient(circle at 20% 20%, rgba(36, 193, 107, 0.2), rgba(4, 15, 7, 0.92));
}

.section--cta {
    background: linear-gradient(120deg, rgba(36, 193, 107, 0.15), rgba(7, 128, 65, 0.88));
}

.section-head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    line-height: 1.2;
}

.section-sub {
    font-size: 1rem;
    color: rgba(9, 18, 11, 0.72);
    max-width: 28rem;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
}

.section--light .feature-card {
    background: white;
    border: 1px solid rgba(9, 18, 11, 0.08);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: 0 24px 45px rgba(8, 52, 29, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.section--light .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 65px rgba(8, 52, 29, 0.12);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: #000000;
}

.feature-card p {
    color: #000000;
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #000000;
}

.feature-card ul li::before {
    content: '•';
    color: var(--brand-primary);
    margin-right: 0.5rem;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.workflow {
    display: grid;
    gap: 2rem;
}

.workflow-steps {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.workflow-step {
    background: rgba(7, 26, 14, 0.78);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.workflow-step::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(36, 193, 107, 0.2), rgba(76, 227, 174, 0.5));
}

.step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--brand-secondary);
    margin-bottom: 0.9rem;
}

.workflow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.impact {
    display: grid;
    gap: 3rem;
}

.impact-grid {
    display: grid;
    gap: 1.25rem;
}

.impact-card {
    background: rgba(7, 24, 13, 0.7);
    border: 1px solid rgba(36, 193, 107, 0.22);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    text-align: center;
}

.impact-metric {
    font-size: 2.4rem;
    font-weight: 700;
    display: block;
}

.impact-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.stories {
    display: grid;
    gap: 2.5rem;
}

.stories-cta {
    display: grid;
    gap: 0.5rem;
    color: var(--text-soft);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.link-arrow::after {
    content: '→';
    transition: transform 180ms ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.story-carousel {
    display: grid;
    gap: 1.5rem;
}

.story-card {
    background: rgba(7, 27, 15, 0.78);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
}

.story-card header {
    margin-bottom: 1rem;
}

.story-badge {
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(36, 193, 107, 0.2);
    color: var(--brand-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.story-card h3 {
    margin-top: 0.75rem;
    font-size: 1.2rem;
}

.story-card p {
    color: var(--text-soft);
    margin-bottom: 1.25rem;
}

.story-card footer {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--text-muted);
}

.section--cta .cta-block {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.cta-form {
    display: grid;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-strong);
}

.cta-form label {
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-form input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(4, 15, 7, 0.6);
    color: var(--text-main);
    font-size: 0.95rem;
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.privacy-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.privacy-hint a {
    color: var(--brand-secondary);
    font-weight: 600;
}

.privacy-hint a:hover {
    color: #ffffff;
}

.form-feedback {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.76);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 250ms ease, transform 250ms ease;
}

.form-feedback--visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    background: rgba(4, 15, 7, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-copy {
    color: var(--text-muted);
    margin-top: 0.75rem;
    max-width: 18rem;
    font-size: 0.9rem;
}

.site-footer h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-social a:hover {
    background: rgba(36, 193, 107, 0.25);
    color: var(--brand-ink);
}

.footer-form {
    display: grid;
    gap: 0.75rem;
}

.footer-form input {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.footer-meta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (min-width: 720px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        align-items: center;
        gap: 1rem;
        background: transparent;
        border: 0;
        padding: 0;
        pointer-events: auto;
        opacity: 1;
        transform: none;
    }

    .nav-links a {
        background: transparent;
        border: 0;
        padding: 0.5rem 0.75rem;
    }

    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3.5rem;
    }

    .section-head {
        grid-template-columns: 1.6fr 1fr;
        align-items: end;
    }

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

    .workflow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stories-cta {
        justify-items: end;
        text-align: right;
    }

    .story-carousel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section--cta .cta-block {
        grid-template-columns: 1.1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 4vw, 4.2rem);
    }


    .section {
        padding: 5rem 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Modal system ----------------------------------------------------------- */
.web-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 15, 7, 0.85);
    backdrop-filter: blur(18px);
    z-index: 1000;
    padding: 1rem;
}

.web-modal.is-open {
    display: flex;
}

.web-modal__dialog {
    width: min(100%, 500px);
    max-height: 90vh;
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 26, 14, 0.95);
    box-shadow: 0 30px 80px rgba(7, 40, 21, 0.32);
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
}

.web-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: #34d399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.web-modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f3f4f6;
    margin: 0;
}

.web-modal__message {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.web-modal__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.web-modal__close {
    background: none;
    border: none;
    color: rgba(229, 255, 244, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.web-modal__close:hover {
    color: rgba(229, 255, 244, 0.9);
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: #20c157;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-float:focus {
    outline: 2px solid #25d366;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}