/* B&A COE Website - Tesla-Inspired Design System */
/* Complete overhaul with modern aesthetics */

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

:root {
    /* B&A Brand Colors */
    --ba-primary: #0066FF;
    --ba-primary-dark: #0052CC;
    --ba-secondary: #00D9FF;
    --ba-accent: #00FF94;

    /* Dark Theme (Default) */
    --bg-primary: #0A0E17;
    --bg-secondary: #111827;
    --bg-tertiary: #1F2937;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    /* Borders */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--ba-primary) 0%, var(--ba-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(0, 102, 255, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* Page Transitions */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ========================================
   NAVIGATION - Tesla-style floating nav
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-medium);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-medium);
}

.navbar.scrolled .logo-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all var(--transition-medium);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-link.btn-cta {
    background: var(--ba-primary);
    color: var(--text-primary);
    margin-left: 8px;
}

.nav-link.btn-cta:hover {
    background: var(--ba-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-medium);
}

@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        transition: right var(--transition-medium);
    }

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

    .nav-link {
        font-size: 24px;
        padding: 16px 32px;
    }
}

/* ========================================
   HERO SECTION - Tesla-style immersive
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background video,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 14, 23, 0.3) 0%,
            rgba(10, 14, 23, 0.7) 50%,
            var(--bg-primary) 100%);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ba-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--ba-secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 24px;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--ba-secondary), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* ========================================
   BUTTONS - Modern, bold styling
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-primary {
    background: var(--ba-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--ba-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--ba-primary);
}

.btn-icon {
    font-size: 14px;
}

/* ========================================
   SECTIONS - Consistent spacing
   ======================================== */
.section {
    padding: 140px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 255, 0.15);
    color: var(--ba-secondary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CARDS - Glassmorphism style
   ======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 40px;
    transition: all var(--transition-medium);
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-featured {
    border-color: var(--ba-primary);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

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

@media (max-width: 1024px) {

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

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

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

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

.stat-item {
    padding: 40px 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 40px;
    }
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    transition: all var(--transition-medium);
}

.team-card:hover {
    border-color: var(--ba-primary);
    transform: translateY(-12px);
    box-shadow: var(--shadow-glow);
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 32px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    position: relative;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: var(--ba-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.team-bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ========================================
   APPS GRID - Portfolio style
   ======================================== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    border-color: var(--ba-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.app-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.app-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.app-image {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 24px;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-subtitle {
    font-size: 13px;
    color: var(--ba-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.app-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 24px;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.app-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-primary);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ba-secondary);
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
}

.app-link {
    margin-top: auto;
}

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

    .app-card.featured {
        grid-column: span 1;
    }
}

/* ========================================
   DEPLOYED APPS - Status dashboard
   ======================================== */
.deployed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.deployed-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--transition-medium);
}

.deployed-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 255, 148, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ba-accent);
    margin-bottom: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--ba-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.deployed-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.deployed-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.deployed-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.deployed-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .deployed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ========================================
   UPDATES / BLOG
   ======================================== */
.updates-container {
    max-width: 900px;
    margin: 0 auto;
}

.update-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 32px;
    transition: all var(--transition-medium);
}

.update-card:hover {
    border-color: var(--border-hover);
}

.update-card.featured {
    border-color: var(--ba-primary);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.update-date {
    display: inline-block;
    padding: 6px 16px;
    background: var(--ba-primary);
    color: white;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.update-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.update-content {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.update-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.update-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.update-content li {
    margin-bottom: 8px;
}

/* ========================================
   R&D SECTION
   ======================================== */
.rnd-hero {
    text-align: center;
    padding: 180px 0 100px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.rnd-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    pointer-events: none;
}

.proposal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    transition: all var(--transition-medium);
}

.proposal-card:hover {
    border-color: var(--ba-primary);
    transform: translateY(-4px);
}

.proposal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.proposal-content {
    flex: 1;
}

.proposal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.proposal-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.proposal-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ba-secondary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

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

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-primary);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: var(--gradient-glow);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ba-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* ========================================
   LOGIN SCREEN (Keep for auth)
   ======================================== */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 60px;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 48px;
}

.login-logo {
    height: 64px;
    width: auto;
    margin-bottom: 24px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form .form-group {
    margin-bottom: 0;
}

.login-error {
    color: #ef4444;
    font-size: 14px;
    text-align: center;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    display: none;
}

.login-error.show {
    display: block;
}

.login-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-primary);
}

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

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-4 {
    margin-top: 16px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

/* ========================================
   AI SOLUTIONS CENTER
   ======================================== */

/* Spotlight Hero */
.spotlight-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 60% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 148, 0.1);
    border: 1px solid rgba(0, 255, 148, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ba-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.spotlight-metrics {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
}

.spotlight-metric .value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.spotlight-metric .label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotlight-image-wrapper {
    position: relative;
}

.spotlight-image {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border-primary);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.spotlight-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--bg-glass);
    border-color: var(--ba-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--ba-primary);
    border-color: var(--ba-primary);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

/* Tech Stack Icons */
.tech-stack {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tech-icon {
    height: 32px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.tech-icon:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Enhanced App Card */
.app-card-enhanced {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.app-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--border-hover);
}

.card-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.app-card-enhanced:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--ba-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Impact Dashboard */
.impact-dashboard {
    background: linear-gradient(90deg, var(--bg-secondary) 0%, rgba(0, 102, 255, 0.05) 50%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    padding: 40px 0;
    margin-bottom: 80px;
}

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

.impact-item h4 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.impact-item p {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

    .spotlight-image-wrapper {
        order: -1;
    }

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

/* ========================================
   HOME PAGE OVERHAUL
   ======================================== */

/* Animated Hero */
.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(13, 17, 23, 0.4) 0%, var(--bg-primary) 90%);
    z-index: -1;
}

.hero-content-new {
    max-width: 900px;
    padding: 0 24px;
    z-index: 2;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ba-primary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.hero-title-new {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero-subtitle-new {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Trusted By Secton */
.trusted-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 80px;
}

.trusted-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.agency-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    opacity: 0.6;
}

.agency-logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Core Capabilities Cards (New Home Style) */
.core-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.core-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.core-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.core-icon {
    font-size: 40px;
    margin-bottom: 24px;
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-primary);
    transition: all 0.4s ease;
}

.core-card:hover .core-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--ba-primary);
    background: rgba(0, 102, 255, 0.1);
}

.core-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.core-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title-new {
        font-size: 48px;
    }

    .agency-logos {
        gap: 30px;
    }
}

/* ========================================
   DEPLOYED PAGE UPGRADES (Mission Control)
   ======================================== */

/* Status Indicators */
.status-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mission Control Stats */
.mission-control {
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.8) 0%, rgba(13, 17, 23, 0) 100%);
    border-bottom: 1px solid var(--border-primary);
    padding: 40px 0;
}

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

.mc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mc-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    /* Tech feel */
}

.mc-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mc-chart {
    height: 4px;
    width: 100%;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.mc-bar {
    height: 100%;
    background: var(--ba-primary);
    border-radius: 2px;
}

/* Enhanced Deployed Card */
.deployed-card {
    border: 1px solid var(--border-primary);
    /* Reinforce existing if needed, or rely on existing. Adding specific hover glow */
}

.deployed-card:hover {
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.15);
    border-color: var(--ba-primary);
}

/* ========================================
   R&D PAGE UPGRADES (Blueprint/Lab)
   ======================================== */

.blueprint-grid {
    background-color: #0d1117;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

.blueprint-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, #0d1117 90%);
    pointer-events: none;
}

.proposal-card {
    background: rgba(13, 17, 23, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    /* Dashed for blueprint feel */
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.proposal-card:hover {
    border-color: var(--ba-secondary);
    border-style: solid;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.proposal-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
}

.proposal-bar {
    height: 100%;
    background: var(--ba-secondary);
    position: relative;
}

.proposal-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 4px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

/* ========================================
   UPDATES PAGE (Timeline)
   ======================================== */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    /* Align with dot center */
    height: 100%;
    width: 2px;
    background: var(--border-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    /* Center on line */
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--ba-primary);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
    z-index: 2;
}

.timeline-date {
    font-size: 14px;
    color: var(--ba-secondary);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    transform: rotate(45deg);
}

.update-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tag-release {
    background: rgba(0, 217, 255, 0.1);
    color: #00D9FF;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.tag-news {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-award {
    background: rgba(251, 191, 36, 0.1);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}


/* ========================================
   TESLA-FICATION (Scroll Snap & Impact)
   ======================================== */

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    height: 100vh;
    overflow-y: scroll;
}

/* Ensure sections take up full viewport and snap */
.snap-section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* Ensure no margin/padding breaks the 100vh calc */
    margin: 0;
    padding: 0 0;
}

/* Massive Typography Upgrade */
.hero-title-tesla {
    font-size: clamp(64px, 10vw, 120px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1.0;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-tesla {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
    font-weight: 400;
}

/* Minimalist / Ghost Buttons */
.btn-tesla-primary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 16px 48px;
    border-radius: 4px;
    /* Tesla uses slightly sharper buttons sometimes, or full rounded. Let's stick to system roundness but cleaner */
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-tesla-primary:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.btn-tesla-ghost {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 16px 48px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-tesla-ghost:hover {
    color: #FFFFFF;
}

/* Adjust navigation to be cleaner */
.navbar {
    padding: 24px 0;
    /* More spacing */
    background: transparent !important;
    /* Force transparency initially */
}

/* When scrolled, we might want a background, but for snap sections, often nav stays floating. 
   Let's keep the existing .scrolled behavior but ensure it works with snap. */


/* ========================================
   FULL SCREEN VIDEO SECTIONS (Tesla-style)
   ======================================== */

.video-section {
    position: relative;
    overflow: hidden;
    /* snap-section handles height, but ensure it here too */
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    /* Default center align, can be overridden */
    justify-content: flex-start;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Adjust for readability */
}

/* Fallback gradients if no video yet */
.bg-rapid-creation {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.bg-modernization {
    background: linear-gradient(135deg, #4b6cb7, #182848);
}

.bg-innovation {
    background: linear-gradient(135deg, #2b1055, #7597de);
}

.bg-govcloud {
    background: linear-gradient(135deg, #134e5e, #71b280);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken for text pop */
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    padding: 0 10vw;
    /* Responsive padding */
    max-width: 800px;
}

.video-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.video-desc {
    font-size: clamp(18px, 2vw, 24px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ba-secondary);
    /* Cyan pop */
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 100px;
    backdrop-filter: blur(5px);
}

/* ========================================
   EDITORIAL / ARTICLE STYLES (Premium)
   ======================================== */

.article-page {
    background: #000;
    /* Deep black for immersive reading */
    color: #e0e0e0;
}

.article-header {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #000 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-category {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ba-secondary);
    margin-bottom: 24px;
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 100px;
}

.article-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 32px;
    line-height: 1.1;
    color: #fff;
}

.article-meta {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 0;
}

.article-container {
    max-width: 740px;
    /* Optimal reading width */
    margin: 0 auto;
    padding: 60px 24px 120px;
}

.article-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.article-content h2 {
    font-size: 32px;
    color: #fff;
    margin: 64px 0 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.article-content h3 {
    font-size: 24px;
    color: #fff;
    margin: 48px 0 16px;
    font-weight: 500;
}

.article-content ul {
    margin-bottom: 32px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.article-quote {
    border-left: 4px solid var(--ba-secondary);
    padding-left: 32px;
    margin: 48px 0;
    font-size: 24px;
    line-height: 1.5;
    font-style: italic;
    color: #fff;
}

.comparison-table {
    width: 100%;
    margin: 48px 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
}

.comparison-table td {
    font-size: 16px;
    line-height: 1.6;
}

/* Featured Article Card for R&D Page */
.featured-article-card {
    grid-column: 1 / -1;
    /* Span full width */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-article-card:hover {
    border-color: var(--ba-secondary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    transform: translateY(-4px);
}

.featured-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ba-accent);
    margin-bottom: 16px;
}

.featured-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: #fff;
}

.featured-excerpt {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Unified Capabilities Section */
.unified-capability {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
    background: #000;
}

.unified-gradient-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.15) 0%, rgba(0, 0, 0, 0.9) 70%);
    z-index: 1;
}

/* New Glass Panel Style */
.glass-panel {
    background: rgba(0, 0, 0, 0.1);
    /* Semi-transparent black */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: 24px;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Carousel Styles */
.agency-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.agency-carousel-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.agency-carousel-track:hover {
    animation-play-state: paused;
}

.agency-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.agency-logo-item:hover {
    opacity: 1;
}

.agency-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: grayscale(100%) brightness(1.2);
    transition: filter 0.3s ease;
}

.agency-logo-item:hover .agency-logo-img {
    filter: grayscale(0%) brightness(1);
}

.agency-name {
    font-size: 10px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 120px;
    line-height: 1.2;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* AI Suggestion Features */
.suggestion-card {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.suggestion-card:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.suggestion-card h4 {
    color: var(--ba-secondary);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-card h4::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('images/ba-icon.png');
    background-size: 22px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.suggestion-card p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 0;
    display: none;
    /* Hidden by default */
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Expanded State */
.suggestion-card.expanded {
    grid-column: 1 / -1;
    background: rgba(0, 102, 255, 0.15);
    border-color: var(--ba-secondary);
}

.suggestion-card.expanded p {
    display: block;
    opacity: 1;
}

/* Pulse Animation */
.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--ba-secondary);
    border-radius: 50%;
    animation: ai-pulse 1.5s infinite;
}

@keyframes ai-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 217, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0);
    }
}