/* Font Face - IBM Plex Sans JP */
/* Using Google Fonts, no local @font-face needed */

/* Global Variables */
:root {
    --background: #011843;
    --foreground: #ededed;
    --primary: #1E88E5;
    --primary-glow: rgba(30, 136, 229, 0.5);
    --secondary: #00ff9d;
    --secondary-glow: rgba(0, 255, 157, 0.5);
    --surface: #171717;
    --surface-hover: #262626;
    --border: #E6ECF5;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-heading: 'IBM Plex Sans JP', var(--font-sans);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    min-height: 100vh;
}

h1 {
    font-size: 48px;
    line-height: 120%;
}

h2 {
    font-size: 32px;
    line-height: 130%;
}

@media (max-width: 968px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

.gradientText {
    background: linear-gradient(135deg, #fff 0%, #d4d4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

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

.section-header h2 {
    font-family: 'IBM Plex Sans JP', var(--font-sans);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: #e4e4e7;
    font-size: 1.2rem;
}

@media (max-width: 640px) {
    .section-header {
        margin-bottom: 3rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

.section {
    padding: 100px 0;
    background: var(--surface);
}

@media (max-width: 968px) {
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 40px 0;
    }
}

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

/* Header styles moved to component */

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logoImage {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

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

.nav a {
    color: #d4d4d8;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--foreground);
}

.cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.langSwitch {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a1a1aa;
}

.langSwitch a:hover,
.activeLang {
    color: var(--foreground);
}

.button {
    background: var(--foreground);
    color: var(--background);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.button:hover {
    opacity: 0.9;
}

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 968px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    /* Explicit value for Safari compatibility */
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-container {
        gap: 2rem;
    }
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.subcopy {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #e4e4e7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

@media (max-width: 968px) {
    .subcopy {
        margin: 0 auto 2.5rem;
    }
}

@media (max-width: 640px) {
    .subcopy {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

.actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 968px) {
    .actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .actions {
        flex-direction: column;
        width: 100%;
    }

    .actions a {
        width: 100%;
        justify-content: center;
    }
}

.primaryButton {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--foreground);
    color: var(--background);
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.primaryButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.secondaryButton {
    background: rgba(255, 255, 255, 0.05);
    color: var(--foreground);
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.secondaryButton:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 968px) {
    .visual {
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .visual {
        min-height: 250px;
    }
}

.heroImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Hybrid Hero Visual */
.hero-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    /* Optional border/shadow if needed, but image has its own mood */
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or contain, depending on image aspect */
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
}

.icon-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulseNode 3s infinite ease-in-out;
}

.icon-node:hover {
    transform: translate(-50%, -60%) scale(1.1);
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.icon-node img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.core-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
    z-index: 5;
}

.core-node img {
    width: 40px;
    height: auto;
    border-radius: 4px;
}

@keyframes pulseNode {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    }
}

/* Specific glows for input/output */
.input-node {
    border-color: rgba(0, 255, 157, 0.2);
}

.output-node {
    border-color: rgba(139, 92, 246, 0.2);
}

/* 
.placeholderVisual {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(23, 23, 23, 0.5);
    backdrop-filter: blur(5px);
}
*/

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--background);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px var(--primary-glow);
    z-index: 2;
    overflow: hidden;
}

.coreLogo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.node,
.agent {
    position: absolute;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.connectionLines {
    /* Placeholder for SVG lines if we want them, or skipping for simple HTML */
}

/* Problem Section */
.problem {
    padding: 100px 0;
    background: var(--surface);
}

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

@media (max-width: 968px) {
    .grid.three-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .grid.three-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

@media (max-width: 640px) {
    .card {
        padding: 1.5rem;
    }
}

.card:hover {
    transform: translateY(-5px);
}

.iconWrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.card p {
    color: #e4e4e7;
    line-height: 1.6;
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    background: var(--background);
    /* Contrast with Problem section (surface) and Features (surface/background) */
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .use-cases-grid {
        gap: 1.5rem;
    }
}

.use-case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

.impact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Features */

.features-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.featureRow {
    display: flex;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 968px) {
    .featureRow {
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .featureRow {
        gap: 2rem;
    }
}

.featureRow.reverse {
    flex-direction: row-reverse;
}

.textContent {
    flex: 1;
}

.visualContent {
    flex: 1;
}

.textContent h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

@media (max-width: 640px) {
    .textContent h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #a1a1aa;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.feature-list li {
    font-size: 1.125rem;
    color: #d4d4d8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: "•";
    color: #1E88E5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.subtext {
    font-size: 1rem;
    color: #71717a;
    font-style: italic;
    border-left: 2px solid var(--border);
    padding-left: 1rem;
}

.placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52525b;
    font-family: var(--font-mono);
    border-style: dashed;
}

/* How It Works */
.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 968px) {
    .split-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .split-block {
        gap: 2rem;
    }
}

.split-block .content h2 {
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.step {
    position: relative;
    padding-left: 2rem;
}

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

.stepNumber {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: #e4e4e7;
    font-size: 0.95rem;
}

.architectureImage {
    width: 110%;
    max-width: none;
    height: auto;
    border-radius: 12px;
    /* border: 1px solid var(--border); */
    /* box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); */
    display: block;
    margin-left: -5%;
}

@media (max-width: 968px) {
    .architectureImage {
        width: 100%;
        margin-left: 0;
    }
}

/* Integrations */
.integrations-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
}

@media (max-width: 968px) {
    .integrations-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

.integrations-grid .group {
    flex: 1;
}

.integrations-grid h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #d4d4d8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

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

.logoBox {
    padding: 0.75rem 0.5rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 500;
    color: #ccc;
    text-align: center;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
}

.agentBox {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.divider-vertical {
    width: 1px;
    height: 200px;
    background: var(--border);
    align-self: center;
}

/* Security */
.security-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 968px) {
    .security-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .security-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
}

.security-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.security-card h2 {
    margin-bottom: 1rem;
}

.security-card p {
    color: #e4e4e7;
    margin-bottom: 3rem;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .security-features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

.security-features .item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ededed;
}

.sec-icon {
    color: var(--secondary);
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brand .logo img {
    height: 28px;
    width: auto;
    border-radius: 4px;
}

.brand h3 {
    font-size: 1.5rem;
}

.brand p {
    color: #d4d4d8;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    color: var(--foreground);
}

.footer-column a {
    color: #d4d4d8;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #E6ECF5;
    padding-top: 2rem;
    text-align: center;
    color: #a1a1aa;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .divider-vertical {
        width: 100%;
        height: 1px;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* Centered Setup for Text-Only Split Block */
.split-block.centered-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.content.full-width {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.content.full-width .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

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

/* Documentation Layout */
.docs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
    min-height: 80vh;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding-right: 2rem;
    border-right: 1px solid var(--border);
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.docs-nav h4 {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    margin: 1.5rem 0 0.5rem;
}

.docs-nav h4:first-child {
    margin-top: 0;
}

.docs-nav a {
    color: #d4d4d8;
    padding: 0.5rem 0.75rem 0.5rem calc(0.75rem + 12px);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.docs-nav a:hover,
.docs-nav a.active {
    color: #1E88E5;
    text-decoration: none;
}

.docs-content {
    max-width: 800px;
}

.docs-content h1 {
    font-family: 'IBM Plex Sans JP', var(--font-sans);
    font-weight: 800;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* Стили Docs - применяются только если нет класса faq-container */
.docs-content:not(.faq-container) h2 {
    font-family: 'IBM Plex Sans JP', var(--font-sans);
    font-weight: 800;
    margin: 3rem 0 1.5rem;
    color: var(--foreground);
    scroll-margin-top: 100px;
}

.docs-content:not(.faq-container) h3 {
    scroll-margin-top: 100px;
}

.docs-content:not(.faq-container) h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: #1E88E5;
}

.docs-content p {
    color: #d4d4d8;
    margin-bottom: 1.5rem;
}

.docs-content ul,
.docs-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #d4d4d8;
}

.docs-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.docs-content code {
    background: rgba(12, 42, 102, 0.50);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: #fca5a5;
}

.docs-content pre {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.docs-content pre code {
    background: none;
    padding: 0;
    color: #e4e4e7;
    font-size: 0.9rem;
}

.note {
    background: rgba(139, 92, 246, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.docs-content .info-box {
    border-radius: 0 8px 8px 0;
    border-left: 4px solid var(--Phennec-concept-CTA-Primary-action, #1E88E5);
    background: rgba(30, 136, 229, 0.10);
    padding: 16px 24px;
    margin: 1rem 0;
}

@media (max-width: 900px) {
    .docs-container {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .docs-sidebar {
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

/* FAQ Accordion */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* FAQ item styles moved to component */

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
}

summary::-webkit-details-marker {
    display: none;
    /* Hide default triangle in Chrome */
}

summary h3 {
    margin: 0 !important;
    /* Override docs-content h3 margin */
    font-size: 1.1rem !important;
    color: var(--foreground) !important;
}

.faq-icon {
    color: #a1a1aa;
    transition: transform 0.3s ease;
}

details[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-body {
    padding: 0 2rem 2rem;
    border-top: 1px solid transparent;
}

details[open] .faq-body {
    border-top-color: rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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