:root {
    /* Color Palette */
    --bg-dark: #0a0a0a;
    --bg-charcoal: #141414;
    --bg-card: rgba(25, 25, 25, 0.7);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gold-accent: #d4af37;
    --gold-accent-hover: #e8c659;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b38f21 100%);

    /* Typography */
    --font-primary: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-alt {
    background-color: var(--bg-charcoal);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property defined for compatibility */
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: -2rem auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.95)), url('../img/enterprise_tech_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

@media (max-width: 1024px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content .subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Grids */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}

.about-card .icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.about-svg {
    width: 48px;
    height: 48px;
    stroke: var(--gold-accent);
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    transition: transform var(--transition-normal);
}

.about-card:hover .about-svg {
    transform: scale(1.1) rotate(5deg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.rounded-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-normal);
}

.rounded-img:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Cards */
.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--gold-accent);
}

.card.slim {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.card.border-gold {
    border-top: 3px solid var(--gold-accent);
}

/* Features */
.feature-box {
    padding: 2rem;
    border-left: 2px solid var(--gold-accent);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-normal);
}

.feature-box:hover .feature-img {
    transform: scale(1.02);
    border-color: var(--gold-accent);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '✓';
    color: var(--gold-accent);
    font-weight: bold;
}

/* Platform */
.platform-subtitle {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Tags (Industries) */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--gold-accent);
    color: #000;
    border-color: var(--gold-accent);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--gold-accent);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Contact CTA */
.cta-box {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: #050505;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0.8);
}

.footer-brand .mission {
    max-width: 400px;
}

.footer-details h4,
.footer-details h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-legal-links {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
    position: relative;
    transition: var(--transition-normal);
}

.footer-legal-links a:hover {
    color: var(--gold-accent-hover);
}

.footer-legal-links a:before {
    background-color: var(--gold-accent);
    bottom: -2px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 0;
    transition: var(--transition-normal);
}

.footer-legal-links a:hover:before {
    width: 100%;
}

/* Legal Pages & Mini-Hero Styles */
.mini-hero {
    height: 40vh !important;
    min-height: 300px;
    padding-top: 120px !important;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.legal-card h2,
.legal-card h3 {
    color: var(--gold-accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.legal-card p,
.legal-card ul {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.legal-card ul {
    padding-left: 1.5rem;
}

.legal-card li {
    margin-bottom: 0.5rem;
}

.legal-card strong {
    color: var(--text-primary);
}



/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

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

/* Utilities */
.mt-4 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-normal);
        backdrop-filter: blur(10px);
    }

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

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .grid-2,
    .about-grid,
    .feature-list,
    .footer-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   Interactive Experience & Scroll Dashboard Components (New Additions)
   ========================================================================== */

.demo-workspace {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.demo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    font-family: var(--font-primary);
}

.demo-tab h4,
.demo-tab h3 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.demo-tab p {
    margin: 0;
    font-size: 0.825rem;
    line-height: 1.3;
}

.demo-tab .tab-icon {
    font-size: 1.6rem;
    opacity: 0.6;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.demo-tab:hover,
.demo-tab.active {
    background: rgba(212, 175, 55, 0.07);
    border-color: var(--gold-accent);
    color: var(--text-primary);
}

.demo-tab.active h4,
.demo-tab.active h3 {
    color: var(--gold-accent);
}

.demo-tab.active .tab-icon,
.demo-tab:hover .tab-icon {
    transform: scale(1.1);
    opacity: 1;
}

/* Simulation Console UI */
.demo-display {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    font-family: 'Inter', monospace;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.window-header {
    background: #121212;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    position: relative;
}

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

.window-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.window-dots .dot.red {
    background: #ff5f56;
}

.window-dots .dot.yellow {
    background: #ffbd2e;
}

.window-dots .dot.green {
    background: #27c93f;
}

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.window-content {
    padding: 1.75rem;
    flex-grow: 1;
    font-size: 0.925rem;
    overflow-y: auto;
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

.chat-log {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-line {
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.chat-line.user {
    color: #8ad2ff;
}

.chat-line.system {
    color: #707070;
    font-style: italic;
}

.chat-line.agent {
    color: var(--gold-accent);
}

/* Custom Terminal Caret Cursor Symbol */
.typing-text::after {
    content: '▋';
    animation: blink 0.8s infinite;
    color: var(--gold-accent);
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Floating Action Back To Top with Circular Progress Indicator */
.scroll-top-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
}

.scroll-top-wrapper.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-wrapper:hover {
    transform: translateY(-4px);
    border-color: var(--gold-accent);
}

.scroll-top-wrapper .arrow-up {
    font-size: 1.1rem;
    color: var(--gold-accent);
    font-weight: bold;
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.progress-circle path {
    fill: none;
    stroke: var(--gold-accent);
    stroke-width: 2;
    box-sizing: border-box;
    transition: stroke-dashoffset 10ms linear;
}

/* Responsive Overrides for interactive components */
@media (max-width: 992px) {
    .demo-workspace {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .demo-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .demo-tab {
        flex: 1 0 auto;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .demo-sidebar {
        flex-direction: column;
    }

    .demo-tab {
        max-width: 100%;
    }
}