﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #1a1510;
      --bg2: #201b14;
      --gold: #e8a94d;
      --gold-light: #f0be72;
      --white: #f5f0e8;
      --muted: #8a8070;
      --card-bg: #252018;
      --card-border: rgba(232,169,77,.12);
    }

    html, body {
      color: var(--white);
      font-family: 'Barlow', sans-serif;
      min-height: 100vh;
      overflow-x: hidden;

      /* Cinematic background (warm haze + vignette like screenshot) */
      background-color: var(--bg);
      background-image:
        radial-gradient(1000px 700px at 18% 28%, rgba(232,169,77,0.16), rgba(232,169,77,0) 60%),
        radial-gradient(950px 850px at 72% 55%, rgba(232,169,77,0.12), rgba(232,169,77,0) 62%),
        radial-gradient(700px 700px at 85% 18%, rgba(255,255,255,0.035), rgba(255,255,255,0) 58%),
        radial-gradient(1400px 1000px at 50% 45%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.62) 78%, rgba(0,0,0,0.88) 100%),
        linear-gradient(180deg, var(--bg) 0%, #14100b 58%, #0f0c07 100%);
      background-repeat: no-repeat;
      background-attachment: fixed;
    }

    /* Soft bokeh/orb layer (depth) */
    body::before {
      content: '';
      position: fixed;
      inset: -20vmax;
      pointer-events: none;
      z-index: 0;
      opacity: 0.7;
      background:
        radial-gradient(120px 120px at 18% 62%, rgba(232,169,77,0.22), rgba(232,169,77,0) 70%),
        radial-gradient(220px 220px at 32% 78%, rgba(232,169,77,0.14), rgba(232,169,77,0) 72%),
        radial-gradient(320px 320px at 78% 30%, rgba(232,169,77,0.16), rgba(232,169,77,0) 75%),
        radial-gradient(520px 520px at 86% 58%, rgba(232,169,77,0.10), rgba(232,169,77,0) 76%),
        radial-gradient(180px 180px at 62% 70%, rgba(255,255,255,0.05), rgba(255,255,255,0) 72%);
      filter: blur(22px);
      transform: translateZ(0);
    }

    .container {
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 0 var(--content-pad-x);
    }

    /* Navbar styles live in styles.css (universal header) */

    /* â”€â”€â”€ HERO â”€â”€â”€ */
    .hero {
      min-height: 100vh;
      padding: 120px 0 0;
      position: relative;
      overflow: visible;
    }

    .hero .container {
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(520px, 1fr) 620px;
      gap: 40px;
      align-items: start;
    }

    .hero-left {
      position: relative;
      z-index: 3;
      padding-bottom: 48px;
      min-width: 0;
    }

    .hero-visual {
      position: relative;
      z-index: 1;
      min-height: 620px;
      justify-self: end;
      pointer-events: auto;
    }

    @media (max-width: 1100px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .hero-visual {
        display: none;
      }
    }

    /* Decorative circles behind the tech icons */
    .hero-circles {
      position: absolute;
      right: -200px;
      top: 50%;
      transform: translateY(-54%);
      width: 520px;
      height: 520px;
      pointer-events: none;
      z-index: 0;
    }

    .circle-lg {
      position: absolute;
      right: -10px;
      top: 50%;
      transform: translateY(-50%);
      width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle at 40% 40%, rgba(120,100,50,0.45), rgba(60,50,20,0.15));
      border: 1px solid rgba(232,169,77,0.10);
    }

    .circle-sm-1 {
      position: absolute;
      right: 300px;
      top: 72%;
      width: 60px; height: 60px;
      border-radius: 50%;
      background: rgba(100,85,40,0.35);
    }

    .circle-sm-2 {
      position: absolute;
      right: 150px;
      top: 88%;
      width: 38px; height: 38px;
      border-radius: 50%;
      background: rgba(90,75,35,0.30);
    }

    /* big <> symbol inside the large circle */
    .circle-code-icon {
      position: absolute;
      right: -10px;
      top: 50%;
      transform: translateY(-50%);
      width: 400px; height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }
    .circle-code-icon i {
      font-size: 90px;
      color: rgba(232,169,77,0.35);
    }

    /* â”€â”€â”€ TECH ICON CARDS â”€â”€â”€ */
    /* Layout from the screenshot:
         Node.js  â†’ top-center-ish  (above circle, slightly left of center)
         React    â†’ far right, vertically middle
         AWS      â†’ left side of circle, below Node
         PostgreSQL â†’ far right, below React
    */
    .tech-cards {
      position: absolute;
      right: 0;
      top: 0;
      width: 620px;
      height: 100%;
      pointer-events: none;
      z-index: 2;
    }

    .tech-card {
      position: absolute;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 18px;
      padding: 18px 22px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      min-width: 90px;
      pointer-events: all;
      transition: transform .25s, box-shadow .25s;
    }
    .tech-card:hover {
      transform: translateY(-4px) scale(1.04);
      box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    }
    .tech-card i {
      font-size: 28px;
      color: var(--gold);
    }
    .tech-card span {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255,255,255,0.80);
      letter-spacing: 0.3px;
      text-align: center;
      line-height: 1.3;
    }

    /* Positions matching the screenshot exactly */
    /* Node.js: upper area, roughly above the circle */
    .card-node {
      top: 130px;
      right: 295px;
    }
    /* React: far right, vertically around middle */
    .card-react {
      top: 45%;
      right: 30px;
    }
    /* AWS: left of the big circle */
    .card-aws {
      top: 58%;
      right: 355px;
    }
    /* PostgreSQL: far right, below React */
    .card-postgres {
      top: 68%;
      right: 30px;
    }

    /* â”€â”€â”€ HERO CONTENT â”€â”€â”€ */
    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 620px;
    }

    .available-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(232,169,77,0.10);
      border: 1px solid rgba(232,169,77,0.25);
      border-radius: 20px;
      padding: 6px 16px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
      margin-bottom: 24px;
    }
    .available-badge .dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--gold);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%,100% { opacity: 1; transform: scale(1); }
      50%      { opacity: .5; transform: scale(1.3); }
    }

    .hero-title {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.0;
      font-weight: 900;
      letter-spacing: -1px;
      margin-bottom: 4px;
    }
    .hero-title .white  { color: var(--white); }
    .hero-title .gold   { color: var(--gold); display: block; }

    .hero-sub {
      margin-top: 22px;
      font-size: 17px;
      font-weight: 400;
      color: rgba(255,255,255,0.60);
      line-height: 1.55;
      max-width: 480px;
    }
    .hero-sub strong { color: var(--white); font-weight: 700; }

    /* â”€â”€â”€ BUTTONS â”€â”€â”€ */
    .hero-btns {
      display: flex;
      gap: 16px;
      margin-top: 38px;
    }

    .btn-primary {
      background: var(--gold);
      color: var(--bg);
      font-weight: 700;
      font-size: 15px;
      border: none;
      border-radius: 40px;
      padding: 16px 34px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: background .2s, transform .15s;
      text-decoration: none;
      white-space: nowrap;
    }
    .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

    .btn-secondary {
      background: transparent;
      color: var(--white);
      font-weight: 700;
      font-size: 15px;
      text-align: center;
      border: 1.5px solid rgba(255,255,255,0.25);
      border-radius: 40px;
      padding: 16px 34px;
      cursor: pointer;
      transition: border-color .2s, transform .15s;
      text-decoration: none;
      white-space: nowrap;
    }
    .btn-secondary:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

    /* â”€â”€â”€ DIVIDER LINE â”€â”€â”€ */
    .divider {
      position: relative;
      z-index: 3;
      width: 100%;
      max-width: 620px;
      height: 1px;
      background: rgba(255,255,255,0.08);
      margin-top: 52px;
    }

    /* â”€â”€â”€ STATS BAR â”€â”€â”€ */
    .stats-bar {
      position: relative;
      z-index: 3;
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 26px 0 36px;
    }

    /* â”€â”€â”€ SOCIAL ICONS (center row in the hero grid) â”€â”€â”€ */
    .social-icons {
      position: relative;
      z-index: 3;
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 32px;
      margin-top: 8px;
      margin-bottom: 48px;
    }

    .social-icon {
      display: flex;
      align-items: center;
      gap: 10px;
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      transition: color .2s;
    }

    .social-icon:hover {
      color: var(--gold);
    }

    .social-icon i {
      font-size: 16px;
    }

    .stat-num {
      font-size: 26px;
      font-weight: 900;
      color: var(--gold);
      line-height: 1;
    }
    .stat-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      margin-top: 4px;
    }

    .avatars {
      display: flex;
      align-items: center;
    }
    .avatar {
      width: 38px; height: 38px;
      border-radius: 50%;
      border: 2px solid var(--bg);
      margin-left: -10px;
      background: #3a3520;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--white);
      overflow: hidden;
    }
    .avatar:first-child { margin-left: 0; }
    .avatar-1 { background: #4a5568; }
    .avatar-2 { background: #553a28; }
    .avatar-count {
      width: 38px; height: 38px;
      border-radius: 50%;
      border: 2px solid var(--bg);
      background: var(--gold);
      color: var(--bg);
      font-size: 12px;
      font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      margin-left: -10px;
    }

    /* â”€â”€â”€ CORE PHILOSOPHIES â”€â”€â”€ */
    .section-philosophies {
      padding: 100px 0 80px;
      position: relative;
      background: var(--bg);
      --philo-ghost-top: -44px;
      --philo-ghost-right: -26px;
      --philo-ghost-size: 124px;
    }

    .section-philosophies .container {
      display: flex;
      flex-direction: column;
    }

    .section-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 40px;
    }

    .section-title {
      font-size: clamp(21px, 2.6vw, 31px);
      font-weight: 900;
      line-height: 1.1;
      color: var(--white);
    }

    .nav-arrows {
      display: flex;
      gap: 10px;
      margin-top: 6px;
    }
    .nav-arrow {
      width: 42px; height: 42px;
      border-radius: 50%;
      border: 1.5px solid rgba(255,255,255,0.18);
      background: transparent;
      color: rgba(255,255,255,0.7);
      font-size: 16px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer;
      transition: border-color .2s, color .2s, background .2s;
    }
    .nav-arrow:hover {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(232,169,77,0.08);
    }

    .philo-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      overflow: hidden;
    }

    .philo-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      padding: 32px 30px 28px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 380px;
      transition: border-color .25s, transform .25s;
    }
    .philo-card:hover {
      border-color: rgba(232,169,77,0.25);
      transform: translateY(-4px);
    }

    /* Big ghost icon (background) */
    .philo-card-bg-icon {
      position: absolute;
      top: var(--philo-ghost-top);
      right: var(--philo-ghost-right);
      font-size: var(--philo-ghost-size);
      color: rgba(232,169,77,0.085);
      pointer-events: none;
      line-height: 1;
      z-index: 0;
      transform: rotate(var(--philo-ghost-rotate, 0deg));
      transform-origin: 60% 40%;
    }

    /* Card 2 â€“ tilt the big rocket upward */
    .philo-card-bg-icon.bi-rocket-takeoff-fill {
      --philo-ghost-rotate: -42deg;
    }

    /* Keep all card content above the ghost icon */
    .philo-card > :not(.philo-card-bg-icon) {
      position: relative;
      z-index: 1;
    }

    /* â”€â”€â”€ RESPONSIVE â”€â”€â”€ */
    @media (max-width: 900px) {
      .section-header { flex-direction: column; gap: 16px; align-items: flex-start; }
      .nav-arrows { margin-top: 0; }

      .philo-cards {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 700px) {
      .hero-left { padding-bottom: 18px; }
      .divider { margin-top: 34px; }
      .stats-bar {
        gap: 22px;
        padding: 18px 0 14px;
      }
      .social-icons {
        margin-top: 0;
        padding-bottom: 18px;
      }

      .hero-btns {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
      }
      .btn-primary,
      .btn-secondary {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 14px 16px;
        font-size: 14px;
      }

      .btn-primary .btn-arrow { display: none; }

      .nav-arrows { display: none; }

      .philo-cards {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
      }
      .philo-cards::-webkit-scrollbar { height: 0; }

      .philo-card {
        flex: 0 0 84%;
        min-height: 340px;
        padding: 26px 22px 22px;
        scroll-snap-align: start;
      }
      .section-philosophies { --philo-ghost-size: 104px; }
      .philo-card h3 { font-size: 18px; }
      .philo-card p { font-size: 13px; }
    }

    .philo-icon-wrap {
      width: 48px; height: 48px;
      border-radius: 12px;
      background: rgba(232,169,77,0.15);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 22px;
      flex-shrink: 0;
    }
    .philo-icon-wrap i {
      font-size: 22px;
      color: var(--gold);
    }

    .philo-card h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--white);
      line-height: 1.3;
      margin-bottom: 14px;
    }

    .philo-card p {
      font-size: 14px;
      font-weight: 400;
      color: rgba(255,255,255,0.55);
      line-height: 1.65;
    }

    .philo-card-bottom {
      margin-top: auto;
      padding-top: 24px;
    }

    /* Card 1 â€“ code snippet */
    .code-block {
      background: #141210;
      border: 1px solid #2a2618;
      border-radius: 10px;
      padding: 16px 18px;
      font-family: 'Courier New', monospace;
      font-size: 12px;
      line-height: 1.7;
      position: relative;
    }
    .code-dots {
      display: flex; gap: 6px;
      margin-bottom: 10px;
    }
    .code-dots span {
      width: 10px; height: 10px; border-radius: 50%;
    }
    .dot-red   { background: #ff5f57; }
    .dot-yellow{ background: #febc2e; }
    .dot-green { background: #28c840; }
    .code-line { color: rgba(255,255,255,0.55); }
    .code-kw   { color: var(--gold); }
    .code-str  { color: #a8d8a8; }
    .code-fn   { color: #7eb8d4; }
    .code-cm   { color: rgba(255,255,255,0.28); }

    /* Card 2 â€“ performance matrix */
    .perf-matrix-wrap {
      background: #2a2518;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
    }
    .perf-bars {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 10px;
      height: 80px;
      margin-bottom: 12px;
    }
    .perf-bar {
      width: 46px;
      border-radius: 8px 8px 0 0;
      background: rgba(255,255,255,0.12);
      transition: background .3s;
    }
    .perf-bar.active { background: var(--gold); }
    .perf-bar-h1 { height: 55%; }
    .perf-bar-h2 { height: 100%; }
    .perf-bar-h3 { height: 65%; }
    .perf-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--gold);
    }

    /* Card 3 â€“ palette/design preview */
    .design-preview {
      background: #2a2518;
      border-radius: 12px;
      padding: 18px;
      display: flex;
      gap: 8px;
      align-items: stretch;
    }
    .design-swatch {
      flex: 1;
      border-radius: 8px;
      min-height: 80px;
    }
    .swatch-1 { background: #3a3020; }
    .swatch-2 { background: var(--gold); }
    .swatch-3 { background: #4a4030; }

    /* â”€â”€â”€ TECH GALAXY â”€â”€â”€ */
    .section-galaxy {
      padding: 100px 0 100px;
      background: var(--bg);
      position: relative;
    }

    .section-galaxy .container {
      display: flex;
      flex-direction: column;
    }

    .galaxy-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 36px;
      gap: 40px;
    }

    .galaxy-title {
      font-size: clamp(20px, 2.6vw, 30px);
      font-weight: 900;
      color: var(--white);
      line-height: 1.15;
      flex-shrink: 0;
    }
    .galaxy-title .gold { color: var(--gold); }

    .galaxy-desc {
      max-width: 440px;
      font-size: 14px;
      color: rgba(255,255,255,0.5);
      line-height: 1.7;
      margin-top: 14px;
    }

    .galaxy-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0;
    }

    .galaxy-filter-pills {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
      margin-top: 14px;
    }
    .filter-pill {
      background: transparent;
      border: 1.5px solid rgba(255,255,255,0.18);
      border-radius: 20px;
      padding: 7px 18px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      cursor: pointer;
      transition: all .2s;
    }
    .filter-pill:hover,
    .filter-pill.active {
      border-color: var(--gold);
      color: var(--gold);
      background: rgba(232,169,77,0.08);
    }

    /* Galaxy canvas container */
    .galaxy-canvas-wrap {
      background: linear-gradient(135deg, #1e1a0e 0%, #251f0e 40%, #1a1508 100%);
      border: 1px solid #2a2618;
      border-radius: 20px;
      position: relative;
      height: 420px;
      overflow: hidden;
    }

    /* Warm glow in center */
    .galaxy-canvas-wrap::before {
      content: '';
      position: absolute;
      left: 50%; top: 50%;
      transform: translate(-50%, -50%);
      width: 340px; height: 260px;
      background: radial-gradient(ellipse, rgba(180,120,30,0.22) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    /* SVG lines + nodes are drawn via JS on a canvas overlay */
    #galaxyCanvas {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      z-index: 1;
    }

    /* Node elements */
    .g-node {
      position: absolute;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      z-index: 3;
      transform: translate(-50%, -50%);
      cursor: pointer;
    }

    .g-node-circle {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: #1e1c12;
      border: 2px solid #3a3420;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s, transform .2s, box-shadow .2s;
    }
    .g-node:hover .g-node-circle {
      border-color: var(--gold);
      transform: scale(1.1);
      box-shadow: 0 0 20px rgba(232,169,77,0.3);
    }
    .g-node-circle i { font-size: 22px; color: var(--gold); }

    .g-node-label {
      font-size: 12px;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      text-align: center;
      line-height: 1.3;
    }

    /* Center node â€“ larger, glowing ring */
    .g-node-center .g-node-circle {
      width: 80px; height: 80px;
      border: 2px solid var(--gold);
      box-shadow: 0 0 30px rgba(232,169,77,0.25);
      background: #221c0c;
    }
    .g-node-center .g-node-circle i { font-size: 30px; }
    .g-node-center .g-node-label {
      font-size: 15px;
      font-weight: 900;
      color: var(--gold);
    }
    .g-node-center .g-node-sublabel {
      font-size: 10px;
      font-weight: 600;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.5px;
    }

    /* Small satellite nodes (Figma, Docker icons on edges) */
    .g-node-sm .g-node-circle {
      width: 36px; height: 36px;
      background: #e0e8e0;
      border: none;
    }
    .g-node-sm .g-node-circle i {
      font-size: 16px;
      color: #1a2a1a;
    }
    .g-node-sm-teal .g-node-circle { background: #4dd9c0; }
    .g-node-sm-blue .g-node-circle { background: #d0e8f0; }

    /* â”€â”€â”€ GRAIN OVERLAY â”€â”€â”€ */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.025;
      pointer-events: none;
      z-index: 1;
    }

