/*
Theme Name: TechLoom
Theme URI: https://techloom.it
Author: Johnathen Chilcher
Author URI: https://techloom.it
Description: Custom WordPress theme for TechLoom - Senior SRE consulting services
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: techloom
Tags: custom-menu, custom-logo, featured-images, one-column
*/

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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient-1: #6366f1;
    --bg-gradient-2: #8b5cf6;
    --bg-accent: #eef2ff;
    --bg-accent-alt: #faf5ff;
    --teal: #06b6d4;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 12px 0;
    transition: color 0.3s ease;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(90deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 50%, var(--teal) 75%, var(--bg-gradient-1) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-services {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--bg-gradient-1);
    top: -250px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--bg-gradient-2);
    bottom: -200px;
    left: -100px;
    animation-delay: 7s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

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

/* Credibility Bar */
.credibility-bar {
    background: var(--text-primary);
    padding: 32px 0;
}

.credibility-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 140px 0;
    background: var(--bg-white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, var(--bg-gradient-1), var(--bg-gradient-2), var(--teal));
    border-radius: 3px;
}

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

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.view-all-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bg-gradient-1), var(--bg-gradient-2));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-tagline {
    font-weight: 600;
    color: var(--primary) !important;
    margin-bottom: 12px !important;
    font-size: 14px;
}

.service-price {
    margin-top: 16px !important;
    font-weight: 600;
    color: var(--text-primary) !important;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Who This Is For Section */
.who-for {
    padding: 80px 0;
    background: var(--bg-light);
    background-image: radial-gradient(circle, var(--border-light) 1px, transparent 1px);
    background-size: 24px 24px;
}

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

.who-for-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.who-for-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.who-for-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.who-for-card li {
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.good-fit li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

.not-fit li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: var(--bg-accent);
}

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

.portfolio-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    will-change: transform;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
    border-color: var(--primary);
}

.portfolio-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.portfolio-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.portfolio-card li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.portfolio-card li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.portfolio-tech {
    font-size: 13px;
    color: var(--text-secondary);
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-family: 'Monaco', 'Menlo', monospace;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.about-cta-box {
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.about-cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-cta-box p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--bg-white);
}

.booking-cta {
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    color: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 64px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.8s ease;
}

.booking-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.booking-cta h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 32px;
    font-weight: 700;
}

.booking-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.6;
}

.booking-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
    margin-bottom: 0;
}

.btn-booking {
    background: white;
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    margin-top: 64px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input,
.form-group textarea {
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.info-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card li {
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.info-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Page Hero (for subpages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero .container {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

.page-hero .blob-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -50px;
}

.page-hero .blob-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -50px;
}

.page-hero .blob-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 55%;
}

.page-hero .blob-4 {
    width: 220px;
    height: 220px;
    top: 30%;
    right: 20%;
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Page Detail Sections */
.service-detail {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.service-detail-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.service-detail-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.service-detail-tagline {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.service-detail-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.what-included h3,
.deliverables h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.what-included ul,
.deliverables ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.what-included li,
.deliverables li {
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.what-included li::before,
.deliverables li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.process-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    counter-reset: process-counter;
}

.process-list li {
    padding-left: 36px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    counter-increment: process-counter;
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pricing-tiers {
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 32px;
}

.service-detail.alt-bg .pricing-tiers {
    background: var(--bg-white);
}

.pricing-tiers h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.pricing-tier {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.pricing-tier:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-tier:first-of-type {
    padding-top: 0;
}

.tier-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tier-size {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tier-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.this-is-for-you {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
}

.service-detail.alt-bg .this-is-for-you {
    background: var(--bg-white);
}

.this-is-for-you h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.this-is-for-you ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.this-is-for-you li {
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.this-is-for-you li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Page CTA */
.page-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    text-align: center;
}

.page-cta h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.page-cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Portfolio Page */
.portfolio-full {
    padding: 80px 0;
}

.project-detail {
    padding: 64px 0;
    border-bottom: 1px solid var(--border-light);
}

.project-detail:last-child {
    border-bottom: none;
}

.project-detail.alt-bg {
    background: var(--bg-light);
    margin: 0 -24px;
    padding: 64px 24px;
}

.project-detail-header {
    margin-bottom: 32px;
}

.project-detail-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.project-subtitle {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
}

.project-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.project-detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-section li {
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-section li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.project-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-stack {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
}

.project-detail.alt-bg .tech-stack {
    background: var(--bg-white);
}

.tech-stack h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: var(--text-secondary);
}

.project-detail.alt-bg .tech-tag {
    background: var(--bg-light);
}

.project-outcome {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
}

.project-detail.alt-bg .project-outcome {
    background: var(--bg-white);
}

.project-outcome h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-outcome p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.demonstrates-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demonstrates-list li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.demonstrates-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-detail-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .services,
    .about,
    .contact,
    .portfolio {
        padding: 80px 0;
    }

    .credibility-stats {
        flex-direction: column;
        gap: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .who-for-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .who-for {
        padding: 60px 0;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero p {
        font-size: 18px;
    }

    .service-detail {
        padding: 60px 0;
    }

    .service-detail-header h2 {
        font-size: 32px;
    }

    .project-detail {
        padding: 48px 0;
    }

    .project-detail.alt-bg {
        padding: 48px 24px;
    }

    .project-detail-header h2 {
        font-size: 28px;
    }

    .page-cta {
        padding: 60px 0;
    }

    .page-cta h2 {
        font-size: 32px;
    }
}

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

    .section-header h2 {
        font-size: 28px;
    }

    .service-card,
    .about-cta-box,
    .info-card,
    .who-for-card,
    .portfolio-card {
        padding: 24px;
    }

    .credibility-bar {
        padding: 24px 0;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .service-detail-header h2 {
        font-size: 28px;
    }

    .pricing-tiers,
    .this-is-for-you,
    .tech-stack,
    .project-outcome {
        padding: 20px;
    }

    .page-cta h2 {
        font-size: 28px;
    }
}

/* ========================================
   Announcement Banner
   ======================================== */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    color: white;
    padding: 12px 24px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.announcement-banner a:hover {
    opacity: 0.9;
}

.announcement-banner .banner-dismiss {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.announcement-banner .banner-dismiss:hover {
    opacity: 1;
}

body.has-banner .navbar {
    top: 44px;
}

body.has-banner .mobile-menu {
    top: 109px;
}

body.has-banner .hero {
    padding-top: 124px;
}

body.has-banner .page-hero {
    padding-top: 204px;
}

/* ========================================
   Product Hero (Ledgr page)
   ======================================== */
.product-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
}

.product-hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.product-hero h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-hero-description {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 40px;
}

.product-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.product-hero-badge {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   Privacy Highlights
   ======================================== */
.privacy-highlights {
    padding: 120px 0;
    background: var(--bg-white);
}

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

/* ========================================
   Feature Grid (checklist)
   ======================================== */
.features-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-check-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-check-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.feature-check-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

/* ========================================
   Screenshots
   ======================================== */
.screenshots-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.screenshot-zoom-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.screenshot-item:hover .screenshot-zoom-hint {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.download-version {
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.download-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.download-primary {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.download-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.download-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.download-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.download-card .btn-primary,
.download-card .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

.download-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

/* ========================================
   Ledgr Support Links
   ======================================== */
.ledgr-support-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Legal Content Pages
   ======================================== */
.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-left: 0;
}

.legal-content li {
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-content li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.legal-table th {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-light);
}

.legal-table td {
    color: var(--text-secondary);
}

/* ========================================
   Footer Legal Links
   ======================================== */
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ========================================
   Responsive: New Components
   ======================================== */
@media (max-width: 1024px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .announcement-banner {
        font-size: 13px;
        padding: 10px 40px 10px 16px;
    }

    body.has-banner .navbar {
        top: 40px;
    }

    body.has-banner .mobile-menu {
        top: 105px;
    }

    body.has-banner .hero {
        padding-top: 120px;
    }

    body.has-banner .page-hero {
        padding-top: 160px;
    }

    .product-hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .product-hero h1 {
        font-size: 48px;
    }

    .product-hero-subtitle {
        font-size: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .privacy-highlights,
    .features-section,
    .screenshots-section,
    .download-section {
        padding: 80px 0;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .ledgr-support-links {
        flex-direction: column;
        align-items: center;
    }

    .ledgr-support-links .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .product-hero h1 {
        font-size: 40px;
    }

    .product-hero-subtitle {
        font-size: 18px;
    }

    .product-hero-description {
        font-size: 18px;
    }

    .download-card {
        padding: 24px 16px;
    }

    .legal-content h2 {
        font-size: 24px;
    }

    .legal-content h3 {
        font-size: 18px;
    }
}

/* ========================================
   Phase 1: Visual Polish
   ======================================== */

/* 4th blob - teal */
.blob-4 {
    width: 350px;
    height: 350px;
    background: var(--teal);
    top: 30%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Trust badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.trust-badge svg {
    flex-shrink: 0;
}

/* Risk-reversal line */
.hero-risk-reversal {
    margin-top: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.9;
}

/* Particle canvas overlay */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Wave divider between hero and credibility */
.wave-divider {
    position: relative;
    height: 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.wave-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--text-primary);
    clip-path: polygon(0 40%, 25% 60%, 50% 40%, 75% 60%, 100% 40%, 100% 100%, 0 100%);
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   Phase 2: Why TechLoom Section
   ======================================== */
.why-techloom {
    padding: 120px 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

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

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.why-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.why-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Phase 2: Testimonials Section
   ======================================== */
.testimonials {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    padding: 32px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========================================
   Phase 2: FAQ Section
   ======================================== */
.faq {
    padding: 120px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ========================================
   Phase 2: Contact Enhancements
   ======================================== */
.booking-icon svg {
    width: 48px;
    height: 48px;
}

.risk-reversal-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 12px;
    margin-top: 24px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.risk-reversal-box svg {
    flex-shrink: 0;
    color: white;
}

.what-happens-next {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.what-happens-next h3 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.next-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 16px;
}

.next-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.next-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   Phase 3: Breadcrumbs
   ======================================== */
.breadcrumbs {
    padding: 12px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    margin-top: 65px;
}

.breadcrumbs + .page-hero,
.breadcrumbs + .product-hero {
    padding-top: 80px;
}

body.has-banner .breadcrumbs {
    margin-top: 109px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list .separator {
    color: var(--text-secondary);
}

.breadcrumb-list .current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   Phase 3: Footer Social Icons
   ======================================== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Phase 4: Blog Styles
   ======================================== */
.blog-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 0;
}

.blog-card {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
}

.blog-card:first-child {
    padding-top: 0;
}

.blog-card:last-child {
    border-bottom: none;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}

.blog-date {
    color: var(--text-secondary);
}

.blog-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

/* Blog Post Template */
.blog-post {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 0;
    overflow: hidden;
}

.blog-post > .container {
    position: relative;
    z-index: 10;
}

.blog-post .blob-1 {
    width: 250px;
    height: 250px;
    top: -60px;
    right: -80px;
}

.blog-post .blob-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -80px;
}

.blog-post .blob-3 {
    width: 180px;
    height: 180px;
    top: 15%;
    left: 50%;
}

.blog-post-header {
    margin-bottom: 48px;
}

.blog-post-header h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.blog-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.blog-author-info {
    display: flex;
    flex-direction: column;
}

.blog-author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.blog-author-role {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Blog prose */
.blog-prose h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-prose h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-prose p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

.blog-prose ul,
.blog-prose ol {
    margin-bottom: 20px;
    padding-left: 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.blog-prose li {
    margin-bottom: 8px;
    font-size: 17px;
}

.blog-prose blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.blog-prose code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.blog-prose pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
}

.blog-prose pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.blog-prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.blog-prose th,
.blog-prose td {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-light);
    text-align: left;
}

.blog-prose th {
    background: var(--bg-light);
    color: var(--text-primary);
    font-weight: 600;
}

.blog-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.blog-prose .image-caption {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    margin-top: -0.75rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.blog-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    overflow: auto;
    cursor: zoom-out;
    padding: 2rem;
}

.blog-lightbox.active {
    display: flex;
    align-items: start;
    justify-content: center;
}

.blog-lightbox img {
    max-width: none;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: default;
}

/* Blog end-of-post CTA */
.blog-cta-box {
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    margin-top: 64px;
}

.blog-cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.blog-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.blog-cta-box .btn-primary:hover {
    background: var(--bg-light);
}

/* Blog Share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.share-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.share-links {
    display: flex;
    gap: 12px;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
}

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

/* Blog Post Navigation */
.blog-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.blog-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    border-radius: 12px;
    background: var(--bg-light);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.blog-nav-link:hover {
    background: var(--bg-accent);
    box-shadow: var(--shadow-md);
}

.blog-nav-next {
    text-align: right;
    margin-left: auto;
}

.blog-nav-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-nav-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Blog inline CTA (Phase 5) */
.blog-inline-cta {
    background: var(--bg-accent);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.blog-inline-cta h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.blog-inline-cta p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 15px;
}

/* ========================================
   Phase 5: Newsletter Signup
   ======================================== */
.footer-newsletter {
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 15px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.newsletter-message {
    margin-top: 12px;
    font-size: 14px;
    color: #22c55e;
    display: none;
}

.newsletter-message.visible {
    display: block;
}

/* ========================================
   Phase 5: Lead Magnet Section
   ======================================== */
.lead-magnet {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lead-magnet-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.lead-magnet-text .lead-magnet-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.lead-magnet-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead-magnet-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.lead-magnet-benefits li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.lead-magnet-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.lead-magnet-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.lead-magnet-form .form-group {
    margin-bottom: 16px;
}

.lead-magnet-form label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.lead-magnet-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.lead-magnet-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lead-magnet-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.lead-magnet-form .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 16px;
    font-size: 17px;
}

.lead-magnet-message {
    margin-top: 12px;
    font-size: 14px;
    color: #22c55e;
    text-align: center;
    display: none;
}

.lead-magnet-message.visible {
    display: block;
}

/* ========================================
   Checklist Page
   ======================================== */
.checklist-hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.checklist-section {
    padding: 80px 0;
}

.checklist-content {
    max-width: 800px;
    margin: 0 auto;
}

.checklist-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.checklist-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    padding: 12px 24px;
}

.checklist-progress {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.checklist-category {
    margin-bottom: 56px;
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.category-icon.security {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.category-icon.performance {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.category-icon.ai-flags {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.category-icon.production {
    background: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
}

.category-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.category-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.checklist-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    margin-bottom: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.checklist-item.checked {
    background: #f0fdf4;
    border-color: #86efac;
}

.checklist-checkbox {
    display: flex;
    align-items: flex-start;
    padding-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.checklist-checkbox input[type="checkbox"] {
    display: none;
}

.checklist-checkbox .checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.checklist-checkbox .checkmark::after {
    content: "";
    display: none;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checklist-checkbox input:checked + .checkmark {
    background: #22c55e;
    border-color: #22c55e;
}

.checklist-checkbox input:checked + .checkmark::after {
    display: block;
}

.checklist-checkbox:hover .checkmark {
    border-color: var(--primary);
}

.checklist-item-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.checklist-item-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Scoring Rubric */
.checklist-scoring {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid var(--border-light);
}

.checklist-scoring h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.scoring-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 16px;
}

.scoring-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.score-tier {
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid;
}

.score-tier .tier-range {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.score-tier .tier-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.score-tier p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tier-excellent {
    background: #f0fdf4;
    border-color: #22c55e;
}

.tier-excellent .tier-range,
.tier-excellent .tier-label {
    color: #166534;
}

.tier-good {
    background: #eff6ff;
    border-color: #3b82f6;
}

.tier-good .tier-range,
.tier-good .tier-label {
    color: #1e40af;
}

.tier-warning {
    background: #fffbeb;
    border-color: #f59e0b;
}

.tier-warning .tier-range,
.tier-warning .tier-label {
    color: #92400e;
}

.tier-critical {
    background: #fef2f2;
    border-color: #ef4444;
}

.tier-critical .tier-range,
.tier-critical .tier-label {
    color: #991b1b;
}

/* Checklist CTA */
.checklist-cta {
    margin-top: 64px;
    padding: 48px;
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.checklist-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.checklist-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 32px;
}

.checklist-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.checklist-cta .btn-primary:hover {
    background: var(--bg-light);
}

.checklist-cta .btn-secondary {
    border-color: white;
    color: white;
}

.checklist-cta .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Direct-visit notice */
.checklist-direct-notice {
    background: var(--bg-accent);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    margin-top: 65px;
}

.checklist-direct-notice .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.checklist-direct-notice p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.checklist-direct-notice a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.checklist-direct-notice a:hover {
    text-decoration: underline;
}

.checklist-direct-notice .banner-dismiss {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.checklist-direct-notice .banner-dismiss:hover {
    opacity: 1;
}

/* When direct notice is shown, push hero down */
.checklist-direct-notice + .page-hero {
    padding-top: 80px;
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu,
    .footer,
    .checklist-actions,
    .checklist-direct-notice,
    .checklist-cta {
        display: none !important;
    }

    body {
        font-size: 11pt;
        color: #000;
        background: white;
    }

    .page-hero {
        padding: 20px 0 !important;
        background: none !important;
    }

    .page-hero h1 {
        font-size: 24pt;
        color: #000;
    }

    .page-hero p {
        color: #333;
    }

    .checklist-hero-badge {
        border: 1px solid #999;
        color: #333;
        background: none;
    }

    .checklist-section {
        padding: 0;
    }

    .checklist-content {
        max-width: 100%;
    }

    .checklist-category {
        page-break-inside: avoid;
        margin-bottom: 24px;
    }

    .checklist-item {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 8px;
        padding: 12px;
    }

    .checklist-item.checked {
        background: none;
        border-color: #ccc;
    }

    .checklist-checkbox .checkmark {
        width: 18px;
        height: 18px;
        border: 2px solid #333;
        border-radius: 3px;
        background: white !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .checklist-checkbox input:checked + .checkmark {
        background: #333 !important;
        border-color: #333;
    }

    .checklist-checkbox input:checked + .checkmark::after {
        border-color: white;
    }

    .category-icon {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .scoring-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .score-tier {
        padding: 12px;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .checklist-scoring {
        page-break-before: always;
        margin-top: 24px;
        padding-top: 0;
        border: none;
    }
}

/* Checklist Responsive */
@media (max-width: 768px) {
    .checklist-actions {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .category-header h2 {
        font-size: 20px;
    }

    .scoring-grid {
        grid-template-columns: 1fr;
    }

    .checklist-cta {
        padding: 32px 24px;
    }

    .checklist-cta h2 {
        font-size: 24px;
    }

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

    .checklist-direct-notice {
        margin-top: 61px;
    }
}

@media (max-width: 480px) {
    .checklist-item {
        padding: 16px;
    }

    .score-tier {
        padding: 16px;
    }

    .score-tier .tier-range {
        font-size: 24px;
    }

    .checklist-cta {
        padding: 24px 16px;
    }
}

/* ========================================
   Responsive: New Components (Phases 1-5)
   ======================================== */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .lead-magnet-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .next-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .trust-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .wave-divider {
        height: 40px;
    }

    .wave-divider::after {
        height: 40px;
    }

    .why-techloom,
    .testimonials,
    .faq,
    .lead-magnet {
        padding: 80px 0;
    }

    .blog-post-header h1 {
        font-size: 28px;
    }

    .blog-prose h2 {
        font-size: 24px;
    }

    .blog-cta-box {
        padding: 32px 24px;
    }

    .blog-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .blog-navigation {
        grid-template-columns: 1fr;
    }

    .blog-nav-next {
        text-align: left;
    }

    .lead-magnet-text h2 {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .next-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 300px;
        margin: 0 auto;
    }

    .risk-reversal-box {
        flex-direction: column;
        text-align: center;
    }

    .breadcrumbs {
        margin-top: 61px;
    }

    body.has-banner .breadcrumbs {
        margin-top: 101px;
    }
}

@media (max-width: 480px) {
    .lead-magnet-form {
        padding: 24px;
    }

    .blog-inline-cta {
        padding: 24px;
    }

    .faq-question {
        font-size: 15px;
        padding: 16px 20px;
    }
}
