/* ==========================================================================
   PRECISZ ANALYTICS & TECHNOLOGY - BUG-FREE ENTERPRISE STYLES
   ========================================================================== */

:root {
    /* Color Palette */
    --navy-bg: #060D1B;
    --navy-surface: #0B192E;
    --navy-card: rgba(15, 28, 48, 0.88);
    
    --orange-primary: #FF7A00;
    --orange-hover: #E06B00;
    --cyan-accent: #00F2FE;
    
    --text-white: #FFFFFF;
    --text-body: #CBD5E1;
    --text-muted: #94A3B8;
    
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-glow: rgba(255, 122, 0, 0.45);
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-main: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--navy-bg);
    color: var(--text-white);
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Fixed Background Canvas */
#particle-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Glassmorphism Cards (Always Visible) */
.glass-card {
    background: var(--navy-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    opacity: 1 !important; /* Fixed blank screen bug */
    visibility: visible !important;
}

.hover-glow:hover {
    border-color: var(--glass-border-glow);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -10px rgba(255, 122, 0, 0.25);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* Gradient Shimmer Text */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 20%, var(--orange-primary) 70%, var(--cyan-accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.shadow-glow {
    box-shadow: 0 10px 30px -5px rgba(255, 122, 0, 0.4);
}

/* Glowing Card Outline */
.glow-border {
    border-color: rgba(255, 122, 0, 0.35);
}

.pulse-glow {
    animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 122, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 122, 0, 0.6); }
}

/* Fixed Top Navbar with Smooth Hide Transition */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    background: rgba(6, 13, 27, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    /* Smooth transition for hiding and showing */
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

/* Hides header above the viewport when scrolling down */
.navbar.nav-hidden {
    transform: translateY(-100%);
}


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

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

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--orange-primary);
    color: var(--navy-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-brand { display: flex; flex-direction: column; }
.logo-title { font-size: 1.1rem; font-weight: 800; letter-spacing: 1px; }
.logo-sub { font-size: 0.65rem; color: var(--orange-primary); font-weight: 700; letter-spacing: 1.5px; }

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    touch-action: manipulation;
}

.btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange-primary); color: var(--navy-bg); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); }

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

/* Hero Section */
.hero {
    position: relative;
    z-index: 2;
    padding-top: 130px;
    padding-bottom: 80px;
}

.hero-container {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 122, 0, 0.1);
    border: 1px solid var(--glass-border-glow);
    border-radius: var(--radius-full);
    color: var(--orange-primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--orange-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--orange-primary);
}

.hero h1 {
    font-size: clamp(2.3rem, 5.5vw, 3.8rem);
    line-height: 1.18;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--text-body);
    max-width: 760px;
    margin: 0 auto 36px auto;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-card { padding: 20px; text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--text-white); }
.stat-unit { font-size: 1.5rem; color: var(--orange-primary); font-weight: 800; }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; font-weight: 600; }

/* Section Architecture */
.section { padding: 80px 0; position: relative; z-index: 2; }
.bg-dark { background-color: var(--navy-surface); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

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

.section-tag {
    color: var(--orange-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-header h2, .about-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.align-center { align-items: center; }
.lead-p { font-size: 1.05rem; color: var(--text-body); margin: 16px 0 24px 0; }

/* Pillar Cards */
.pillar-group { display: flex; flex-direction: column; gap: 16px; }

.pillar-card {
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pillar-icon {
    font-size: 1.6rem;
    background: rgba(255, 122, 0, 0.1);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.pillar-card p { font-size: 0.88rem; color: var(--text-muted); }

/* Code Mockup Card */
.about-code-card { padding: 0; overflow: hidden; }
.code-bar { background: rgba(0,0,0,0.4); padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--glass-border); }
.c-dot { width: 10px; height: 10px; border-radius: 50%; }
.c-dot.red { background: #ff5f56; }
.c-dot.yellow { background: #ffbd2e; }
.c-dot.green { background: #27c93f; }
.c-title { font-size: 0.8rem; color: var(--text-muted); margin-left: 10px; font-family: monospace; }

.code-block { padding: 24px; font-family: 'Fira Code', monospace; font-size: 0.88rem; line-height: 1.7; overflow-x: auto; color: #e2e8f0; }
.kwd { color: #ff7b72; }
.var { color: #79c0ff; }
.str { color: #a5d6ff; }
.bool { color: #f2cc60; }

/* Leadership Section */
.leader-profile-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.leader-avatar {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--orange-primary), var(--cyan-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leader-initials { font-size: 2.2rem; font-weight: 800; color: var(--navy-bg); }

.leader-role {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--orange-primary);
    display: block;
    margin-bottom: 4px;
}

.leader-info h3 { font-size: 1.8rem; margin-bottom: 12px; }
.leader-bio { font-size: 1rem; font-style: italic; color: var(--text-body); margin-bottom: 16px; }

.leader-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.l-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* P.A.T.H Framework Grid */
.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.path-card { padding: 30px 24px; }
.path-phase-badge { font-size: 0.75rem; font-weight: 800; color: var(--orange-primary); letter-spacing: 1px; margin-bottom: 12px; }

.path-icon-letter {
    width: 44px;
    height: 44px;
    background: var(--orange-primary);
    color: var(--navy-bg);
    font-weight: 800;
    font-size: 1.4rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.path-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.path-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.sol-card { padding: 28px 22px; }
.sol-icon { font-size: 2.2rem; margin-bottom: 14px; }
.sol-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.sol-card p { font-size: 0.88rem; color: var(--text-muted); }

/* Industry Pills */
.industry-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.ind-pill {
    background: var(--navy-card);
    border: 1px solid var(--glass-border);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.ind-pill:hover {
    border-color: var(--orange-primary);
    background: rgba(255, 122, 0, 0.12);
    transform: translateY(-2px);
}

/* Contact Cards & Form */
.contact-card-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }

.contact-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    text-decoration: none;
    color: var(--text-white);
}

.c-icon { font-size: 1.6rem; }
.contact-item-card h4 { font-size: 0.98rem; }
.contact-item-card p { font-size: 0.85rem; color: var(--text-muted); }

.contact-form-card { padding: 36px; }
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 20px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.form-group select option { background: var(--navy-bg); color: var(--text-white); }

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--orange-primary);
    background: rgba(255, 255, 255, 0.09);
}

/* Footer Styling */
footer {
    background: #030814;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px 0;
    position: relative;
    z-index: 2;
}

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

.footer-brand p { color: var(--text-muted); margin-top: 12px; font-size: 0.88rem; max-width: 320px; }
.founder-credit { color: var(--text-body) !important; font-size: 0.85rem !important; margin-top: 8px !important; }
.founder-credit strong { color: var(--orange-primary); }

.footer-col h4 { font-size: 0.98rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.88rem; margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--text-white); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dev-tag { margin-top: 4px; }
.dev-tag strong { color: var(--orange-primary); }

/* Floating AI Chatbot Widget */
.ai-chat-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chat-trigger-btn {
    background: var(--orange-primary);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    color: var(--navy-bg);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.chat-trigger-btn:hover { transform: scale(1.05); }

.chat-window {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 32px);
    height: 460px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active { display: flex; }

.chat-header {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.bot-profile { display: flex; align-items: center; gap: 10px; }
.bot-icon { font-size: 1.4rem; }
.bot-profile h4 { font-size: 0.95rem; }
.bot-status { font-size: 0.72rem; color: #27c93f; display: flex; align-items: center; gap: 4px; }
.online-dot { width: 6px; height: 6px; background: #27c93f; border-radius: 50%; }

.chat-close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; }

.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.bot-msg {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    align-self: flex-start;
}

.user-msg {
    background: var(--orange-primary);
    color: var(--navy-bg);
    font-weight: 700;
    align-self: flex-end;
}

.chat-tags {
    padding: 8px 12px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-tags button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.chat-input-bar {
    padding: 12px;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--glass-border);
}

.chat-input-bar input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: var(--text-white);
    outline: none;
    font-size: 0.88rem;
}

.chat-input-bar button {
    background: var(--orange-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--navy-bg);
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
}

/* Mobile Responsiveness Rules */
@media (max-width: 991px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .leader-profile-card { flex-direction: column; text-align: center; padding: 30px 20px; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .contact-form-card { padding: 22px; }
}
/* Brand Logo Image Styling - Seamless Transparent Blend */
.brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: lighten; /* Blends out the dark rectangular background box */
}
