:root {
    /* Color Palette - Cyberpunk/Futuristic 2025 Feel */
    --hue: 180;
    --sat: 100%;
    --lig: 50%;

    --primary: hsl(var(--hue), var(--sat), var(--lig));
    /* Cyan */
    --primary-glow: hsla(var(--hue), var(--sat), var(--lig), 0.6);
    --secondary: hsl(280, 80%, 60%);
    /* Purple accent */

    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-border: rgba(255, 255, 255, 0.1);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);

    --nav-height: 80px;
    --border-radius: 24px;

    --font-main: 'Roboto', inter, system-ui, sans-serif;

    scroll-behavior: smooth;
}

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

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--text-main);
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    background: var(--primary);
    color: #0a0a0a;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Background Gradients */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(85, 174, 183, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(130, 80, 200, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .background-glow,
    h1.hero-title,
    .tagline {
        animation: none !important;
    }

    .scroll-hidden {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    * {
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1.hero-title {
    font-size: clamp(2.2rem, 5.2vw, 4.5rem);
    white-space: nowrap;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    /* ensures centering works naturally */
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    top: 10px;
    border-radius: 50px;
    width: 95%;
}

/* Navbar Links */
.navbar-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-back-arrow {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.brand:hover .brand-back-arrow {
    transform: translateX(-4px);
}

.brand img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-content {
    max-width: 1100px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out;
}

/* Cards / Projects */
.scroll-container {
    padding: 2rem 5%;
    scroll-margin-top: 120px;
}

#projects,
#archived,
#contact {
    scroll-margin-top: 120px;
}

.project-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3rem 3.5rem;
    margin: 3rem auto;
    max-width: 1000px;
    gap: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.27), border-color 0.4s ease;
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px -10px rgba(85, 174, 183, 0.2);
}

.project-card.upcoming {
    opacity: 0.5;
    cursor: default;
    filter: grayscale(1);
    transform: scale(0.95);
}

.project-card.upcoming:hover {
    transform: scale(0.95);
    border-color: var(--bg-card-border);
    box-shadow: none;
}

.project-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0;
    flex-shrink: 0;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.project-info {
    flex: 1;
    text-align: left;
}

.project-info h2,
.project-info h3 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.link-arrow {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.project-card:hover .link-arrow {
    transform: translateX(6px);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
    border-top: 1px solid var(--bg-card-border);
}

/* Contact Section */
.contact-card {
    max-width: 800px;
    margin: 2rem auto;
    padding: 4rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
    border-color: var(--primary-glow);
    box-shadow: 0 20px 40px -10px rgba(85, 174, 183, 0.15);
}

.contact-card .section-title {
    margin-bottom: 1.5rem;
}

.contact-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: rgba(85, 174, 183, 0.08);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(85, 174, 183, 0.1);
}

.contact-email-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-email-btn:hover {
    background: var(--primary);
    color: #0a0a0a;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-3px) scale(1.03);
}

/* Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Grid (for Diagnosly) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-main);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
}

.feature-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border-radius: 50%;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Text Content Pages (Privacy/Terms) */
.legal-container,
.text-container {
    max-width: 860px;
    margin: 120px auto 4rem;
    padding: 3.5rem 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
}

.legal-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-card-border);
}

.legal-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(85, 174, 183, 0.1);
    border: 1px solid var(--primary-glow);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.legal-date {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-section p,
.legal-section ul,
.legal-section ol {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
}

.legal-section ul,
.legal-section ol {
    padding-left: 1.5rem;
}

.legal-section p:last-child,
.legal-section ol:last-child,
.legal-section ul:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.legal-section a:hover {
    color: var(--text-main);
    text-decoration: none;
}

.legal-section .footer-link {
    margin: 0;
}

/* Language Tabs */
.language-tabs-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-card-border);
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--bg-card-border);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.tab-btn.active {
    background: rgba(85, 174, 183, 0.15);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    font-weight: 600;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInTab 0.3s ease-out;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-highlight-box {
    background: rgba(85, 174, 183, 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 0 16px 16px 0;
    padding: 1.2rem 1.5rem;
    margin: 1.25rem 0;
}

.legal-highlight-box p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .legal-container,
    .text-container {
        padding: 2.5rem 1.5rem;
        margin: 100px 15px 3rem;
    }
}

/* Buttons and store badges */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: scale(1.05);
}

.store-badge {
    height: 50px;
    margin: 10px;
    transition: transform 0.2s;
}

.store-badge:hover {
    transform: translateY(-3px);
}

/* -- Refactored Inline Styles -- */

/* Hero Utilities */
.hero-logo-img {
    max-width: 200px;
    opacity: 0.8;
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

.banner-img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 2rem 0;
}

/* Project Placeholders */
.project-x-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

/* Glass Cards Utilities */
.centered-glass-card {
    max-width: 800px;
    padding: 3rem;
    margin: 0 auto;
    /* centered horizontally */
    text-align: center;
    /* default for these cards */
}

/* Text Utilities */
.text-mb-sm {
    margin-bottom: 1rem;
}

.text-mb-md {
    margin-bottom: 1.5rem;
}

.text-mb-lg {
    margin-bottom: 2rem;
}

.text-lg {
    font-size: 1.2rem;
}

.text-xl {
    font-size: 1.5rem;
}

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

.footer-links-container {
    margin-top: 1rem;
}

.footer-link {
    color: var(--primary);
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-link:hover {
    color: var(--text-main);
}

/* App & Form Utilities */
.app-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.waitlist-container {
    text-align: center;
}

.store-badge-dim {
    opacity: 0.9;
}

.inline-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.rounded-input {
    padding: 12px;
    border-radius: 50px;
    border: 1px solid var(--bg-card-border);
    background: var(--bg-card);
    color: white;
    width: 250px;
}

.btn-no-margin {
    margin-top: 0;
}

/* Scroll Down Button */
.scroll-down-btn {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 5;
}

.scroll-down-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.scroll-down-btn:hover {
    border-color: var(--primary);
    background: rgba(85, 174, 183, 0.15);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: scale(1.12);
}

.scroll-down-btn:hover svg {
    transform: translateY(3px);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* 404 Page Specifics */
.full-screen-center {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-404 {
    font-size: 8rem;
    margin-bottom: 0;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    /* Navbar positioning & dimensions */
    .navbar {
        top: 12px;
        width: calc(100% - 24px);
        max-width: calc(100vw - 24px);
        height: 60px;
        padding: 0 16px;
        border-radius: 20px;
    }

    .navbar.scrolled {
        top: 8px;
        width: calc(100% - 16px);
        height: 56px;
        padding: 0 14px;
        border-radius: 30px;
    }

    /* Brand in navbar */
    .brand {
        font-size: 1.15rem;
        gap: 8px;
        flex-shrink: 0;
    }

    .brand img {
        height: 28px;
    }

    .brand-back-arrow {
        width: 18px;
        height: 18px;
    }

    /* Navigation links */
    .navbar-links {
        gap: 0.85rem;
    }

    .navbar-links a {
        font-size: 0.82rem;
        white-space: nowrap;
    }

    /* Hero section spacing */
    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
        min-height: 100svh;
        justify-content: center;
    }

    .hero-content {
        margin-top: 1rem;
    }

    .tagline {
        font-size: 1.15rem;
        margin-bottom: 25px;
    }

    .hero-logo-img {
        max-width: 150px;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .project-info {
        text-align: center;
    }

    .link-arrow {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    h1.hero-title {
        font-size: clamp(1.7rem, 7.5vw, 2.6rem);
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .navbar {
        padding: 0 12px;
        width: calc(100% - 16px);
        max-width: calc(100vw - 16px);
    }

    .brand {
        font-size: 1.05rem;
        gap: 6px;
    }

    .brand img {
        height: 24px;
    }

    .navbar-links {
        gap: 0.55rem;
    }

    .navbar-links a {
        font-size: 0.76rem;
    }

    .hero {
        padding-top: 110px;
    }
}

/* ==========================================================================
   FAQ Page Styles
   ========================================================================== */

.faq-container {
    max-width: 880px;
    margin: 120px auto 4rem;
    padding: 3.5rem 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--border-radius);
}

.faq-controls {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-search-box {
    position: relative;
    width: 100%;
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    pointer-events: none;
    transition: stroke 0.3s ease;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-card-border);
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1.05rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.faq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.faq-search-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(85, 174, 183, 0.25);
}

.faq-search-input:focus + .faq-search-icon {
    stroke: var(--primary);
}

.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.faq-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--bg-card-border);
    border-radius: 50px;
    padding: 0.55rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.faq-filter-btn:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.faq-filter-btn.active {
    background: rgba(85, 174, 183, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(85, 174, 183, 0.2);
}

.faq-group {
    margin-bottom: 2.5rem;
}

.faq-group-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg-card-border);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid var(--bg-card-border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item[open] {
    border-color: rgba(85, 174, 183, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    list-style: none;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--text-main);
    user-select: none;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.faq-pill-tag {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    stroke: var(--primary);
}

.faq-answer {
    padding: 0 1.4rem 1.35rem;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -0.2rem;
    padding-top: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.faq-answer p {
    margin-bottom: 0.85rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
}

.faq-answer li {
    margin-bottom: 0.4rem;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--text-main);
}

.faq-highlight-box {
    background: rgba(85, 174, 183, 0.08);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 0.9rem 1.2rem;
    margin: 0.85rem 0;
}

.faq-highlight-box p {
    color: var(--text-main);
    font-size: 0.94rem;
    margin-bottom: 0;
}

.faq-highlight-box.warning {
    background: rgba(255, 75, 75, 0.08);
    border-left-color: #ff4b4b;
}

.faq-highlight-box.warning p {
    color: #ffb4b4;
}

.faq-empty-state {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.faq-empty-state h3 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.faq-contact-box {
    margin-top: 3.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(85, 174, 183, 0.3);
    border-radius: 20px;
}

.faq-contact-box h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.faq-contact-box p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .faq-container {
        padding: 2.5rem 1.25rem;
        margin: 100px 12px 3rem;
    }

    .faq-question {
        padding: 1rem 1.1rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.1rem 1.1rem;
        padding-top: 0.85rem;
        font-size: 0.96rem;
    }

    .faq-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.4rem;
        -webkit-overflow-scrolling: touch;
    }

    .faq-filter-btn {
        flex-shrink: 0;
    }
}