/* ==========================================================================
   AssetLog — Marketing Landing Page
   Aesthetic: Warm Geometric
   Fraunces (display) + Outfit (body) · Stone palette · Blue accent
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
    --al-cream:      #faf7f2;
    --al-sand-50:    #f7f5f0;
    --al-sand-100:   #f0ece5;
    --al-sand-200:   #e4ded4;
    --al-sand-300:   #d1c9bb;
    --al-sand-400:   #b3a997;
    --al-sand-500:   #948a79;
    --al-sand-600:   #736a5c;
    --al-sand-700:   #584f44;
    --al-sand-800:   #3a342c;
    --al-sand-900:   #1c1917;

    --al-accent:     #2563eb;
    --al-accent-50:  #eff6ff;
    --al-accent-100: #dbeafe;
    --al-accent-200: #bfdbfe;
    --al-accent-600: #2563eb;
    --al-accent-700: #1d4ed8;
    --al-accent-800: #1e40af;

    --al-white:      #ffffff;

    --al-radius-sm:  6px;
    --al-radius-md:  10px;
    --al-radius-lg:  16px;

    --al-font-body:    'Outfit', system-ui, sans-serif;
    --al-font-display: 'Syne', system-ui, sans-serif;

    --al-section-py:  clamp(80px, 10vw, 140px);
    --al-container:   1140px;
    --al-gutter:      clamp(20px, 4vw, 40px);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
.al-landing *,
.al-landing *::before,
.al-landing *::after {
    box-sizing: border-box;
}

.al-landing {
    margin: 0;
    padding: 0;
    font-family: var(--al-font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--al-sand-700);
    background: var(--al-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.al-landing a {
    color: inherit;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.al-container {
    max-width: var(--al-container);
    margin-inline: auto;
    padding-inline: var(--al-gutter);
}

/* --------------------------------------------------------------------------
   Dot-Grid Background (reusable)
   -------------------------------------------------------------------------- */
.al-dotgrid {
    position: relative;
}
.al-dotgrid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--al-sand-300) .7px, transparent .7px);
    background-size: 28px 28px;
    opacity: .35;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Scroll-Triggered Animations
   -------------------------------------------------------------------------- */
.al-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.al-reveal.al-visible {
    opacity: 1;
    transform: translateY(0);
}
.al-stagger > .al-reveal:nth-child(1) { transition-delay: 0s; }
.al-stagger > .al-reveal:nth-child(2) { transition-delay: .1s; }
.al-stagger > .al-reveal:nth-child(3) { transition-delay: .2s; }
.al-stagger > .al-reveal:nth-child(4) { transition-delay: .3s; }
.al-stagger > .al-reveal:nth-child(5) { transition-delay: .4s; }
.al-stagger > .al-reveal:nth-child(6) { transition-delay: .5s; }

/* --------------------------------------------------------------------------
   Geometric Decorative Shapes
   -------------------------------------------------------------------------- */
.al-geo-diamond {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1.5px solid var(--al-sand-200);
    transform: rotate(45deg);
    pointer-events: none;
}
.al-geo-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1.5px solid var(--al-sand-200);
    border-radius: 50%;
    pointer-events: none;
}
.al-geo-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--al-accent);
    border-radius: 50%;
    pointer-events: none;
}

/* ==========================================================================
   1. STICKY NAVIGATION
   ========================================================================== */
.al-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background .35s, box-shadow .35s, padding .35s;
}
.al-nav.al-nav--scrolled {
    background: rgba(250,247,242,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--al-sand-200);
    padding: 12px 0;
}

.al-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--al-container);
    margin-inline: auto;
    padding-inline: var(--al-gutter);
}

.al-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--al-font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--al-sand-900);
    letter-spacing: -.01em;
}
.al-nav__brand .al-logo-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.al-nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.al-nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--al-sand-500);
    transition: color .2s;
    letter-spacing: .01em;
}
.al-nav__link:hover {
    color: var(--al-sand-900);
}

.al-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.al-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--al-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 22px;
    border-radius: var(--al-radius-sm);
    border: none;
    cursor: pointer;
    transition: all .2s cubic-bezier(.22,1,.36,1);
    white-space: nowrap;
    letter-spacing: .01em;
}
.al-btn:active {
    transform: scale(.97);
}

a.al-btn--primary,
button.al-btn--primary,
.al-btn--primary {
    background: var(--al-accent);
    color: #ffffff;
}
a.al-btn--primary:hover,
button.al-btn--primary:hover,
.al-btn--primary:hover {
    background: var(--al-accent-700);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37,99,235,.25);
}

.al-btn--ghost {
    background: transparent;
    color: var(--al-sand-700);
    border: 1.5px solid var(--al-sand-300);
}
.al-btn--ghost:hover {
    border-color: var(--al-sand-500);
    background: var(--al-sand-50);
}

.al-btn--large {
    font-size: 15px;
    padding: 14px 30px;
    border-radius: var(--al-radius-md);
}

/* Mobile nav toggle */
.al-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--al-sand-700);
}
.al-nav__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    border-radius: 1px;
    transition: transform .3s, opacity .3s;
}

/* ==========================================================================
   2. HERO
   ========================================================================== */
.al-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 140px var(--al-gutter) 80px;
    max-width: var(--al-container);
    margin-inline: auto;
    overflow: visible;
}

.al-hero__text {
    position: relative;
    z-index: 2;
}

.al-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--al-accent);
    margin-bottom: 24px;
}
.al-hero__label-line {
    width: 32px;
    height: 1.5px;
    background: var(--al-accent);
}

.al-hero__title {
    font-family: var(--al-font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--al-sand-900);
    margin: 0 0 20px;
}

.al-hero__title em {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-weight: 700;
    color: var(--al-accent);
}

.al-hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.7;
    color: var(--al-sand-500);
    max-width: 440px;
    margin: 0 0 36px;
}

.al-hero__ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero right — floating data cards with geometric shapes */
.al-hero__visual {
    position: relative;
    min-height: 420px;
}

/* Hero entrance */
.al-hero__text {
    animation: al-fade-up .8s cubic-bezier(.22,1,.36,1) both;
}
.al-hero__visual {
    animation: al-fade-up .8s .15s cubic-bezier(.22,1,.36,1) both;
}
@keyframes al-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Floating stat cards in hero */
.al-hero-card {
    position: absolute;
    background: var(--al-white);
    border: 1px solid var(--al-sand-200);
    border-radius: var(--al-radius-md);
    padding: 18px 22px;
    box-shadow: 0 8px 32px rgba(28,25,23,.06);
}
.al-hero-card__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--al-sand-400);
    margin: 0 0 4px;
}
.al-hero-card__value {
    font-family: var(--al-font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--al-sand-900);
    margin: 0;
    line-height: 1.1;
}
.al-hero-card__sub {
    font-size: 12px;
    font-weight: 500;
    color: #16a34a;
    margin-top: 2px;
}

.al-hero-card--a {
    top: 20px;
    left: 10%;
    z-index: 3;
}
.al-hero-card--b {
    top: 140px;
    right: 5%;
    z-index: 2;
}
.al-hero-card--c {
    bottom: 40px;
    left: 20%;
    z-index: 4;
}

/* Mini donut in hero */
.al-hero-donut {
    position: absolute;
    top: 100px;
    left: 55%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(
        var(--al-accent) 0deg 130deg,
        #a78bfa 130deg 210deg,
        #f59e0b 210deg 280deg,
        var(--al-sand-200) 280deg 360deg
    );
    z-index: 1;
}
.al-hero-donut::after {
    content: '';
    position: absolute;
    inset: 22px;
    background: var(--al-cream);
    border-radius: 50%;
}

/* Geometric decorations in hero */
.al-hero .al-geo-diamond {
    top: -20px;
    right: -40px;
    opacity: .5;
}
.al-hero .al-geo-circle {
    bottom: 60px;
    right: 30%;
    width: 200px;
    height: 200px;
    opacity: .4;
}
.al-hero .al-geo-dot {
    top: 80px;
    left: 48%;
}

/* ==========================================================================
   3. DASHBOARD SCREENSHOT (CSS Mockup)
   ========================================================================== */
.al-screenshot {
    padding: var(--al-section-py) 0;
    background: var(--al-cream);
    position: relative;
}

.al-screenshot__heading {
    text-align: center;
    margin-bottom: 48px;
}
.al-screenshot__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--al-accent);
    margin-bottom: 14px;
}
.al-screenshot__label-line {
    width: 24px;
    height: 1.5px;
    background: var(--al-accent);
}
.al-screenshot__title {
    font-family: var(--al-font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--al-sand-900);
    margin: 0 0 10px;
}
.al-screenshot__subtitle {
    font-size: 1.05rem;
    color: var(--al-sand-500);
    margin: 0;
}

/* Browser frame */
.al-browser {
    position: relative;
    border-radius: var(--al-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px -16px rgba(28,25,23,.12), 0 0 0 1px var(--al-sand-200);
    background: var(--al-white);

    transform: perspective(1200px) rotateX(3deg) scale(.98);
    transition: transform .9s cubic-bezier(.22,1,.36,1);
}
.al-browser.al-visible {
    transform: perspective(1200px) rotateX(0) scale(1);
}

.al-browser__chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--al-sand-50);
    border-bottom: 1px solid var(--al-sand-200);
}
.al-browser__dots {
    display: flex;
    gap: 6px;
}
.al-browser__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.al-browser__dot--red    { background: #ef4444; }
.al-browser__dot--yellow { background: #eab308; }
.al-browser__dot--green  { background: #22c55e; }

.al-browser__url {
    flex: 1;
    padding: 6px 14px;
    background: var(--al-white);
    border: 1px solid var(--al-sand-200);
    border-radius: 6px;
    font-size: 12px;
    color: var(--al-sand-400);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

/* Dashboard layout */
.al-dash {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 400px;
}

/* Sidebar */
.al-dash__sidebar {
    background: var(--al-sand-900);
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.al-dash__sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 14px;
    font-family: var(--al-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--al-white);
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 6px;
}
.al-dash__sidebar-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.al-dash__nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 12px;
    color: rgba(255,255,255,.4);
}
.al-dash__nav-item--active {
    background: rgba(255,255,255,.07);
    color: var(--al-white);
    border-left: 2px solid var(--al-accent);
}
.al-dash__nav-icon {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: currentColor;
    opacity: .35;
}
.al-dash__nav-item--active .al-dash__nav-icon {
    opacity: .7;
}

/* Main content area */
.al-dash__main {
    padding: 18px;
    background: var(--al-sand-50);
}
.al-dash__top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.al-dash__page-title {
    font-family: var(--al-font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--al-sand-900);
    margin: 0;
}
.al-dash__search {
    width: 180px;
    padding: 6px 12px;
    border: 1px solid var(--al-sand-200);
    border-radius: 6px;
    background: var(--al-white);
    font-size: 11px;
    color: var(--al-sand-400);
}

/* Stat cards */
.al-dash__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.al-dash__stat {
    background: var(--al-white);
    border: 1px solid var(--al-sand-200);
    border-radius: var(--al-radius-sm);
    padding: 12px;
}
.al-dash__stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--al-sand-400);
    margin: 0 0 3px;
}
.al-dash__stat-value {
    font-family: var(--al-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--al-sand-900);
    margin: 0;
    line-height: 1.1;
}
.al-dash__stat-change {
    font-size: 10px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 2px;
}

/* Charts row */
.al-dash__charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.al-dash__chart-card {
    background: var(--al-white);
    border: 1px solid var(--al-sand-200);
    border-radius: var(--al-radius-sm);
    padding: 12px;
}
.al-dash__chart-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--al-sand-700);
    margin: 0 0 12px;
}

/* Donut chart */
.al-dash__donut {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        var(--al-accent) 0deg 130deg,
        #a78bfa 130deg 210deg,
        #f59e0b 210deg 270deg,
        #22c55e 270deg 320deg,
        var(--al-sand-200) 320deg 360deg
    );
    margin: 0 auto;
    position: relative;
}
.al-dash__donut::after {
    content: '';
    position: absolute;
    inset: 26px;
    background: var(--al-white);
    border-radius: 50%;
}
.al-dash__donut-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.al-dash__legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.al-dash__legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--al-sand-600);
}
.al-dash__legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Bar chart */
.al-dash__bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 90px;
    padding-top: 8px;
}
.al-dash__bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
}

/* Activity table */
.al-dash__table-card {
    background: var(--al-white);
    border: 1px solid var(--al-sand-200);
    border-radius: var(--al-radius-sm);
    padding: 12px;
}
.al-dash__table-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--al-sand-700);
    margin: 0 0 10px;
}
.al-dash__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}
.al-dash__table th {
    text-align: left;
    font-weight: 600;
    color: var(--al-sand-400);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 9px;
    padding: 5px 8px;
    border-bottom: 1px solid var(--al-sand-100);
}
.al-dash__table td {
    padding: 7px 8px;
    color: var(--al-sand-600);
    border-bottom: 1px solid var(--al-sand-100);
}
.al-dash__table tr:last-child td {
    border-bottom: none;
}
.al-dash__table-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 600;
}
.al-dash__table-tag--blue   { background: var(--al-accent-50); color: var(--al-accent-700); }
.al-dash__table-tag--green  { background: #f0fdf4; color: #15803d; }
.al-dash__table-tag--yellow { background: #fefce8; color: #a16207; }

/* ==========================================================================
   4. FEATURES
   ========================================================================== */
.al-features {
    padding: var(--al-section-py) 0;
    background: var(--al-sand-50);
    position: relative;
}
/* Diagonal top border */
.al-features::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--al-sand-200);
}

.al-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--al-accent);
    margin-bottom: 14px;
}
.al-section-label-line {
    width: 24px;
    height: 1.5px;
    background: var(--al-accent);
}

.al-section-title {
    font-family: var(--al-font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--al-sand-900);
    margin: 0 0 14px;
}

.al-section-subtitle {
    font-size: 1.05rem;
    color: var(--al-sand-500);
    max-width: 500px;
    margin: 0 0 48px;
}

.al-features__header {
    text-align: center;
    margin-bottom: 56px;
}
.al-features__header .al-section-subtitle {
    margin-inline: auto;
}

/* Feature grid — overlapping card style */
.al-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.al-feat-card {
    padding: 32px 28px;
    border: 1px solid var(--al-sand-200);
    background: var(--al-white);
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, z-index 0s;
    position: relative;
}
/* Shared borders — collapse */
.al-feat-card + .al-feat-card {
    margin-left: -1px;
}
.al-feat-card:nth-child(n+4) {
    margin-top: -1px;
}

.al-feat-card:hover {
    z-index: 2;
    transform: translateY(-6px);
    box-shadow: 0 16px 48px -12px rgba(28,25,23,.12);
    border-color: var(--al-sand-300);
}

/* Corner accent on hover */
.al-feat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 24px 24px 0 0;
    border-color: transparent transparent transparent transparent;
    transition: border-color .3s;
}
.al-feat-card:hover::after {
    border-color: var(--al-accent) transparent transparent transparent;
}

.al-feat-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--al-accent);
}

.al-feat-card__title {
    font-family: var(--al-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--al-sand-900);
    margin: 0 0 8px;
}

.al-feat-card__desc {
    font-size: 14px;
    color: var(--al-sand-500);
    line-height: 1.6;
    margin: 0;
}

/* Mini visuals in feature cards */
.al-feat-card__visual {
    margin-top: 18px;
    border-radius: var(--al-radius-sm);
    overflow: hidden;
    border: 1px solid var(--al-sand-100);
}

.al-mini-pipeline {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 12px;
    background: var(--al-sand-50);
}
.al-mini-pipeline__step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}
.al-mini-pipeline__arrow {
    width: 20px;
    height: 1px;
    background: var(--al-sand-300);
    flex-shrink: 0;
    position: relative;
}
.al-mini-pipeline__arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    border: 3px solid transparent;
    border-left-color: var(--al-sand-300);
}
.al-mini-pipeline__step--blue   { background: var(--al-accent-50);  color: var(--al-accent-700); }
.al-mini-pipeline__step--amber  { background: #fefce8; color: #a16207; }
.al-mini-pipeline__step--green  { background: #f0fdf4; color: #15803d; }
.al-mini-pipeline__step--red    { background: #fef2f2; color: #b91c1c; }

.al-mini-tags {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--al-sand-50);
    flex-wrap: wrap;
}
.al-mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: var(--al-white);
    border: 1px solid var(--al-sand-200);
    color: var(--al-sand-700);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}
.al-mini-tag__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* ==========================================================================
   5. HOW IT WORKS
   ========================================================================== */
.al-how {
    padding: var(--al-section-py) 0;
    background: var(--al-cream);
    position: relative;
}

.al-how__header {
    text-align: center;
    margin-bottom: 64px;
}

.al-how__steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.al-how__step {
    text-align: center;
    padding: 0 16px;
}

.al-how__number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--al-font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--al-accent);
    border: 2px solid var(--al-accent);
    transform: rotate(45deg);
}
.al-how__number span {
    transform: rotate(-45deg);
}

.al-how__step-title {
    font-family: var(--al-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--al-sand-900);
    margin: 0 0 8px;
}

.al-how__step-desc {
    font-size: 14px;
    color: var(--al-sand-500);
    line-height: 1.6;
    margin: 0;
}

.al-how__connector {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--al-sand-300), var(--al-accent-200));
    margin-top: 28px;
    flex-shrink: 0;
}

/* ==========================================================================
   6. METRICS / DARK SECTION
   ========================================================================== */
.al-metrics {
    position: relative;
    padding: var(--al-section-py) 0;
    background: var(--al-sand-900);
    color: var(--al-white);
    overflow: hidden;
}
/* Dot grid on dark */
.al-metrics::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) .7px, transparent .7px);
    background-size: 28px 28px;
    pointer-events: none;
}

.al-metrics__header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
}
.al-metrics__header .al-section-label {
    color: var(--al-accent-200);
}
.al-metrics__header .al-section-title {
    color: var(--al-white);
}
.al-metrics__header .al-section-subtitle {
    color: rgba(255,255,255,.45);
    margin-inline: auto;
}

.al-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.06);
    position: relative;
}

.al-metrics__card {
    text-align: center;
    padding: 36px 20px;
    background: var(--al-sand-900);
}

.al-metrics__number {
    font-family: var(--al-font-display);
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    font-weight: 600;
    line-height: 1;
    color: var(--al-white);
    margin: 0 0 8px;
    letter-spacing: -.02em;
}

.al-metrics__label {
    font-size: 13px;
    color: rgba(255,255,255,.4);
    margin: 0;
}

/* ==========================================================================
   7. CTA / DEMO REQUEST FORM
   ========================================================================== */
.al-cta {
    position: relative;
    padding: var(--al-section-py) 0;
    background: var(--al-cream);
    overflow: hidden;
}

.al-cta__inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
/* Decorative diamond behind form */
.al-cta__inner::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 1px solid var(--al-sand-200);
    transform: translateX(-50%) rotate(45deg);
    pointer-events: none;
    z-index: -1;
}

.al-cta__title {
    font-family: var(--al-font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--al-sand-900);
    margin: 0 0 10px;
}

.al-cta__subtitle {
    font-size: 1.05rem;
    color: var(--al-sand-500);
    margin: 0 0 36px;
}

.al-form {
    display: grid;
    gap: 14px;
    text-align: left;
}

.al-form__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.al-form__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--al-sand-700);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.al-form__input {
    padding: 11px 14px;
    border: 1.5px solid var(--al-sand-300);
    border-radius: var(--al-radius-sm);
    font-family: var(--al-font-body);
    font-size: 14px;
    color: var(--al-sand-900);
    background: var(--al-white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.al-form__input:focus {
    border-color: var(--al-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.al-form__input::placeholder {
    color: var(--al-sand-400);
}

.al-form__submit {
    margin-top: 6px;
}

.al-form__note {
    text-align: center;
    font-size: 12px;
    color: var(--al-sand-400);
    margin-top: 4px;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.al-footer {
    padding: 36px 0;
    border-top: 1px solid var(--al-sand-200);
    background: var(--al-cream);
}

.al-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.al-footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--al-font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--al-sand-900);
}
.al-footer__brand .al-logo-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.al-footer__copy {
    font-size: 13px;
    color: var(--al-sand-400);
    margin: 0;
}

.al-footer__links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.al-footer__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--al-sand-500);
    transition: color .2s;
}
.al-footer__link:hover {
    color: var(--al-sand-900);
}

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

@media (max-width: 1024px) {
    .al-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 120px;
        text-align: center;
    }
    .al-hero__subtitle {
        margin-inline: auto;
    }
    .al-hero__ctas {
        justify-content: center;
    }
    .al-hero__visual {
        min-height: 280px;
    }
    .al-hero-card--a { left: 5%; }
    .al-hero-card--b { right: 5%; }
    .al-hero-card--c { left: 15%; }

    .al-feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .al-metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .al-dash {
        grid-template-columns: 150px 1fr;
    }
    .al-dash__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .al-dash__charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .al-nav__links { display: none; }
    .al-nav__toggle { display: block; }
    .al-nav__actions .al-btn--ghost { display: none; }

    .al-nav.al-nav--open .al-nav__links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250,247,242,.95);
        backdrop-filter: blur(14px);
        padding: 20px var(--al-gutter);
        gap: 16px;
        border-bottom: 1px solid var(--al-sand-200);
    }

    .al-hero__visual {
        min-height: 240px;
    }
    .al-hero .al-geo-diamond,
    .al-hero .al-geo-circle {
        display: none;
    }

    .al-feat-grid {
        grid-template-columns: 1fr;
    }
    .al-feat-card + .al-feat-card {
        margin-left: 0;
    }

    .al-how__steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .al-how__connector {
        width: 2px;
        height: 28px;
        margin: 14px auto;
        background: linear-gradient(180deg, var(--al-sand-300), var(--al-accent-200));
    }

    .al-metrics__grid {
        grid-template-columns: 1fr 1fr;
    }

    .al-dash {
        grid-template-columns: 1fr;
    }
    .al-dash__sidebar { display: none; }
    .al-dash__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .al-dash__charts {
        grid-template-columns: 1fr;
    }

    .al-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .al-mini-pipeline {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .al-metrics__grid {
        grid-template-columns: 1fr;
    }
    .al-dash__stats {
        grid-template-columns: 1fr;
    }
    .al-hero__ctas {
        flex-direction: column;
        width: 100%;
    }
    .al-hero__ctas .al-btn {
        width: 100%;
    }
    .al-hero-card--a { left: 0; }
    .al-hero-card--b { right: 0; top: 120px; }
    .al-hero-card--c { left: 5%; }
}

/* ==========================================================================
   Login Overlay
   ========================================================================== */
.al-login-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.al-login-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 23, 0.6);
    backdrop-filter: blur(4px);
}

.al-login-overlay__panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 1rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2.5rem 2rem 2rem;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.al-login-overlay--open .al-login-overlay__panel {
    transform: translateY(0);
}

.al-login-overlay__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--al-sand-400);
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.al-login-overlay__close:hover {
    color: var(--al-sand-700);
    background: var(--al-sand-50);
}

.al-login-overlay__header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.al-login-overlay__header .al-logo-svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: block;
}

.al-login-overlay__title {
    font-family: var(--al-font-display), 'Syne', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--al-sand-900);
    margin: 0;
}

.al-login-form__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.al-login-form .al-form__field {
    margin-bottom: 1rem;
}

.al-login-form .al-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--al-sand-700);
    margin-bottom: 0.375rem;
}

.al-login-form .al-form__input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--al-sand-200);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--al-sand-900);
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.al-login-form .al-form__input:focus {
    outline: none;
    border-color: var(--al-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.al-login-form__submit {
    width: 100%;
    margin-top: 0.5rem;
}

.al-login-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
