/* --- START OF FILE styles.css --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&family=Inter:wght@300;400;600&display=swap');

:root {
    /* Highway Star Consulting theme colors */
    --color-bg-dark: #050B14;
    --color-bg-navy: #0A192F;
    --color-bg-light: #F8FAFC;
    --color-primary: #1E3A8A;
    --color-primary-light: #3B82F6;
    --color-accent: #0EA5E9;
    --color-text-main: #FFFFFF;
    --color-text-muted: #94A3B8;
    --color-text-dark: #0F172A;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --grad-accent: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
    --grad-dark: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-navy) 100%);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);
    --glass-bg: #0A192F;
    /* Removed transparency for performance */
    --glass-border: #1E3A8A;
    /* Solid border */
}

/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

/* ================= UTILITIES ================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-bg-navy);
}

.section-light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary-light);
    color: var(--color-text-main);
}

.btn-outline:hover {
    background: var(--color-primary-light);
    color: white;
    transform: translateY(-2px);
}

/* ================= HEADER ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: var(--spacing-md) 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
    /* REMOVED backdrop-filter to eliminate scrolling lag */
    background: rgba(5, 11, 20, 0.98);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    filter: invert(1);
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    color: var(--color-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= HERO SECTION ================= */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-dark);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary-light);
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
    background: rgba(14, 165, 233, 0.1);
    /* REMOVED blur for performance */
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ================= TRUST BAR ================= */
.trust-bar {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--color-bg-navy);
}

.trust-bar p {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.client-logos span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #cbd5e1;
}

/* ================= ABOUT / PHILOSOPHY ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--color-primary);
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
    background: #112240;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ================= SERVICES (3D Grid) ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* Simplified transition */
    cursor: pointer;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--color-accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
}

.service-card:hover .service-link {
    color: white;
}

/* ================= INDUSTRIES ================= */
.industries-container {
    display: flex;
    gap: 2rem;
}

.industry-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    text-align: left;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.industry-content {
    flex: 2;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 8px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================= RESULTS (Counters) ================= */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.result-item {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid var(--glass-border);
}

.result-item:last-child {
    border-right: none;
}

.result-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.result-number span {
    color: var(--color-accent);
    font-size: 2rem;
    margin-left: 5px;
}

.result-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* ================= INTERACTIVE CALCULATOR ================= */
.calc-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-navy);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.form-group input[type="range"] {
    width: 100%;
    margin: 1rem 0;
    accent-color: var(--color-accent);
}

.range-val {
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.calc-result {
    text-align: center;
    padding: 2rem;
    background: var(--color-bg-dark);
    border-radius: 8px;
    border: 1px solid var(--color-primary);
}

.calc-result h4 {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.result-output {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

/* ================= SAMPLE CAMPAIGN REPORT ================= */
.report-dashboard {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.chart-container {
    background: var(--color-bg-dark);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.chart-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.css-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding-top: 20px;
    border-bottom: 1px solid #333;
    border-left: 1px solid #333;
    position: relative;
}

.bar {
    width: 40px;
    background: var(--grad-primary);
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: growUp 1s ease forwards;
    transform-origin: bottom;
}

@keyframes growUp {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.bar::after {
    content: attr(data-val);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: white;
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-box {
    background: var(--color-bg-dark);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-box .val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-box .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ================= TESTIMONIALS ================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: #1E3A8A;
    font-family: serif;
    line-height: 1;
    opacity: 0.3;
}

.stars {
    color: #FBBF24;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.test-text {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
}

.client-details h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.client-details span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ================= CTA SECTION ================= */
.cta-section {
    text-align: center;
    padding: 6rem 0;
    position: relative;
    background: var(--color-bg-navy);
    border-top: 1px solid var(--glass-border);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* ================= FOOTER ================= */
.site-footer {
    background-color: #020617;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    filter: invert(1);
}

.footer-about {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--color-text-muted);
}

.footer-contact span.icon {
    color: var(--color-accent);
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ================= PAGE HEADERS (Legal & Contact) ================= */
.page-hero {
    padding: 10rem 0 4rem;
    background: var(--color-bg-dark);
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.page-hero h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.breadcrumb {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    font-weight: 600;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* ================= LEGAL PAGES CONTENT ================= */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--color-accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    list-style-type: disc;
    color: #cbd5e1;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ================= CONTACT PAGE ================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--glass-bg);
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.info-text p,
.info-text a {
    color: var(--color-text-muted);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.input-group input,
.input-group select,
.input-group textarea {
    background: var(--color-bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 4px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--color-accent);
}

.input-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ================= LIVE CHAT WIDGET ================= */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
}

.chat-btn:hover {
    transform: scale(1.05);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--color-bg-navy);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.chat-window.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--color-primary);
    padding: 1rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    padding: 1rem;
    height: 250px;
    overflow-y: auto;
    background: var(--color-bg-dark);
}

.chat-msg {
    background: var(--glass-bg);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-accent);
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--glass-border);
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
    outline: none;
}

.chat-input button {
    background: transparent;
    border: none;
    color: var(--color-accent);
    padding: 0 1rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

/* ================= ANIMATIONS ================= */
/* Optimized to only animate Opacity and Transform (Hardware Accelerated) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-scale {
    transform: scale(0.95);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-item:nth-child(2) {
        border-right: none;
    }

    .result-item:nth-child(1),
    .result-item:nth-child(2) {
        border-bottom: 1px solid var(--glass-border);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        padding: 2rem;
    }

    .legal-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-bg-navy);
        padding: 6rem 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper,
    .dashboard-grid,
    .industries-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .calc-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }
}