/* ============================================
   Base — Dark Theme
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

section {
    scroll-margin-top: 70px;
}

a {
    color: var(--accent);
    transition: color var(--transition);
}

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

::selection {
    background: rgba(var(--accent-rgb), 0.3);
    color: var(--text);
}

/* ============================================
   Grain Overlay — subtle texture on body
   ============================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--grain);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
}

/* ============================================
   Navbar — Dark Sticky
   ============================================ */
.navbar {
    background: rgba(5, 5, 5, 0.92) !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    transition: all var(--transition);
}

.navbar-brand {
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    font-size: 1.15rem !important;
    color: var(--text) !important;
}

.navbar-brand i {
    color: var(--accent);
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    color: var(--text-muted) !important;
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.05);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 1px;
}

.navbar .nav-link:hover::after {
    width: 60%;
}

/* Nav CTA button */
.nav-cta {
    background: var(--accent) !important;
    color: var(--bg) !important;
    border: none !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.45rem 1.2rem !important;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow) !important;
}

/* Language toggle */
.navbar .btn-outline-light {
    border: 1.5px solid var(--border-hover);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted) !important;
    transition: all var(--transition);
}

.navbar .btn-outline-light:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg) !important;
}

/* ============================================
   Hero Section — Diagonal Accent
   ============================================ */
.hero-section {
    background: var(--bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--stripe);
    opacity: 0.5;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero orbs — amber glow */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    animation: float 14s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(var(--accent-rgb), 0.06);
    top: -100px;
    right: -80px;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(var(--accent-rgb), 0.04);
    bottom: -100px;
    left: 5%;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(var(--accent-rgb), 0.05);
    top: 40%;
    right: 25%;
    animation-delay: -9s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -25px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-section h1 {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-section .lead {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-weight: 400;
    font-size: var(--font-size-lg);
    max-width: 540px;
}

.hero-section .btn {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   Buttons — Amber Accent
   ============================================ */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: all var(--transition);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent) !important;
    border: none !important;
    color: var(--bg) !important;
    padding: 0.7rem 1.8rem;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--text) !important;
    font-weight: 600;
    padding: 0.65rem 1.8rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
}

.btn-outline-dark {
    border: 2px solid var(--border-hover) !important;
    color: var(--text) !important;
    font-weight: 600;
    background: transparent !important;
}

.btn-outline-dark:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--bg) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.btn-light {
    background: var(--text) !important;
    color: var(--bg) !important;
    border: none !important;
    font-weight: 700;
    padding: 0.75rem 2rem;
}

.btn-light:hover {
    background: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-in-up:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .fade-in-up:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .fade-in-up:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   Section Styles
   ============================================ */
.section-heading {
    position: relative;
    color: var(--text);
    font-size: var(--font-size-2xl);
}

.section-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--accent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-dark {
    background: var(--bg-surface);
}

.section-stripe {
    position: relative;
}

.section-stripe::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--stripe);
    opacity: 0.3;
    pointer-events: none;
}

.bg-mesh {
    background: var(--bg-surface);
}

/* ============================================
   Service Cards — Dark Glass
   ============================================ */
.service-card {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.2) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.05);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-muted);
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg);
    box-shadow: var(--shadow-glow);
}

.service-card .card-body.text-center .service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    font-size: 1.75rem;
}

.service-card h3 {
    color: var(--text) !important;
}

.service-card p {
    color: var(--text-muted) !important;
}

/* ============================================
   Process Steps — Timeline
   ============================================ */
.process-step {
    position: relative;
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step:last-child::before {
    display: none;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-muted);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 800;
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.process-step:hover .process-number {
    background: var(--accent);
    color: var(--bg);
    box-shadow: var(--shadow-glow);
}

.process-step h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.process-step p {
    color: var(--text-muted);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* ============================================
   Project Cards — Dark
   ============================================ */
#project-grid > [data-project-category] {
    display: flex;
}

.project-card {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), 0.2) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.project-card:hover::after {
    opacity: 1;
}

.project-card .card-title {
    color: var(--text);
}

.project-card .card-text {
    color: var(--text-muted) !important;
}

.project-card .badge {
    font-size: 0.7rem;
    padding: 0.35em 0.75em;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.project-card .btn-outline-dark {
    border-color: var(--border-hover) !important;
    color: var(--text) !important;
    font-size: var(--font-size-sm);
}

.project-card .btn-outline-dark:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--bg) !important;
}

/* ============================================
   About Strip
   ============================================ */
.about-strip {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.about-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--stripe);
    opacity: 0.2;
    pointer-events: none;
}

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

.about-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-muted);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--accent);
    font-weight: 800;
}

.about-avatar-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin: 0 auto 1rem;
    display: block;
    transition: all var(--transition);
}

.about-person:hover .about-avatar-img {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.about-person h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.about-person p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ============================================
   CTA Section — Accent Glow
   ============================================ */
.cta-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(var(--accent-rgb), 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--stripe);
    opacity: 0.3;
    pointer-events: none;
}

.cta-section h2 {
    position: relative;
    z-index: 1;
    font-size: var(--font-size-2xl);
    color: var(--text);
}

.cta-section p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

.cta-microcopy {
    font-size: var(--font-size-xs);
    color: var(--text-subtle);
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   Tech Banner — Dark Marquee
   ============================================ */
.tech-banner {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.tech-marquee {
    overflow: hidden;
    position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-surface), transparent);
}

.tech-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-surface), transparent);
}

.tech-marquee-inner {
    display: flex;
    gap: 1rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.tech-marquee-inner:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-banner-item {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 1.1rem;
    white-space: nowrap;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.tech-banner-item:hover {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.3);
    background: var(--accent-muted);
}

/* ============================================
   Tech Badge — dark variant
   ============================================ */
.tech-badge {
    background: var(--bg-surface-2) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border) !important;
    font-weight: 500;
    font-size: var(--font-size-xs);
    padding: 0.3em 0.65em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.tech-badge:hover {
    border-color: rgba(var(--accent-rgb), 0.3) !important;
    background: var(--accent-muted) !important;
    color: var(--accent) !important;
}

/* ============================================
   Category Filter — Dark Pills
   ============================================ */
.filter-btn {
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    padding: 0.45rem 1.1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-muted);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Cards — Dark base
   ============================================ */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border-color: var(--border);
    color: var(--text);
}

.card.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.card.shadow-sm:hover {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Team Cards
   ============================================ */
.team-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
    background: var(--bg-surface);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.team-card .rounded-circle {
    border: 3px solid var(--accent);
    transition: all var(--transition);
}

.team-card:hover .rounded-circle {
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

/* ============================================
   USP Cards
   ============================================ */
.usp-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    height: 100%;
}

.usp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.usp-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-muted);
    font-size: 1.75rem;
    color: var(--accent);
    margin: 0 auto 1rem;
    transition: all var(--transition);
}

.usp-card:hover .usp-icon {
    background: var(--accent);
    color: var(--bg);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Contact Form — Dark
   ============================================ */
.contact-card {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-surface);
}

.contact-card .form-control,
.contact-card .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--border);
    background: var(--bg);
    color: var(--text);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
    background: var(--bg);
    color: var(--text);
}

.contact-card .form-control::placeholder {
    color: var(--text-subtle);
}

.contact-card .form-label {
    color: var(--text-muted);
}

.contact-card .form-check-label {
    color: var(--text-muted);
}

/* Generic form controls (standalone contact page) */
.form-control {
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--text);
}

.form-control:focus {
    background: var(--bg-surface);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
    color: var(--text);
}

.form-label {
    color: var(--text-muted);
}

.form-check-input {
    background-color: var(--bg-surface);
    border-color: var(--border);
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-label {
    color: var(--text-muted);
}

/* Alerts */
.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* ============================================
   Tech Progress — Technology Page
   ============================================ */
.tech-progress {
    height: 6px;
    border-radius: 3px;
    background-color: var(--bg-surface-2);
    overflow: hidden;
}

.tech-progress-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: width 1s var(--ease);
    position: relative;
}

.tech-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    filter: blur(3px);
}

.tech-category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.tech-category-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--accent-rgb), 0.2);
}

.tech-category-card h3 {
    font-size: 0.95rem;
    color: var(--text);
}

/* ============================================
   Stats Section — if used
   ============================================ */
.stats-section {
    position: relative;
    background: var(--bg-surface);
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: rgba(var(--accent-rgb), 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ============================================
   Network Section
   ============================================ */
.network-section {
    background: var(--bg-surface);
}

.network-card {
    background: var(--bg-surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
}

/* ============================================
   Project Detail Page
   ============================================ */
.project-detail-hero {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.takeaway-card {
    background: var(--accent-muted);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

/* ============================================
   List Group — Dark
   ============================================ */
.list-group-item {
    border-color: var(--border);
    background: var(--bg-surface);
    color: var(--text);
    transition: background-color var(--transition);
    padding: 0.75rem 1rem;
}

.list-group-item:hover {
    background-color: var(--bg-surface-2);
}

/* ============================================
   Breadcrumb — Dark
   ============================================ */
.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--accent-hover);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-subtle);
}

/* ============================================
   Footer — Dark with Accent Border
   ============================================ */
footer {
    background: var(--bg-surface) !important;
    position: relative;
    border-top: 1px solid var(--border);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

footer h5, footer h6 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.01em;
}

footer a {
    color: var(--text-subtle) !important;
    transition: all var(--transition);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent) !important;
    padding-left: 4px;
}

footer hr {
    border-color: var(--border) !important;
    margin: 1.5rem 0;
}

footer p {
    color: var(--text-subtle);
}

/* ============================================
   Privacy / Imprint — Clean Layout
   ============================================ */
.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    color: var(--text);
}

.legal-page p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   Utility
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-secondary {
    color: var(--text-muted) !important;
}

.text-accent {
    color: var(--accent);
}

.bg-dots {
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Bootstrap dark overrides */
.bg-dark {
    background-color: var(--bg) !important;
}

.text-light {
    color: var(--text) !important;
}

.bg-primary {
    background-color: var(--accent) !important;
    color: var(--bg) !important;
}

.bg-success {
    background-color: rgba(34, 197, 94, 0.15) !important;
    color: #4ade80 !important;
}

.bg-warning {
    background-color: rgba(234, 179, 8, 0.15) !important;
    color: #fbbf24 !important;
}

.bg-info {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
}

.bg-secondary {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text-muted) !important;
}

.bg-light {
    background-color: var(--bg-surface-2) !important;
    color: var(--text) !important;
}

.border {
    border-color: var(--border) !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-section h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-orb {
        display: none;
    }

    .section-heading {
        font-size: var(--font-size-xl);
    }

    .tech-marquee::before,
    .tech-marquee::after {
        width: 40px;
    }

    .cta-section h2 {
        font-size: var(--font-size-xl);
    }

    .process-step {
        padding-left: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: var(--font-size-base);
    }
}
