/**
 * Bruviti Landing Pages - Shared Stylesheet
 * Used by all /s/ programmatic landing pages
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #121212;
    color: #b3b3b3;
    line-height: 1.7;
}

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

@media (min-width: 1024px) {
    .container {
        padding: 0 80px;
    }
}

/* Header */
header {
    background: #121212;
    border-bottom: 1px solid #333333;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 140px;
    height: auto;
}

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

nav a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: #b3b3b3;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 968px) {
    nav {
        display: none;
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: #121212;
        border-bottom: 1px solid #333333;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        z-index: 999;
    }
    nav.mobile-nav-open {
        display: flex;
    }
    nav a {
        font-size: 18px;
        padding: 8px 0;
    }
    .mobile-menu {
        display: flex;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 24px 0;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs li {
    color: #b3b3b3;
}

.breadcrumbs li:not(:last-child)::after {
    content: " / ";
    margin-left: 8px;
    color: #808080;
}

.breadcrumbs a {
    color: #808080;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #e67e4d;
}

/* Hero Section */
.hero-section {
    background: #121212;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-section h1 {
    font-size: 56px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-section .subtitle {
    font-size: 20px;
    color: #b3b3b3;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }
    .hero-section .subtitle {
        font-size: 16px;
    }
}

/* Challenge Section */
.challenge-section {
    background: #121212;
    padding: 32px 0;
}

.challenge-content {
    background: #1a1a1a;
    border-left: 4px solid #e67e4d;
    padding: 20px 32px;
    max-width: 900px;
    margin: 0 auto;
}

.challenge-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e67e4d;
    margin-bottom: 16px;
}

.challenge-text {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.7;
}

/* Pain Points Section */
.pain-section {
    background: #181818;
    padding: 80px 0;
}

.pain-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

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

.pain-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.pain-card-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e67e4d;
}

.pain-card-title {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin: 24px 0 16px;
}

.pain-card-description {
    font-size: 16px;
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 24px;
}

.pain-card-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-value {
    font-size: 42px;
    font-weight: 600;
    color: #e67e4d;
    line-height: 1.0;
}

.metric-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #808080;
}

/* Solution Section */
.solution-section {
    background: #121212;
    padding: 80px 0;
}

.solution-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 48px;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 968px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

.solution-section p {
    font-size: 16px;
    color: #b3b3b3;
    line-height: 1.7;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 24px 0 24px 28px;
    position: relative;
    border-bottom: 1px solid #333333;
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #e67e4d;
    transform: translateY(-50%);
}

/* Use Cases Section */
.usecases-section {
    background: #181818;
    padding: 80px 0;
}

.usecases-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

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

.usecase-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: block;
}

.usecase-card:only-child {
    max-width: calc(50% - 12px);
    margin: 0 auto;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230, 126, 77, 0.15);
}

.usecase-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.usecase-card-content {
    padding: 24px;
}

.usecase-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 8px;
}

.usecase-card-description {
    font-size: 14px;
    color: #b3b3b3;
    line-height: 1.5;
}

/* Industry Section */
.industry-section {
    background: #121212;
    padding: 80px 0;
}

.industry-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 48px;
    text-align: center;
}

.industry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 968px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

.industry-column {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 4px;
}

.industry-column h3 {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e67e4d;
}

.industry-column p {
    font-size: 16px;
    color: #b3b3b3;
    line-height: 1.7;
    margin-bottom: 16px;
}

.industry-column ul {
    list-style: none;
    padding-left: 0;
}

.industry-column ul li {
    padding: 20px 0 20px 24px;
    position: relative;
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.6;
}

.industry-column ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #e67e4d;
    transform: translateY(-50%);
}

/* FAQ Section */
.faq-section {
    background: #181818;
    padding: 80px 0;
}

.faq-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

.faq-item {
    border-bottom: 1px solid #333333;
    padding: 24px 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px;
}

.faq-answer {
    font-size: 16px;
    color: #b3b3b3;
    line-height: 1.6;
}

/* Related Pages Section */
.related-section {
    background: #121212;
    padding: 60px 0;
}

.related-section h2 {
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.related-link {
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 16px 24px;
    border-radius: 4px;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.related-link:hover {
    border-color: #e67e4d;
    color: #ffffff;
}

/* Related Articles Section */
.articles-section {
    background: #0d0d0d;
    padding: 60px 0;
}

.articles-section h2 {
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230, 126, 77, 0.15);
}

.article-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-card-content {
    padding: 24px;
}

.article-card-category {
    font-size: 12px;
    color: #e67e4d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.article-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.4;
}

.article-card-excerpt {
    font-size: 14px;
    color: #b3b3b3;
    line-height: 1.5;
    margin: 0;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: #b3b3b3;
    margin: 0 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #e67e4d;
    color: #ffffff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #d66d3d;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #0a0a0a;
    border-top: 1px solid #333333;
    padding: 40px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #808080;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e67e4d;
}

.footer-copyright {
    color: #808080;
    font-size: 14px;
}