/*
Theme Name: TechX Maestro
Theme URI: https://techxmaestro.com
Author: TechX Maestro
Author URI: https://techxmaestro.com
Description: Proprietary custom block theme for techxmaestro.com — cyberpunk-corporate design for the TechX Maestro parent brand. Dark hero, glowing logo, product grid, full page set.
Version: 0.6.1
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary — see LICENSE
Text Domain: techxmaestro

Copyright (c) 2026 TechX Maestro. All rights reserved.
*/

/* ============================================================
   BASE
   ============================================================ */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
a { text-decoration: none; transition: color .15s ease, opacity .15s ease; }
a:hover { text-decoration: underline; }

::selection { background: #FF00B2; color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.techx-site-header {
    background: rgba(3, 6, 16, 0.92) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.techx-site-header .wp-block-navigation__container a {
    color: rgba(230,242,255,.75) !important;
    transition: color .15s ease;
    font-weight: 500;
}
.techx-site-header .wp-block-navigation__container a:hover {
    color: #FF00B2 !important;
    text-decoration: none;
}
.techx-site-header .wp-block-navigation__container .current-menu-item a {
    color: #00D4FF !important;
}
.techx-site-header .wp-block-site-title { display: none !important; }

.techx-logo-header {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none !important;
}
.techx-logo-header svg { height: 36px; width: 36px; flex-shrink: 0; }
.techx-logo-header .techx-wordmark {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #E6F2FF;
}

/* ============================================================
   HERO (home)
   ============================================================ */
.techx-hero {
    background: #030610 !important;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0,212,255,.07) 1px, transparent 0) !important;
    background-size: 32px 32px !important;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-hero::before {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    transform: translateX(-50%);
    width: 90%; max-width: 900px; height: 70%;
    background: radial-gradient(ellipse at center, rgba(255,0,178,.22) 0%, rgba(0,212,255,.08) 40%, transparent 70%);
    pointer-events: none; z-index: 0; filter: blur(40px);
}
.techx-hero > * { position: relative; z-index: 1; }

.techx-hero-logo { display: flex; justify-content: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.techx-hero-logo svg {
    width: clamp(96px, 10vw, 140px);
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255,0,178,.35));
    animation: techx-logo-pulse 4s ease-in-out infinite;
}
@keyframes techx-logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(255,0,178,.35)); }
    50%      { filter: drop-shadow(0 0 60px rgba(255,0,178,.55)) drop-shadow(0 0 80px rgba(0,212,255,.25)); }
}

.techx-hero-eyebrow {
    color: #00D4FF !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem; letter-spacing: .2em;
    text-transform: uppercase; font-weight: 500;
    text-align: center; margin: 0 !important;
}

.techx-hero h1 {
    color: #E6F2FF !important;
    font-size: clamp(2.25rem, 6vw, 5.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    text-align: center;
    max-width: 960px;
    margin: clamp(1rem, 2vw, 1.5rem) auto 0 !important;
}
.techx-hero h1 .accent {
    background: linear-gradient(90deg, #FF00B2 0%, #00D4FF 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.techx-hero p:not(.techx-hero-eyebrow) {
    color: rgba(230,242,255,.65) !important;
    font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
    line-height: 1.6 !important;
    text-align: center; max-width: 640px;
    margin: clamp(1.5rem, 3vw, 2rem) auto 0 !important;
}

.techx-hero .wp-block-buttons {
    margin-top: clamp(2rem, 4vw, 2.5rem) !important;
    display: flex !important; gap: 1rem !important;
    justify-content: center !important; flex-wrap: wrap;
}
.techx-hero .wp-block-button__link {
    background: #FF00B2 !important; color: #030610 !important;
    border: 1px solid #FF00B2 !important;
    padding: .9rem 1.9rem !important;
    font-weight: 600 !important; font-size: .95rem !important;
    letter-spacing: .01em !important; border-radius: 4px !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.techx-hero .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,0,178,.4);
}
.techx-hero .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important; color: #E6F2FF !important;
    border: 1px solid rgba(230,242,255,.3) !important;
}
.techx-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: rgba(230,242,255,.08) !important; border-color: #E6F2FF !important;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.techx-stats {
    background: #030610 !important;
    border-top: 1px solid rgba(0, 212, 255, 0.1) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}
.techx-stat { position: relative; }
.techx-stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #FF00B2;
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}
.techx-stat-label {
    color: rgba(230,242,255,.55);
    font-size: .8rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: .5rem;
    display: block;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.techx-section-eyebrow {
    color: #FF00B2 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem; letter-spacing: .2em;
    text-transform: uppercase; font-weight: 500;
    text-align: center; margin: 0 !important;
}
.techx-section-heading {
    font-size: clamp(1.875rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    margin-top: .5rem !important;
    text-align: center;
}
.techx-section-sub {
    color: #6b7280 !important;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    max-width: 720px;
    margin: 1.5rem auto 0 !important;
    text-align: center;
}

/* ============================================================
   CAPABILITIES GRID
   ============================================================ */
.techx-capabilities {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1120px;
    margin-left: auto; margin-right: auto;
}
.techx-capability-card {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    transition: all .25s ease;
    position: relative;
}
.techx-capability-card:hover {
    transform: translateY(-2px);
    border-color: #00D4FF;
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.1);
}
.techx-capability-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #FF00B2 0%, #00D4FF 100%);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700; font-size: 1.25rem;
    color: #030610;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 0, 178, 0.2);
}
.techx-capability-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0e14;
    margin: 0 0 .75rem;
    letter-spacing: -0.01em;
}
.techx-capability-desc {
    color: #6b7280;
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   PRODUCT GRID (homepage) + PRODUCT DETAIL (products page)
   ============================================================ */
.techx-products { background: #f8f9fa !important; }

.techx-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1120px;
    margin-left: auto; margin-right: auto;
}
.techx-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all .25s ease;
    display: flex; flex-direction: column;
    min-height: 220px;
}
.techx-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent, #FF00B2);
    opacity: .9;
    transition: height .25s ease;
}
.techx-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent, #FF00B2);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.techx-product-card:hover::before { height: 5px; }
.techx-product-card[data-product="hcc"]       { --accent: #00D4FF; }
.techx-product-card[data-product="serina"]    { --accent: #FF00B2; }
.techx-product-card[data-product="voxlounge"] { --accent: #FF6B35; }
.techx-product-card[data-product="techxos"]   { --accent: #00c268; }

.techx-product-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem; letter-spacing: .2em;
    text-transform: uppercase; font-weight: 600;
    color: var(--accent); margin-bottom: .75rem;
}
.techx-product-title {
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: -0.01em; color: #0a0e14;
    margin: 0 0 .75rem;
}
.techx-product-desc {
    color: #6b7280; font-size: .95rem; line-height: 1.6;
    flex-grow: 1; margin: 0;
}
.techx-product-link {
    margin-top: 1.5rem; font-size: .9rem; font-weight: 500;
    color: var(--accent) !important;
    display: inline-flex; align-items: center; gap: .375rem;
    transition: gap .15s ease;
}
.techx-product-link:hover { text-decoration: none; gap: .5rem; }

/* Product detail (on /products/ page) */
.techx-product-detail {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) !important;
    border-bottom: 1px solid #e5e7eb;
}
.techx-product-detail:nth-child(even) { background: #f8f9fa !important; }
.techx-product-detail[data-product="hcc"]       { --accent: #00D4FF; }
.techx-product-detail[data-product="serina"]    { --accent: #FF00B2; }
.techx-product-detail[data-product="voxlounge"] { --accent: #FF6B35; }
.techx-product-detail[data-product="techxos"]   { --accent: #00c268; }

.techx-product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1120px;
    margin: 0 auto;
}
@media (min-width: 860px) {
    .techx-product-detail-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}
.techx-product-detail h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem) !important;
    font-weight: 700; letter-spacing: -0.02em;
    line-height: 1.15;
    margin: .5rem 0 1rem !important;
}
.techx-product-detail .techx-product-tag {
    font-size: .75rem; margin-bottom: .5rem;
}
.techx-product-detail p {
    color: #4b5563; font-size: 1.05rem; line-height: 1.7;
    margin: 0 0 1rem;
}
.techx-product-stack {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-top: 1.5rem;
}
.techx-tech-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem; font-weight: 500;
    padding: .375rem .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #4b5563;
    background: #fff;
}
.techx-product-detail-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 60%), #030610;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.15);
}
.techx-product-detail-visual::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
    background-size: 24px 24px;
}
.techx-product-detail-visual .glyph {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: rgba(255,255,255,.9);
    letter-spacing: -0.05em;
    z-index: 1;
    text-shadow: 0 0 40px var(--accent);
}
.techx-product-detail .wp-block-button__link {
    background: var(--accent) !important;
    color: #030610 !important;
    border: 1px solid var(--accent) !important;
    padding: .85rem 1.75rem !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    margin-top: 1.5rem;
    display: inline-block;
}
.techx-product-detail .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.techx-process {
    background: #030610 !important;
    color: #E6F2FF;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,212,255,.06) 1px, transparent 0) !important;
    background-size: 32px 32px !important;
}
.techx-process .techx-section-eyebrow { color: #00D4FF !important; }
.techx-process .techx-section-heading { color: #E6F2FF !important; }
.techx-process .techx-section-sub { color: rgba(230,242,255,.6) !important; }

.techx-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1120px;
    margin-left: auto; margin-right: auto;
}
.techx-process-step {
    padding: 2rem;
    border: 1px solid rgba(230,242,255,.1);
    border-radius: 8px;
    background: rgba(230,242,255,.02);
    position: relative;
    transition: all .25s ease;
}
.techx-process-step:hover {
    border-color: rgba(0,212,255,.4);
    background: rgba(230,242,255,.04);
    transform: translateY(-2px);
}
.techx-process-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem;
    color: #00D4FF;
    letter-spacing: .2em;
    font-weight: 600;
}
.techx-process-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #E6F2FF;
    margin: .75rem 0 .75rem;
    letter-spacing: -0.01em;
}
.techx-process-desc {
    color: rgba(230,242,255,.6);
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   PULL QUOTE / PHILOSOPHY
   ============================================================ */
.techx-quote-section {
    background: #ffffff !important;
    padding: clamp(5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-quote {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.techx-quote-mark {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    background: linear-gradient(135deg, #FF00B2, #00D4FF);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: block;
}
.techx-quote blockquote {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #0a0e14;
    margin: 0 0 1.5rem;
    padding: 0;
    border: none;
}
.techx-quote cite {
    font-family: 'JetBrains Mono', monospace;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #6b7280;
    font-style: normal;
}

/* ============================================================
   ABOUT BLURB (homepage)
   ============================================================ */
.techx-about {
    background: #f8f9fa !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}

/* ============================================================
   BIG FINAL CTA
   ============================================================ */
.techx-cta-block {
    background: #030610 !important;
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.techx-cta-block::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; max-width: 800px; height: 80%;
    background: radial-gradient(ellipse at center, rgba(255,0,178,.25) 0%, rgba(0,212,255,.1) 40%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
    z-index: 0;
}
.techx-cta-block > * { position: relative; z-index: 1; }
.techx-cta-block h2 {
    font-size: clamp(2rem, 5vw, 4rem) !important;
    color: #E6F2FF !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 auto 1.5rem !important;
    max-width: 720px;
}
.techx-cta-block p {
    color: rgba(230,242,255,.7);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 2.5rem;
}
.techx-cta-block .wp-block-buttons { justify-content: center !important; gap: 1rem !important; }
.techx-cta-block .wp-block-button__link {
    background: #FF00B2 !important;
    color: #030610 !important;
    border: 1px solid #FF00B2 !important;
    padding: 1rem 2.25rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border-radius: 4px !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}
.techx-cta-block .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,0,178,.5);
}
.techx-cta-block .is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: #E6F2FF !important;
    border: 1px solid rgba(230,242,255,.4) !important;
}

/* ============================================================
   PAGE HEADER (for non-home pages)
   ============================================================ */
.techx-page-header {
    background: #030610 !important;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,212,255,.07) 1px, transparent 0) !important;
    background-size: 32px 32px !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 5vw, 4rem) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.techx-page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 90%; max-width: 900px; height: 100%;
    background: radial-gradient(ellipse at top, rgba(255,0,178,.15) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(30px);
    z-index: 0;
}
.techx-page-header > * { position: relative; z-index: 1; }
.techx-page-header .techx-hero-eyebrow { margin-bottom: 1rem !important; }
.techx-page-header h1 {
    color: #E6F2FF !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    margin: 0 auto !important;
    max-width: 900px;
}
.techx-page-header p {
    color: rgba(230,242,255,.65) !important;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    max-width: 640px;
    margin: 1.5rem auto 0;
    text-align: center;
}

/* ============================================================
   VALUES GRID (About)
   ============================================================ */
.techx-values {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1120px;
    margin: 3rem auto 0;
}
.techx-value-card {
    padding: 2rem;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, #FF00B2, #00D4FF) 1;
    background: #f8f9fa;
}
.techx-value-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0e14;
    margin: 0 0 .75rem;
    letter-spacing: -0.01em;
}
.techx-value-desc {
    color: #4b5563;
    font-size: .95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   TIMELINE (About)
   ============================================================ */
.techx-timeline-section {
    background: #f8f9fa !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-timeline {
    max-width: 720px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 2.5rem;
}
.techx-timeline::before {
    content: '';
    position: absolute;
    left: .5rem; top: .5rem; bottom: .5rem;
    width: 2px;
    background: linear-gradient(180deg, #FF00B2, #00D4FF);
}
.techx-timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}
.techx-timeline-item:last-child { padding-bottom: 0; }
.techx-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: .25rem;
    width: 1.25rem; height: 1.25rem;
    background: #ffffff;
    border: 2px solid #FF00B2;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 0, 178, 0.15);
}
.techx-timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: .8rem;
    font-weight: 600;
    color: #FF00B2;
    letter-spacing: .1em;
}
.techx-timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0e14;
    margin: .5rem 0;
    letter-spacing: -0.01em;
}
.techx-timeline-desc {
    color: #4b5563;
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.techx-faq {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.techx-faq-item {
    border-top: 1px solid #e5e7eb;
}
.techx-faq-item:last-child { border-bottom: 1px solid #e5e7eb; }
.techx-faq-item details {
    padding: 1.5rem 0;
}
.techx-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a0e14;
    letter-spacing: -0.01em;
    padding: .5rem 0;
    transition: color .15s ease;
}
.techx-faq-item summary::-webkit-details-marker { display: none; }
.techx-faq-item summary:hover { color: #FF00B2; }
.techx-faq-item summary::after {
    content: '+';
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: #FF00B2;
    font-weight: 400;
    transition: transform .2s ease;
    flex-shrink: 0;
}
.techx-faq-item details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}
.techx-faq-item details[open] summary { color: #FF00B2; }
.techx-faq-item p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.techx-contact {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1120px;
    margin: 0 auto;
}
@media (min-width: 860px) {
    .techx-contact-grid { grid-template-columns: 3fr 2fr; gap: 4rem; }
}
.techx-contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0e14;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}
.techx-contact-details .detail-block {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.techx-contact-details .detail-block:last-child { border-bottom: none; }
.techx-contact-details .detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: .25rem;
}
.techx-contact-details .detail-value {
    color: #0a0e14;
    font-size: .95rem;
    margin: 0;
}
.techx-contact-details a { color: #FF00B2 !important; }

/* ============================================================
   PORTFOLIO / CASE STUDIES
   ============================================================ */
.techx-portfolio {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1120px;
    margin: 3rem auto 0;
}
.techx-case-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}
.techx-case-card:hover {
    transform: translateY(-3px);
    border-color: #FF00B2;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.techx-case-visual {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--accent, #FF00B2) 0%, transparent 60%), #030610;
    background-size: 32px 32px, 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1px, transparent 0), linear-gradient(135deg, var(--accent, #FF00B2) 0%, transparent 60%), #030610;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: #E6F2FF;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.techx-case-body { padding: 1.75rem; flex-grow: 1; display: flex; flex-direction: column; }
.techx-case-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent, #FF00B2);
    font-weight: 600;
    margin-bottom: .5rem;
}
.techx-case-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a0e14;
    margin: 0 0 .75rem;
    letter-spacing: -0.01em;
}
.techx-case-desc {
    color: #6b7280;
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}
.techx-case-card[data-accent="cyan"]   { --accent: #00D4FF; }
.techx-case-card[data-accent="pink"]   { --accent: #FF00B2; }
.techx-case-card[data-accent="coral"]  { --accent: #FF6B35; }
.techx-case-card[data-accent="green"]  { --accent: #00c268; }
.techx-case-card[data-accent="purple"] { --accent: #a855f7; }
.techx-case-card[data-accent="amber"]  { --accent: #f59e0b; }

/* ============================================================
   PRICING PLANS
   ============================================================ */
.techx-pricing-section {
    background: #ffffff !important;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
}
.techx-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}
.techx-pricing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
    position: relative;
}
.techx-pricing-card:hover {
    transform: translateY(-4px);
    border-color: #FF00B2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.techx-pricing-featured {
    background: linear-gradient(180deg, #030610 0%, #0a0e1c 100%);
    color: #E6F2FF;
    border: 1px solid rgba(255, 0, 178, 0.4);
    box-shadow: 0 16px 48px rgba(255, 0, 178, 0.15);
    position: relative;
    overflow: hidden;
}
.techx-pricing-featured::before {
    content: 'Most popular';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FF00B2;
    color: #030610;
    font-family: 'JetBrains Mono', monospace;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .625rem;
    border-radius: 3px;
}
.techx-pricing-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(255, 0, 178, 0.25);
}
.techx-pricing-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #FF00B2;
    margin-bottom: .5rem;
}
.techx-pricing-featured .techx-pricing-tag { color: #00D4FF; }
.techx-pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0a0e14;
    margin: 0 0 .5rem;
}
.techx-pricing-featured .techx-pricing-title { color: #E6F2FF; }
.techx-pricing-sub {
    font-size: .9rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
}
.techx-pricing-featured .techx-pricing-sub { color: rgba(230, 242, 255, 0.6); }
.techx-pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}
.techx-pricing-featured .techx-pricing-list { border-top-color: rgba(230, 242, 255, 0.1); }
.techx-pricing-list li {
    font-size: .9rem;
    color: #4b5563;
    padding: .5rem 0 .5rem 1.5rem;
    position: relative;
    line-height: 1.5;
}
.techx-pricing-featured .techx-pricing-list li { color: rgba(230, 242, 255, 0.8); }
.techx-pricing-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF00B2;
    font-weight: 700;
}
.techx-pricing-featured .techx-pricing-list li::before { color: #00D4FF; }
.techx-pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .95rem;
    font-weight: 600;
    color: #FF00B2 !important;
    text-decoration: none !important;
    transition: gap .15s ease;
    margin-top: auto;
}
.techx-pricing-cta:hover { gap: .5rem; }
.techx-pricing-featured .techx-pricing-cta {
    color: #00D4FF !important;
}

/* ============================================================
   GITHUB ORG PAGE (/code/)
   ============================================================ */
.techx-gh-hero {
    background: #0d1117 !important;
    color: #e6edf3;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) !important;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,212,255,.05) 1px, transparent 0) !important;
    background-size: 32px 32px !important;
    position: relative;
    overflow: hidden;
}
.techx-gh-hero::before {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    transform: translateX(-50%);
    width: 90%; max-width: 900px; height: 70%;
    background: radial-gradient(ellipse at center, rgba(255,0,178,.15) 0%, transparent 60%);
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}
.techx-gh-hero > * { position: relative; z-index: 1; }
.techx-gh-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.techx-gh-avatar {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: #030610;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 12px 40px rgba(255, 0, 178, 0.25);
    flex-shrink: 0;
    overflow: hidden;
    padding: 10px;
}
.techx-gh-avatar svg { width: 100%; height: 100%; }
.techx-gh-profile-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e6edf3;
    margin: 0;
    line-height: 1.1;
}
.techx-gh-profile-handle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #00D4FF;
    margin: 0;
}
.techx-gh-profile-bio {
    color: rgba(230, 237, 243, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 620px;
    margin: .5rem auto 0;
}
.techx-gh-profile-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #238636;
    color: #ffffff !important;
    padding: .6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none !important;
    transition: background .15s ease, transform .15s ease;
    border: 1px solid #2ea043;
}
.techx-gh-profile-cta:hover {
    background: #2ea043;
    transform: translateY(-1px);
    text-decoration: none !important;
}
.techx-gh-profile-cta svg { fill: currentColor; }

.techx-gh-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.techx-gh-stat-tile {
    background: rgba(230, 237, 243, 0.03);
    border: 1px solid rgba(230, 237, 243, 0.1);
    border-radius: 8px;
    padding: 1rem 1.75rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}
.techx-gh-stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FF00B2;
    line-height: 1;
}
.techx-gh-stat-lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(230, 237, 243, 0.5);
}

/* Repo list section */
.techx-gh-section {
    background: #0d1117 !important;
    color: #e6edf3;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) !important;
    border-top: 1px solid rgba(230, 237, 243, 0.1);
}
.techx-gh-section-header {
    max-width: 1120px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
}
.techx-gh-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e6edf3 !important;
    margin: 0;
    letter-spacing: -0.01em;
}
.techx-gh-section-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: .8rem;
    color: rgba(230, 237, 243, 0.5);
}

.techx-gh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto;
}
.techx-gh-loading, .techx-gh-error {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
    color: rgba(230, 237, 243, 0.6);
    font-family: 'JetBrains Mono', monospace;
    font-size: .9rem;
}
.techx-gh-error a { color: #FF00B2 !important; }

/* Repo card */
.techx-gh-repo {
    background: rgba(230, 237, 243, 0.02);
    border: 1px solid rgba(230, 237, 243, 0.12);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.techx-gh-repo:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.techx-gh-repo-private {
    background: rgba(230, 237, 243, 0.015);
    border-color: rgba(230, 237, 243, 0.08);
}
.techx-gh-repo-head {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.techx-gh-repo-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4493f8 !important;
    text-decoration: none !important;
    letter-spacing: -0.01em;
    flex-grow: 1;
}
.techx-gh-repo-name:hover { text-decoration: underline !important; }
.techx-gh-repo-name-locked {
    color: rgba(230, 237, 243, 0.6) !important;
    cursor: default;
    display: flex;
    align-items: center;
}
.techx-gh-repo-name-locked:hover { text-decoration: none !important; }
.techx-gh-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .1rem .5rem;
    border: 1px solid rgba(230, 237, 243, 0.2);
    border-radius: 10px;
    color: rgba(230, 237, 243, 0.6);
    background: transparent;
}
.techx-gh-badge-private {
    border-color: rgba(255, 183, 0, 0.4);
    color: rgba(255, 183, 0, 0.8);
}
.techx-gh-desc {
    color: rgba(230, 237, 243, 0.75) !important;
    font-size: .9rem !important;
    line-height: 1.5;
    margin: 0 !important;
    flex-grow: 1;
}
.techx-gh-topics {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
}
.techx-gh-topic {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    padding: .2rem .55rem;
    background: rgba(56, 139, 253, 0.15);
    color: #79c0ff;
    border-radius: 10px;
    border: 1px solid rgba(56, 139, 253, 0.2);
}
.techx-gh-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: .8rem;
    color: rgba(230, 237, 243, 0.5);
    font-family: 'Inter', sans-serif;
    margin-top: auto;
    padding-top: .5rem;
    border-top: 1px solid rgba(230, 237, 243, 0.05);
}
.techx-gh-meta-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.techx-gh-lang-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}
.techx-gh-meta-updated {
    margin-left: auto;
    color: rgba(230, 237, 243, 0.4);
    font-size: .75rem;
}
.techx-gh-meta svg { opacity: 0.7; }

/* CTA section */
.techx-gh-cta {
    background: #0d1117 !important;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) !important;
    text-align: center;
    border-top: 1px solid rgba(230, 237, 243, 0.1);
}
.techx-gh-cta h2 {
    color: #e6edf3 !important;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
}
.techx-gh-cta p {
    color: rgba(230, 237, 243, 0.6);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* ============================================================
   VOXLOUNGE IN-SECTION PRICING (inside the product-detail block)
   ============================================================ */
.techx-voxlounge-pricing {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 107, 53, 0.25);
    grid-column: 1 / -1;
}
.techx-voxlounge-pricing-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}
.techx-pricing-note {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #FF6B35;
    padding: .4rem .9rem;
    border: 1px dashed rgba(255, 107, 53, 0.4);
    border-radius: 4px;
    background: rgba(255, 107, 53, 0.05);
    margin-bottom: 1.5rem;
}
.techx-voxlounge-pricing-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0a0e14;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.techx-voxlounge-pricing-sub {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.techx-voxlounge-pricing-footer {
    text-align: center;
    margin-top: 2rem !important;
    color: #6b7280 !important;
    font-size: .875rem !important;
    font-style: italic;
}
.techx-voxlounge-pricing-footer a { color: #FF6B35 !important; font-weight: 500; }

/* ============================================================
   JETPACK CONTACT FORM OVERRIDE
   ============================================================ */
.wp-block-jetpack-contact-form {
    padding: 0 !important;
    background: transparent !important;
}
.wp-block-jetpack-contact-form label {
    font-size: .85rem !important;
    font-weight: 600 !important;
    color: #0a0e14 !important;
    margin-bottom: .375rem !important;
    display: block !important;
}
.wp-block-jetpack-contact-form input[type="text"],
.wp-block-jetpack-contact-form input[type="email"],
.wp-block-jetpack-contact-form textarea {
    width: 100% !important;
    padding: .75rem 1rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: .95rem !important;
    background: #ffffff !important;
    color: #0a0e14 !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
.wp-block-jetpack-contact-form input[type="text"]:focus,
.wp-block-jetpack-contact-form input[type="email"]:focus,
.wp-block-jetpack-contact-form textarea:focus {
    border-color: #FF00B2 !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 178, 0.1) !important;
    outline: none !important;
}
.wp-block-jetpack-contact-form button,
.wp-block-jetpack-button button,
.wp-block-jetpack-button .wp-block-button__link {
    background: #FF00B2 !important;
    color: #030610 !important;
    border: 1px solid #FF00B2 !important;
    padding: .85rem 1.75rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: .95rem !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}
.wp-block-jetpack-contact-form button:hover,
.wp-block-jetpack-button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 178, 0.4) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.techx-site-footer {
    background: #030610 !important;
    color: rgba(230,242,255,.6) !important;
    padding: clamp(4rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 3vw, 2.5rem) !important;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,212,255,.04) 1px, transparent 0) !important;
    background-size: 32px 32px !important;
}
.techx-site-footer .footer-heading {
    color: rgba(230,242,255,.4) !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: .75rem !important; letter-spacing: .2em !important;
    text-transform: uppercase !important; font-weight: 500 !important;
    margin: 0 0 .75rem !important;
}
.techx-site-footer p { color: rgba(230,242,255,.7) !important; }
.techx-site-footer a { color: rgba(230,242,255,.75) !important; transition: color .15s ease; }
.techx-site-footer a:hover { color: #FF00B2 !important; text-decoration: none; }
.techx-site-footer hr {
    border-color: rgba(230,242,255,.1) !important;
    background: rgba(230,242,255,.1) !important;
    margin: 3rem 0 1.5rem !important;
}
.techx-footer-copyright { color: rgba(230,242,255,.35) !important; font-size: .85rem !important; }
.techx-site-footer .techx-wordmark { color: #E6F2FF; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .techx-hero .wp-block-buttons,
    .techx-cta-block .wp-block-buttons { flex-direction: column; width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; }
    .techx-hero .wp-block-button,
    .techx-cta-block .wp-block-button { width: 100%; }
    .techx-hero .wp-block-button__link,
    .techx-cta-block .wp-block-button__link { width: 100%; }
    .techx-product-card, .techx-capability-card, .techx-process-step { padding: 1.5rem; }
    .techx-product-card { min-height: auto; }
    .techx-timeline { padding-left: 2rem; }
    .techx-timeline::before { left: .25rem; }
    .techx-timeline-item::before { left: -2.25rem; }
}
