/* ==========================================================================
   Pietech Global Ltd — base: brand tokens, reset, typography, buttons
   Brand colours sampled from the logo: orange #FE6600 · navy #000065 · green #009933
   ========================================================================== */

:root {
    /* Brand */
    --orange: #fe6600;
    --orange-400: #ff8533;
    --orange-300: #ffa366;
    --navy: #000065;
    --navy-700: #0b0b7a;
    --green: #009933;
    --green-400: #1fbf55;
    --green-300: #5ad987;

    /* Surfaces */
    --night: #03032a;          /* deepest navy for dark sections */
    --night-2: #070740;
    --night-3: #0d0d55;
    --paper: #f6f7fc;
    --white: #ffffff;
    --ink: #0a0a35;
    --ink-2: #2b2d55;
    --muted: #61648a;
    --line: rgba(0, 0, 101, 0.1);
    --line-light: rgba(255, 255, 255, 0.12);

    /* Effects */
    --grad-brand: linear-gradient(120deg, var(--orange) 0%, #ff9a3d 45%, var(--green-400) 100%);
    --grad-warm: linear-gradient(120deg, var(--orange), #ffb067);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-strong: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 60, 0.06);
    --shadow-md: 0 18px 40px -18px rgba(0, 0, 60, 0.25);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 60, 0.35);
    --glow-orange: 0 10px 40px -8px rgba(254, 102, 0, 0.55);

    /* Type */
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Layout */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --header-h: 84px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 1000;
    padding: 10px 16px; background: var(--orange); color: #fff; border-radius: 8px; font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Typography -------------------------------------------------------------- */
.display, .h1, .h2, .h3, .hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
}
.display { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
.h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.display em, .h1 em, .h2 em, .h3 em, .hero-title em {
    font-style: normal;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--muted); line-height: 1.7; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 0.75rem/1.2 var(--font-mono);
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--orange);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--orange-300); }

.prose { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.prose p + p { margin-top: 1em; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Layout primitives ------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.dark-section { background: var(--night); color: #fff; overflow: hidden; }
.dark-section .lead, .dark-section p { color: rgba(255, 255, 255, 0.68); }

/* Buttons ----------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink); --btn-fg: #fff;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 24px;
    border-radius: 999px; border: 1px solid transparent;
    background: var(--btn-bg); color: var(--btn-fg);
    font: 600 0.95rem/1 var(--font-body); white-space: nowrap;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
    will-change: transform;
}
.btn .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary { --btn-bg: var(--orange); box-shadow: var(--glow-orange); }
.btn-primary:hover { --btn-bg: #ff7414; box-shadow: 0 16px 50px -8px rgba(254, 102, 0, .7); }
.btn-glass {
    --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff;
    border-color: rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { --btn-bg: rgba(255, 255, 255, .16); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: rgba(0, 0, 101, .2); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.dark-section .btn-outline { --btn-fg: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-link { --btn-bg: transparent; --btn-fg: var(--ink); padding: 0; min-height: 0; border-radius: 0; font-weight: 600; }
.btn-link::after { display: none; }
.btn-link:hover .icon { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.pill {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 16px 8px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font: 500 .78rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.tricolor-dot { display: inline-flex; gap: 3px; }
.tricolor-dot i { width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); }
.tricolor-dot i:nth-child(1) { background: var(--orange); }
.tricolor-dot i:nth-child(2) { background: #fff; }
.tricolor-dot i:nth-child(3) { background: var(--green-400); }

.empty-note { color: var(--muted); grid-column: 1 / -1; }
