/* ============================================
   Ultreia.ai — Shared Stylesheet
   Clean, professional, dark-tech aesthetic
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-blue: #0A1628;
    --primary-deep: #060d19;
    --accent-cyan: #00D4FF;
    --accent-cyan-bright: #00E5FF;
    --accent-cyan-dim: rgba(0, 212, 255, 0.15);
    --bg-dark: #0A1628;
    --bg-surface: #1a2841;
    --bg-surface-alt: #162237;
    --bg-input: #2f3d52;
    --text-primary: #FFFFFF;
    --text-secondary: #B4C1D8;
    --text-muted: #7A8BA3;
    --border-default: #2a3f5f;
    --border-subtle: #1f3050;
    --success: #00FF88;
    --error: #FF6B6B;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --max-width: 1200px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--accent-cyan-bright);
}

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

/* --- Background Effects --- */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.glow {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.container--narrow {
    max-width: 900px;
}

/* --- Header / Navigation --- */
header {
    padding: 0;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.logo span {
    color: var(--accent-cyan);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--text-primary);
}

.nav-links > li > a.active {
    color: var(--accent-cyan);
}

/* Dropdown */
.dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 240px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.dropdown.open .dropdown-menu {
    display: block;
}

@media (min-width: 1025px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.dropdown-menu a:hover {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.05);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-subtle);
}

.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color var(--transition);
}

.lang-link:hover {
    color: var(--accent-cyan);
}

.lang-link.active {
    color: var(--text-primary);
    font-weight: 700;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

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

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

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

/* --- Sections --- */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    text-align: center;
}

/* --- Hero Section --- */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    color: var(--accent-cyan);
}

.hero .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-wrap: balance;
}

.hero .subtitle strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* --- CTA Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--accent-cyan-bright);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan-bright);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.15rem 3rem;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Urgency / Problem Section --- */
.urgency-section {
    padding: 4rem 0;
}

.urgency-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

.urgency-text strong {
    color: var(--text-primary);
}

/* --- Process / Steps Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.process-step {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    text-align: center;
}

.section-alt .process-step {
    background: var(--bg-dark);
}

.process-step:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Industry Cards --- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.industry-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}

.section-alt .industry-card {
    background: var(--bg-dark);
}

.industry-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.industry-card-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.industry-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.industry-card-stat {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.industry-card-link {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.industry-card-link::after {
    content: ' \2192';
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 600px;
}

.comparison-table thead th {
    background: var(--bg-surface);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table thead th:last-child {
    color: var(--accent-cyan);
}

.comparison-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    vertical-align: top;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

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

.comparison-table tbody td:last-child {
    color: var(--accent-cyan);
    font-weight: 600;
}

.comparison-table .highlight-col {
    background: rgba(0, 212, 255, 0.04);
}

/* --- Pricing Highlight --- */
.pricing-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.04) 100%);
    border: 2px solid var(--accent-cyan);
    border-radius: 16px;
    padding: 3rem;
    margin: 2.5rem auto;
    text-align: center;
    max-width: 800px;
}

.pricing-highlight h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-highlight p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.pricing-highlight strong {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* --- Benefits / Feature Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.benefit-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all var(--transition);
}

.section-alt .benefit-card {
    background: var(--bg-dark);
}

.benefit-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- Case / Evidence Cards --- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.case-card {
    background: var(--bg-surface);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent-cyan);
}

.section-alt .case-card {
    background: var(--bg-dark);
}

.case-card-company {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.case-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.case-card-source {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
    opacity: 0.65;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.case-card-source:hover {
    opacity: 1;
    text-decoration: underline;
}

.case-card-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* --- ROI Scenarios --- */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.roi-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.roi-card-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.roi-card-metric {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.roi-card-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Contact / Form Section --- */
.contact-section {
    background: var(--bg-surface);
    padding: 5rem 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: all var(--transition);
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

/* Legacy email form support */
.email-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: all var(--transition);
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: var(--accent-cyan);
    color: var(--primary-blue);
    border: none;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition);
}

.submit-btn:hover {
    background: var(--accent-cyan-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

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

.form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--error);
}

/* --- CTA Banner --- */
.cta-banner {
    text-align: center;
    padding: 4rem 0;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Flywheel Diagram --- */
.flywheel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.flywheel-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.flywheel-step::after {
    content: '\2192';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: 700;
}

.flywheel-step:last-child::after {
    content: '\21BB';
    right: -15px;
}

.flywheel-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.flywheel-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.flywheel-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.team-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.team-card-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.team-card-role {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-card-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Blog / Insights Cards --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.insight-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}

.insight-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.insight-card-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.insight-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.insight-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Page Hero (for inner pages) --- */
.page-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Content Sections --- */
.content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.content-block h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.content-block ul, .content-block ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* --- Text Accent --- */
.text-cyan {
    color: var(--accent-cyan);
}

.text-white {
    color: var(--text-primary);
}

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

/* --- Divider --- */
.divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 3rem 0;
}

/* --- Footer --- */
footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links-column h4 {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

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

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

.footer-links-column a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* --- Stat Counters --- */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* --- Check List --- */
.check-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.check-list li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Remove backdrop-filter on mobile header so position:fixed nav works correctly.
       backdrop-filter creates a containing block for fixed children, breaking full-screen overlay. */
    header {
        background: rgba(10, 22, 40, 1);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Mobile Navigation — kicks in at 1024px for 7 nav items + lang switcher */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4rem 1.5rem 2rem;
    }

    .main-nav.open {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: center;
        width: 100%;
        max-width: 400px;
    }

    .nav-links > li {
        width: 100%;
        text-align: center;
    }

    .nav-links > li > a {
        font-size: 1.15rem;
        padding: 0.85rem 1rem;
        display: block;
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        min-width: auto;
        text-align: center;
        display: none;
        padding: 0;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown > a::after {
        transition: transform 0.3s ease;
    }

    .dropdown.open > a::after {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        text-align: center;
        color: var(--text-muted);
    }

    .dropdown-menu a:hover {
        color: var(--accent-cyan);
    }

    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-subtle);
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: block;
        position: relative;
    }

    .header-content {
        padding: 0.8rem 1.25rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero h1 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Grids */
    .process-grid,
    .benefits-grid,
    .industry-grid,
    .case-grid,
    .roi-grid,
    .team-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .process-step, .benefit-card, .industry-card {
        padding: 1.5rem;
    }

    .email-form {
        flex-direction: column;
        align-items: stretch;
    }

    .email-input, .submit-btn {
        width: 100%;
    }

    .pricing-highlight {
        padding: 2rem 1.5rem;
    }

    .comparison-table-wrapper {
        margin: 2rem -1.25rem;
        border-radius: 0;
    }

    .stats-row {
        gap: 2rem;
    }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1.25rem;
    }

    .footer-brand {
        margin-bottom: 1rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
        width: 100%;
        text-align: center;
    }

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

    .footer-links-column h4 {
        margin-bottom: 0.5rem;
    }

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

    .footer-bottom {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Flywheel mobile */
    .flywheel {
        flex-direction: column;
    }

    .flywheel-step::after {
        content: '\2193';
        position: static;
        display: block;
        margin-top: 0.5rem;
        font-size: 1.2rem;
    }

    .flywheel-step:last-child::after {
        content: '\21BB';
        position: static;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

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

    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

