/* Custom Properties / Tokens */
:root {
    --bg-main: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #2563eb;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --card-border: rgba(15, 23, 42, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Utilities */
.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: transform var(--transition-normal);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo img {
    height: 64px;
    vertical-align: middle;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

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

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



/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-nav a:hover {
    color: #60a5fa;
    /* bright blue to contrast against dark bg */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

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

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-accent:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* Anchor Menu - Premium Redesign */
.anchor-menu {
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.anchor-menu-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
}

.anchor-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.anchor-link:hover {
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.05);
}

/* Back to Top Link */
.section-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 2rem;
    transition: transform var(--transition-fast);
}

.section-back-link:hover {
    transform: translateY(-2px);
}

/* Integrated Education Steps */
.edu-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.edu-step-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    transition: transform var(--transition-fast);
}

.edu-step-card:hover {
    transform: translateX(10px);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    min-width: 100px;
    padding-top: 0.2rem;
}

.step-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.step-info p {
    margin: 0;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .anchor-menu-container {
        gap: 0.2rem;
        padding: 0.4rem;
        width: 95%;
    }

    .anchor-link {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .edu-step-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-number {
        font-size: 1.2rem;
        min-width: auto;
    }
}

/* Info Section */
.info-section {
    padding: 6rem 2rem;
    background-color: var(--bg-main);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-link {
    color: var(--accent-primary);
    font-weight: 500;
    font-size: 0.95rem;
    align-self: flex-start;
}

.card.card-activities,
.card.card-overview,
.card.card-employment,
.card.card-education {
    border-top: none;
    background-size: cover;
    background-position: center;
}

.card.card-activities::before,
.card.card-overview::before,
.card.card-employment::before,
.card.card-education::before {
    display: none; /* Hide the standard gradient bar */
}

/* Background Images */
.card.card-activities {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('assets/activities_header_bg.png');
}

.card.card-activities:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('assets/activities_header_bg.png');
}

.card.card-overview {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('assets/overview_header_bg.png');
}

.card.card-overview:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('assets/overview_header_bg.png');
}

.card.card-employment {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('assets/employment_hero_bg_noface.png');
}

.card.card-employment:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('assets/employment_hero_bg_noface.png');
}

.card.card-education {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('assets/education_bg.png');
}

.card.card-education:hover {
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('assets/education_bg.png');
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--accent-primary);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.back-to-top:hover {
    color: var(--accent-primary);
}

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

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

.delay-1 {
    transition-delay: 0.1s;
}

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

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

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

/* Development Cases Grid */
.development-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    list-style: none;
    padding-left: 0;
}

.development-case-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border-top: 4px solid var(--accent-primary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.development-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.development-case-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* Page Content Styling for subpages */
.page-header {
    padding: 8rem 2rem 4rem;
    background-color: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.page-header.activities-header {
    background-image: url('assets/activities_header_bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 2rem 6rem;
}

.page-header.activities-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.page-header.activities-header h1,
.page-header.activities-header p {
    position: relative;
    z-index: 2;
}

.page-header.activities-header h1 {
    font-size: 3rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-header.activities-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 1rem auto 0;
}

.page-header.overview-header {
    background-image: url('assets/sp_building.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 2rem 6rem;
}

.page-header.access-header {
    background-image: url('assets/access_header_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--text-primary);
    padding: 10rem 2rem 6rem;
}

.page-header.access-header h1,
.page-header.access-header p {
    position: relative;
    z-index: 2;
}

.page-header.overview-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.2));
    z-index: 1;
}

.page-header.access-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    z-index: 1;
}

.page-header.overview-header h1,
.page-header.overview-header p {
    position: relative;
    z-index: 2;
}

.page-header.overview-header h1 {
    font-size: 3rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-header.overview-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 1rem auto 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-header p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-main);
}

.content-section h2.section-title {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--card-border);
}

.education-banner {
    position: relative;
    padding: 6rem 2rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
    background-image: url('assets/education_bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.education-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(37, 99, 235, 0.6));
    z-index: 1;
}

.education-banner h2 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: white !important;
    border-bottom: none !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.education-banner p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 1rem auto 0;
}

.content-section h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.content-section h4 {
    font-size: 1.1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section a:not(.btn) {
    color: var(--accent-primary);
    font-weight: 500;
}

.content-section a:not(.btn):hover {
    text-decoration: underline;
}

.content-section a.btn {
    color: white;
}

.company-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: var(--bg-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.company-info-table th,
.company-info-table td {
    padding: 1rem;
    border: 1px solid var(--card-border);
    text-align: left;
}

.company-info-table th {
    background-color: var(--bg-secondary);
    width: 25%;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

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

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

    .mobile-nav {
        background: rgba(10, 14, 23, 0.95);
        backdrop-filter: blur(15px);
    }

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

/* Privacy Policy Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    opacity: 0;
    transition: opacity var(--transition-normal);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-main);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 0.5rem;
    line-height: 1;
    border-radius: 4px;
}

.modal-close-btn:hover {
    color: var(--accent-primary);
    background: var(--bg-secondary);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

.modal-body h4 {
    color: var(--accent-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul,
.modal-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Emoji Icon Styles for Development Cases */
.emoji-icon {
    font-size: 1.25em;
    margin-right: 0.25rem;
    vertical-align: text-bottom;
}

/* Technology Badges - Rich Design */
.tech-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
}

.tech-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tech-category-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--card-border), transparent);
    margin-left: 1rem;
}

.tech-section .tech-category-title:first-child {
    margin-top: 0;
}

.tech-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    user-select: none;
}

/* Category Specific Styles */
.tech-os {
    border-left: 3px solid #3b82f6;
}

.tech-lang {
    border-left: 3px solid #10b981;
}

.tech-mw {
    border-left: 3px solid #f59e0b;
}

.tech-badge:hover {
    transform: translateY(-4px) scale(1.03);
    color: #fff;
    border-color: transparent;
}

.tech-badge.tech-os:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.tech-badge.tech-lang:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
}

.tech-badge.tech-mw:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
}

/* Voice Detail Cards - Careers Page */
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.voice-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.voice-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.voice-profile-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), #1d4ed8);
    color: white;
}

.voice-profile-header.accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-normal);
}

.voice-profile-header.accordion-toggle:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.voice-detail-card.active .toggle-icon {
    transform: rotate(180deg);
}

.voice-profile-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.voice-profile-header h3 small {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.85;
    margin-left: 0.5rem;
}

.voice-sections {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s ease-in-out;
}

.voice-detail-card.active .voice-sections {
    padding: 2rem;
    max-height: 2000px;
    opacity: 1;
    visibility: visible;
}

.voice-section-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
}

.voice-section-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.voice-section-item p+p {
    margin-top: 0.75rem;
}

/* FAQ Chat Bubble Styles */
.faq-chat-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-chat-row {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.chat-bubble {
    max-width: 85%;
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bubble-q {
    align-self: flex-start;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-bottom-left-radius: 0.25rem;
    margin-left: 0.5rem;
}

.bubble-q::before {
    content: "Q.";
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.bubble-a {
    align-self: flex-end;
    background-color: var(--accent-primary);
    color: white;
    border-bottom-right-radius: 0.25rem;
    margin-right: 0.5rem;
}

.bubble-a::before {
    content: "A.";
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .chat-bubble {
        max-width: 90%;
    }

    .bubble-q::before,
    .bubble-a::before {
        display: none;
    }
}

/* Overview Page Background */
.overview-page .content-section {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}
