/* ======================================================================
   Inner pages shared styles
   ====================================================================== */

/* Breadcrumb */
.breadcrumb-nav {
    padding: 104px 0 0;
    background: var(--bg-primary, #030712);
}
.breadcrumb-list {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}
.breadcrumb-list a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-list a:hover { color: #9ca3af; }
.breadcrumb-list li:last-child { color: #9ca3af; }
.breadcrumb-sep { color: #4b5563; }

/* Page hero */
.page-hero {
    padding: 40px 0 80px;
    background: var(--bg-primary, #030712);
}
.page-hero-content { max-width: 720px; }
.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary, #f9fafb);
}
.page-hero p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary, #9ca3af);
    margin-bottom: 32px;
}
.page-hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Benefit cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.benefit-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}
.benefit-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #00d4ff;
}
.benefit-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary, #f9fafb);
}
.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.6;
    margin: 0;
}

/* Process steps */
.process-steps { margin-top: 48px; }
.process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.process-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.2);
    font-family: 'Space Grotesk', sans-serif;
    flex-shrink: 0;
    width: 56px;
    line-height: 1;
    padding-top: 4px;
}
.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary, #f9fafb);
}
.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.7;
    margin: 0;
}

/* FAQ */
.faq-list { margin-top: 48px; }
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary, #f9fafb);
    margin-bottom: 12px;
}
.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.7;
    margin: 0;
}

/* Related services */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 32px;
}
.related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px 24px;
    text-decoration: none;
    color: var(--text-primary, #f9fafb);
    transition: border-color 0.2s, background 0.2s;
    display: block;
}
.related-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}
.related-card span {
    font-size: 0.875rem;
    color: #9ca3af;
    display: block;
    margin-top: 4px;
}

/* Value cards (about page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 28px;
}
.value-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #f9fafb);
    margin-bottom: 8px;
}
.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.6;
    margin: 0;
}

/* Stats row */
.stats-row {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}
.stat-block { text-align: center; flex: 1; min-width: 120px; }
.stat-block .stat-big {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.stat-block .stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}

/* Case study cards */
.case-study-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    transition: border-color 0.3s;
}
.case-study-card:hover { border-color: rgba(0, 212, 255, 0.2); }
.case-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 6px;
    padding: 4px 12px;
    margin-bottom: 20px;
}
.case-metric {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 4px;
    line-height: 1.1;
}
.case-metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #f9fafb);
    margin-bottom: 24px;
    display: block;
}
.case-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.case-body-block h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
    margin-bottom: 8px;
}
.case-body-block p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00d4ff;
}
.contact-info-text h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary, #f9fafb);
    margin-bottom: 4px;
}
.contact-info-text p, .contact-info-text a {
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: none;
    margin: 0;
    line-height: 1.5;
}
.contact-info-text a:hover { color: #00d4ff; }
.expect-list { list-style: none; padding: 0; margin: 20px 0 0; }
.expect-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
}
.expect-list li::before {
    content: '→';
    color: #00d4ff;
    flex-shrink: 0;
    margin-top: 1px;
}
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
}

/* 404 page */
.not-found-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}
.not-found-code {
    font-size: 8rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}
.not-found-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Inner page section spacing */
.inner-section { padding: 80px 0; }
.inner-section + .inner-section { padding-top: 0; }

/* Services hub grid */
.services-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.service-hub-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    text-decoration: none;
    color: var(--text-primary, #f9fafb);
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.service-hub-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-4px);
}
.service-hub-card .service-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #00d4ff;
}
.service-hub-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary, #f9fafb);
}
.service-hub-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}
.service-hub-card .card-link {
    font-size: 0.875rem;
    color: #00d4ff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 640px) {
    .stats-row { gap: 24px; padding: 28px; }
    .case-study-card { padding: 28px; }
    .contact-form-wrapper { padding: 28px; }
    .not-found-code { font-size: 5rem; }
}
