/* ============================================
   Signal Bot Page Specific Styles
   ============================================ */

/* Hero Section */
.sb-hero {
    position: relative;
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.sb-hero-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 14, 24, 0.95) 0%, rgba(6, 14, 24, 0.9) 60%, var(--bg-primary) 100%),
        radial-gradient(circle at 15% 20%, rgba(162, 207, 255, 0.28), transparent 55%),
        radial-gradient(circle at 85% 25%, rgba(56, 239, 125, 0.18), transparent 60%);
    opacity: 1;
}

.sb-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 0.8s ease;
}

.sb-hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    animation: float 3s ease-in-out infinite;
}

.sb-hero-icon img {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 8px 24px rgba(162, 207, 255, 0.2));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

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

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

.sb-hero-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-ice);
    margin-bottom: var(--spacing-sm);
}

.sb-hero-title {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.sb-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.sb-hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.sb-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-primary);
}

.sb-section:nth-child(odd) {
    background-color: var(--bg-surface);
}

.sb-section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sb-section-header h2 {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    color: var(--text-primary);
}

.sb-section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.sb-section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid - 3 columns max, auto-fit */
.sb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.sb-feature-card {
    padding: var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.sb-feature-card:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 0 20px rgba(162, 207, 255, 0.1);
    transform: translateY(-4px);
}

.sb-feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.sb-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    margin-top: 0;
}

.sb-feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* What You Get Section */
.sb-signal-unified {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.sb-signal-live-example {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sb-signal-header {
    background: rgba(162, 207, 255, 0.08);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.sb-signal-body {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sb-signal-field {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(162, 207, 255, 0.1);
}

.sb-signal-field:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sb-field-label {
    font-weight: 600;
    color: var(--text-primary);
}

.sb-field-value {
    color: var(--accent-ice);
    font-weight: 500;
}

.sb-signal-footer {
    background: rgba(162, 207, 255, 0.04);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.sb-signal-breakdown-section {
    padding: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
    background: rgba(162, 207, 255, 0.02);
}

.sb-signal-breakdown-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    color: var(--accent-ice);
}

.sb-info-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sb-info-list li {
    padding-left: var(--spacing-lg);
    position: relative;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sb-info-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-ice);
    font-weight: 600;
}

/* Steps Grid */
.sb-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.sb-step-card {
    padding: var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sb-step-card:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 8px 24px rgba(162, 207, 255, 0.1);
}

.sb-step-number {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-ice);
    background-color: rgba(162, 207, 255, 0.1);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: var(--spacing-sm);
}

.sb-step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    margin-top: 0;
}

.sb-step-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sb-step-card code {
    background: rgba(162, 207, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-ice);
}

.sb-step-card a {
    color: var(--accent-ice);
    text-decoration: none;
    font-weight: 600;
}

.sb-step-card a:hover {
    text-decoration: underline;
}

/* Pairs Section */
.sb-methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.sb-methodology-card {
    padding: var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.sb-methodology-card:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 8px 24px rgba(162, 207, 255, 0.1);
}

.sb-methodology-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.sb-methodology-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.sb-methodology-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sb-supported-pairs {
    margin-top: var(--spacing-xl);
}

.sb-supported-pairs h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    font-weight: 600;
}

.sb-pairs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.sb-pairs-table thead {
    background: rgba(162, 207, 255, 0.08);
}

.sb-pairs-table th {
    padding: var(--spacing-sm);
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
}

.sb-pairs-table td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.sb-pairs-table tbody tr:hover {
    background: rgba(162, 207, 255, 0.04);
}

/* Integration Flow */
.sb-integration-pipeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.sb-pipeline-step {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-smooth);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.sb-pipeline-step:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 0 30px rgba(162, 207, 255, 0.15);
}

.sb-integration-pipeline .sb-step-number {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-ice);
    background-color: rgba(162, 207, 255, 0.1);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sb-step-content h4 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.sb-step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sb-pipeline-arrow {
    display: none;
}

@media (max-width: 768px) {
    .sb-pipeline-arrow {
        display: none;
    }
}

.sb-integration-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.sb-detail-card {
    padding: var(--spacing-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.sb-detail-card:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 4px 12px rgba(162, 207, 255, 0.08);
}

.sb-detail-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.sb-detail-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sb-detail-card a {
    color: var(--accent-ice);
    text-decoration: none;
    font-weight: 600;
}

.sb-detail-card a:hover {
    text-decoration: underline;
}

/* FAQ */
.sb-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.sb-faq-item {
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.sb-faq-item:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 0 15px rgba(162, 207, 255, 0.1);
}

.sb-faq-item h3 {
    margin-top: 0;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-ice);
    font-weight: 600;
}

.sb-faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sb-faq-item a {
    color: var(--accent-ice);
    text-decoration: none;
    font-weight: 600;
}

.sb-faq-item a:hover {
    text-decoration: underline;
}

/* Comparison Table */
.sb-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
}

.sb-comparison-table thead {
    background: rgba(162, 207, 255, 0.08);
}

.sb-comparison-table th {
    padding: var(--spacing-md);
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
}

.sb-comparison-table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.sb-comparison-table tbody tr:hover {
    background: rgba(162, 207, 255, 0.04);
}

.sb-comparison-table strong {
    color: var(--accent-ice);
    font-weight: 600;
}

.sb-comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.sb-comparison-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: var(--spacing-md);
    background: rgba(162, 207, 255, 0.05);
    border-left: 3px solid var(--accent-ice);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
}

/* CTA Section */
.sb-cta {
    background: rgba(162, 207, 255, 0.05);
    padding: var(--spacing-xl) 0;
}

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

.sb-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
}

.sb-cta-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.sb-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Resources Grid */
.sb-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.sb-resource-card {
    padding: var(--spacing-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.sb-resource-card:hover {
    border-color: var(--accent-ice);
    box-shadow: 0 8px 24px rgba(162, 207, 255, 0.1);
    transform: translateY(-4px);
}

.sb-resource-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.sb-resource-card p {
    flex-grow: 1;
    margin: 0 0 var(--spacing-md) 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sb-resource-link {
    color: var(--accent-ice);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
}

.sb-resource-link:hover {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sb-hero-title {
        font-size: 2.5rem;
    }

    .sb-hero-subtitle {
        font-size: 1rem;
    }

    .sb-signal-example {
        grid-template-columns: 1fr;
    }

    .sb-section-header h2 {
        font-size: 2rem;
    }

    .sb-integration-flow {
        flex-direction: column;
    }

    .sb-flow-arrow {
        transform: rotate(90deg);
    }

    .sb-comparison-table {
        font-size: 0.85rem;
    }

    .sb-comparison-table th,
    .sb-comparison-table td {
        padding: var(--spacing-sm);
    }

    .sb-cta-content h2 {
        font-size: 2rem;
    }

    .sb-cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sb-hero-title {
        font-size: 2rem;
    }

    .sb-hero-icon img {
        width: 80px;
        height: 80px;
    }

    .sb-hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .sb-step-card {
        padding-left: var(--spacing-lg);
    }

    .sb-step-number {
        position: static;
        margin-bottom: var(--spacing-md);
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .sb-faq-grid {
        grid-template-columns: 1fr;
    }

    .sb-comparison-table {
        font-size: 0.8rem;
    }
}