/* ================================
   HaloCyberlife v2.0.2 Styles
   ================================ */

/* ---------- Root / Reset ---------- */

:root {
    --bg-main: #050814;
    --bg-elevated: #0b1020;
    --bg-elevated-soft: #101628;
    --bg-light: #f7f5ff;
    --bg-chip: rgba(255, 255, 255, 0.08);

    --accent-primary: #8b5cf6;
    --accent-secondary: #22d3ee;
    --accent-soft: rgba(139, 92, 246, 0.14);

    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-soft: #d1d5db;
    --text-dark: #111827;

    --border-subtle: rgba(148, 163, 184, 0.4);

    --radius-lg: 18px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.9);
    --shadow-subtle: 0 10px 30px rgba(15, 23, 42, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #02040a 100%);
    color: var(--text-main);
    line-height: 1.6;
}

/* ---------- Utility ---------- */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* ---------- Header / Neon Nav ---------- */

.neon-header {
    width: 100%;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.neon-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* BRAND */

.neon-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.neon-logo {
    height: 40px;
    width: auto;
}

.neon-brand-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}

/* NAV */

.neon-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.neon-link {
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.08em;
    font-size: 0.92rem;
    text-transform: uppercase;

    color: #fff;
    border: 2px solid currentColor;
    transition: 0.2s ease;
    position: relative;
}

/* Neon color variants */
.color-blue    { color: #4cc3ff; }
.color-purple  { color: #c084fc; }
.color-cyan    { color: #5ffffa; }
.color-magenta { color: #ff5df7; }
.color-gold    { color: #ffe27a; }

/* Glow effect */
.neon-link:hover,
.neon-link:focus-visible {
    box-shadow: 0 0 18px currentColor, inset 0 0 18px currentColor;
    background: currentColor;
    color: #000;
    transform: translateY(-1px);
}

/* Mobile toggle */
.neon-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.neon-nav-toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

/* Mobile menu behavior */
@media (max-width: 820px) {
    .neon-nav-toggle {
        display: flex;
    }

    .neon-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 1.25rem 0;
        background: rgba(0, 0, 0, 0.92);
        display: none;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .neon-nav.open {
        display: flex;
    }
}

/* ---------- Hero ---------- */

.hero {
    padding: 3.5rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--accent-secondary);
    margin-bottom: 0.8rem;
}

.hero-title {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--text-muted);
    max-width: 32rem;
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Buttons */

.btn {
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.65rem 1.4rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.primary-btn {
    color: #0b1120;
    background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: var(--shadow-soft);
}

.primary-btn:hover {
    filter: brightness(1.05);
}

.ghost-btn {
    color: var(--text-soft);
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.6);
}

.ghost-btn:hover {
    border-color: var(--accent-secondary);
}

/* Hero visual */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.orb {
    position: absolute;
    border-radius: 999px;
}

.orb-outer {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 0,
        rgba(56, 189, 248, 0.55),
        rgba(15, 23, 42, 0.4) 55%,
        transparent 100%);
    filter: blur(1px);
}

.orb-inner {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 50% 30%,
        #ffffff,
        rgba(139, 92, 246, 0.3),
        transparent 70%);
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.75);
}

.hero-tagline {
    position: relative;
    z-index: 1;
    max-width: 11rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
}

@media (max-width: 767px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .hero-tagline {
        max-width: none;
    }
}

/* ---------- Sections ---------- */

.section {
    padding: 3rem 0;
}

.section-light {
    background: radial-gradient(circle at top left, #eef2ff, #f9fafb 40%, #edf2ff 100%);
    color: var(--text-dark);
}

.section-dark {
    background: radial-gradient(circle at top, #020617 0, #020617 35%, #020617 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.section-dark p {
    color: var(--text-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    font-size: 0.98rem;
    color: var(--text-muted);
}

.section-split {
    display: grid;
    gap: 2rem;
}

.section-text h2 {
    margin-bottom: 0.6rem;
}

.section-text p {
    margin-bottom: 0.8rem;
}

.bullet-list {
    list-style: none;
    margin: 0.5rem 0 0.8rem;
}

.bullet-list li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.section-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-subtle);
    font-size: 0.95rem;
}

.section-card p + p {
    margin-top: 0.6rem;
}

/* Status pill */

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: var(--accent-soft);
    color: #4c1d95;
}

.section-dark .status-pill {
    background: rgba(148, 163, 184, 0.16);
    color: #e5e7eb;
}

/* ---------- Cards (Blog + Atelier) ---------- */

.card-grid {
    display: grid;
    gap: 1.6rem;
}

.card-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.card-soft {
    background: var(--bg-elevated-soft);
    box-shadow: var(--shadow-subtle);
}

/* Card link should stack content vertically */
.card-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

/* SINGLE SOURCE OF TRUTH for card images */
.card-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.25s ease-out;
}

.card-body {
    padding: 1rem 1.2rem 1.2rem;
}

.card-meta {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.card-title {
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
    line-height: 1.2;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 0.7rem;
    line-height: 1.55;
}

.card-cta {
    font-size: 0.86rem;
    color: var(--accent-secondary);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-secondary);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.95);
}

.card:hover .card-image {
    transform: scale(1.05);
}

/* Atelier pills */

.pill-soft {
    background: rgba(148, 163, 184, 0.2);
    color: #e5e7eb;
    margin-top: 0.4rem;
}

/* Section actions */

.section-actions {
    text-align: center;
    margin-top: 2rem;
}

.section-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---------- Newsletter ---------- */

.newsletter-section {
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
        rgba(56, 189, 248, 0.35),
        transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.newsletter-inner {
    position: relative;
    display: grid;
    gap: 1.6rem;
    align-items: center;
}

.newsletter-copy h2 {
    margin-bottom: 0.4rem;
}

.newsletter-copy p {
    color: var(--text-soft);
}

/* ---------- Footer ---------- */

.site-footer {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 2.3rem 0 2rem;
    margin-top: 1.5rem;
}

.footer-inner {
    display: grid;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.footer-logo {
    width: 32px;
    height: auto;
}

.footer-brand-text {
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 0.6rem;
}

.footer-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-heading {
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    font-size: 0.88rem;
}

.footer-links li + li {
    margin-top: 0.3rem;
}

.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

.footer-social a {
    font-size: 0.86rem;
    color: var(--accent-secondary);
    text-decoration: none;
}

.footer-social a:hover {
    text-decoration: underline;
}

/* Back to top */

.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    background: var(--accent-primary);
    color: #020617;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.back-to-top.show {
    display: flex;
}

/* ---------- Responsive layouts ---------- */

@media (min-width: 768px) {
    .section-split {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1.2fr;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 2.4rem 0;
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}




/*=========== Patching/udgrade need to clean entire css when im satisfy ==================*/




/* ===== Header styles for .site-header ===== */
.site-header{
  width: 100%;
  padding: 1rem 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link{
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo{
  width: 44px;          /* THIS prevents the giant logo issue */
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand-text{
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
}

.main-nav .nav-list{
  display: flex;
  align-items: center;
  gap: .8rem;
  list-style: none;
}

.main-nav .nav-link{
  padding: .55rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .08em;
  font-size: .9rem;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  transition: .2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible{
  border-color: var(--accent-secondary);
  box-shadow: 0 0 18px rgba(34,211,238,0.45);
}

/* Mobile: hide nav by default, show when toggled via JS */
@media (max-width: 820px){
  .nav-toggle{ display: flex; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; }
  .nav-toggle-line{ width: 24px; height: 3px; background: #fff; border-radius: 3px; }

  .main-nav{ position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem 0; background: rgba(0,0,0,0.92); }
  .main-nav.open{ display: block; }
  .main-nav .nav-list{ flex-direction: column; gap: .9rem; justify-content: center; }
}

/* =========================
   CONTACT PAGE POLISH 
   ========================= */

/* Make section header feel more “hero” */
.section-header h1{
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: .5rem;
}

.section-header p{
  max-width: 52ch;
  margin: 0.35rem auto 0;
  color: rgba(209,213,219,0.85);
}

/* Align split content to top (not vertically centered) */
@media (min-width: 768px){
  .section-split{
    align-items: start; /* overrides your current center */
    gap: 2.6rem;
  }
}

/* Fix the white card — keep it “soft glass” instead */
.section-card{
  background: rgba(16, 22, 40, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--text-soft);
  backdrop-filter: blur(10px);
}

.section-card h3{
  color: var(--text-main);
  margin-bottom: .7rem;
}

/* Bullet links cleaner */
.section-card a{
  color: var(--accent-secondary);
  text-decoration: none;
}
.section-card a:hover{ text-decoration: underline; }

/* Form card: tighter, cleaner, more “app-like” */
.contact-form.card{
  border-radius: 20px;
}

.contact-form .card-body{
  padding: 1.35rem 1.35rem 1.2rem;
}

.contact-form .card-title{
  font-size: 1.15rem;
  margin-bottom: .35rem;
}

.contact-form .card-text{
  color: rgba(209,213,219,0.82);
  margin-bottom: 1rem;
}

/* Make form groups breathe */
.form-group{
  margin-top: .85rem;
}

/* Labels: small + consistent */
.form-group label{
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .02em;
  color: rgba(209,213,219,0.9);
  margin-bottom: .35rem;
}

/* Inputs: full width, modern, readable */
.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  font: inherit;
  color: var(--text-main);
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  padding: .7rem .85rem;
  outline: none;
}

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

/* Focus glow */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
}

/* Button: bigger + centered */
.contact-form .primary-btn{
  width: 100%;
  margin-top: .85rem !important;
  padding: .85rem 1rem;
  font-weight: 700;
  letter-spacing: .08em;
}

/* Improve link contrast in footer column */
.site-footer a{
  color: rgba(209,213,219,0.88);
}
.site-footer a:hover{
  color: var(--accent-secondary);
}

/* =========================
   PATCH: Nav consistency for Contact page (.site-header / .main-nav)
   Paste at END of CSS
   ========================= */

.site-header{
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav .nav-list{
  display: flex;
  align-items: center;
  gap: 0.8rem;
  list-style: none;
}

.main-nav .nav-link{
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: uppercase;

  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  transition: 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible{
  border-color: var(--accent-secondary);
  background: rgba(34, 211, 238, 0.12);
  box-shadow:
    0 0 18px rgba(34, 211, 238, 0.45),
    inset 0 0 18px rgba(34, 211, 238, 0.18);
  transform: translateY(-1px);
}

/* Highlight current page tab */
.main-nav .nav-link[aria-current="page"]{
  border-color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}

/* Keep nav from breaking weirdly on smaller widths */
@media (max-width: 980px){
  .main-nav .nav-list{
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
