/* ============================================================
   tuxxin.css — Tuxxin Inc. Design System
   Framework: Bootstrap 5.3 (CDN) + custom overrides
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --primary-orange: #d35400;
    --primary-orange-light: #e67e22;
    --primary-dark: #2c3e50;
    --primary-dark-2: #1a252f;
    --accent-blue: #2980b9;
    --accent-blue-light: #3498db;
    --light-grey: #ecf0f1;
    --white: #ffffff;
    --text-muted: #7f8c8d;
    --card-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

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

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-orange);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar-tuxxin {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
.navbar-tuxxin.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.navbar-tuxxin .container { height: 72px; display: flex; align-items: center; }
.navbar-tuxxin .navbar-brand img { height: 44px; width: auto; }
.navbar-tuxxin .nav-link {
    color: var(--primary-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}
.navbar-tuxxin .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    border-radius: 2px;
}
.navbar-tuxxin .nav-link:hover::after,
.navbar-tuxxin .nav-link.active::after { transform: scaleX(1); }
.navbar-tuxxin .nav-link:hover,
.navbar-tuxxin .nav-link.active { color: var(--primary-orange) !important; }
.navbar-tuxxin .nav-link:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Dropdown */
.navbar-tuxxin .dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary-orange);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 8px 0;
    margin-top: 0;
}
.navbar-tuxxin .dropdown-item {
    color: var(--primary-dark);
    font-size: 0.9rem;
    padding: 10px 18px;
    transition: var(--transition);
}
.navbar-tuxxin .dropdown-item:hover {
    background: #fff8f4;
    color: var(--primary-orange);
    padding-left: 22px;
}
.navbar-tuxxin .dropdown-divider { margin: 4px 0; opacity: 0.15; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-orange {
    background: var(--primary-orange);
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(211,84,0,0.3);
}
.btn-orange:hover {
    background: var(--primary-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211,84,0,0.4);
    color: #fff !important;
}
.btn-outline-orange {
    background: transparent;
    color: var(--primary-orange) !important;
    border: 2px solid var(--primary-orange);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    display: inline-block;
}
.btn-outline-orange:hover {
    background: var(--primary-orange);
    color: #fff !important;
    transform: translateY(-2px);
}
.btn-outline-light-custom {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-block;
}
.btn-outline-light-custom:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ── Section Commons ───────────────────────────────────────── */
.section-label {
    display: inline-block;
    background: rgba(211,84,0,0.1);
    color: var(--primary-orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-title-lg {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
    margin: 0 auto 20px auto;
}
.section-divider-left { margin-left: 0; }

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44,62,80,0.93) 0%, rgba(26,37,47,0.9) 100%),
                url('/images/hero.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Floating shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}
.shape-1 { width: 500px; height: 500px; background: var(--primary-orange); top: -150px; right: -100px; animation: floatShape 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; background: var(--accent-blue); bottom: -80px; left: -60px; animation: floatShape 10s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: var(--primary-orange); top: 40%; left: 10%; animation: floatShape 12s ease-in-out infinite 2s; }
.shape-4 { width: 150px; height: 150px; background: var(--accent-blue-light); top: 20%; right: 20%; animation: floatShape 9s ease-in-out infinite 1s; }
.shape-5 { width: 80px; height: 80px; background: #fff; top: 60%; right: 15%; animation: floatShape 7s ease-in-out infinite 3s; border-radius: 12px; transform: rotate(20deg); }
.shape-6 { width: 120px; height: 120px; background: var(--primary-orange); bottom: 20%; left: 30%; animation: floatShape 11s ease-in-out infinite 0.5s; border-radius: 20px; }

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-3deg); }
}

/* Grid lines overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 60px 0;
}
.hero-badge {
    display: inline-block;
    background: rgba(211,84,0,0.2);
    border: 1px solid rgba(211,84,0,0.4);
    color: #f39c12;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease both;
}
.hero-headline {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
    animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-typed-wrapper {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--primary-orange);
    min-height: 1.4em;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease 0.2s both;
}
.typed-cursor { color: var(--primary-orange); animation: blink 0.7s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.78);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    animation: fadeInUp 0.7s ease 0.3s both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s ease infinite;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    z-index: 2;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Page Hero Banners (inner pages) ────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark-2) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}
.page-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    margin: 0;
}
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.page-hero .breadcrumb-item a { color: var(--primary-orange); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.8); }

/* ── Service Cards ─────────────────────────────────────────── */
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    border-top: 4px solid var(--primary-orange);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .service-icon {
    width: 64px; height: 64px;
    background: rgba(211,84,0,0.08);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: rgba(211,84,0,0.15);
    transform: scale(1.1);
}
.service-card h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card .lead-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.6;
}
.service-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.service-card ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}
.service-card ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-size: 0.5rem;
    top: 9px;
}

/* AI card accent */
.service-card.ai-card {
    border-top-color: var(--accent-blue);
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
}
.service-card.ai-card .service-icon {
    background: rgba(41,128,185,0.1);
    color: var(--accent-blue);
}
.service-card.ai-card ul li::before { color: var(--accent-blue); }

/* ── AI Feature Section ────────────────────────────────────── */
.ai-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2a3a 50%, var(--primary-dark-2) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.ai-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(41,128,185,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 50%, rgba(211,84,0,0.1) 0%, transparent 50%);
}
.ai-section .section-label { background: rgba(41,128,185,0.2); color: #5dade2; }
.ai-section h2 { color: #fff; }
.ai-section p { color: rgba(255,255,255,0.75); }
.ai-feature-list { list-style: none; padding: 0; margin: 0; }
.ai-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.5;
}
.ai-feature-list li .ai-icon {
    width: 44px; height: 44px;
    background: rgba(41,128,185,0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(41,128,185,0.3);
}

/* AI visual grid */
.ai-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}
.ai-node {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    animation: nodePulse 4s ease-in-out infinite;
}
.ai-node:nth-child(2) { animation-delay: 0.5s; }
.ai-node:nth-child(3) { animation-delay: 1s; }
.ai-node:nth-child(4) { animation-delay: 1.5s; }
.ai-node:nth-child(5) { animation-delay: 2s; }
.ai-node:nth-child(6) { animation-delay: 2.5s; }
.ai-node:hover {
    background: rgba(41,128,185,0.2);
    border-color: rgba(41,128,185,0.5);
    transform: scale(1.05);
}
.ai-node .ai-node-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.ai-node .ai-node-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.5px; }
@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(41,128,185,0); }
    50% { box-shadow: 0 0 0 8px rgba(41,128,185,0.08); }
}

/* ── Stats Section ─────────────────────────────────────────── */
.stats-section {
    background: var(--primary-orange);
    padding: 60px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 8px;
    display: block;
    letter-spacing: 0.3px;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.3);
    align-self: stretch;
}

/* ── About Section ─────────────────────────────────────────── */
.about-section { background: var(--light-grey); padding: 100px 0; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-orange);
    color: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(211,84,0,0.35);
}
.about-badge .years { font-size: 2.5rem; font-weight: 800; line-height: 1; display: block; }
.about-badge .years-label { font-size: 0.8rem; font-weight: 600; opacity: 0.9; display: block; }

/* ── Clients Marquee ───────────────────────────────────────── */
.clients-section { padding: 80px 0; background: #fff; overflow: hidden; }
.marquee-track { display: flex; gap: 30px; animation: marqueeScroll 30s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-wrapper { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #fff 8%, #fff 92%, transparent); }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.client-logo-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    width: 180px; height: 100px;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    flex-shrink: 0;
    transition: var(--transition);
}
.client-logo-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.client-logo-card img {
    max-width: 100%; max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}
.client-logo-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ── Contact CTA Band ──────────────────────────────────────── */
.cta-band {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #c0392b 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; position: relative; z-index: 1; }

/* ── Tech Stack Grid (About page) ───────────────────────────── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
}
.tech-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}
.tech-item:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.tech-item .tech-icon { font-size: 2rem; margin-bottom: 6px; display: block; }
.tech-item .tech-name { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); }

/* Values cards (About page) */
.value-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-bottom: 4px solid var(--primary-orange);
    transition: var(--transition);
    height: 100%;
}
.value-card:hover { transform: translateY(-6px); }
.value-card .value-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.value-card h4 { color: var(--primary-dark); font-weight: 700; margin-bottom: 12px; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-form-section { padding: 80px 0; background: var(--light-grey); }
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.contact-info-card {
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 48px 36px;
    color: #fff;
    height: 100%;
}
.contact-info-card h3 { color: #fff; font-weight: 700; margin-bottom: 24px; }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}
.contact-info-item .ci-icon {
    width: 44px; height: 44px;
    background: rgba(211,84,0,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.form-label { font-weight: 600; color: var(--primary-dark); font-size: 0.9rem; margin-bottom: 6px; }
.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(211,84,0,0.12);
    outline: none;
}
.form-coming-soon {
    background: #fff8f4;
    border: 1px solid rgba(211,84,0,0.25);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--primary-orange);
    margin-top: 16px;
}

/* ── GitHub Page ───────────────────────────────────────────── */
.github-section { padding: 60px 0 80px; background: #f6f8fa; }
.sponsor-section { background: #fff; padding: 50px 0; border-bottom: 1px solid #eee; }
.sponsor-iframes { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.featured-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a4f 100%);
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.featured-card-header {
    background: rgba(0,0,0,0.2);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.featured-card-header h3 { color: #fff; font-weight: 700; font-size: 1.4rem; margin: 0; }
.badge-featured {
    background: var(--primary-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}
.featured-card-body { padding: 28px 32px; }
.featured-card-body p { color: rgba(255,255,255,0.8); margin-bottom: 20px; font-size: 0.95rem; }
.featured-card .accordion-button {
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
}
.featured-card .accordion-button:not(.collapsed) {
    background: rgba(211,84,0,0.2);
    color: var(--primary-orange);
    box-shadow: none;
}
.featured-card .accordion-body {
    background: rgba(0,0,0,0.15);
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    border-radius: 0 0 10px 10px;
}
.featured-card .accordion-item {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 8px;
}
.release-item { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.release-item:last-child { border-bottom: none; }
.release-tag { font-weight: 700; color: var(--primary-orange); font-size: 0.9rem; }
.release-date { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin-left: 10px; }

.repo-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.repo-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: var(--primary-orange); }
.repo-name { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.repo-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; flex-grow: 1; margin-bottom: 16px; }
.repo-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.repo-lang { font-size: 0.78rem; font-weight: 600; }
.repo-stars { font-size: 0.8rem; color: var(--text-muted); }
.repo-updated { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* Language colours */
.lang-php { color: #777bb3; }
.lang-js { color: #f7df1e; background: #333; padding: 1px 6px; border-radius: 4px; }
.lang-python { color: #3776ab; }
.lang-shell { color: #89e051; }
.lang-html { color: #e34c26; }
.lang-css { color: #563d7c; }
.lang-other { color: var(--text-muted); }

/* ── Floating Sponsor Button ───────────────────────────────── */
.sponsor-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.sponsor-float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-dark);
    color: #fff;
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}
.sponsor-float-btn:hover,
.sponsor-float-btn[aria-expanded="true"] {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(211,84,0,0.45);
}
.sponsor-float-btn i {
    font-size: 1.1rem;
}
.sponsor-float-card {
    background: var(--primary-dark);
    border: 1px solid rgba(211,84,0,0.4);
    border-radius: 16px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    animation: floatCardIn 0.25s ease;
}
@keyframes floatCardIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sponsor-float-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}
.sponsor-float-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}
.sponsor-float-close:hover { color: #fff; }
.sponsor-float-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    margin-bottom: 14px;
    line-height: 1.5;
}

/* ── GitHub Page Sponsor Section ───────────────────────────── */
.sponsor-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a4f 100%);
    padding: 60px 0;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}
.sponsor-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 70% 50%, rgba(211,84,0,0.08) 0%, transparent 60%),
                      radial-gradient(circle at 20% 50%, rgba(41,128,185,0.08) 0%, transparent 50%);
}
.sponsor-section .section-label {
    background: rgba(232,93,155,0.15);
    color: #e85d9b;
}
.sponsor-section h2 { color: #fff; }
.sponsor-section p { color: rgba(255,255,255,0.65); }
.sponsor-iframes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.sponsor-iframe-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s;
}
.sponsor-iframe-wrap:hover { border-color: rgba(211,84,0,0.5); }

/* ── Footer ────────────────────────────────────────────────── */
footer {
    background: var(--primary-dark-2);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 0;
}
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 260px; }
.footer-heading { color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-orange); padding-left: 4px; }
.footer-contact p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: var(--primary-orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--primary-orange); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .navbar-tuxxin .container { height: auto; padding: 12px 16px; }
    .navbar-tuxxin .navbar-collapse { background: #fff; padding: 12px 0; border-top: 1px solid #eee; margin-top: 8px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .about-badge { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 16px; }
    .ai-visual { grid-template-columns: repeat(2, 1fr); }
    .stat-divider { display: none; }
    .contact-form-card { padding: 28px 20px; }
    .contact-info-card { padding: 32px 24px; margin-top: 24px; }
    .featured-card-header { padding: 20px; }
    .featured-card-body { padding: 20px; }
}
@media (max-width: 576px) {
    .page-hero { padding: 60px 0 40px; }
    .ai-visual { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .ai-node { padding: 16px 10px; }
    .ai-node .ai-node-icon { font-size: 1.5rem; }
    .tech-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    .sponsor-iframes { flex-direction: column; }
    footer { padding-top: 50px; }
}
