/* ══════════════════════════════════════════════════════════════
   The Promised LAN — style.css
   Brand: Dark Professional + Teal/Emerald + Gold accents
   Sibling design to NodeControl — same DNA, distinct identity
   ══════════════════════════════════════════════════════════════ */

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

:root {
    /* Backgrounds — slightly warmer than NodeControl */
    --bg-primary: #0a0e13;
    --bg-secondary: #0e1319;
    --bg-card: #111820;
    --bg-card-hover: #161e28;

    /* Primary accent — teal/emerald (differentiated from NC cyan) */
    --teal: #00d4aa;
    --teal-hover: #10e8be;
    --teal-glow: rgba(0, 212, 170, 0.15);
    --teal-glow-strong: rgba(0, 212, 170, 0.3);
    --teal-subtle: rgba(0, 212, 170, 0.06);

    /* Secondary accent — gold (warmer than NC orange) */
    --gold: #f0b040;
    --gold-light: #ffd680;
    --gold-glow: rgba(240, 176, 64, 0.15);
    --gold-glow-strong: rgba(240, 176, 64, 0.3);

    /* Text */
    --text-primary: #d4dde6;
    --text-secondary: #a0adb8;
    --text-muted: #6a7580;

    /* Borders */
    --border: #1c2530;
    --border-light: #141c24;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Consolas', 'Monaco', 'Courier New', monospace;
    --nav-height: 70px;

    /* Spacing scale */
    --section-pad: 100px;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--teal-hover);
}

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

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Section ──────────────────────────────────────────────── */
.section {
    padding: var(--section-pad) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.teal { color: var(--teal); }
.gold { color: var(--gold); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font);
    line-height: 1;
}

.btn-primary {
    background: var(--teal);
    color: #001a14;
    border-color: var(--teal);
}
.btn-primary:hover {
    background: var(--teal-hover);
    color: #001a14;
    box-shadow: 0 0 24px var(--teal-glow-strong);
    transform: translateY(-1px);
}

.btn-outline {
    color: var(--teal);
    border-color: var(--teal);
    background: transparent;
}
.btn-outline:hover {
    background: var(--teal-glow);
    color: var(--teal-hover);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: #1a1200;
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    color: #1a1200;
    box-shadow: 0 0 24px var(--gold-glow-strong);
    transform: translateY(-1px);
}

.btn-outline-gold {
    color: var(--gold);
    border-color: var(--gold);
    background: transparent;
}
.btn-outline-gold:hover {
    background: var(--gold-glow);
    color: var(--gold-light);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(10, 14, 19, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo {
    width: 38px;
    height: 38px;
}

.nav-brand-text {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.nav-brand-text .tpl-the {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.85em;
}
.nav-brand-text .tpl-promised {
    color: var(--text-primary);
}
.nav-brand-text .tpl-lan {
    color: var(--teal);
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
    background: var(--teal-subtle);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 32px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--teal-glow) 0%, rgba(240, 176, 64, 0.04) 40%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    font-family: var(--mono);
    margin-bottom: 24px;
    background: var(--teal-subtle);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.hero-title-light {
    font-weight: 300;
    color: var(--text-secondary);
}

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

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

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulseDown 2s ease infinite;
}

@keyframes pulseDown {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ── Approach / Philosophy Row ────────────────────────────── */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.approach-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal);
    opacity: 0;
    transition: opacity 0.3s;
}
.approach-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--teal-glow);
}
.approach-card:hover::before {
    opacity: 1;
}

.approach-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    font-family: var(--mono);
    margin-bottom: 12px;
    opacity: 0.5;
}

.approach-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.approach-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ── Services Grid ────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px 28px;
    transition: all 0.3s;
}
.service-card:hover {
    border-color: var(--teal);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--teal-glow);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    color: var(--teal);
}
.service-icon.icon-gold {
    color: var(--gold);
}
.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-link::after {
    content: '\2192';
    transition: transform 0.2s;
}
.service-link:hover::after {
    transform: translateX(4px);
}

/* ── Value Proposition / Why TPL ──────────────────────────── */
.why-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #080c10 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}
.why-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.3;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: rgba(17, 24, 32, 0.7);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}
.why-card:hover {
    border-color: var(--gold);
    background: var(--bg-card-hover);
}

.why-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--gold);
}
.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ── Clients / Partners strip ─────────────────────────────── */
.partners-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.55;
    filter: grayscale(1) brightness(1.8);
    transition: all 0.3s;
}
.partners-strip:hover {
    opacity: 0.8;
    filter: grayscale(0.5) brightness(1.5);
}
.partner-logo {
    height: 32px;
    width: auto;
}

/* ── Blog / Insights Cards ────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--teal-glow);
    color: inherit;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.blog-card-meta .tag {
    color: var(--teal);
    margin-right: 8px;
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

.blog-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-card-link::after {
    content: '\2192';
    transition: transform 0.2s;
}
.blog-card:hover .blog-card-link::after {
    transform: translateX(4px);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0c1018 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 55%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.contact-detail-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--teal);
}
.contact-detail-icon svg {
    width: 100%;
    height: 100%;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px;
}

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: var(--font);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 2px var(--teal-glow);
}

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

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

/* ── About Page — Team Grid ───────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s;
}
.team-card:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
}

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.team-card-body {
    padding: 24px;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

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

/* ── About — Timeline ─────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--teal-glow-strong);
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal);
    font-family: var(--mono);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ── Services Detail Page ─────────────────────────────────── */
.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}
.services-detail-grid:nth-child(even) {
    direction: rtl;
}
.services-detail-grid:nth-child(even) > * {
    direction: ltr;
}

.services-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.services-detail-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.services-detail-list {
    list-style: none;
    margin-top: 16px;
}
.services-detail-list li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.services-detail-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.services-detail-image {
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
}

/* ── Tech / Partners Grid ─────────────────────────────────── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}
.tech-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}

.tech-card img {
    height: 40px;
    width: auto;
    margin: 0 auto 12px;
    filter: grayscale(1) brightness(1.5);
    transition: filter 0.3s;
}
.tech-card:hover img {
    filter: grayscale(0) brightness(1);
}

.tech-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo-text {
    font-size: 1.15rem;
    font-weight: 600;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
}
.footer-bottom-links a:hover {
    color: var(--teal);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* ── Page Header (inner pages) ────────────────────────────── */
.page-header {
    padding: calc(var(--nav-height) + 60px) 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.04) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-family: var(--mono);
}
.breadcrumb a {
    color: var(--text-muted);
}
.breadcrumb a:hover {
    color: var(--teal);
}
.breadcrumb span {
    margin: 0 6px;
}

/* ── Agent Class Aliases ──────────────────────────────────── */

/* Index.html aliases */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tagline-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    font-family: var(--mono);
    margin-bottom: 24px;
    background: var(--teal-subtle);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulseDown 2s ease infinite;
}

/* Page header aliases */
.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* About.html classes */
.story-content {
    flex: 1;
}

.story-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.story-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.story-visual {
    flex: 1;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--teal-glow-strong);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal);
    font-family: var(--mono);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: rgba(17, 24, 32, 0.7);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--gold);
    background: var(--bg-card-hover);
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--gold);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Services.html classes */
.approach-section {
    position: relative;
}

.approach-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.approach-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.approach-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.approach-arrow {
    color: var(--teal);
    font-size: 1.2rem;
    font-weight: 300;
}

.approach-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.services-detail-section {
    padding: var(--section-pad) 0;
}

.services-detail-text {
    flex: 1;
}

.services-detail-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.services-detail-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.placeholder-image {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-muted);
    gap: 16px;
}

.placeholder-image svg {
    width: 64px;
    height: 64px;
    opacity: 0.6;
}

.placeholder-image p {
    font-size: 0.9rem;
}

.technology-partners {
    background: var(--bg-primary);
    padding: var(--section-pad) 0;
}

.technology-partners h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 56px;
    text-align: center;
}

.separator {
    display: none;
}

/* Blog.html classes */
.blog-tag {
    color: var(--teal);
    margin-right: 8px;
}

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

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
}

/* Contact.html classes */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--teal);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

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

.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--teal-hover);
    text-decoration: underline;
}

.map-placeholder {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.map-content {
    text-align: center;
    color: var(--text-muted);
}

.map-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

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

/* Footer classes */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h5,
.footer-column h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

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

.footer-column li {
    padding: 4px 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section h5,
.footer-section h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 4px 0;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
    display: block;
}

.footer-section a:hover {
    color: var(--teal);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-logo {
    font-size: 1.15rem;
    font-weight: 600;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
    display: block;
}

.footer-link:hover {
    color: var(--teal);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-links-bottom a {
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: color 0.2s;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font);
    line-height: 1;
    background: var(--teal);
    color: #001a14;
    border-color: var(--teal);
}

.cta-button:hover {
    background: var(--teal-hover);
    color: #001a14;
    box-shadow: 0 0 24px var(--teal-glow-strong);
    transform: translateY(-1px);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .approach-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .services-detail-grid:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
    }

    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 48px) 24px 60px;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .approach-grid,
    .services-grid,
    .blog-grid,
    .team-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

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