/* ============================================
eDariba Bento Landing — Design Tokens
============================================ */
:root {
    /* Palette */
    --teal-900: #0A4D4D;
    --teal-700: #2D6B6B;
    --teal-500: #3C8B8B;
    --teal-100: #E0EDED;
    --beige-500: #D4B5A0;
    --beige-300: #E8D5C4;
    --brown-900: #4A3426;
    --brown-700: #6B4E3A;
    --cyan-400: #61FFED;
    --cream-100: #F4EDE4;
    --white: #FFFFFF;
    --black: #000000;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --success: #047857;
    --amber: #F9C80E;
    --info: #2563EB;
    --error: #DC2626;

    /* Dark bento tokens */
    --b-bg: #060E0E;
    --h-bg: #DFFFFD;
    --h-fg-2: #191919;
    --b-surface: #0E1C1C;
    --b-surface-2: #152424;
    --b-border: rgba(97, 255, 237, .10);
    --b-border-strong: rgba(97, 255, 237, .22);
    --b-neon: #61FFED;
    --b-fg: #EAF7F5;
    --b-fg-2: rgba(234, 247, 245, .7);
    --b-fg-3: rgba(234, 247, 245, .45);

    /* Type */
    --font-heading: 'IBM Plex Sans Arabic', 'Cairo', 'Tajawal', Arial, sans-serif;
    --font-body: 'Tajawal', 'Cairo', Arial, sans-serif;

    /* Spacing */
    --s-xs: 4px;
    --s-sm: 8px;
    --s-md: 16px;
    --s-lg: 24px;
    --s-xl: 32px;
    --s-2xl: 48px;
    --s-3xl: 64px;
    --s-4xl: 96px;

    /* Radius */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 9999px;

    /* Shadows */
    --shadow-subtle: 0 2px 8px rgba(10, 77, 77, .08);
    --shadow-medium: 0 4px 16px rgba(10, 77, 77, .12);
    --shadow-large: 0 8px 32px rgba(10, 77, 77, .16);
    --shadow-bento: 0 12px 48px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(97, 255, 237, .06);
    --shadow-focus: 0 0 0 4px rgba(10, 77, 77, .12);

    /* Motion */
    --dur-fast: 150ms;
    --dur-med: 300ms;
    --dur-slow: 500ms;
    --ease-std: cubic-bezier(.4, 0, .2, 1);
}

/* ============================================
Reset & Base
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    direction: rtl;
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -.01em
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

/* ============================================
Hero Bento Section
============================================ */
.hero-bento {
    background: var(--b-bg);
    padding: var(--s-4xl) 0
}

.hero-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: var(--s-md)
}

/* Main hero tile — spans 2 cols, 2 rows */
.hero-main {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--s-2xl);
    position: relative;
    overflow: hidden
}

.hero-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 100% 0%, rgba(97, 255, 237, .15), transparent 60%);
    pointer-events: none
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cyan-400);
    margin-bottom: var(--s-md)
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--b-fg);
    margin-bottom: var(--s-md)
}

.hero-subtitle {
    font-size: 17px;
    color: var(--b-fg-2);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: var(--s-xl)
}

.hero-bento-grid .btn-cta {
    align-self: flex-start
}

/* Image tile */
.hero-image-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s-md)
}

.hero-image-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--r-md)
}

/* Responsive */
@media(max-width:1024px) {
    .hero-bento {
        padding: var(--s-3xl) 0
    }

    .hero-bento-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .hero-main {
        grid-column: span 2;
        grid-row: span 1
    }
}

@media(max-width:640px) {
    .hero-bento {
        padding: var(--s-2xl) 0
    }

    .hero-bento-grid {
        grid-template-columns: 1fr
    }

    .hero-main {
        grid-column: span 1
    }

    .hero-title {
        font-size: clamp(26px, 7vw, 40px)
    }

    .hero-subtitle {
        font-size: 15px;
        max-width: 100%
    }
}

/* ============================================
Layout
============================================ */
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--s-lg);
    box-sizing: border-box;
}

section {
    padding: var(--s-3xl) 0
}

/* ============================================
Bento Grid — General Tiles
============================================ */
.bento-section {
    padding: var(--s-3xl) 0
}

.bento-section.dark {
    background: var(--b-bg)
}

.bento-section.cream {
    background: var(--cream-100)
}

.bento-grid {
    display: grid;
    gap: var(--s-md);
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(140px, auto);
}

/* Trust section: 4 cols desktop */
.bento-grid--trust {
    grid-template-columns: repeat(4, 1fr);
}

/* Why section: 2 cols desktop */
.bento-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Span helpers — controlled via classes, not inline styles */
.tile-span-2 {
    grid-column: span 2;
}

.tile-span-2-row-2 {
    grid-column: span 2;
    grid-row: span 2;
}

@media(max-width:1024px) {

    .bento-grid,
    .bento-grid--trust {
        grid-template-columns: repeat(2, 1fr)
    }

    .bento-grid--2col {
        grid-template-columns: repeat(2, 1fr)
    }

    /* span-2 tiles stay 2-wide on tablet (2-col grid) */
    .tile-span-2,
    .tile-span-2-row-2 {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media(max-width:640px) {

    .bento-grid,
    .bento-grid--2col {
        grid-template-columns: 1fr
    }

    .bento-grid--trust {
        grid-template-columns: repeat(2, 1fr)
    }

    .bento-grid .tile-span-2,
    .bento-grid .tile-span-2-row-2,
    .bento-grid--2col .tile-span-2,
    .bento-grid--2col .tile-span-2-row-2 {
        grid-column: span 1;
        grid-row: auto;
    }

    .bento-grid--trust .tile-span-2,
    .bento-grid--trust .tile-span-2-row-2 {
        grid-column: span 2;
        grid-row: auto;
    }
}

/* Tile base */
.tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    padding: var(--s-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--dur-med) var(--ease-std), box-shadow var(--dur-med) var(--ease-std);
}

.tile:hover {
    transform: translateY(-4px)
}

/* Tile variants */
.tile--cream {
    background: var(--cream-100);
    border: 1px solid rgba(10, 77, 77, .06);
    box-shadow: var(--shadow-subtle)
}

.tile--cream:hover {
    box-shadow: var(--shadow-medium)
}

.tile--white {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-subtle)
}

.tile--white:hover {
    box-shadow: var(--shadow-medium)
}

.tile--dark {
    background: var(--b-surface);
    border: 1px solid var(--b-border);
    color: var(--b-fg);
    box-shadow: var(--shadow-bento)
}

.tile--dark:hover {
    box-shadow: 0 16px 56px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(97, 255, 237, .1)
}

.tile--teal {
    background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-medium)
}

.tile--teal:hover {
    box-shadow: var(--shadow-large)
}

.tile--neon {
    background: linear-gradient(135deg, var(--cyan-400), #3C8B8B);
    color: var(--teal-900);
    border: none;
    box-shadow: 0 4px 24px rgba(97, 255, 237, .25);
}

.tile--beige {
    background: var(--beige-500);
    color: var(--brown-900);
    border: none;
    box-shadow: 0 2px 12px rgba(74, 52, 38, .12)
}

/* Dark tile glow */
.tile--glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 80% 0%, rgba(97, 255, 237, .20), rgba(10, 77, 77, .10) 50%, transparent 70%);
    pointer-events: none;
}

/* Tile content */
.tile-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: var(--s-sm);
}

.tile h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--s-sm)
}

.tile p {
    font-size: 14px;
    line-height: 1.6;
    opacity: .8
}

.tile-icon {
    font-size: 28px;
    margin-bottom: var(--s-sm)
}

.tile-stat .n {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1
}

.tile-stat .label {
    font-size: 16px;
    opacity: .8;
    margin-top: var(--s-xs)
}

/* Grid placement helpers */
.col-2 {
    grid-column: span 2
}

.col-3 {
    grid-column: span 3
}

.row-2 {
    grid-row: span 2
}

@media(max-width:1024px) {

    .col-2,
    .col-3 {
        grid-column: span 2
    }
}

@media(max-width:640px) {

    .col-2,
    .col-3 {
        grid-column: span 1
    }

    .row-2 {
        grid-row: span 1
    }
}

/* ============================================
Section Titles
============================================ */
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--s-sm);
    color: var(--teal-900);
}

.section-title.light {
    color: var(--b-fg)
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--s-2xl);
    line-height: 1.6;
}

.section-subtitle.light {
    color: var(--b-fg-2)
}

/* ============================================
Services Bento — refined v2
============================================ */
/* Section frame */
.services-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: var(--s-md);
}

@media(max-width:1024px) {
    .services-bento {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:640px) {
    .services-bento {
        grid-template-columns: 1fr
    }
}

/* Service tile — unified base */
.s-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    padding: var(--s-xl);
    display: flex;
    flex-direction: column;
    transition: transform var(--dur-med) var(--ease-std), box-shadow var(--dur-med) var(--ease-std), border-color var(--dur-med);
    isolation: isolate;
}

.s-tile:hover {
    transform: translateY(-3px)
}

.s-tile h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0 0 var(--s-sm);
    line-height: 1.3;
}

.s-tile p {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 34ch;
}

.s-tile .s-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: var(--s-md);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.s-tile .s-eyebrow::before {
    content: "";
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

/* Unified icon */
.s-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-lg);
    flex-shrink: 0;
}

.s-tile h3+p {
    margin-top: 0
}

/* Variants */
.s-tile--hero {
    background: #FBF6EE;
    border: 1px solid rgba(10, 77, 77, .08);
    grid-column: 4 / span 3;
    grid-row: 1 / span 2;
    padding: var(--s-2xl);
    color: var(--teal-900);
}

.s-tile--hero .s-icon {
    background: var(--teal-900);
    color: var(--cyan-400);
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.s-tile--hero h3 {
    font-size: 32px;
    line-height: 1.2
}

.s-tile--hero p {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 42ch
}

.s-tile--receipt {
    background: linear-gradient(160deg, #E8D5C4 0%, #D4B5A0 100%);
    grid-column: 1 / span 3;
    grid-row: 1;
    color: var(--brown-900);
}

.s-tile--receipt .s-icon {
    background: rgba(74, 52, 38, .12);
    color: var(--brown-900);
}

.s-tile--vat {
    background: linear-gradient(160deg, var(--teal-900) 0%, #063939 100%);
    grid-column: 1 / span 3;
    grid-row: 2;
    color: var(--white);
}

.s-tile--vat .s-icon {
    background: rgba(97, 255, 237, .14);
    color: var(--cyan-400);
}

.s-tile--vat p {
    color: rgba(255, 255, 255, .7)
}

.s-tile--ai {
    background: radial-gradient(140% 140% at 0% 0%, rgba(97, 255, 237, .18), transparent 55%), var(--b-surface);
    border: 1px solid var(--b-border);
    grid-column: 1 / span 6;
    grid-row: 3;
    color: var(--b-fg);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--s-xl);
}

.s-tile--ai .s-icon {
    background: rgba(97, 255, 237, .14);
    color: var(--cyan-400);
}

.s-tile--ai p {
    color: var(--b-fg-2)
}

.s-tile--ai .s-tile-meta {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-self: start;
}

.ai-accuracy {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: var(--cyan-400);
    letter-spacing: -.03em;
    text-shadow: 0 0 24px rgba(97, 255, 237, .3);
}

.ai-accuracy-label {
    font-size: 14px;
    color: var(--b-fg-3);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.s-tile--reports {
    background: var(--white);
    border: 1px solid var(--gray-200);
    grid-column: 1 / span 3;
    grid-row: 4;
    color: var(--teal-900);
}

.s-tile--reports .s-icon {
    background: #F4EDE4;
    color: var(--teal-900);
}

.s-tile--reports p {
    color: var(--gray-600)
}

.s-tile--salaries {
    background: var(--white);
    border: 1px solid var(--gray-200);
    grid-column: 4 / span 3;
    grid-row: 4;
    color: var(--teal-900);
}

.s-tile--salaries .s-icon {
    background: var(--teal-100);
    color: var(--teal-900);
}

.s-tile--salaries p {
    color: var(--gray-600)
}

/* Connection chip used inside hero tile */
.s-status {
    margin-top: auto;
    padding-top: var(--s-lg);
    display: inline-flex;
    align-items: center;
    gap: var(--s-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
}

.s-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(4, 120, 87, .12);
    animation: s-pulse 2.4s ease-in-out infinite;
}

@keyframes s-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(4, 120, 87, .12)
    }

    50% {
        box-shadow: 0 0 0 7px rgba(4, 120, 87, .04)
    }
}

/* Decorative invoice mockup in hero tile */
.s-hero-mock {
    margin-top: var(--s-xl);
    flex: 1;
    display: flex;
    align-items: flex-end;
    position: relative;
    min-height: 160px;
}

.s-hero-mock-card {
    width: 100%;
    max-width: 340px;
    background: var(--white);
    border: 1px solid rgba(10, 77, 77, .08);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(10, 77, 77, .08);
    transform: rotate(-1.2deg);
}

.s-hero-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px dashed rgba(10, 77, 77, .08);
}

.s-hero-mock-row:last-child {
    border: none;
    padding-top: 8px;
    font-weight: 700;
    color: var(--teal-900)
}

.s-hero-mock-row span:last-child {
    font-family: var(--font-heading);
    font-variant-numeric: tabular-nums
}

.s-hero-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(10, 77, 77, .08);
}

.s-hero-mock-head .doc-id {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--gray-400);
    letter-spacing: .05em;
}

.s-hero-mock-stamp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--success);
    padding: 3px 8px;
    border-radius: 9999px;
    background: rgba(4, 120, 87, .1);
}

.s-hero-mock-stamp::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--success);
}

/* Tablet collapse */
@media(max-width:1024px) {

    .s-tile--hero,
    .s-tile--receipt,
    .s-tile--vat,
    .s-tile--reports,
    .s-tile--salaries {
        grid-column: span 1;
        grid-row: auto;
    }

    /* AI banner stays full width on tablet 2-col */
    .s-tile--ai {
        grid-column: span 2;
        grid-row: auto;
        grid-template-columns: 1fr auto;
        align-items: end;
    }
}

@media(max-width:640px) {

    .s-tile--hero,
    .s-tile--receipt,
    .s-tile--vat,
    .s-tile--ai,
    .s-tile--reports,
    .s-tile--salaries {
        grid-column: span 1
    }

    .s-tile--hero h3 {
        font-size: 26px
    }

    .s-tile {
        padding: var(--s-lg)
    }

    .s-tile--ai {
        grid-template-columns: 1fr;
        align-items: start
    }
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s-md);
    font-size: 22px;
}

.service-icon.teal {
    background: var(--teal-100);
    color: var(--teal-900)
}

.service-icon.beige {
    background: var(--beige-300);
    color: var(--brown-900)
}

.service-icon.neon {
    background: rgba(97, 255, 237, .15);
    color: var(--cyan-400)
}

.service-icon.dark {
    background: var(--b-surface);
    color: var(--cyan-400)
}

/* ============================================
Video Section
============================================ */
.video-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--b-surface) 0%, #0a1a1a 100%);
    aspect-ratio: 16/9;
    border: 1px solid var(--b-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow var(--dur-med);
}

.video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(97, 255, 237, .08), transparent 70%);
    pointer-events: none;
}

.video-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(97, 255, 237, .04) 0 1px, transparent 1px 20px);
    pointer-events: none;
}

.video-wrap:hover {
    box-shadow: 0 0 40px rgba(97, 255, 237, .15)
}

.video-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-400), var(--teal-500));
    color: var(--b-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform var(--dur-fast);
    box-shadow: 0 8px 32px rgba(97, 255, 237, .35);
}

.video-wrap:hover .video-play {
    transform: scale(1.1)
}

.video-overlay-text {
    position: absolute;
    bottom: var(--s-lg);
    right: var(--s-lg);
    background: rgba(6, 14, 14, .8);
    backdrop-filter: blur(8px);
    padding: var(--s-sm) var(--s-md);
    border-radius: var(--r-md);
    border: 1px solid var(--b-border);
    color: var(--b-fg);
    font-size: 13px;
}

/* ============================================
Logos (Sponsors & Press)
============================================ */
.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--s-xl) var(--s-3xl);
    padding: var(--s-xl) 0;
}

.logos-row img,
.logos-row .logo-placeholder {
    height: 40px;
    width: auto;
    opacity: .55;
    filter: grayscale(.8);
    transition: opacity var(--dur-fast), filter var(--dur-fast);
}

.logos-row .logo-placeholder {
    display: inline-flex;
    align-items: center;
    padding: var(--s-sm) var(--s-lg);
    font-family: var(--font-heading);
    font-weight: 700;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    font-size: 15px;
}

.logos-row img:hover,
.logos-row .logo-placeholder:hover {
    opacity: 1;
    filter: grayscale(0)
}

/* Bento logos inside dark tiles */
.bento-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-md);
    align-items: center;
    margin-top: auto;
    padding-top: var(--s-lg)
}

.bento-logo {
    display: inline-flex;
    align-items: center;
    padding: var(--s-sm) var(--s-md);
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid var(--b-border);
    border-radius: var(--r-md);
    font-size: 13px;
    color: var(--b-fg-2);
    transition: all var(--dur-fast)
}

.bento-logo:hover {
    border-color: var(--b-border-strong);
    color: var(--cyan-400);
    background: rgba(97, 255, 237, .05)
}

/* Logo slider */
.logo-slider {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    margin-top: auto;
    padding-top: var(--s-lg)
}

.logo-slider-track {
    display: flex;
    gap: var(--s-xl);
    width: max-content;
    will-change: transform
}

.logo-slider-track img {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    transition: opacity .3s, transform .3s;
    border-radius: 4px;
    flex-shrink: 0
}

.logo-slider-track:hover img {
    opacity: 1
}

/* Amber sponsor tile */
.tile--amber {
    background: linear-gradient(135deg, var(--amber), #FFD97D);
    border: 1px solid rgba(10, 77, 77, .08);
    box-shadow: var(--shadow-subtle)
}

.tile--amber:hover {
    box-shadow: var(--shadow-medium)
}

/* Press pill — dark glass */
.press-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--b-fg);
    border: 1px solid var(--b-border);
    border-radius: 100px;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(4px);
    transition: all .25s;
    flex-shrink: 0;
    white-space: nowrap
}

.press-pill:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: rgba(249, 200, 14, .08);
    transform: translateY(-2px)
}

/* Sponsor pill — dark on amber */
.sponsor-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--teal-900);
    border: 1px solid rgba(10, 77, 77, .1);
    border-radius: 100px;
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(4px);
    transition: all .25s;
    flex-shrink: 0;
    white-space: nowrap
}

.sponsor-pill:hover {
    background: var(--white);
    border-color: rgba(10, 77, 77, .18);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 77, 77, .1)
}

.sponsor-logos .logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(10, 77, 77, .12);
    background: rgba(255, 255, 255, 1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--teal-900);
    letter-spacing: -.01em;
    transition: all var(--dur-fast) var(--ease-std);
    white-space: nowrap;
}

.sponsor-logos .logo-chip:hover {
    transform: translateY(-2px);
    border-color: var(--teal-500);
    background: var(--white);
}

.bento-section.dark .sponsor-logos .logo-chip,
.tile--dark .sponsor-logos .logo-chip {
    background: rgba(97, 255, 237, .04);
    border-color: var(--b-border);
    color: var(--b-fg);
}

.bento-section.dark .sponsor-logos .logo-chip:hover,
.tile--dark .sponsor-logos .logo-chip:hover {
    border-color: var(--b-border-strong);
    color: var(--cyan-400);
}

.sponsor-logos img {
    height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all .3s;
    border-radius: 6px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 1);
}

.tile--dark .sponsor-logos img,
.bento-section.dark .sponsor-logos img {
    background: rgba(255, 255, 255, 1);
    border-radius: 6px;
}

.tile--amber .sponsor-logos img {
    background: rgba(255, 255, 255, 1);
    border-radius: 6px;
}

.sponsor-logos img:hover {
    transform: scale(1.1)
}

.logos-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--s-lg);
}

/* ============================================
Testimonials
============================================ */
.testimonial-quote {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--s-md)
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600
}

.testimonial-role {
    font-size: 12px;
    opacity: .6;
    margin-top: 2px
}

/* ── Masonry layout for testimonials ── */
.masonry {
    column-count: 3;
    column-gap: var(--s-lg);
    direction: rtl
}

.masonry .fb-post,
.masonry .wa-chat {
    break-inside: avoid;
    margin-bottom: var(--s-lg);
    display: block
}

@media(max-width:1024px) {
    .masonry {
        column-count: 2
    }
}

@media(max-width:640px) {
    .masonry {
        column-count: 1
    }
}

/* ── Facebook-style testimonial ── */
.fb-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    direction: rtl;
    display: flex;
    flex-direction: column
}

.fb-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15)
}

.fb-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 0
}

.fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.fb-avatar svg {
    width: 24px;
    height: 24px
}

.fb-name {
    font-weight: 700;
    font-size: 15px;
    color: #050505;
    line-height: 1.3
}

.fb-sub {
    font-size: 12px;
    color: #65676b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px
}

.fb-sub svg {
    width: 12px;
    height: 12px;
    fill: #65676b
}

.fb-body {
    padding: 8px 16px 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #050505
}

.fb-reactions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 6px;
    font-size: 13px;
    color: #65676b
}

.fb-emoji-row {
    display: flex;
    align-items: center;
    gap: 2px
}

.fb-emoji {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px
}

.fb-emoji--like {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
    color: #fff
}

.fb-emoji--love {
    background: linear-gradient(135deg, #f33e6e, #e8274e);
    color: #fff
}

.fb-emoji--wow {
    background: linear-gradient(135deg, #f7b928, #e8a317);
    color: #fff
}

.fb-count {
    margin-right: 4px;
    font-weight: 500
}

.fb-sep {
    border-top: 1px solid #ced0d4;
    margin: 0 16px
}

.fb-bar {
    display: flex;
    padding: 0 4px 4px;
    margin-top: auto
}

.fb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #65676b;
    cursor: default;
    transition: background .15s;
    user-select: none
}

.fb-btn:hover {
    background: #f0f2f5
}

.fb-btn svg {
    width: 18px;
    height: 18px
}

/* ── WhatsApp-style testimonial ── */
.wa-chat {
    background: #e5ddd5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .06);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column
}

.wa-chat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12)
}

.wa-header {
    background: #075e54;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    flex-shrink: 0
}

.wa-avatar svg {
    width: 22px;
    height: 22px
}

.wa-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2
}

.wa-time-hdr {
    color: rgba(255, 255, 255, .7);
    font-size: 14px
}

.wa-body {
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.wa-bubble {
    background: #d9fdd3;
    padding: 10px 14px;
    border-radius: 0 10px 10px 10px;
    max-width: 92%;
    align-self: flex-start;
    position: relative;
    font-size: 14.5px;
    line-height: 1.6;
    color: #1a1a1a
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #d9fdd3
}

.wa-bubble-me {
    background: #fff;
    border-radius: 10px 0 10px 10px;
    align-self: flex-end;
    max-width: 92%
}

.wa-bubble-me::before {
    display: none
}

.wa-bubble-me::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 10px solid #fff
}

.wa-ts {
    font-size: 14px;
    color: rgba(0, 0, 0, .45);
    text-align: right;
    margin-top: 2px
}

.wa-check {
    color: #53bdeb;
    font-size: 13px;
    margin-left: 3px
}

/* ============================================
CTA Section
============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--brown-900) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--s-4xl) 0;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: var(--s-md);
    color: var(--white) !important;
}

.cta-section p {
    font-size: 18px;
    opacity: .85;
    max-width: 600px;
    margin: 0 auto var(--s-xl)
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-sm);
    background: #30DDD0;
    color: var(--teal-900);
    padding: 15px 40px;
    border: none;
    border-radius: 40px;
    font-size: 19px;
    font-weight: 600;
    font-family: var(--font-heading);
    line-height: 1;
    text-decoration: none;
    transition: color .4s cubic-bezier(.3, 1, .8, 1), box-shadow var(--dur-fast);
    box-shadow: 0 4px 20px rgba(97, 255, 237, .3);
    position: relative;
    overflow: hidden;
    z-index: 0;
    cursor: pointer
}

.btn-cta>span {
    position: relative;
    z-index: 1
}

.btn-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: var(--cyan-400);
    transform: skew(30deg);
    transition: transform .4s cubic-bezier(.3, 1, .8, 1);
    z-index: 0
}

.btn-cta:hover::before {
    transform: translate3d(100%, 0, 0)
}

.btn-cta:hover {
    color: #000;
    box-shadow: 0 8px 32px rgba(97, 255, 237, .45)
}

.btn-cta svg {
    position: relative;
    z-index: 1
}

.btn-outline:hover {
    background: var(--teal-900);
    color: var(--white)
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-sm);
    background: transparent;
    color: var(--white);
    padding: var(--s-md) var(--s-2xl);
    border-radius: var(--r-pill);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid rgba(255, 255, 255, .3);
    transition: all var(--dur-fast);
    margin-right: var(--s-md);
}

.btn-cta-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08)
}

/* ============================================
Animations
============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes blink {

    0%,
    80%,
    100% {
        opacity: .3
    }

    40% {
        opacity: 1
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease-std), transform .6s var(--ease-std)
}

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

.delay-1 {
    transition-delay: .1s
}

.delay-2 {
    transition-delay: .2s
}

.delay-3 {
    transition-delay: .3s
}

.delay-4 {
    transition-delay: .4s
}

.delay-5 {
    transition-delay: .5s
}

.delay-6 {
    transition-delay: .6s
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(97, 255, 237, .15)
    }

    50% {
        box-shadow: 0 0 40px rgba(97, 255, 237, .30)
    }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite
}

/* ============================================
Responsive
============================================ */

/* ── Tablet (≤1024px) ── */
@media(max-width:1024px) {

    .col-2,
    .col-3 {
        grid-column: span 2
    }

    .comparison-grid {
        grid-template-columns: 1fr !important
    }
}

/* ── Phablet (≤768px) ── */
@media(max-width:768px) {
    .container {
        padding: 0 var(--s-md)
    }

    section {
        padding: var(--s-2xl) 0
    }

    .section-subtitle {
        font-size: 15px
    }
}

/* ── Mobile (≤640px) ── */
@media(max-width:640px) {
    section {
        padding: var(--s-xl) 0
    }

    /* All grids → single column (trust uses 2-col for small stat tiles) */
    .bento-grid,
    .bento-grid--2col,
    .services-bento {
        grid-template-columns: 1fr !important
    }

    .bento-grid--trust {
        grid-template-columns: repeat(2, 1fr) !important
    }

    .bento-grid .tile-span-2,
    .bento-grid--2col .tile-span-2,
    .bento-grid--2col .tile-span-2-row-2 {
        grid-column: span 1
    }

    .bento-grid--trust .tile-span-2,
    .bento-grid--trust .tile-span-2-row-2 {
        grid-column: span 2
    }

    .col-2,
    .col-3 {
        grid-column: span 1
    }

    .row-2 {
        grid-row: span 1
    }

    .comparison-grid {
        grid-template-columns: 1fr !important
    }

    /* Tile typography */
    .tile-stat .n {
        font-size: 32px
    }

    .tile-stat .label {
        font-size: 12px
    }

    .tile h3 {
        font-size: 18px
    }

    .tile p {
        font-size: 13px
    }

    .tile-icon {
        font-size: 22px
    }

    .tile {
        padding: var(--s-md)
    }

    /* Service tiles */
    .s-tile {
        padding: var(--s-lg) !important
    }

    .s-tile--hero h3 {
        font-size: 22px !important
    }

    .s-tile--ai {
        grid-template-columns: 1fr !important;
        align-items: start !important;
        gap: var(--s-md) !important
    }

    .s-tile-meta {
        justify-self: auto !important
    }

    .ai-accuracy {
        font-size: 36px
    }

    .s-hero-mock {
        min-height: 120px
    }

    .s-hero-mock-card {
        max-width: 100%
    }

    /* Service icon */
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 18px
    }

    /* Sponsor logos */
    .sponsor-logos {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: var(--s-sm) !important
    }

    .sponsor-logos img {
        height: 38px
    }

    .logo-slider-track img {
        height: 24px
    }

    .logo-chip {
        font-size: 12px;
        padding: 5px 10px
    }

    /* CTA */
    .cta-section {
        padding: var(--s-3xl) 0
    }

    .cta-section h2 {
        font-size: clamp(22px, 6vw, 32px)
    }

    .cta-section p {
        font-size: 15px
    }

    .btn-cta,
    .btn-cta-secondary {
        padding: 12px 24px;
        font-size: 16px;
        width: 100%;
        justify-content: center
    }

    .btn-cta-secondary {
        margin-right: 0;
        margin-top: var(--s-sm)
    }

    /* Video */
    .video-play {
        width: 56px;
        height: 56px;
        font-size: 22px
    }

    .video-overlay-text {
        font-size: 14px;
        padding: var(--s-xs) var(--s-sm)
    }

    /* Testimonials */
    .fb-body {
        font-size: 13px
    }

    .wa-bubble {
        font-size: 13px
    }

    .fb-btn {
        font-size: 12px
    }

    /* Press / sponsor pills */
    .press-pill,
    .sponsor-pill {
        font-size: 14px;
        padding: 6px 12px
    }

    /* Section subtitle full width */
    .section-subtitle {
        max-width: 100%
    }
}

/* ── Tiny phones (≤380px) ── */
@media(max-width:380px) {
    .tile-stat .n {
        font-size: 28px
    }
}

/* ── Comparison grid ── */
.cmp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-lg);
}

.cmp-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-md);
}

@media(max-width:768px) {
    .cmp-grid {
        grid-template-columns: 1fr
    }

    .cmp-stats-row {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media(max-width:480px) {
    .cmp-stats-row {
        grid-template-columns: 1fr
    }
}

.content-block {
    padding: 0px;
}

@media only screen and (max-width: 767px) {
    .content-block {
        padding: 0px !important;
    }
}

/* ============================================
Lightbox / Slider Popup
============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease-std), visibility .25s;
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(.92);
    transition: transform .25s var(--ease-std);
}

.lightbox-overlay.open .lightbox-container {
    transform: scale(1);
}

.lightbox-media {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .4);
    user-select: none;
}

.lightbox-media video {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .4);
}

.lightbox-caption {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
    max-width: 90vw;
    direction: rtl;
}

.lightbox-counter {
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    margin-top: 4px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    left: -48px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: background .15s, transform .15s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, .25);
    transform: scale(1.08);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: background .15s, transform .15s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
    right: calc(100% + 16px);
}

.lightbox-next {
    left: calc(100% + 16px);
}

@media(max-width: 640px) {
    .lightbox-close {
        top: -44px;
        left: 0;
    }

    .lightbox-prev {
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox-next {
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .lightbox-nav {
        background: rgba(0, 0, 0, .5);
        border-color: rgba(255, 255, 255, .2);
    }

    .lightbox-nav:hover {
        transform: translateY(-50%) scale(1.08);
    }

    .lightbox-media {
        max-width: 96vw;
        max-height: 72vh;
    }
}

/* ============================================
Events Bento Grid
============================================ */
.events-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: var(--s-md);
}

.ev-tile {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--b-border);
    background: var(--b-surface);
}

.ev-tile--hero {
    grid-column: span 2;
    grid-row: span 2;
}

.ev-tile--wide {
    grid-column: span 2;
}

.ev-tile--tall {
    grid-row: span 2;
}

.ev-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform .45s var(--ease-std);
}

.ev-tile:hover img {
    transform: scale(1.06);
}

.ev-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: var(--s-md);
    transition: background .3s;
}

.ev-tile:hover .ev-tile-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .08) 60%, transparent 100%);
}

@media(max-width:1024px) {
    .events-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .ev-tile--hero {
        grid-column: span 2;
        grid-row: span 2;
    }

    .ev-tile--wide {
        grid-column: span 2;
    }
}

@media(max-width:640px) {
    .events-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: var(--s-sm);
    }   

    .ev-tile--hero {
        grid-column: span 2;
        grid-row: span 1;
    }

    .ev-tile--wide {
        grid-column: span 2;
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease-std), transform .6s var(--ease-std)
}

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