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

/* Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-tertiary: #707088;
    --accent-primary: #6366F1;
    --accent-secondary: #8B5CF6;
    --border-color: #2a2a38;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):not(.btn-github):hover {
    color: var(--text-primary);
}

/* GitHub button in nav */
.btn-github {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-github:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.btn-github svg {
    flex-shrink: 0;
}

.github-text {
    white-space: nowrap;
}

/* Navigation button override */
.nav-links .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    color: white !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
}

.btn-secondary-alt {
    background: transparent;
    color: var(--accent-primary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 2px solid var(--accent-primary);
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary-alt:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.btn-tertiary {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: var(--transition);
    display: inline-block;
}

.btn-tertiary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px 80px;
        align-items: start;
    }
}

.hero-content {
    text-align: center;
    order: 1;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: center;
        grid-column: 1;
        grid-row: 1;
    }
}

.hero-demo {
    position: relative;
    order: 2;
}

@media (min-width: 992px) {
    .hero-demo {
        grid-column: 2;
        grid-row: 1 / 3;
    }
}

.hero-stats {
    order: 4;
    margin-top: 20px;
}

@media (min-width: 992px) {
    .hero-stats {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 0;
    }
}

.demo-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 16px;
    text-align: center;
}

@media (min-width: 992px) {
    .demo-label {
        text-align: left;
    }
}

/* Open Source Badge */
.open-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    color: #22C55E;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.open-source-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    order: 3;
}

.hero-cta .btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta svg {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .hero-cta {
        justify-content: center;
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 0;
    }
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

/* Desktop: side-by-side buttons */
@media (min-width: 769px) {
    .hero-cta {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .hero-stats {
        justify-content: center;
        gap: 60px;
    }
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.feature-icon svg {
    color: var(--accent-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.step h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 14px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.btn-github-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.btn-github-mobile:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.btn-github-mobile svg {
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Open Source Section */
.open-source-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.open-source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.open-source-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.open-source-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
}

.open-source-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 16px;
    color: var(--accent-primary);
}

.open-source-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.open-source-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.open-source-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Use Cases Section */
.use-cases {
    padding: 120px 0;
    background: var(--bg-primary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.use-case-card {
    background: var(--bg-tertiary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: block;
}

.use-case-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.use-case-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.use-case-author strong {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.use-case-author span {
    color: var(--text-tertiary);
    font-size: 13px;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

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

.faq-icon {
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Micro-interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Button shine effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Smooth focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Legal Pages */
.page-content {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px;
}

.content-wrapper h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-wrapper .text-muted {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    display: block;
}

.content-wrapper h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.content-wrapper ul {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.content-wrapper ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.content-wrapper ul li::before {
    content: '•';
    position: absolute;
    left: 12px;
    color: var(--accent-primary);
    font-weight: bold;
}

.content-wrapper a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.content-wrapper a:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand .logo {
    width: 40px;
    height: 40px;
}

.nav-brand .logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.footer-section {
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo svg {
    width: 40px;
    height: 40px;
}

.footer-brand .logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-tertiary);
    font-size: 14px;
    max-width: 300px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1 1 auto;
    max-width: 800px;
    min-width: 280px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.cookie-content a:hover {
    opacity: 0.8;
}

.btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.btn-accept:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    /* Hero CTA - Tablet: 2x2 Grid Layout */
    .hero-cta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta .btn-tertiary {
        grid-column: 1 / -1;
    }

    /* CTA Section - Tablet */
    .cta-buttons {
        gap: 12px;
    }

    /* Stats - Tablet */
    .stat-number {
        font-size: 42px;
    }

    /* Cookie Banner - Tablet */
    .cookie-content {
        gap: 16px;
    }

    .cookie-content p {
        max-width: 600px;
        font-size: 13px;
    }

    .btn-accept {
        flex-shrink: 0;
    }
}

/* Responsive - Mobile First Design */
@media (max-width: 768px) {
    /* Global fixes for text stability */
    * {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Prevent layout shift */
    img, svg {
        display: block;
        max-width: 100%;
    }

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-content {
        padding: 16px 0;
    }

    .mobile-header-actions {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px 16px;
        gap: 16px;
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 15px;
        padding: 8px 0;
    }

    .nav-links .btn-github {
        display: none;
    }

    .nav-links .btn-primary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        margin-top: 8px;
    }

    /* Hero Section - Mobile Optimized */
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.2;
        margin-bottom: 20px;
        letter-spacing: -0.01em;
    }

    .hero-description {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 24px;
        max-width: 100%;
        padding: 0 20px;
    }

    .open-source-badge {
        padding: 8px 18px;
        font-size: 13px;
        margin-bottom: 20px;
        margin-top: 12px;
        border-radius: 24px;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 32px;
        padding: 0 20px;
    }

    .hero-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        font-size: 15px;
        font-weight: 500;
        border-radius: 12px;
        transition: var(--transition);
        gap: 10px;
    }

    .hero-cta .btn-primary {
        padding: 16px 20px;
        background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    }

    .hero-cta .btn-primary:hover {
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
        transform: translateY(-1px);
    }

    .hero-cta .btn-secondary-alt {
        padding: 15px 20px;
        background: transparent;
        border: 2px solid var(--accent-primary);
        color: var(--accent-primary);
    }

    .hero-cta .btn-secondary-alt:hover {
        background: rgba(99, 102, 241, 0.1);
        border-color: var(--accent-secondary);
    }

    .hero-cta .btn-tertiary {
        padding: 14px 20px;
        background: transparent;
        border: 1px solid rgba(99, 102, 241, 0.3);
        color: var(--text-secondary);
    }

    .hero-cta .btn-tertiary:hover {
        background: rgba(99, 102, 241, 0.1);
        border-color: var(--accent-primary);
        color: var(--text-primary);
    }

    /* Hero Stats - Simple Design (same as desktop) */
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
        padding-top: 40px;
        border-top: 1px solid var(--border-color);
    }

    .stat-item {
        text-align: center;
        flex: 1;
        min-width: 0;
    }

    .stat-number {
        font-size: 36px;
        font-weight: 800;
        background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 8px;
        line-height: 1;
    }

    .stat-label {
        font-size: 12px;
        color: var(--text-secondary);
        font-weight: 500;
        line-height: 1.4;
    }

    /* Features Section - Ultra Compact List Design */
    .features {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 28px;
        text-align: center;
        padding: 0;
    }

    .section-header h2 {
        font-size: 28px;
        margin: 0 0 10px 0;
        padding: 0;
        line-height: 1.2;
        letter-spacing: -0.02em;
        font-weight: 700;
        display: block;
    }

    .section-header p {
        font-size: 15px;
        line-height: 1.45;
        opacity: 0.75;
        color: var(--text-secondary);
        margin: 0;
        padding: 0;
        display: block;
    }

    .features-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 20px 18px;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .feature-card:hover {
        border-color: var(--accent-primary);
        background: rgba(99, 102, 241, 0.05);
        transform: translateY(-2px);
    }

    .feature-card .feature-header {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin: 0;
        flex-shrink: 0;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
        color: var(--accent-primary);
        display: block;
    }

    .feature-card h3 {
        font-size: 17px;
        font-weight: 600;
        margin: 0;
        padding: 0;
        line-height: 1.3;
        color: var(--text-primary);
        display: block;
        flex: 1;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
        color: var(--text-secondary);
        opacity: 0.85;
        margin: 0;
        padding: 0;
        display: block;
    }

    /* How It Works - Minimal List Style */
    .how-it-works {
        padding: 56px 0;
    }

    .steps {
        display: flex;
        flex-direction: column;
        gap: 1px;
        background: var(--border-color);
        border-radius: 14px;
        overflow: hidden;
        position: relative;
        max-width: 100%;
    }

    .step {
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 8px;
        text-align: left;
        position: relative;
        background: var(--bg-tertiary);
        padding: 20px 18px;
        transition: background 0.3s ease;
    }

    .step:first-child {
        border-radius: 14px 14px 0 0;
    }

    .step:last-child {
        border-radius: 0 0 14px 14px;
    }

    .step:hover {
        background: rgba(99, 102, 241, 0.05);
    }

    .step::after {
        display: none;
    }

    .step-number {
        grid-column: 1;
        grid-row: 1;
        width: 36px;
        height: 36px;
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
        color: var(--accent-primary);
    }

    .step h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 17px;
        font-weight: 600;
        margin: 0;
        padding: 0;
        line-height: 1.3;
        color: var(--text-primary);
        display: block;
        align-self: center;
    }

    .step p {
        grid-column: 2;
        grid-row: 2;
        font-size: 14px;
        line-height: 1.5;
        opacity: 0.85;
        margin: 0;
        padding: 0;
        color: var(--text-secondary);
        display: block;
    }

    .step > div {
        display: contents;
    }

    /* Open Source Section - List Style Layout */
    .open-source-section {
        padding: 56px 0;
    }

    .open-source-grid {
        display: flex;
        flex-direction: column;
        gap: 1px;
        background: var(--border-color);
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 28px;
    }

    .open-source-card {
        padding: 26px 20px;
        border-radius: 0;
        border: none;
        background: var(--bg-primary);
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 16px;
        row-gap: 10px;
        text-align: left;
        transition: background 0.3s ease;
    }

    .open-source-card:first-child {
        border-radius: 16px 16px 0 0;
    }

    .open-source-card:last-child {
        border-radius: 0 0 16px 16px;
    }

    .open-source-card:hover {
        background: rgba(99, 102, 241, 0.05);
    }

    .open-source-icon {
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    }

    .open-source-icon svg {
        width: 20px;
        height: 20px;
    }

    .open-source-card h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 17px;
        font-weight: 600;
        margin: 0;
        padding: 0;
        line-height: 1.3;
        color: var(--text-primary);
        display: block;
        align-self: center;
    }

    .open-source-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 14px;
        line-height: 1.55;
        opacity: 0.85;
        margin: 0;
        padding: 0;
        color: var(--text-secondary);
        display: block;
    }

    .open-source-card > div {
        display: contents;
    }

    .open-source-cta {
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .open-source-cta .btn-primary,
    .open-source-cta .btn-secondary {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .open-source-cta .btn-primary svg,
    .open-source-cta .btn-secondary svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* Use Cases Section - Compact Testimonials */
    .use-cases {
        padding: 56px 0;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .use-case-card {
        padding: 20px;
        border-radius: 14px;
        border: 1px solid var(--border-color);
    }

    .use-case-card:hover {
        transform: none;
    }

    .use-case-icon {
        font-size: 32px;
        margin-bottom: 12px;
        display: block;
        line-height: 1;
    }

    .use-case-card h3 {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 12px;
        line-height: 1.3;
        color: var(--text-primary);
    }

    .use-case-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
        opacity: 0.9;
    }

    .use-case-author {
        padding-top: 16px;
        gap: 4px;
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--border-color);
    }

    .use-case-author strong {
        font-size: 14px;
        line-height: 1.4;
        color: var(--text-primary);
        font-weight: 600;
    }

    .use-case-author span {
        font-size: 12px;
        opacity: 0.7;
        line-height: 1.3;
    }

    /* FAQ Section - Improved Touch Targets */
    .faq {
        padding: 56px 0;
    }

    .faq-question {
        padding: 20px 0;
        font-size: 16px;
        line-height: 1.4;
        gap: 12px;
    }

    .faq-answer {
        padding-right: 32px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 1.65;
        opacity: 0.85;
    }

    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }

    /* CTA Section */
    .cta {
        padding: 56px 0;
    }

    .cta h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
        letter-spacing: -0.01em;
    }

    .cta p {
        font-size: 15px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        padding: 0 16px;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary-alt {
        width: 100%;
        max-width: 100%;
        padding: 16px 32px;
        font-size: 16px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .cta-buttons .btn-primary svg,
    .cta-buttons .btn-secondary-alt svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin: 0;
    }

    /* Footer - Accordion Style */
    .footer {
        padding: 40px 0 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer-brand {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .footer-brand .logo {
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }

    .footer-brand p {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.7;
        margin: 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .footer-column {
        min-width: 0;
    }

    .footer-column h4 {
        font-size: 11px;
        font-weight: 700;
        margin-bottom: 12px;
        letter-spacing: 0.08em;
        opacity: 0.9;
        line-height: 1.2;
    }

    .footer-column a {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
        display: block;
    }

    .footer-bottom {
        padding-top: 20px;
        margin-top: 8px;
        border-top: 1px solid var(--border-color);
    }

    .footer-bottom p {
        font-size: 11px;
        opacity: 0.6;
        line-height: 1.4;
        margin: 0;
    }

    /* Legal Pages */
    .page-content {
        padding: 100px 0 60px;
    }

    .content-wrapper {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .content-wrapper h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .content-wrapper .text-muted {
        font-size: 13px;
        margin-bottom: 32px;
    }

    .content-wrapper h2 {
        font-size: 20px;
        margin-top: 28px;
        margin-bottom: 12px;
    }

    .content-wrapper h3 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .content-wrapper p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .content-wrapper ul li {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 10px;
    }

    /* Cookie Banner - Mobile */
    .cookie-banner {
        padding: 10px 12px;
    }

    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .cookie-content p {
        font-size: 11px;
        line-height: 1.4;
        flex: 1;
        min-width: 0;
    }

    .cookie-content p a {
        white-space: nowrap;
    }

    .btn-accept {
        width: auto;
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Hero - Mobile */
    .hero {
        padding: 120px 0 60px;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-cta {
        margin-bottom: 40px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .hero-cta .btn-large {
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        max-width: 50%;
    }

    .hero-cta svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .hero-stats {
        gap: 32px;
        padding-top: 32px;
        margin-top: -8px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Live Demo - Mobile */
    .live-demo-mockup {
        margin-top: 0;
    }

    .app-header {
        padding: 10px 16px;
    }

    .recording-info {
        gap: 8px;
    }

    .recording-controls {
        gap: 6px;
    }

    .control-btn {
        width: 28px;
        height: 28px;
    }

    .control-btn svg {
        width: 12px;
        height: 12px;
    }

    .insights-section {
        padding: 20px;
        height: 600px;
    }

    .insights-group {
        margin-bottom: 24px;
    }

    .question-card, .action-card {
        padding: 14px;
    }
}

/* Tablet - Compact buttons */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-cta {
        gap: 12px;
    }

    .hero-cta .btn-large {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Extra small mobile devices */
@media (max-width: 380px) {
    .hero-cta {
        gap: 8px;
    }

    .hero-cta .btn-large {
        padding: 10px 12px;
        font-size: 13px;
    }

    .hero-cta svg {
        width: 16px;
        height: 16px;
    }
}

/* ================================
   Live Demo Section
   ================================ */
.live-demo {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.live-demo .section-header {
    margin-bottom: 60px;
}

.live-demo-mockup {
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 1400px;
    margin: 0 auto;
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.recording-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recording-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.pause-btn:hover {
    border-color: var(--warning-color);
    color: var(--warning-color);
    background: rgba(245, 158, 11, 0.1);
}

.stop-btn:hover {
    border-color: #EF4444;
    color: #EF4444;
    background: rgba(239, 68, 68, 0.1);
}

.control-btn:active {
    transform: translateY(0);
}

.recording-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

#recording-timer {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Courier New', monospace;
    letter-spacing: 0.05em;
}

.recording-dot {
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ai-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
}

/* App Content */
.app-content {
    display: block;
}

.demo-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.transcript-item {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 3px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.4s ease-out forwards;
}

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

.transcript-item.speaker-a {
    border-left-color: #3B82F6;
}

.transcript-item.speaker-b {
    border-left-color: #10B981;
}

.transcript-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.speaker-name {
    font-weight: 600;
    font-size: 14px;
}

.transcript-time {
    font-size: 12px;
    color: var(--text-tertiary);
}

.transcript-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Insights Section */
.insights-section {
    padding: 28px;
    background: var(--bg-primary);
    height: 550px;
    overflow-y: auto;
}

.insights-group {
    margin-bottom: 32px;
}

.insights-group:last-child {
    margin-bottom: 0;
}

.insights-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.insights-icon {
    width: 20px;
    height: 20px;
}

/* Question Card */
.question-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.5s ease-out forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-text {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.answer-item {
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--accent-primary);
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.answer-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 6px;
}

.answer-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.answer-link {
    font-size: 12px;
    color: var(--accent-primary);
    text-decoration: none;
    margin-top: 6px;
    display: inline-block;
}

.answer-link:hover {
    text-decoration: underline;
}

/* Action Card */
.action-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.5s ease-out forwards;
}

.action-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.action-description {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
    flex: 1;
}

.completeness-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.completeness-badge.complete {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.completeness-badge.partial {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.action-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.action-detail {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Searching State */
.searching-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

.searching-dots {
    display: flex;
    gap: 4px;
}

.searching-dots span {
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.searching-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.searching-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
}

