/* ==========================================
   CHALKBOARD — Landing Page Styles
   Premium dark-mode design with glassmorphism
   ========================================== */

/* -- CSS Variables (inherits from app design system) -- */
:root {
    --primary: #6C5CE7;
    --primary-light: #a29bfe;
    --primary-dark: #4834d4;
    --primary-glow: rgba(108, 92, 231, 0.35);

    --accent: #00cec9;
    --accent-light: #81ecec;
    --accent-dark: #00b894;

    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    --info: #74b9ff;

    --bg-primary: #060612;
    --bg-secondary: #0d0d20;
    --bg-card: rgba(18, 18, 45, 0.65);
    --bg-input: rgba(255, 255, 255, 0.04);

    --text-primary: #f0f0ff;
    --text-secondary: #9a9abf;
    --text-muted: #5a5a80;

    --border-color: rgba(255, 255, 255, 0.07);
    --glass-bg: rgba(16, 16, 40, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ==========================================
   NAVBAR
   ========================================== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}

.landing-nav.scrolled {
    padding: 8px 0;
    background: rgba(6, 6, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    -webkit-text-fill-color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

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

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(108, 92, 231, 0.12);
    top: -150px;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 206, 201, 0.08);
    bottom: -100px;
    left: -100px;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(253, 203, 110, 0.06);
    top: 40%;
    left: 30%;
    animation: orbFloat 18s ease-in-out infinite 3s;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 28px;
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-badge i {
    font-size: 12px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    animation: fadeInUp 1s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--accent-light), var(--warning));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 25px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--primary-glow);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shine 3s infinite;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    border-color: var(--primary-light);
    background: rgba(108, 92, 231, 0.08);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--text-muted);
    animation: fadeInUp 1s ease 0.5s both;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    border: 2px solid var(--bg-primary);
    margin-right: -10px;
}

.trust-avatar:last-child {
    margin-right: 0;
}

.hero-trust strong {
    color: var(--text-primary);
}

/* Hero Visual / Mockup */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-mockup {
    position: relative;
}

.mockup-window {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow), 0 0 80px rgba(108, 92, 231, 0.1);
    overflow: hidden;
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 7px;
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca42; }

.mockup-url {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-input);
    padding: 4px 16px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.mockup-body {
    padding: 20px;
}

.mockup-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mockup-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-light);
}

.mockup-brand i {
    margin-right: 6px;
}

.mockup-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-input);
    padding: 3px;
    border-radius: 8px;
    font-size: 11px;
}

.mockup-tabs span {
    padding: 5px 12px;
    border-radius: 6px;
    color: var(--text-muted);
}

.mockup-tab-active {
    background: var(--primary) !important;
    color: white !important;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-stat {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.mockup-stat-info {
    display: flex;
    flex-direction: column;
}

.mockup-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.mockup-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 80px;
    padding: 12px 0;
}

.chart-bar {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--primary), rgba(108, 92, 231, 0.3));
    animation: chartGrow 1.5s ease 1s both;
    min-height: 8px;
}

.chart-bar:nth-child(even) {
    background: linear-gradient(180deg, var(--accent), rgba(0, 206, 201, 0.3));
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--glass-shadow);
    white-space: nowrap;
}

.floating-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.floating-card-qr {
    top: 30%;
    left: -40px;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card-rating {
    bottom: 20%;
    right: -30px;
    animation: floatCard 5s ease-in-out infinite 1s;
}

.floating-card-alert {
    top: 10%;
    right: -20px;
    animation: floatCard 4.5s ease-in-out infinite 2s;
}

.floating-stars {
    display: flex;
    gap: 3px;
    color: var(--warning);
    font-size: 14px;
}

.floating-stars .half {
    opacity: 0.4;
}

.alert-icon {
    background: linear-gradient(135deg, var(--success), var(--accent-dark)) !important;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* ==========================================
   SECTIONS — SHARED STYLES
   ========================================== */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.features-section,
.how-it-works-section,
.roles-section,
.tech-section {
    padding: 120px 0;
    position: relative;
}

.stats-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    margin-bottom: 24px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works-section {
    background: var(--bg-primary);
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 88px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--warning), var(--success));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.step-visual {
    margin-bottom: 24px;
}

.step-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-light);
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.step-card:hover .step-icon-lg {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-4px);
    background: rgba(108, 92, 231, 0.1);
}

.step-card:nth-child(2) .step-icon-lg {
    color: var(--accent-light);
}

.step-card:nth-child(2):hover .step-icon-lg {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 206, 201, 0.3);
}

.step-card:nth-child(3) .step-icon-lg {
    color: var(--warning);
}

.step-card:nth-child(3):hover .step-icon-lg {
    border-color: var(--warning);
    box-shadow: 0 0 30px rgba(253, 203, 110, 0.3);
}

.step-card:nth-child(4) .step-icon-lg {
    color: var(--success);
}

.step-card:nth-child(4):hover .step-icon-lg {
    border-color: var(--success);
    box-shadow: 0 0 30px rgba(0, 184, 148, 0.3);
}

.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* ==========================================
   ROLES SECTION
   ========================================== */
.roles-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.role-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.role-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    filter: blur(80px);
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.role-card:hover .role-card-glow {
    opacity: 0.06;
}

.role-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.role-card-featured {
    border-color: rgba(0, 206, 201, 0.2);
    background: rgba(0, 206, 201, 0.03);
    transform: scale(1.03);
}

.role-card-featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.role-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-light);
    margin: 0 auto 20px;
    transition: var(--transition-smooth);
}

.role-card:nth-child(1) .role-card-icon {
    color: var(--primary-light);
}

.role-card:nth-child(2) .role-card-icon {
    color: var(--accent-light);
}

.role-card:nth-child(3) .role-card-icon {
    color: var(--warning);
}

.role-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.role-card-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.role-card-features {
    list-style: none;
    text-align: left;
}

.role-card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.role-card-features li:last-child {
    border-bottom: none;
}

.role-card-features li i {
    color: var(--success);
    font-size: 12px;
    flex-shrink: 0;
}

/* ==========================================
   STATS / IMPACT
   ========================================== */
.stats-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.stats-grid-landing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.stat-item:nth-child(2) .stat-item-icon { color: var(--accent-light); background: rgba(0, 206, 201, 0.1); }
.stat-item:nth-child(3) .stat-item-icon { color: var(--warning); background: rgba(253, 203, 110, 0.1); }
.stat-item:nth-child(4) .stat-item-icon { color: var(--success); background: rgba(0, 184, 148, 0.1); }

.stat-item-number {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-light);
    display: inline;
    margin-left: -4px;
    -webkit-text-fill-color: var(--primary-light);
}

.stat-item-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================
   TECH SECTION
   ========================================== */
.tech-section {
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.tech-card i {
    font-size: 32px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.tech-card:nth-child(2) i { color: var(--success); }
.tech-card:nth-child(3) i { color: var(--info); }
.tech-card:nth-child(4) i { color: var(--accent-light); }
.tech-card:nth-child(5) i { color: var(--warning); }
.tech-card:nth-child(6) i { color: var(--danger); }

.tech-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   FINAL CTA
   ========================================== */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(108, 92, 231, 0.15);
    top: -200px;
    left: -100px;
}

.cta-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 206, 201, 0.1);
    bottom: -150px;
    right: -50px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.landing-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
    padding: 64px 0 32px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    -webkit-text-fill-color: white;
    font-size: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links-group h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-group a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes chartGrow {
    from { height: 0 !important; }
}

@keyframes shine {
    0% { left: -100%; }
    30% { left: 100%; }
    100% { left: 100%; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* -- Scroll reveal -- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grid items */
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

.step-card:nth-child(1) { transition-delay: 0s; }
.step-card:nth-child(2) { transition-delay: 0.15s; }
.step-card:nth-child(3) { transition-delay: 0.3s; }
.step-card:nth-child(4) { transition-delay: 0.45s; }

.role-card:nth-child(1) { transition-delay: 0s; }
.role-card:nth-child(2) { transition-delay: 0.15s; }
.role-card:nth-child(3) { transition-delay: 0.3s; }

.tech-card:nth-child(1) { transition-delay: 0s; }
.tech-card:nth-child(2) { transition-delay: 0.08s; }
.tech-card:nth-child(3) { transition-delay: 0.16s; }
.tech-card:nth-child(4) { transition-delay: 0.24s; }
.tech-card:nth-child(5) { transition-delay: 0.32s; }
.tech-card:nth-child(6) { transition-delay: 0.4s; }

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

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

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

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .steps-timeline::before {
        display: none;
    }

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

    .role-card-featured {
        transform: none;
    }

    .role-card-featured:hover {
        transform: translateY(-6px);
    }

    .stats-grid-landing {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .floating-card-qr {
        left: -20px;
    }

    .floating-card-rating {
        right: -10px;
    }

    .floating-card-alert {
        right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(6, 6, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: clamp(30px, 7vw, 42px);
    }

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

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }

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

    .steps-timeline {
        grid-template-columns: 1fr;
    }

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

    .stats-grid-landing {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-item-number {
        font-size: 36px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .floating-card {
        display: none;
    }

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

@media (max-width: 480px) {
    .section-container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .features-section,
    .how-it-works-section,
    .roles-section,
    .tech-section {
        padding: 80px 0;
    }

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

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

    .hero-visual {
        display: none;
    }
}
