/* ==========================================================================
   PrevaTech — Company-first redesign
   Light-first design system with scoped dark sections for /redesign
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
    /* Light theme (default) */
    --bg: #f8f6f1;
    --bg-soft: #f0ede5;
    --surface: #ffffff;
    --surface-soft: #fbfaf7;
    --border: rgba(20, 24, 32, 0.1);
    --border-strong: rgba(20, 24, 32, 0.18);
    --text: #171b23;
    --text-muted: #4d5563;
    --text-faint: #848d9c;
    --accent: #1f6fd1;
    --accent-2: #0f9cb0;
    --accent-deep: #123a66;
    --accent-soft: rgba(31, 111, 209, 0.1);
    --shadow-color: rgba(23, 27, 35, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1280px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* Scoped dark theme — applied to specific sections for rhythm, not the whole page */
.pt-dark {
    --bg: #0d1220;
    --bg-soft: #131a2b;
    --surface: #161d2f;
    --surface-soft: #1a2237;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
    --text: #f4f6fb;
    --text-muted: #a7b0c4;
    --text-faint: #69738c;
    --accent: #4fb2ff;
    --accent-2: #57e0d8;
    --accent-deep: #1c5fa8;
    --accent-soft: rgba(79, 178, 255, 0.14);
    --shadow-color: rgba(0, 0, 0, 0.45);
    background: var(--bg);
    color: var(--text);
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */

.pt-redesign *,
.pt-redesign *::before,
.pt-redesign *::after {
    box-sizing: border-box;
}

.pt-redesign {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.pt-redesign h1,
.pt-redesign h2,
.pt-redesign h3,
.pt-redesign h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text);
}

.pt-redesign p {
    margin: 0;
    color: var(--text);
}

.pt-redesign a {
    color: inherit;
    text-decoration: none;
}

.pt-redesign img {
    max-width: 100%;
    display: block;
}

.pt-redesign ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-redesign :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.pt-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.pt-section {
    position: relative;
    padding: 120px 0;
}

@media (max-width: 900px) {
    .pt-section {
        padding: 84px 0;
    }
}

.pt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 20px;
}

.pt-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.pt-heading-xl {
    font-size: clamp(2.4rem, 4.6vw, 3.8rem);
}

.pt-heading-lg {
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.pt-lede {
    font-size: clamp(1.02rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 620px;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
    white-space: nowrap;
}

.pt-btn-primary {
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 65%, var(--accent-deep));
    color: #ffffff;
    box-shadow: 0 12px 28px -10px rgba(31, 111, 209, 0.55);
}

.pt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgba(31, 111, 209, 0.65);
}

.pt-btn-ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.pt-btn-ghost:hover {
    background: var(--surface-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   Background texture
   ------------------------------------------------------------------------- */

.pt-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(20, 24, 32, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 24, 32, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 90%);
    mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 90%);
    pointer-events: none;
}

.pt-dark .pt-grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.pt-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.5;
}

/* -------------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------------- */

.pt-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.pt-nav.is-scrolled {
    padding: 14px 0;
    background: rgba(248, 246, 241, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 30px -22px rgba(23, 27, 35, 0.4);
}

.pt-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--text);
}

.pt-brand img {
    height: 30px;
    width: 30px;
}

.pt-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pt-nav-links a {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s ease, background 0.25s ease;
}

.pt-nav-links a:hover {
    color: var(--text);
    background: var(--surface-soft);
}

.pt-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pt-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--surface-soft);
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
}

.pt-nav-toggle svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 860px) {
    .pt-nav-links {
        position: fixed;
        top: 68px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
        box-shadow: 0 24px 48px -16px rgba(23, 27, 35, 0.25);
    }

    .pt-nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .pt-nav-links a {
        padding: 13px 16px;
        color: var(--text);
    }

    .pt-nav-actions .pt-btn-ghost {
        display: none;
    }

    .pt-nav-toggle {
        display: inline-flex;
    }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.pt-hero {
    position: relative;
    padding: 188px 0 120px;
    overflow: hidden;
}

.pt-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.pt-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.pt-hero-badge {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-faint);
    border: 1px solid var(--border);
    padding: 7px 13px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.pt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.pt-hero-copy h1 {
    margin-bottom: 22px;
}

.pt-hero-copy h1 .pt-accent-word {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero visual: dark technical canvas with an architecture graph */

.pt-hero-canvas {
    position: relative;
    height: 460px;
    border-radius: 6px;
    padding: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px var(--shadow-color);
    border: 1px solid var(--border);
}

.pt-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--accent-2);
    opacity: 0.55;
    z-index: 2;
}

.pt-corner-tl { top: 14px; left: 14px; border-top: 1.5px solid; border-left: 1.5px solid; }
.pt-corner-tr { top: 14px; right: 14px; border-top: 1.5px solid; border-right: 1.5px solid; }
.pt-corner-bl { bottom: 14px; left: 14px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.pt-corner-br { bottom: 14px; right: 14px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.pt-hero-canvas-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.pt-hero-canvas-label span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
}

.pt-hero-canvas-graph {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 48px);
}

.pt-hero-canvas-graph svg {
    width: 100%;
    height: 100%;
}

.pt-hero-canvas-graph path {
    fill: none;
    stroke: url(#pt-hero-line-gradient);
    stroke-width: 1.4;
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    transition: stroke-dashoffset 1.3s var(--ease);
}

.pt-hero-canvas-graph.is-visible path {
    stroke-dashoffset: 0;
}

.pt-hero-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 4px;
    background: rgba(244, 246, 251, 0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-strong);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    transition-delay: var(--node-delay, 0s);
}

.pt-hero-canvas-graph.is-visible .pt-hero-node {
    opacity: 1;
    transform: translateY(0);
}

.pt-hero-node span.pt-node-dot {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: var(--accent-2);
    flex-shrink: 0;
}

.pt-hero-node[data-node="1"] { top: 8%; left: 6%; }
.pt-hero-node[data-node="2"] { top: 6%; right: 8%; }
.pt-hero-node[data-node="3"] { top: 42%; left: 40%; }
.pt-hero-node[data-node="4"] { bottom: 26%; left: 4%; }
.pt-hero-node[data-node="5"] { bottom: 24%; right: 6%; }
.pt-hero-node[data-node="6"] { bottom: 6%; left: 36%; }

@media (max-width: 980px) {
    .pt-hero-grid {
        grid-template-columns: 1fr;
    }

    .pt-hero-canvas {
        height: 380px;
        margin-top: 20px;
    }

    .pt-hero {
        padding: 150px 0 90px;
    }
}

@media (max-width: 560px) {
    .pt-hero-canvas {
        height: 340px;
        padding: 22px;
    }

    .pt-hero-node {
        font-size: 11px;
        padding: 7px 11px;
    }
}

/* -------------------------------------------------------------------------
   Reveal-on-scroll
   ------------------------------------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal].pt-reveal-left {
    transform: translateX(-32px);
}

[data-reveal].pt-reveal-left.is-visible {
    transform: translateX(0);
}

[data-reveal].pt-reveal-right {
    transform: translateX(32px);
}

[data-reveal].pt-reveal-right.is-visible {
    transform: translateX(0);
}

@media (max-width: 860px) {
    [data-reveal].pt-reveal-left,
    [data-reveal].pt-reveal-right {
        transform: translateY(28px);
    }

    [data-reveal].pt-reveal-left.is-visible,
    [data-reveal].pt-reveal-right.is-visible {
        transform: translateY(0);
    }
}

[data-reveal-group] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal-group].is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.14s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.26s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.32s; }

/* -------------------------------------------------------------------------
   Section heads
   ------------------------------------------------------------------------- */

.pt-section-head {
    max-width: 680px;
    margin-bottom: 60px;
}

.pt-section-head.pt-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pt-section-soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* -------------------------------------------------------------------------
   Company introduction
   ------------------------------------------------------------------------- */

.pt-company-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
    gap: 64px;
}

.pt-company-copy p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.pt-company-copy p:last-child { margin-bottom: 0; }

.pt-company-facts {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: fit-content;
}

.pt-company-fact {
    background: var(--surface);
    padding: 20px 24px;
}

.pt-company-fact strong {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 2px;
}

.pt-company-fact span {
    font-size: 12.5px;
    color: var(--text-faint);
}

@media (max-width: 860px) {
    .pt-company-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
   Capabilities — asymmetric bento layout
   ------------------------------------------------------------------------- */

.pt-capabilities {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.pt-cap-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pt-cap-item:hover {
    border-color: var(--border-strong);
    box-shadow: 0 24px 48px -28px var(--shadow-color);
    transform: translateY(-3px);
}

.pt-cap-item.is-lg {
    grid-column: span 7;
}

.pt-cap-item.is-md {
    grid-column: span 5;
}

.pt-cap-item.is-md-alt {
    grid-column: span 4;
}

.pt-cap-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.pt-cap-icon svg { width: 22px; height: 22px; }

.pt-cap-item h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.pt-cap-item p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.pt-cap-item.is-lg p {
    font-size: 15.5px;
    max-width: 480px;
}

@media (max-width: 900px) {
    .pt-capabilities {
        grid-template-columns: 1fr;
    }

    .pt-cap-item.is-lg,
    .pt-cap-item.is-md,
    .pt-cap-item.is-md-alt {
        grid-column: span 1;
    }
}

/* -------------------------------------------------------------------------
   Process — dark sticky scroll story ("how we build software")
   ------------------------------------------------------------------------- */

.pt-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
}

.pt-process-sticky {
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}

.pt-process-steps {
    display: flex;
    flex-direction: column;
    gap: 130px;
    padding: 40px 0;
}

.pt-process-step {
    opacity: 0.32;
    transition: opacity 0.5s ease;
}

.pt-process-step.is-active {
    opacity: 1;
}

.pt-process-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 30px 60px -24px var(--shadow-color);
}

.pt-process-diagram {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    min-height: 74px;
}

.pt-process-node {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(6px) scale(0.9);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.pt-process-node.is-on {
    opacity: 1;
    transform: translateY(0) scale(1);
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
}

.pt-process-node span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.pt-process-panel strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 6px;
}

.pt-process-panel > span {
    font-size: 13px;
    color: var(--text-faint);
}

.pt-process-copy .pt-eyebrow-mini {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.pt-process-copy h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    margin-bottom: 14px;
}

.pt-process-copy p {
    color: var(--text-muted);
    max-width: 480px;
}

@media (max-width: 900px) {
    .pt-process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pt-process-sticky {
        position: static;
    }

    .pt-process-steps {
        gap: 56px;
        padding: 16px 0 0;
    }

    .pt-process-step {
        opacity: 1;
    }
}

/* -------------------------------------------------------------------------
   Architecture — hub-and-spoke diagram (light section)
   ------------------------------------------------------------------------- */

.pt-arch-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-faint);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
    margin-top: 28px;
}

.pt-arch-diagram {
    position: relative;
    height: 560px;
    margin: 0 auto 20px;
    max-width: 900px;
}

.pt-arch-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pt-arch-lines path {
    fill: none;
    stroke: url(#pt-arch-line-gradient);
    stroke-width: 1.5;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.4s var(--ease);
}

.pt-arch-diagram.is-visible .pt-arch-lines path {
    stroke-dashoffset: 0;
}

.pt-arch-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--accent-soft), transparent 70%), var(--surface);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 4px;
    z-index: 4;
    box-shadow: 0 0 50px var(--accent-soft);
}

.pt-arch-core strong {
    font-family: var(--font-display);
    font-size: 15px;
}

.pt-arch-core span {
    font-size: 11px;
    color: var(--text-faint);
}

.pt-arch-node {
    position: absolute;
    width: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--arch-delay, 0s);
}

.pt-arch-diagram.is-visible .pt-arch-node {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.pt-arch-node-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
    box-shadow: 0 14px 28px -18px var(--shadow-color);
}

.pt-arch-node-icon svg {
    width: 24px;
    height: 24px;
}

.pt-arch-node:hover .pt-arch-node-icon {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.pt-arch-node strong {
    font-size: 13.5px;
    font-weight: 600;
}

.pt-arch-node span {
    font-size: 11.5px;
    color: var(--text-faint);
}

.pt-arch-node[data-pos="1"] { top: 4%; left: 50%; }
.pt-arch-node[data-pos="2"] { top: 22%; left: 92%; }
.pt-arch-node[data-pos="3"] { top: 78%; left: 92%; }
.pt-arch-node[data-pos="4"] { top: 96%; left: 50%; }
.pt-arch-node[data-pos="5"] { top: 78%; left: 8%; }
.pt-arch-node[data-pos="6"] { top: 22%; left: 8%; }

@media (max-width: 760px) {
    .pt-arch-diagram {
        height: auto;
    }

    .pt-arch-lines,
    .pt-arch-core {
        display: none;
    }

    .pt-arch-node {
        position: static;
        transform: none !important;
        width: 100%;
        flex-direction: row;
        text-align: left;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        opacity: 1;
    }

    .pt-arch-node:last-child { border-bottom: none; }

    .pt-arch-diagram.is-visible .pt-arch-node { opacity: 1; }

    .pt-arch-node-icon { flex-shrink: 0; }
}

/* -------------------------------------------------------------------------
   AI section (dark)
   ------------------------------------------------------------------------- */

.pt-ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.pt-ai-copy p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pt-ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pt-ai-tag {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
}

.pt-ai-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: 0 30px 60px -24px var(--shadow-color);
}

.pt-ai-flow-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pt-ai-chip {
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.pt-ai-flow.is-visible .pt-ai-chip {
    opacity: 1;
    transform: translateY(0);
}

.pt-ai-flow.is-visible .pt-ai-flow-col:nth-child(3) .pt-ai-chip:nth-child(1) { transition-delay: 0.1s; }
.pt-ai-flow.is-visible .pt-ai-flow-col:nth-child(3) .pt-ai-chip:nth-child(2) { transition-delay: 0.18s; }
.pt-ai-flow.is-visible .pt-ai-flow-col:nth-child(3) .pt-ai-chip:nth-child(3) { transition-delay: 0.26s; }
.pt-ai-flow.is-visible .pt-ai-flow-col:nth-child(1) .pt-ai-chip:nth-child(1) { transition-delay: 0s; }
.pt-ai-flow.is-visible .pt-ai-flow-col:nth-child(1) .pt-ai-chip:nth-child(2) { transition-delay: 0.06s; }
.pt-ai-flow.is-visible .pt-ai-flow-col:nth-child(1) .pt-ai-chip:nth-child(3) { transition-delay: 0.12s; }

.pt-ai-core {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--accent-soft), transparent 70%), var(--surface-soft);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    flex-shrink: 0;
    box-shadow: 0 0 40px var(--accent-soft);
}

.pt-ai-core svg { width: 32px; height: 32px; }

.pt-ai-arrow {
    color: var(--text-faint);
    flex-shrink: 0;
}

.pt-ai-arrow svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
    .pt-ai-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pt-ai-flow {
        flex-direction: column;
    }

    .pt-ai-arrow {
        transform: rotate(90deg);
    }

    .pt-ai-flow-col {
        width: 100%;
    }
}

/* -------------------------------------------------------------------------
   Technology principles
   ------------------------------------------------------------------------- */

.pt-tech-list {
    columns: 2;
    column-gap: 56px;
    border-top: 1px solid var(--border);
}

.pt-tech-item {
    break-inside: avoid;
    padding: 22px 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--border);
}

.pt-tech-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pt-tech-item p {
    font-size: 14.5px;
    color: var(--text-muted);
}

@media (max-width: 760px) {
    .pt-tech-list {
        columns: 1;
    }
}

/* -------------------------------------------------------------------------
   Company evolution — horizontal timeline
   ------------------------------------------------------------------------- */

.pt-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
}

.pt-timeline::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 4%;
    right: 4%;
    height: 1px;
    background: var(--border-strong);
}

.pt-timeline-item {
    padding-right: 24px;
    position: relative;
}

.pt-timeline-dot {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.pt-timeline-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--accent-deep);
}

.pt-timeline-item p {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 860px) {
    .pt-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pt-timeline::before {
        top: 0;
        bottom: 0;
        left: 9px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .pt-timeline-item {
        padding-left: 32px;
        padding-right: 0;
    }

    .pt-timeline-dot {
        position: absolute;
        top: 2px;
        left: 0;
        margin-bottom: 0;
    }
}

/* -------------------------------------------------------------------------
   Solutions — restrained strip
   ------------------------------------------------------------------------- */

.pt-solutions-intro {
    max-width: 680px;
    margin-bottom: 48px;
}

.pt-solutions-intro p {
    color: var(--text-muted);
    margin-top: 16px;
}

.pt-solutions-strip {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-strong);
}

.pt-solution-item {
    flex: 1 1 180px;
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.pt-solution-item:hover {
    background: var(--surface);
}

.pt-solution-item strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    position: relative;
    width: fit-content;
}

.pt-solution-item strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -3px;
    height: 1px;
    background: var(--accent);
    transition: right 0.35s var(--ease);
}

.pt-solution-item:hover strong::after {
    right: 0;
}

.pt-solution-item span {
    font-size: 12.5px;
    color: var(--text-faint);
}

.pt-solutions-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-faint);
}

@media (max-width: 520px) {
    .pt-solution-item {
        flex: 1 1 50%;
    }
}

/* -------------------------------------------------------------------------
   Why PrevaTech
   ------------------------------------------------------------------------- */

.pt-why-list {
    border-top: 1px solid var(--border);
}

.pt-why-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    align-items: baseline;
}

.pt-why-num {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--accent-2);
    font-weight: 600;
}

.pt-why-item h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    margin-bottom: 10px;
}

.pt-why-item p {
    color: var(--text-muted);
    max-width: 640px;
}

@media (max-width: 640px) {
    .pt-why-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* -------------------------------------------------------------------------
   Final CTA (dark)
   ------------------------------------------------------------------------- */

.pt-cta {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.pt-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.pt-cta h2 {
    margin-bottom: 18px;
}

.pt-cta p {
    color: var(--text-muted);
    margin-bottom: 36px;
}

.pt-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

.pt-cta-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 14px;
    color: var(--text-faint);
}

/* -------------------------------------------------------------------------
   Footer (dark)
   ------------------------------------------------------------------------- */

.pt-footer {
    padding: 72px 0 32px;
}

.pt-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 56px;
}

.pt-footer-brand .pt-brand { margin-bottom: 14px; }

.pt-footer-brand p {
    font-size: 14px;
    color: var(--text-faint);
    max-width: 280px;
}

.pt-footer-col h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-weight: 600;
}

.pt-footer-col li {
    margin-bottom: 10px;
}

.pt-footer-col a,
.pt-footer-col address {
    font-size: 14px;
    color: var(--text-muted);
    font-style: normal;
    line-height: 1.7;
}

.pt-footer-col a:hover { color: var(--accent-2); }

.pt-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-faint);
}

.pt-footer-bottom a:hover { color: var(--accent-2); }

@media (max-width: 860px) {
    .pt-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
    }
}

@media (max-width: 520px) {
    .pt-footer-top {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .pt-redesign * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal],
    [data-reveal-group] > *,
    .pt-hero-node,
    .pt-arch-node,
    .pt-process-node,
    .pt-ai-chip {
        opacity: 1 !important;
        transform: none !important;
    }
}
