/* ================================
   AMD Automation - Corporate Design System
   Inspired by SDC Automation
   ================================ */

/* CSS Variables */
:root {
    --primary: #1574c4;
    --primary-dark: #0d5a9e;
    --secondary: #befa4f;
    --secondary-dark: #a8e035;
    --dark: #231f20;
    --text: #333131;
    --text-light: #666666;
    --light-bg: #f3f3f3;
    --white: #ffffff;
    --border: #e0e0e0;

    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition: 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --container-max: 1400px;
    --container-narrow: 900px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

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

.container-narrow {
    max-width: var(--container-narrow);
}

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

/* ================================
   Header & Navigation
   ================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--dark);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--light-bg);
}

.nav-cta {
    margin-left: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--light-bg);
    border-color: var(--light-bg);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    margin-top: 70px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.85) 0%, rgba(21, 116, 196, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================
   Stats Section
   ================================ */
.stats-section {
    background: var(--light-bg);
    padding: 4rem 0;
}

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

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

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

/* ================================
   Section Styles
   ================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-alt {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,0.8);
}

/* ================================
   Capability Cards
   ================================ */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.capability-card:hover .capability-icon {
    background: var(--primary);
    color: var(--white);
}

.capability-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.capability-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

.capability-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.capability-card .card-link:hover {
    gap: 0.75rem;
}

/* ================================
   Industry Cards
   ================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-card-image {
    height: 160px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.industry-card-body {
    padding: 1.5rem;
    text-align: center;
}

.industry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ================================
   Client Logos
   ================================ */
.logos-section {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logos-grid img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.logos-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ================================
   CTA Section
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Page Content
   ================================ */
.page-hero {
    background: var(--dark);
    padding: 8rem 0 4rem;
    margin-top: 70px;
}

.page-hero-content {
    max-width: 800px;
}

.page-hero .breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

.page-content {
    padding: 4rem 0;
}

.content-body {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.content-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-body ul,
.content-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.content-body img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.content-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* ================================
   Blog Layout (StandardBots Style)
   ================================ */
.blog-layout {
    display: grid;
    grid-template-columns: 250px 1fr 280px;
    gap: 3rem;
    padding: 3rem 0;
}

.blog-sidebar-left {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.blog-sidebar-right {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-left: 2px solid transparent;
    padding-left: 1rem;
    margin-left: -1rem;
    transition: var(--transition);
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--primary);
    border-left-color: var(--primary);
}

.blog-main {
    min-width: 0;
}

.blog-article-header {
    margin-bottom: 2rem;
}

.blog-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.related-articles {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.related-articles h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.related-article-item {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
}

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

.related-article-item:hover {
    color: var(--primary);
}

.related-article-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.related-article-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.sidebar-cta {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

@media (max-width: 1100px) {
    .blog-layout {
        grid-template-columns: 1fr 280px;
    }
    .blog-sidebar-left {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar-right {
        position: static;
        order: -1;
    }
}

/* ================================
   Equipment Detail Page
   ================================ */
.equipment-detail {
    padding: 3rem 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.equipment-gallery .main-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    margin-bottom: 1rem;
}

.equipment-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-row {
    display: flex;
    gap: 0.75rem;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary);
}

.equipment-info h1 {
    margin-bottom: 1rem;
}

.equipment-price {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.equipment-specs {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.equipment-specs h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.specs-table {
    width: 100%;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table th,
.specs-table td {
    padding: 0.75rem 0;
    text-align: left;
}

.specs-table th {
    font-weight: 500;
    color: var(--text-light);
}

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

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

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-sold {
    background: #f8d7da;
    color: #721c24;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

/* ================================
   Footer
   ================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ================================
   Responsive Navigation
   ================================ */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta {
        margin: 1rem 0 0;
    }

    .nav-cta .btn {
        width: 100%;
    }
}

/* ================================
   Utility Classes
   ================================ */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--dark); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* ================================
   Page Hero (Interior Pages)
   ================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero .section-label {
    color: var(--secondary);
}

.page-hero .page-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: var(--secondary);
}

/* ================================
   Process Section
   ================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.2;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

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

/* ================================
   Capability Page Specific
   ================================ */
.capability-content {
    max-width: 900px;
    margin: 0 auto;
}

.capability-content .content-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.capability-content .content-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.capability-content .content-body ul,
.capability-content .content-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.capability-content .content-body li {
    margin-bottom: 0.75rem;
}

.capability-features {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
}

.capability-features h2 {
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

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

/* Capabilities Grid Large */
.capabilities-grid-large {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.capability-card-large {
    padding: 3rem 2rem;
}

.capability-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 576px) {
    .capabilities-grid-large {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Applications Grid
   ================================ */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.application-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.application-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.application-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

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

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

/* ================================
   Benefits Grid
   ================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

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

/* ================================
   Industries Page Specific
   ================================ */
.industries-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card-large {
    display: block;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.industry-card-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.industry-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.industry-card-large h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.industry-card-large p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.industry-card-large .card-link {
    color: var(--primary);
    font-weight: 600;
}

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

@media (max-width: 576px) {
    .industries-grid-large {
        grid-template-columns: 1fr;
    }
}

/* Industry Page Content */
.industry-content {
    max-width: 900px;
    margin: 0 auto;
}

.industry-content .content-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.industry-content .content-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.solution-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.solution-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

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

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

/* Challenges List */
.challenges-list {
    max-width: 900px;
    margin: 0 auto;
}

.challenge-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

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

.challenge-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.challenge-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.challenge-item p {
    color: var(--text-light);
    margin: 0;
}

/* Expertise Content */
.expertise-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.expertise-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

/* ================================
   About Page Specific
   ================================ */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content .content-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content .content-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.about-content .content-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about-content .content-body li {
    margin-bottom: 0.75rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text);
    margin: 0;
}

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

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

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

/* Certifications */
.certifications-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.certification-item {
    background: var(--light-bg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--dark);
}

/* ================================
   Contact Page
   ================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.contact-info > p,
.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    margin: 0;
    color: var(--text);
}

.contact-method a {
    color: var(--primary);
}

.business-hours {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.business-hours h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.business-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.business-hours li:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.contact-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 116, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
}

/* Form Status Messages */
.form-status {
    margin-bottom: 1rem;
}

.form-status p {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 0;
}

.form-status .success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ================================
   Blog Index Page
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-grid-small {
    grid-template-columns: repeat(3, 1fr);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card h2 a,
.blog-card h3 a {
    color: var(--dark);
    text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

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

@media (max-width: 576px) {
    .blog-grid,
    .blog-grid-small {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Blog Post / Article Page
   ================================ */
.article-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
}

.article-hero .breadcrumb {
    margin-bottom: 1.5rem;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.article-title {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    max-width: 900px;
}

.article-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-meta .author {
    font-weight: 500;
}

/* 3-Column Article Layout */
.article-section {
    padding-top: 3rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 3rem;
    align-items: start;
}

/* Left Sidebar: TOC */
.article-toc {
    position: sticky;
    top: 100px;
}

.toc-wrapper {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.toc-wrapper h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-link {
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    margin-left: -0.75rem;
    transition: var(--transition);
}

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

.toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 500;
}

.toc-empty {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Main Article Content */
.article-content {
    max-width: 100%;
    min-width: 0;
}

.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.article-body h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.article-body h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.article-body code {
    background: var(--light-bg);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.article-body pre {
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 2rem 0;
}

.article-body pre code {
    background: none;
    padding: 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    margin-top: 3rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.share-section span {
    font-weight: 500;
}

.share-links {
    display: flex;
    gap: 0.75rem;
}

.share-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.share-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Right Sidebar: Related Articles */
.article-related {
    position: sticky;
    top: 100px;
}

.related-wrapper {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.related-wrapper h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.related-post {
    display: block;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.related-post:hover {
    box-shadow: var(--shadow-sm);
}

.related-post h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.related-post p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-related {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Sidebar CTA */
.sidebar-cta {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--primary);
    border-radius: var(--radius-md);
    text-align: center;
}

.sidebar-cta h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.sidebar-cta .btn {
    background: var(--white);
    color: var(--primary);
}

.sidebar-cta .btn:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* Responsive Article Layout */
@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 200px 1fr 240px;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-toc {
        display: none;
    }

    .article-related {
        position: static;
        margin-top: 3rem;
    }

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

    .related-wrapper h3 {
        grid-column: 1 / -1;
    }

    .sidebar-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .related-wrapper {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
