/* RizForge shared global CSS.
   Extracted from repeated inline prototype styles without changing tokens, selectors, or animations. */

/* BRAND TOKENS & VARIABLES */
        :root {
            --bg-primary: #0a0a0a;
            --bg-surface: #111111;
            --bg-elevated: #161616;
            --accent: #ff5c00;
            --accent-hover: #e04f00;
            --text-primary: #f0ebe2;
            --text-muted: #6a6560;
            --text-faint: #3a3530;
            --border: #1e1e1e;
            --border-hover: #ff5c00;
            
            --font-head: 'Chillax', sans-serif;
            --font-body: 'Plus Jakarta Sans', sans-serif;
            
            --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

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

html {
            scroll-behavior: smooth;
            background-color: var(--bg-primary);
        }

body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--font-body);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

/* HIDE DEFAULT CURSOR */
        @media (pointer: fine) {
            html, body, a, button, input, textarea, select {
                cursor: none !important;
            }
        }

/* TYPOGRAPHY */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-head);
            font-weight: 600;
            color: var(--text-primary);
            line-height: 1.1;
        }

h2 {
            font-size: clamp(28px, 4vw, 48px);
            margin-bottom: 48px;
        }

.eyebrow {
            display: block;
            font-family: var(--font-body);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 11px;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 16px;
        }

a {
            text-decoration: none;
            color: inherit;
            transition: color 200ms var(--ease);
        }

/* ACCESSIBILITY: KEYBOARD FOCUS */
        *:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 4px;
            border-radius: 2px;
        }

ul { list-style: none; }

/* LAYOUT & UTILITIES */
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

.section-padding { padding: 120px 0; }

.text-center { text-align: center; }

/* SCROLL ENTRANCE ANIMATIONS */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 600ms var(--ease), transform 600ms var(--ease);
        }

.reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

.stagger-1 { transition-delay: 80ms; }

.stagger-2 { transition-delay: 160ms; }

.stagger-3 { transition-delay: 240ms; }

.stagger-4 { transition-delay: 320ms; }

.stagger-5 { transition-delay: 400ms; }

/* BUTTONS */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-body);
            font-weight: 600;
            border: none;
            transition: all 300ms var(--ease);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

.btn-primary {
            background: linear-gradient(135deg, #FBB59C 0%, #FF6B35 100%);
            color: #fff;
            padding: 10px 22px;
            font-size: 13px;
            border-radius: 100px;
        }

.btn-primary::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(135deg, #FF6B35 0%, #e04f00 100%);
            z-index: -1;
            opacity: 0;
            transition: opacity 300ms var(--ease);
        }

/* PULSING NAV BUTTON */
        .btn-pulse {
            animation: btnRadarPulse 2s infinite;
        }

@keyframes btnRadarPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6);
            }
            70% {
                box-shadow: 0 0 0 12px rgba(255, 107, 53, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
            }
        }

.btn-large {
            padding: 16px 40px;
            font-size: 15px;
            border-radius: 8px;
        }

.btn-ghost {
            background: transparent;
            color: var(--accent);
            padding: 10px 0;
            font-size: 15px;
            position: relative;
        }

.btn-ghost::after {
            content: '';
            position: absolute;
            bottom: 6px; left: 0;
            width: 0%; height: 1px;
            background-color: var(--accent);
            transition: width 200ms var(--ease);
        }

.btn-ghost:hover::after { width: 100%; }

#custom-cursor.state-cta {
            width: 64px;
            height: 64px;
            background-color: rgba(255, 107, 53, 0.15);
            border: 1px solid rgba(255, 107, 53, 0.4);
            box-shadow: inset 0 0 16px rgba(255, 107, 53, 0.2);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            color: #ffffff;
            font-size: 13px;
        }

#custom-cursor.state-absorb {
            width: 0px;
            height: 0px;
            opacity: 0;
        }

#custom-cursor.state-founder {
            width: 76px; height: 76px;
            background-color: rgba(255, 107, 53, 0.15);
            border: 1px solid var(--accent);
            color: #ffffff;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }

#custom-cursor.state-pillar {
            width: 64px;
            height: 64px;
            background-color: rgba(255, 107, 53, 0.15);
            border: 1px solid rgba(255, 107, 53, 0.45);
            box-shadow: inset 0 0 16px rgba(255, 107, 53, 0.18);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            color: #ffffff;
            font-size: 13px;
        }

@media (max-width: 768px) {
            #custom-cursor { display: none !important; }
        }

/* BACKGROUND NOISE */
        .noise-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none; z-index: 1; opacity: 0.03;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            animation: noiseAnim 0.2s infinite;
        }

@keyframes noiseAnim {
            0% { transform: translate(0, 0); }
            10% { transform: translate(-1%, -1%); }
            20% { transform: translate(1%, 1%); }
            30% { transform: translate(-2%, 1%); }
            40% { transform: translate(1%, -1%); }
            50% { transform: translate(-1%, 2%); }
            60% { transform: translate(2%, -2%); }
            70% { transform: translate(0%, 1%); }
            80% { transform: translate(-1%, -1%); }
            90% { transform: translate(1%, 0%); }
            100% { transform: translate(0, 0); }
        }

/* SECTION 1: NAVIGATION */
        .navbar {
            position: fixed;
            top: 24px;
            left: 50%;
            transform: translateX(-50%);
            width: auto;
            max-width: calc(100% - 48px);
            height: auto;
            z-index: 100;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            display: flex;
            align-items: center;
            padding: 8px 12px 8px 20px;
            transition: all 300ms var(--ease);
            box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
        }
        .navbar::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 16px;
            background-color: rgba(10, 10, 10, 0.68);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            z-index: -1;
            transition: background-color 300ms var(--ease);
        }

.navbar.scrolled {
            border-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .navbar.scrolled::before {
            background-color: rgba(10, 10, 10, 0.85);
        }

.navbar .container {
            width: auto;
            max-width: none;
            margin: 0;
            padding: 0;
        }

.nav-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: auto;
            gap: 36px;
        }

.nav-logo {
            display: flex;
            align-items: center;
            flex: 0 0 auto;
        }

.nav-logo img { height: 28px; display: block; }

.nav-links {
            display: flex;
            align-items: center;
            gap: 28px;
            flex: 0 0 auto;
        }

.nav-links a {
            font-size: 13px;
            color: var(--text-primary);
            font-weight: 500;
        }

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

.nav-item {
            position: relative;
            display: flex;
            align-items: center;
        }

.nav-dropdown-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

.nav-dropdown-toggle::after {
            content: '';
            width: 7px;
            height: 7px;
            border-right: 1px solid currentColor;
            border-bottom: 1px solid currentColor;
            transform: rotate(45deg) translateY(-2px);
            transition: transform 200ms var(--ease);
        }

.nav-item:hover .nav-dropdown-toggle::after {
            transform: rotate(225deg) translateY(-1px);
        }

.services-dropdown {
            position: absolute;
            top: calc(100% + 18px);
            left: 50%;
            transform: translateX(-50%) translateY(8px);
            min-width: 240px;
            padding: 10px;
            background-color: rgba(14, 14, 14, 0.48);
            backdrop-filter: blur(32px) saturate(180%);
            -webkit-backdrop-filter: blur(32px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            opacity: 0;
            pointer-events: none;
            transition: opacity 220ms var(--ease), transform 220ms var(--ease);
        }

.services-dropdown::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: -20px;
            height: 20px;
        }

.nav-item:hover .services-dropdown,
        .nav-item:focus-within .services-dropdown {
            opacity: 1;
            pointer-events: all;
            transform: translateX(-50%) translateY(0);
        }

.services-dropdown a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 12px 12px;
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 13px;
            white-space: nowrap;
            transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
        }

.services-dropdown a::after {
            content: '→';
            color: var(--accent);
            opacity: 0;
            transform: translateX(-4px);
            transition: opacity 200ms var(--ease), transform 200ms var(--ease);
        }

.services-dropdown a:hover {
            background-color: rgba(255, 255, 255, 0.045);
            color: var(--accent);
            transform: translateX(2px);
        }

.services-dropdown a:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

.nav-right {
            display: flex;
            align-items: center;
            gap: 18px;
            flex: 0 0 auto;
        }

.nav-right .btn-primary {
            border-radius: 12px;
        }

.nav-phone {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            white-space: nowrap;
        }

.nav-phone:hover { color: var(--text-primary); }

.hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            line-height: 1;
            cursor: none;
        }

.mobile-menu-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            background-color: rgba(10, 10, 10, 0.85);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            z-index: 99;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            opacity: 0; pointer-events: none; transition: opacity 400ms var(--ease);
        }

.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-links {
            display: flex; flex-direction: column; gap: 32px; text-align: center; margin-bottom: 48px;
        }

.mobile-nav-links a { font-family: var(--font-head); font-size: 32px; font-weight: 600; }

.mobile-link {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 400ms var(--ease), transform 400ms var(--ease);
        }

.mobile-menu-overlay.open .mobile-link {
            opacity: 1;
            transform: translateY(0);
        }

.mobile-menu-overlay.open .mobile-link:nth-child(1) { transition-delay: 100ms; }

.mobile-menu-overlay.open .mobile-link:nth-child(2) { transition-delay: 150ms; }

.mobile-menu-overlay.open .mobile-link:nth-child(3) { transition-delay: 200ms; }

.mobile-menu-overlay.open .mobile-link:nth-child(4) { transition-delay: 250ms; }

.mobile-menu-overlay.open .mobile-link:nth-child(5) { transition-delay: 300ms; }

.mobile-menu-overlay.open .mobile-phone { transition-delay: 350ms; }

.mobile-phone {
            font-family: var(--font-body);
            font-size: 20px;
            color: var(--accent);
            font-weight: 600;
            margin-top: 16px;
            display: inline-block;
            position: relative;
        }

.mobile-phone::after {
            content: '';
            position: absolute;
            left: 0; bottom: -4px;
            width: 100%; height: 1px;
            background-color: var(--accent);
        }

.mobile-services-group {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
        }

.mobile-services-toggle {
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-family: var(--font-head);
            font-size: 32px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 0;
            transition: color 200ms var(--ease);
        }

.mobile-services-toggle:hover,
        .mobile-services-toggle.active {
            color: var(--accent);
        }

.mobile-services-toggle::after {
            content: '';
            width: 9px;
            height: 9px;
            border-right: 2px solid currentColor;
            border-bottom: 2px solid currentColor;
            transform: rotate(45deg) translateY(-3px);
            transition: transform 220ms var(--ease);
        }

.mobile-services-toggle.active::after {
            transform: rotate(225deg) translateY(-1px);
        }

.mobile-services-submenu {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            margin-top: 0;
            padding: 0 14px;
            background: linear-gradient(180deg, rgba(22, 22, 22, 0.58) 0%, rgba(10, 10, 10, 0.38) 100%);
            backdrop-filter: blur(34px) saturate(180%) contrast(1.08);
            -webkit-backdrop-filter: blur(34px) saturate(180%) contrast(1.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 24px rgba(255, 255, 255, 0.025);
            transition: max-height 320ms var(--ease), opacity 240ms var(--ease), margin-top 320ms var(--ease), padding 320ms var(--ease);
        }

.mobile-services-submenu.open {
            max-height: 280px;
            opacity: 1;
            margin-top: 16px;
            padding: 14px;
        }

.mobile-services-submenu a {
            font-family: var(--font-body);
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            padding: 6px 12px;
            border-radius: 999px;
        }

.mobile-services-submenu a:hover {
            color: var(--accent);
            background-color: rgba(255, 255, 255, 0.045);
        }

@media (max-width: 1180px) and (min-width: 901px) {
            .navbar {
                max-width: calc(100% - 40px);
                padding: 8px 10px 8px 16px;
            }

            .nav-container {
                gap: 24px;
            }

            .nav-links {
                gap: 22px;
            }

            .nav-right {
                gap: 14px;
            }

            .nav-phone {
                font-size: 12px;
            }

            .nav-right .btn-primary {
                padding: 10px 18px;
                font-size: 12px;
            }
        }

@media (max-width: 1040px) and (min-width: 901px) {
            .nav-container {
                gap: 20px;
            }

            .nav-links {
                gap: 18px;
            }

            .nav-phone {
                display: none;
            }
        }

@media (max-width: 430px) {
            .navbar {
                width: calc(100% - 40px);
                max-width: 360px;
                padding: 9px 12px 9px 14px;
            }

            .nav-logo img {
                height: 27px;
            }

            .nav-right .btn-primary {
                padding: 9px 15px;
                font-size: 11px;
            }

            .hamburger {
                width: 32px;
                height: 32px;
                font-size: 23px;
            }
        }

@media (max-width: 370px) {
            .navbar {
                width: calc(100% - 28px);
            }

            .nav-right .btn-primary {
                padding: 8px 12px;
                font-size: 10.5px;
            }

            .nav-logo img {
                height: 25px;
            }
        }

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

.footer-links { display: flex; flex-direction: column; gap: 12px; }

/* Shared card and footer components repeated across prototype pages. */

/* CARD EFFECTS */
        .glass-card {
            background: #111;
            border: 1px solid var(--border);
            border-radius: 8px;
            position: relative;
            overflow: hidden;
            z-index: 1;
            transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
        }

.glass-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 120%), rgba(255, 107, 53, 0.25) 0%, transparent 65%);
            z-index: -2;
            opacity: 0;
            transition: opacity 400ms var(--ease);
        }

.glass-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
            opacity: 0.12;
            mix-blend-mode: overlay;
            pointer-events: none;
            z-index: -1;
        }

@media (hover: hover) {
    .glass-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 92, 0, 0.4);
            box-shadow: 0 12px 32px rgba(255, 92, 0, 0.08);
        }
    .glass-card:hover::before { opacity: 1; }
}

@media (hover: none) {
    .glass-card { transition: none; }
    .glass-card::before { transition: none; }
}

a.glass-card, a.pillar-card { touch-action: manipulation; }

/* FOOTER */
        .footer { background-color: var(--bg-primary); border-top: 1px solid var(--border); padding: 80px 0 32px 0; position: relative; z-index: 2; }

.footer-col img { height: 28px; margin-bottom: 16px; }

.footer-col p { font-size: 13px; color: #4a4540; max-width: 200px; }

.footer-title { font-family: var(--font-head); font-size: 14px; color: var(--text-primary); margin-bottom: 20px; font-weight: 600; }

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

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 32px; font-size: 12px; color: var(--text-faint); }

.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.08);
    background-color: rgba(255,255,255,0.04);
    transition: color 220ms var(--ease), border-color 220ms var(--ease), background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:hover {
    color: var(--accent);
    border-color: rgba(255, 92, 0, 0.42);
    background-color: rgba(255, 92, 0, 0.08);
    box-shadow: 0 0 16px rgba(255, 92, 0, 0.22);
}
