/* ============================================
   AdJet Home - Professional, modern, subtle gaming
   ============================================ */

:root {
    --home-primary: #6366f1;
    --home-primary-hover: #4f46e5;
    --home-primary-glow: rgba(99, 102, 241, 0.4);
    --home-primary-light: rgba(99, 102, 241, 0.1);
    --home-accent: #22d3ee;
    --home-accent-subtle: rgba(34, 211, 238, 0.12);
    --home-secondary: #a855f7;
    --home-secondary-light: rgba(168, 85, 247, 0.12);
    --home-success: #10b981;
    --home-success-light: rgba(16, 185, 129, 0.1);
    --home-dark: #0f0f1a;
    --home-dark-soft: #1a1a2e;
    --home-dark-card: #16162a;
    --home-gray: #64748b;
    --home-gray-light: #94a3b8;
    --home-border: rgba(255, 255, 255, 0.08);
    --home-border-light: #334155;
    --home-bg: #0f0f1a;
    --home-bg-tint: #16162a;
    --home-bg-card: #1a1a2e;
    --home-bg-elevated: #1e1e32;
    --home-white: #ffffff;
    --home-text: #e2e8f0;
    --home-text-muted: #94a3b8;
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --home-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
    --home-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
    --home-header-h: 72px;
}

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

html {
    scroll-behavior: smooth;
}

.home-page {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--home-text);
    line-height: 1.6;
    background: var(--home-bg);
}

body.home-nav-open {
    overflow: hidden;
    touch-action: none;
}

/* ---------- Scroll-triggered animations ---------- */
@keyframes homeFadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes homePulse {
    0%, 100% { opacity: 0.06; }
    50% { opacity: 0.1; }
}

.home-animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.home-solutions-grid .home-animate-in:nth-child(1) { transition-delay: 0.05s; }
.home-solutions-grid .home-animate-in:nth-child(2) { transition-delay: 0.15s; }
.home-solutions-grid .home-animate-in:nth-child(3) { transition-delay: 0.25s; }
.home-solutions-grid .home-animate-in:nth-child(4) { transition-delay: 0.35s; }

.home-stats .home-stat:nth-child(1) { transition-delay: 0.1s; }
.home-stats .home-stat:nth-child(2) { transition-delay: 0.2s; }
.home-stats .home-stat:nth-child(3) { transition-delay: 0.3s; }

.home-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Header / Nav ---------- */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--home-header-h);
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--home-border);
    transition: background 0.25s, border-color 0.25s;
}

.home-header.is-scrolled {
    background: rgba(22, 22, 42, 0.95);
    border-bottom-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.home-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--home-white);
}

.home-header.is-scrolled .home-logo {
    color: var(--home-text);
}

.home-logo img {
    height: 38px;
    width: auto;
}

.home-header .adjet-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.home-header .adjet-logo span {
    color: var(--home-accent);
}

.home-header.is-scrolled .adjet-logo span {
    color: var(--home-primary);
}

.home-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--home-radius);
    cursor: pointer;
    color: var(--home-white);
    transition: background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.home-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.home-header.is-scrolled .home-nav-toggle {
    color: var(--home-text);
    background: var(--home-bg-card);
}

.home-nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.home-nav-overlay {
    display: flex;
    align-items: center;
}

.home-nav-backdrop {
    display: none;
}

.home-nav-sheet {
    display: contents;
}

.home-nav-sheet-handle {
    display: none;
}

.home-nav-links {
    display: contents;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.home-nav-mobile-header {
    display: none;
}

.home-nav-close {
    display: none;
}

.home-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}

.home-header.is-scrolled .home-nav a {
    color: var(--home-text-muted);
}

.home-nav a:hover {
    color: var(--home-accent);
}

.home-nav a:focus-visible {
    outline: 2px solid var(--home-accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.home-header.is-scrolled .home-nav a:hover {
    color: var(--home-primary);
}

.home-nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ---------- Buttons ---------- */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: var(--home-radius);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.home-btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--home-radius);
}

.home-btn-primary {
    background: linear-gradient(135deg, var(--home-primary) 0%, var(--home-primary-hover) 100%);
    color: var(--home-white);
    box-shadow: 0 4px 14px var(--home-primary-glow);
}

.home-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--home-primary-glow);
}

.home-btn:focus-visible {
    outline: 2px solid var(--home-primary);
    outline-offset: 2px;
}

.home-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--home-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--home-white);
}

.home-header.is-scrolled .home-btn-ghost {
    background: transparent;
    color: var(--home-text);
    border-color: var(--home-border-light);
}

.home-header.is-scrolled .home-btn-ghost:hover {
    color: var(--home-accent);
    border-color: var(--home-accent);
}

.home-header.is-scrolled .home-btn-primary {
    background: linear-gradient(135deg, var(--home-primary) 0%, var(--home-primary-hover) 100%);
    color: var(--home-white);
}

/* ---------- Hero ---------- */
.home-hero {
    position: relative;
    min-height: 92vh;
    min-height: 92dvh;
    display: flex;
    align-items: center;
    padding: calc(var(--home-header-h) + 2rem) 1.5rem 4rem;
    background: var(--home-dark);
    background-image:
        linear-gradient(160deg, rgba(99, 102, 241, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse 80% 50% at 75% 35%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 45% at 15% 85%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 0;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}

.home-hero-content {
    max-width: 540px;
}

.home-hero-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--home-accent);
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 100px;
    margin-bottom: 1.25rem;
    transition: background 0.2s, border-color 0.2s;
}

.home-hero-badge:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.4);
}

.home-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--home-white);
    margin: 0 0 1.5rem;
}

.home-hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2rem;
    line-height: 1.65;
}

.home-hero .home-btn-primary {
    background: linear-gradient(135deg, var(--home-primary) 0%, var(--home-primary-hover) 100%);
    box-shadow: 0 4px 20px var(--home-primary-glow);
}

.home-hero .home-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero mockup - CSS dashboard preview */
.home-hero-visual {
    justify-content: flex-end;
}

.home-hero-mockup {
    width: 100%;
    max-width: 420px;
    min-width: 280px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--home-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.home-hero-visual.home-animate-visible .home-hero-mockup {
    box-shadow: 0 28px 56px var(--home-primary-glow);
}

.home-hero-mockup-bar {
    height: 40px;
    background: rgba(51, 65, 85, 0.9);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.home-hero-mockup-bar::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
    margin-right: 6px;
}

.home-hero-mockup-bar::after {
    content: '';
    width: 60%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin-left: 1rem;
}

.home-hero-mockup-content {
    padding: 1.5rem;
}

.home-hero-mockup-chart {
    height: 140px;
    background: linear-gradient(180deg, var(--home-primary-light) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: var(--home-radius);
    margin-bottom: 1.25rem;
}

.home-hero-mockup-stats {
    display: flex;
    gap: 1rem;
}

.home-hero-mockup-stats span {
    flex: 1;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.home-hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.home-hero-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--home-primary);
    opacity: 0.06;
    filter: blur(60px);
}

.home-hero-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: homeFloat 8s ease-in-out infinite;
}

.home-hero-circle-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -80px;
    background: var(--home-accent);
    animation: homeFloat 10s ease-in-out infinite 1s;
}

.home-hero-circle-3 {
    width: 180px;
    height: 180px;
    bottom: 30%;
    right: 20%;
    opacity: 0.05;
    animation: homeFloat 7s ease-in-out infinite 0.5s;
}

/* ---------- Section labels (PubScale-style) ---------- */
.home-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--home-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.home-section-label-light {
    color: var(--home-accent);
}

/* ---------- Sponsor / Partners marquee (PubScale-style) ---------- */
.home-marquee-wrap {
    background: var(--home-bg-tint);
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    overflow: hidden;
}

.home-marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent);
}

.home-marquee-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: homeMarquee 30s linear infinite;
}

.home-marquee-logo {
    flex-shrink: 0;
    height: 100px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7) opacity(0.7);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.home-marquee-logo:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

@keyframes homeMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- Trust ---------- */
.home-trust {
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, var(--home-bg) 0%, var(--home-bg-tint) 100%);
    text-align: center;
    border-bottom: 1px solid var(--home-border);
}

.home-trust-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.home-trust-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--home-primary);
    opacity: 0.9;
}

.home-trust-text {
    margin: 0;
    font-size: 1rem;
    color: var(--home-text-muted);
    font-weight: 500;
}

.home-trust-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.home-trust-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--home-primary);
    opacity: 0.35;
}

.home-trust-dots span:nth-child(2),
.home-trust-dots span:nth-child(4) {
    background: var(--home-accent);
}

.home-trust-dots span:nth-child(3) {
    opacity: 0.7;
    transform: scale(1.2);
}

/* ---------- Platform ---------- */
.home-platform {
    padding: 5rem 1.5rem;
    background: var(--home-bg-tint);
    border-top: 1px solid var(--home-border);
}

.home-platform .home-section-label {
    text-align: left;
}

.home-platform-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.home-platform-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--home-text);
    margin: 0 0 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-platform-desc {
    font-size: 1.0625rem;
    color: var(--home-text-muted);
    margin: 0 0 1.5rem;
    line-height: 1.65;
}

.home-platform-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.home-platform-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--home-text);
    margin-bottom: 0.75rem;
}

.home-platform-list li i {
    color: var(--home-primary);
    font-size: 1.125rem;
}

.home-platform-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Platform dashboard - CSS mockup */
.home-platform-dashboard {
    width: 100%;
    max-width: 520px;
    min-width: 280px;
    background: var(--home-dark-soft);
    border-radius: var(--home-radius-lg);
    overflow: hidden;
    box-shadow: var(--home-shadow-lg);
    border: 1px solid var(--home-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-platform-media:hover .home-platform-dashboard {
    box-shadow: 0 16px 48px var(--home-primary-glow);
}

.home-platform-dash-header {
    height: 48px;
    background: var(--home-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-platform-dash-body {
    display: flex;
    min-height: 280px;
}

.home-platform-dash-sidebar {
    width: 56px;
    background: rgba(15, 23, 42, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.home-platform-dash-main {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.home-platform-dash-card {
    width: calc(50% - 0.5rem);
    height: 72px;
    background: var(--home-primary-light);
    border-radius: var(--home-radius);
}

.home-platform-dash-card-wide {
    width: 100%;
    height: 100px;
    background: var(--home-accent-subtle);
}

/* ---------- Solutions (icon cards) ---------- */
.home-solutions {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, var(--home-bg) 0%, var(--home-bg-tint) 100%);
}

.home-solutions .home-section-label {
    margin-bottom: 0.5rem;
}

.home-section-title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin: 0 0 3rem;
    color: var(--home-text);
    line-height: 1.2;
    letter-spacing: -0.03em;
    position: relative;
}

.home-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--home-primary), var(--home-accent));
    border-radius: 2px;
}

.home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.home-solution-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    background: var(--home-bg-card);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: var(--home-shadow);
}

.home-solution-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

.home-solution-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-primary);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.home-solution-card:hover {
    transform: translateY(-4px);
}

.home-solution-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--home-radius);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.25s;
}

.home-solution-card:hover .home-solution-icon-wrap {
    transform: scale(1.05);
}

.home-solution-icon-1 {
    background: linear-gradient(135deg, var(--home-primary-light) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: var(--home-primary);
}

.home-solution-icon-2 {
    background: linear-gradient(135deg, var(--home-accent-subtle) 0%, rgba(6, 182, 212, 0.06) 100%);
    color: var(--home-accent);
}

.home-solution-icon-3 {
    background: linear-gradient(135deg, var(--home-secondary-light) 0%, rgba(124, 58, 237, 0.06) 100%);
    color: var(--home-secondary);
}

.home-solution-icon-4 {
    background: linear-gradient(135deg, var(--home-success-light) 0%, rgba(16, 185, 129, 0.06) 100%);
    color: var(--home-success);
}

.home-solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--home-text);
    letter-spacing: -0.02em;
}

.home-solution-desc {
    font-size: 0.9375rem;
    color: var(--home-text-muted);
    margin: 0 0 1.25rem;
    flex: 1;
    line-height: 1.6;
}

.home-solution-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--home-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.home-solution-card:hover .home-solution-link {
    gap: 0.75rem;
}

.home-solution-card:focus-visible {
    outline: 2px solid var(--home-primary);
    outline-offset: 2px;
}

/* ---------- Impact / Stats ---------- */
.home-impact {
    padding: 5rem 1.5rem;
    background: var(--home-dark);
    background-image:
        linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse 70% 50% at 85% 45%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 60%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
    color: var(--home-white);
}

.home-impact .home-section-label {
    margin-bottom: 0.5rem;
}

.home-section-title-light {
    color: var(--home-white);
    margin-bottom: 3rem;
}

.home-section-title-light::after {
    background: linear-gradient(90deg, var(--home-accent), var(--home-primary));
    opacity: 0.9;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.home-stat {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--home-radius-lg);
    position: relative;
    overflow: hidden;
}

.home-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--home-primary), var(--home-accent));
    opacity: 0.8;
}

.home-stat:nth-child(2)::before {
    background: linear-gradient(180deg, var(--home-accent), var(--home-secondary));
}

.home-stat:nth-child(3)::before {
    background: linear-gradient(180deg, var(--home-secondary), var(--home-success));
}

.home-stat-value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--home-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
}

.home-testimonial {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.home-testimonial-icon {
    display: block;
    font-size: 2rem;
    color: var(--home-accent);
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

.home-testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.65;
    margin: 0 0 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
}

.home-testimonial-cite {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
}

/* ---------- CTA ---------- */
.home-cta {
    position: relative;
    padding: 5rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.home-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--home-primary) 0%, var(--home-primary-hover) 35%, var(--home-secondary) 100%);
    opacity: 0.97;
    z-index: 0;
}

.home-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34, 211, 238, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.home-cta-inner {
    position: relative;
    z-index: 1;
}

.home-cta-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
}

.home-cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--home-white);
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.home-cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem;
}

.home-btn-cta {
    background: var(--home-white);
    color: var(--home-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.home-btn-cta:hover {
    background: var(--home-bg);
    color: var(--home-primary-hover);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.home-cta-inner .home-animate-in:nth-child(1) { transition-delay: 0s; }
.home-cta-inner .home-animate-in:nth-child(2) { transition-delay: 0.05s; }
.home-cta-inner .home-animate-in:nth-child(3) { transition-delay: 0.1s; }
.home-cta-inner .home-animate-in:nth-child(4) { transition-delay: 0.15s; }
.home-cta-inner .home-animate-in:nth-child(5) { transition-delay: 0.2s; }

/* ---------- FAQ ---------- */
.home-faq {
    padding: 5rem 1.5rem;
    background: var(--home-bg-tint);
    border-top: 1px solid var(--home-border);
}

.home-faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.home-faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--home-border);
}

.home-faq-item:last-child {
    border-bottom: none;
}

.home-faq-q {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--home-text);
}

.home-faq-a {
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
    color: var(--home-text-muted);
}

/* ---------- Footer ---------- */
.home-footer {
    padding: 3.5rem 1.5rem 2rem;
    background: var(--home-dark-soft);
    background-image: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, transparent 30%);
    border-top: 1px solid var(--home-border);
    color: rgba(255, 255, 255, 0.8);
}

.home-footer-badge {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.home-footer-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.home-footer-logo {
    text-decoration: none;
}

.home-footer .adjet-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--home-white);
}

.home-footer .adjet-logo span {
    color: var(--home-accent);
}

.home-footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

.home-footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.home-footer-col a:hover {
    color: var(--home-accent);
}

.home-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.home-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.home-footer-social a:hover {
    color: var(--home-white);
    background: rgba(255, 255, 255, 0.1);
}

.home-footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .home-hero-content {
        max-width: 100%;
    }

    .home-hero-visual {
        order: -1;
        justify-content: center;
    }

    .home-hero-mockup {
        margin: 0 auto;
        max-width: 380px;
    }

    .home-platform-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-platform-media {
        order: -1;
    }

    .home-platform-dashboard {
        margin: 0 auto;
    }

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

    .home-nav-toggle {
        display: flex;
    }

    /* Bottom sheet overlay - full viewport, above header */
    .home-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: block;
        pointer-events: none;
        visibility: hidden;
        transition: visibility 0.35s step-end;
    }

    .home-nav-overlay[aria-hidden="false"] {
        visibility: visible;
        pointer-events: auto;
        transition: visibility 0s step-start;
    }

    .home-nav-backdrop {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        transition: opacity 0.3s ease;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .home-nav-overlay[aria-hidden="false"] .home-nav-backdrop {
        opacity: 1;
    }

    .home-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: auto;
        display: block;
        width: 100%;
        padding: 0;
        gap: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
        z-index: 10000;
        pointer-events: none;
    }

    .home-nav-overlay[aria-hidden="false"] .home-nav {
        pointer-events: auto;
    }

    .home-nav-sheet {
        display: block;
        max-height: 85vh;
        min-height: 200px;
        background: var(--home-dark-soft);
        border-radius: 20px 20px 0 0;
        padding: 0 1.25rem 1.5rem;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
        border: 1px solid var(--home-border);
        border-bottom: none;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
        pointer-events: auto;
    }

    .home-nav-overlay[aria-hidden="false"] .home-nav-sheet {
        transform: translateY(0);
    }

    .home-nav-sheet-handle {
        display: block;
        width: 40px;
        height: 4px;
        margin: 12px auto 16px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 2px;
    }

    .home-nav-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 1rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--home-border);
    }

    .home-nav-mobile-title {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--home-text);
        letter-spacing: 0.02em;
    }

    .home-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: none;
        border-radius: var(--home-radius);
        background: rgba(255, 255, 255, 0.06);
        color: var(--home-text);
        font-size: 1.125rem;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

    .home-nav-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--home-accent);
    }

    .home-nav-close:focus {
        outline: 2px solid var(--home-accent);
        outline-offset: 2px;
    }

    .home-nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .home-nav a {
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--home-border);
        color: var(--home-text);
        font-size: 1rem;
        font-weight: 500;
        min-height: 48px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .home-nav a:hover {
        color: var(--home-accent);
    }

    .home-nav-cta {
        flex-direction: column;
        align-items: stretch;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--home-border);
        gap: 0.75rem;
    }

    .home-nav-cta .home-btn {
        justify-content: center;
        min-height: 48px;
        font-size: 1rem;
    }

    .home-nav-cta .home-btn-ghost {
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--home-border);
        color: var(--home-text);
    }

    .home-nav-cta .home-btn-ghost:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--home-accent);
    }

    .home-nav-cta .home-btn-primary {
        background: linear-gradient(135deg, var(--home-primary) 0%, var(--home-primary-hover) 100%);
        box-shadow: 0 4px 20px var(--home-primary-glow);
    }

    .home-footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-footer-links {
        justify-items: center;
        text-align: center;
    }

    .home-footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .home-hero {
        min-height: auto;
        padding: calc(var(--home-header-h) + 1.5rem) 1rem 3rem;
    }

    .home-stats {
        grid-template-columns: 1fr;
    }

    .home-stat-value {
        -webkit-text-fill-color: var(--home-white);
        background: none;
    }
}

@media (max-width: 576px) {
    .home-solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 0 1rem;
    }

    .home-hero-title {
        font-size: 2rem;
    }

    .home-solution-card {
        padding: 1.5rem;
    }
}
