/* ============================================
   hamziltech.com — Technology Company CSS
   Bg: #121212 · Accent: #1D6FE8 · Text: #FFF
   Card bg: #1E1E1E · Muted: #A0A0A0
   Fonts: Space Grotesk + Space Mono
   Signature: terminal hero block, dot-grid,
   product cards with status badges, stack tags
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:         #121212;
    --bg-card:    #1E1E1E;
    --bg-dark:    #0D0D0D;
    --border:     rgba(255,255,255,0.08);
    --border-blue:rgba(29,111,232,0.3);
    --text:       #FFFFFF;
    --text-mid:   #C8C8C8;
    --text-muted: #A0A0A0;
    --text-faint: #505050;
    --blue:       #1D6FE8;
    --blue-hover: #3d8bf0;
    --blue-glow:  rgba(29,111,232,0.15);
    --amber:      #F59E0B;
    --grey:       #4A4A4A;
    --font:       'Space Grotesk', system-ui, sans-serif;
    --mono:       'Space Mono', monospace;
    --radius:     8px;
    --radius-lg:  14px;
    --max-w:      1100px;
    --section-gap:100px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); }
code { font-family: var(--mono); font-size: 13px; background: var(--bg-card); padding: 2px 6px; border-radius: 4px; color: var(--blue); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ---- NAV ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 28px; border-bottom: 1px solid transparent; transition: all 0.3s; }
.nav.scrolled { background: rgba(18,18,18,0.96); border-color: var(--border); backdrop-filter: blur(12px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-w); margin: 0 auto; }
.nav__logo { font-family: var(--font); font-size: 16px; font-weight: 700; }
.nav__logo-ht { color: var(--blue); }
.nav__logo-tech { color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); border-radius: 6px; transition: color 0.2s, background 0.2s; }
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__cta { color: var(--blue) !important; border: 1px solid var(--border-blue) !important; }
.nav__cta:hover { background: var(--blue-glow) !important; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600; font-family: var(--font); cursor: pointer; border: none; transition: all 0.2s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(29,111,232,0.35); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

/* ---- MONO / UTILITY ---- */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.mono-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; display: block; }
.mono-tag { font-family: var(--mono); font-size: 12px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; }
.text-blue { color: var(--blue); }
.text-blue:hover { color: var(--blue-hover); }
.font-600 { font-weight: 600; }
.sep { color: var(--text-faint); }

/* ---- STATUS BADGES ---- */
.status-badge { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 4px; display: inline-block; }
.status-badge--live   { background: rgba(29,111,232,0.15); color: var(--blue); border: 1px solid var(--border-blue); }
.status-badge--dev    { background: rgba(245,158,11,0.12); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }
.status-badge--future { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border); }
.status-badge--next   { background: transparent; color: var(--text-faint); border: 1px solid var(--text-faint); }

/* ---- SECTIONS ---- */
.section { padding: var(--section-gap) 0; }
.section--dark { background: var(--bg-dark); }
.section__header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.section__sub { color: var(--text-muted); font-size: 17px; }

/* ---- HERO ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(29,111,232,0.12) 0%, transparent 70%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; width: 100%; }
.hero__pre { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--text-faint); margin-bottom: 20px; }
.hero__headline { font-size: clamp(48px, 7vw, 80px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 20px; }
.hero__headline-ht { color: var(--blue); }
.hero__headline-tech { color: var(--text); }
.hero__tagline { font-size: clamp(20px, 2.5vw, 26px); font-weight: 600; color: var(--text); margin-bottom: 16px; line-height: 1.3; }
.hero__sub { font-size: 16px; color: var(--text-muted); max-width: 480px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__stack-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---- TERMINAL ---- */
.hero__terminal { background: #0D0D0D; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(29,111,232,0.1); }
.hero__terminal-bar { background: #1A1A1A; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--r { background: #FF5F57; }
.dot--y { background: #FEBC2E; }
.dot--g { background: #28C840; }
.hero__terminal-title { font-family: var(--mono); font-size: 12px; color: var(--text-faint); margin-left: 8px; }
.hero__terminal-body { padding: 20px 20px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.9; }
.hero__terminal-body p { color: var(--text-muted); margin-bottom: 0; }
.t-comment { color: #4A5568; }
.t-keyword { color: #C678DD; }
.t-class { color: #E5C07B; }
.t-fn { color: #61AFEF; }
.t-string { color: #98C379; }
.t-indent { padding-left: 16px; }
.t-indent2 { padding-left: 32px; }
.t-blink { animation: blink 1.2s step-end infinite; color: var(--blue); }
@keyframes blink { 50% { opacity: 0; } }

/* ---- ABOUT ---- */
.about__inner { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.about__right p { color: var(--text-muted); }
.about__principle-box { margin: 28px 0; padding: 20px 24px; background: var(--bg-card); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.about__principle-box p { font-size: 15px; color: var(--text-muted); margin-top: 8px; }
.about__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.about__meta-item strong, .about__meta-item a { font-size: 14px; color: var(--text); display: block; }

/* ---- PRODUCT CARDS ---- */
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 16px; transition: border-color 0.2s; }
.product-card--live   { border-color: rgba(29,111,232,0.2); }
.product-card--live:hover { border-color: rgba(29,111,232,0.4); }
.product-card--dev    { border-color: rgba(245,158,11,0.15); }
.product-card--future { border-color: rgba(255,255,255,0.06); }
.product-card--next   { border: 2px dashed var(--border); background: transparent; }
.product-card__header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.product-card__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-card__url { font-size: 12px; }
.product-card__note { font-family: var(--mono); font-size: 11px; color: var(--text-faint); }
.product-card__detail-link { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.06em; transition: letter-spacing 0.2s; }
.product-card__detail-link:hover { letter-spacing: 0.12em; }
.product-card__name { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.product-card__subtitle { font-size: 0.55em; font-weight: 400; color: var(--text-muted); }
.product-card__tagline { font-style: italic; color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.product-card__desc { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.75; }
.product-card__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.product-card__features--planned { grid-template-columns: repeat(2, 1fr); }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-mid); }
.feature-item__icon { font-size: 14px; flex-shrink: 0; }
.feature-item--planned { color: var(--text-muted); }
.product-card__footer { padding-top: 20px; border-top: 1px solid var(--border); }
.product-card__note-block { margin-top: 20px; padding: 14px 18px; background: rgba(255,255,255,0.03); border-radius: var(--radius); border: 1px solid var(--border); font-size: 13px; color: var(--text-muted); font-family: var(--mono); line-height: 1.6; }

/* ---- STACK TAGS ---- */
.stack-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.stack-tag { font-family: var(--mono); font-size: 12px; padding: 4px 10px; background: rgba(29,111,232,0.08); border: 1px solid var(--border-blue); border-radius: 4px; color: var(--blue); }

/* ---- HAZWAVE DIVISIONS ---- */
.hazwave-divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.hw-div { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); }
.hw-div > span { font-size: 22px; flex-shrink: 0; }
.hw-div strong { display: block; font-size: 14px; margin-bottom: 3px; }
.hw-div p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---- NOTIFY FORM ---- */
.notify-form { margin-top: 20px; }
.notify-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-fields input { flex: 1; min-width: 160px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; color: var(--text); font-family: var(--font); }
.notify-fields input:focus { outline: none; border-color: var(--blue); }
.notify-fields input::placeholder { color: var(--text-faint); }

/* ---- APPROACH ---- */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.approach-card { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color 0.2s; }
.approach-card:hover { border-color: rgba(29,111,232,0.3); }
.approach-card__num { margin-bottom: 16px; }
.approach-card h3 { font-size: 18px; color: var(--text); margin-bottom: 12px; }
.approach-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- STACK GRID ---- */
.stack-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stack-item { padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; transition: border-color 0.2s; }
.stack-item:hover { border-color: rgba(29,111,232,0.3); }
.stack-item__name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.stack-item__desc { font-size: 12px; color: var(--text-muted); margin: 0; }

/* ---- VISION ---- */
.vision__inner { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.vision__right p { color: var(--text-muted); }
.vision__hazwave-callout { margin-top: 28px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.vision__hazwave-callout .mono-label { margin-bottom: 12px; }
.vision__hazwave-callout p { margin-bottom: 14px; font-size: 15px; }
.vision__hazwave-callout a { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }

/* ---- CONTACT ---- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__left p { color: var(--text-muted); margin-bottom: 28px; }
.contact__meta { display: flex; flex-direction: column; gap: 16px; }
.contact-meta-item { display: flex; flex-direction: column; gap: 4px; }
.contact-meta-item p, .contact-meta-item a { font-size: 15px; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-group label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.field-group input, .field-group textarea { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; color: var(--text); font-family: var(--font); transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.field-group input:focus, .field-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.field-group input::placeholder, .field-group textarea::placeholder { color: var(--text-faint); }
.field-group.has-error input, .field-group.has-error textarea { border-color: #ef4444; }
.field-error { font-size: 12px; color: #ef4444; }
.alert--success { padding: 14px 18px; background: rgba(29,111,232,0.1); border: 1px solid var(--border-blue); border-radius: var(--radius); color: var(--blue); font-size: 15px; margin-bottom: 16px; }

/* ---- FOOTER ---- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 0; background: var(--bg-dark); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer__wordmark { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.footer__wordmark span { color: var(--blue); }
.footer__tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.footer__parent { font-size: 13px; color: var(--text-faint); }
.footer__parent a { color: var(--text-muted); transition: color 0.2s; }
.footer__parent a:hover { color: var(--text); }
.footer__col-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer__links a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer__bottom p { font-size: 12px; color: var(--text-faint); }
.footer__location { font-family: var(--mono); font-size: 11px; }

/* ---- SUBPAGES ---- */
.page-hero { position: relative; padding: 140px 0 72px; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-dark); }
.page-hero__grid { position: absolute; inset: 0; background-image: radial-gradient(circle, #1D6FE820 1px, transparent 1px); background-size: 40px 40px; }
.page-hero__inner { position: relative; z-index: 2; }
.page-back { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-faint); display: inline-block; margin-bottom: 20px; transition: color 0.2s; }
.page-back:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 14px; }
.page-hero__tagline { font-size: 18px; font-style: italic; color: var(--text-muted); }
.subpage__inner { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.subpage__body h2 { margin-bottom: 20px; }
.subpage__body h3 { margin-top: 36px; margin-bottom: 16px; color: var(--text-muted); font-size: 16px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400; }
.subpage__callout { margin-top: 32px; padding: 20px 24px; background: var(--bg-card); border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.subpage__callout p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.module-card { padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.module-card--planned { border-color: rgba(245,158,11,0.15); }
.module-card__name { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.module-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.aside-card { padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--text); margin: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .stack-grid { grid-template-columns: repeat(3, 1fr); }
    .hazwave-divisions { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .about__inner, .vision__inner { grid-template-columns: 1fr; gap: 24px; }
    .about__meta { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .contact__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom-inner { flex-direction: column; }
    .product-card__features { grid-template-columns: 1fr; }
    .subpage__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    :root { --section-gap: 72px; }
    .nav__links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 90px 28px 32px; gap: 6px; }
    .nav__links.open { display: flex; }
    .nav__links a { font-size: 18px; padding: 12px 0; }
    .nav__toggle { display: flex; }
    .hero__cta { flex-direction: column; align-items: flex-start; }
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
    .module-grid { grid-template-columns: 1fr; }
    .notify-fields { flex-direction: column; }
}
