/* ================================================================
   TECHUP MARKETING styles.css
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ---------------------------------------------------------------- VARIABLES */
:root {
  --g:    #4E844C;
  --gd:   #1B3A1D;
  --gp:   #244846;
  --gc:   #7EC97C;
  --bg:   #050905;
  --bgc:  #0A150A;
  --bgca: #0C1C1B;
  --brd:  rgba(78,132,76,.2);
  --brdh: rgba(78,132,76,.5);
  --tx:   #EFF3EF;
  --txs:  #8BA889;
  --txt:  #4A6449;

  --fd: 'Outfit', sans-serif;
  --fb: 'Inter', sans-serif;

  --r:    10px;
  --rl:   18px;
  --mw:   1160px;
  --ease: cubic-bezier(.4,0,.2,1);
  --tr:   .3s var(--ease);
}

/* ---------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ---------------------------------------------------------------- CUSTOM CURSOR */
/* The interactive desktop target cursor is defined in site.css and target-cursor.js. */

/* ---------------------------------------------------------------- NOISE */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .03;
}

/* ---------------------------------------------------------------- GRID BG */
#grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(78,132,76,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,132,76,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 100%);
}

/* ---------------------------------------------------------------- SPOTLIGHT */
#mouse-glow {
  position: fixed; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(78,132,76,.065) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  will-change: left, top;
}

section, header, footer { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- UTILITIES */
.container { max-width: var(--mw); margin-inline: auto; padding-inline: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--fd); font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gc);
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gc); flex-shrink: 0; }

.sec-label {
  font-family: var(--fd); font-size: .65rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gc);
  display: inline-block; margin-bottom: 14px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78,132,76,.16), transparent);
}

.section { padding: 96px 0; }
.section-hd { margin-bottom: 56px; }

.section-title {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.022em; color: #fff;
  margin-top: 12px;
}
.section-lead {
  font-size: .97rem; color: var(--txs); margin-top: 16px; line-height: 1.8;
}

/* ---------------------------------------------------------------- REVEAL */
.reveal        { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-l      { opacity: 0; transform: translateX(-32px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-r      { opacity: 0; transform: translateX(32px);  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }

.stagger .reveal:nth-child(1) { transition-delay: .04s; }
.stagger .reveal:nth-child(2) { transition-delay: .12s; }
.stagger .reveal:nth-child(3) { transition-delay: .20s; }
.stagger .reveal:nth-child(4) { transition-delay: .28s; }
.stagger .reveal:nth-child(5) { transition-delay: .36s; }
.stagger .reveal:nth-child(6) { transition-delay: .44s; }
.stagger .reveal:nth-child(7) { transition-delay: .52s; }
.stagger .reveal:nth-child(8) { transition-delay: .60s; }

/* ---------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--r);
  font-family: var(--fd); font-size: .92rem; font-weight: 600;
  letter-spacing: .01em; transition: var(--tr);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateX(130%); }

.btn-primary {
  background: var(--g); color: #fff;
  box-shadow: 0 0 30px rgba(78,132,76,.32), 0 2px 12px rgba(0,0,0,.5);
}
.btn-primary:hover {
  background: #3d6d3b;
  box-shadow: 0 0 52px rgba(78,132,76,.55), 0 4px 20px rgba(0,0,0,.6);
  transform: translateY(-2px);
}
.btn-ghost { border: 1.5px solid var(--brd); color: var(--tx); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--brdh); color: var(--gc); background: rgba(78,132,76,.06); }
.btn-lg { padding: 16px 34px; font-size: .97rem; border-radius: 11px; }
.btn-xl { padding: 18px 38px; font-size: 1.02rem; border-radius: 12px; }

/* ================================================================ HEADER */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(5,9,5,.82);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(78,132,76,.1);
  transition: var(--tr);
  animation: hdr-drop .6s var(--ease) both;
}
@keyframes hdr-drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

.header-inner {
  max-width: var(--mw); margin-inline: auto; padding-inline: 28px;
  height: 66px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fd); font-size: 1.1rem; font-weight: 800; color: #fff;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--g), var(--gp));
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 900; color: #fff;
  box-shadow: 0 0 16px rgba(78,132,76,.45);
}
/* Logo PNG — loads automatically when logo.png is found */
.logo-png { height: 30px; width: auto; display: none; }
.logo-loaded .logo-png   { display: block; }
.logo-loaded .logo-fb-el { display: none !important; }
.logo-text-fb { color: var(--gc); }

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-size: .82rem; font-weight: 500; color: var(--txs);
  padding: 6px 13px; border-radius: 8px;
  transition: color var(--tr), background var(--tr);
}
nav a:hover { color: var(--tx); background: rgba(255,255,255,.05); }

.header-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: flex; border: 1px solid var(--brd); border-radius: 8px; overflow: hidden; }
.lang-btn {
  padding: 5px 13px; font-size: .75rem; font-weight: 600;
  letter-spacing: .04em; color: var(--txs); background: transparent; transition: var(--tr);
}
.lang-btn.active { background: var(--g); color: #fff; }

/* ================================================================ CONTACT FLOAT BUTTON */
#contact-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.cf-btn {
  display: flex; align-items: center; gap: 10px;
  border-radius: 100px; padding: 12px 20px;
  font-family: var(--fd); font-size: .82rem; font-weight: 700;
  transition: transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.cf-btn:hover { transform: translateY(-2px); }
.cf-call {
  background: #1B3A1D; border: 1px solid rgba(78,132,76,.4); color: var(--gc);
}
.cf-call:hover { box-shadow: 0 6px 28px rgba(78,132,76,.35); }
.cf-msg {
  background: var(--g); color: #fff;
  box-shadow: 0 4px 22px rgba(78,132,76,.4);
}
.cf-msg:hover { background: #3d6d3b; box-shadow: 0 8px 32px rgba(78,132,76,.55); }
.cf-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ================================================================ HERO */
#hero {
  min-height: 100vh;
  padding: 150px 0 100px;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 70% 30%, rgba(36,72,70,.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 90%, rgba(27,58,29,.25) 0%, transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }

.hero-eyebrow { margin-bottom: 28px; opacity: 0; animation: fade-slide .6s .1s var(--ease) forwards; }
@keyframes fade-slide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-title {
  font-family: var(--fd);
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -.03em;
  color: #fff; margin-bottom: 24px;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span {
  display: block; transform: translateY(110%);
  animation: clip-up .72s var(--ease) forwards;
}
.hero-title-line:nth-child(1) span { animation-delay: .2s; }
.hero-title-line:nth-child(2) span { animation-delay: .34s; }
.hero-title-line:nth-child(3) span { animation-delay: .48s; }
@keyframes clip-up { to { transform: translateY(0); } }

.hero-title em {
  color: var(--gc); font-style: normal;
  position: relative; display: inline-block;
}
.hero-title em::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--g), transparent);
  transform: scaleX(0); transform-origin: left;
  animation: grow-line 1s 1s var(--ease) forwards;
}
@keyframes grow-line { to { transform: scaleX(1); } }

.hero-sub-wrap { opacity: 0; animation: fade-slide .6s .6s var(--ease) forwards; }
.hero-sub { font-size: 1.07rem; color: var(--txs); max-width: 500px; margin-bottom: 14px; line-height: 1.78; }
.hero-note {
  font-size: .88rem; color: var(--txt);
  max-width: 460px; margin-bottom: 38px; line-height: 1.75;
  padding-left: 16px; border-left: 2px solid rgba(78,132,76,.3);
}
.hero-ctas-wrap { opacity: 0; animation: fade-slide .6s .76s var(--ease) forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero-badge-wrap { opacity: 0; animation: fade-slide .6s .92s var(--ease) forwards; }
.badge-intl { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 500; color: var(--txt); }
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gc);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(126,201,124,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(126,201,124,0); }
}

/* Hero right panel */
.hero-panel { opacity: 0; animation: panel-rise .8s .38s var(--ease) forwards; }
@keyframes panel-rise { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }

.portfolio-strip { display: flex; flex-direction: column; gap: 12px; }
.portfolio-card {
  background: var(--bgc); border: 1px solid var(--brd);
  border-radius: var(--rl); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.portfolio-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--brdh);
  box-shadow: 0 20px 56px rgba(0,0,0,.5);
}
/* Portfolio image placeholders: replace with real imgs */
.portfolio-card .card-img-ph {
  width: 100%; height: 140px;
  background: linear-gradient(135deg, #0D1F10 0%, #0E2220 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: .7rem; font-weight: 600;
  color: var(--txt); letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(78,132,76,.1);
}
.portfolio-card .card-body { padding: 14px 18px 16px; }
.portfolio-card .card-title { font-family: var(--fd); font-size: .85rem; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.portfolio-card .card-sub { font-size: .75rem; color: var(--txs); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  padding: 6px 13px; border-radius: 8px;
  background: rgba(78,132,76,.09); border: 1px solid rgba(78,132,76,.18);
  font-size: .73rem; font-weight: 600; color: var(--gc); font-family: var(--fd);
  animation: chip-in .5s both;
  transition: background .25s, border-color .25s, transform .2s;
}
.chip:hover { background: rgba(78,132,76,.18); border-color: rgba(78,132,76,.4); transform: translateY(-2px); }
.chip:nth-child(1){animation-delay:.65s} .chip:nth-child(2){animation-delay:.75s}
.chip:nth-child(3){animation-delay:.85s} .chip:nth-child(4){animation-delay:.95s}
.chip:nth-child(5){animation-delay:1.05s}
@keyframes chip-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ================================================================ WHAT IS */
#what-is { background: var(--bg); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.flip-cards { display: flex; flex-direction: column; gap: 16px; }
.flip-card { perspective: 900px; height: 96px; }
.flip-card-inner {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.flip-card:hover .flip-card-inner { transform: rotateX(-180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--rl); display: flex; flex-direction: column;
  justify-content: center; padding: 0 28px;
}
.flip-front { background: var(--bgc); border: 1px solid rgba(78,132,76,.15); }
.flip-back {
  background: linear-gradient(135deg, var(--gd), var(--gp));
  border: 1px solid rgba(78,132,76,.35);
  transform: rotateX(180deg);
}
.flip-front-label { font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--txt); margin-bottom: 6px; }
.flip-front-text  { font-family: var(--fd); font-size: 1rem; font-weight: 700; color: var(--tx); }
.flip-back-text   { font-family: var(--fd); font-size: .92rem; font-weight: 600; color: #fff; line-height: 1.5; }
.flip-back-icon   { font-size: 1.1rem; margin-bottom: 6px; }

.what-stats { display: flex; flex-direction: column; gap: 24px; padding-top: 80px; }
.what-stat {
  border-left: 2px solid var(--brd); padding: 0 0 0 20px;
  transition: border-color .3s;
}
.what-stat:hover { border-color: var(--g); }
.what-stat-num { font-family: var(--fd); font-size: 2.2rem; font-weight: 800; color: var(--gc); line-height: 1; }
.what-stat-label { font-size: .83rem; color: var(--txs); margin-top: 4px; }

/* ================================================================ HOW IT FITS ORBIT */
#how-it-fits {
  background: linear-gradient(160deg, var(--bg) 0%, #091409 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  min-height: 700px;
}
#particle-canvas {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  /* width/height are set by JS — do NOT set them in CSS */
}
.how-inner { position: relative; z-index: 1; }
.how-layout { display: flex; gap: 80px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* Orbit diagram centered SVG-style layout */
.orbit-wrap {
  position: relative; width: 440px; height: 440px; flex-shrink: 0;
}
.orbit-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gd), var(--gp));
  border: 2px solid rgba(78,132,76,.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: .72rem; font-weight: 800; color: #fff;
  text-align: center; line-height: 1.3;
  box-shadow: 0 0 50px rgba(78,132,76,.35), 0 0 100px rgba(78,132,76,.12);
  z-index: 10;
}


/* Connector lines from center to nodes drawn in JS on SVG */
.orbit-svg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: visible;
}
.orbit-line {
  stroke: rgba(78,132,76,.22); stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: dash-flow 2.5s linear infinite;
}
.orbit-line-solid {
  stroke: rgba(78,132,76,.12); stroke-width: 1;
}
@keyframes dash-flow { to { stroke-dashoffset: -20; } }

/* Rings */
.orbit-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1px dashed rgba(78,132,76,.14);
  border-radius: 50%;
}
.orbit-ring-sm { width: 200px; height: 200px; border-style: solid; border-color: rgba(78,132,76,.1); }
.orbit-ring-md { width: 320px; height: 320px; animation: spin-ring 22s linear infinite; }
.orbit-ring-lg { width: 420px; height: 420px; animation: spin-ring 35s linear infinite reverse; }
@keyframes spin-ring { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Orbit nodes */
.orbit-node {
  position: absolute; transform: translate(-50%,-50%);
  background: var(--bgc); border: 1px solid rgba(78,132,76,.22);
  border-radius: 100px; padding: 8px 16px;
  font-family: var(--fd); font-size: .74rem; font-weight: 700; color: var(--tx);
  white-space: nowrap; z-index: 5;
  transition: border-color .3s, box-shadow .3s, color .3s, background .3s;
  cursor: default;
}
.orbit-node:hover {
  border-color: var(--brdh); color: var(--gc);
  background: rgba(78,132,76,.1);
  box-shadow: 0 0 24px rgba(78,132,76,.28);
}
/* Pulse glow on each node, staggered */
.orbit-node:nth-child(1)  { animation: node-pulse 3s 0.0s ease-in-out infinite; }
.orbit-node:nth-child(2)  { animation: node-pulse 3s 0.4s ease-in-out infinite; }
.orbit-node:nth-child(3)  { animation: node-pulse 3s 0.8s ease-in-out infinite; }
.orbit-node:nth-child(4)  { animation: node-pulse 3s 1.2s ease-in-out infinite; }
.orbit-node:nth-child(5)  { animation: node-pulse 3s 1.6s ease-in-out infinite; }
.orbit-node:nth-child(6)  { animation: node-pulse 3s 2.0s ease-in-out infinite; }
.orbit-node:nth-child(7)  { animation: node-pulse 3s 2.4s ease-in-out infinite; }
.orbit-node:nth-child(8)  { animation: node-pulse 3s 2.8s ease-in-out infinite; }
@keyframes node-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(78,132,76,0); }
  50%      { box-shadow: 0 0 12px 3px rgba(78,132,76,.2); }
}

/* Magnetic text */
.magnetic-block { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.mag-line {
  font-family: var(--fd); font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff;
  display: inline-block; cursor: default; transition: color .2s;
}
.mag-line span { color: var(--gc); }
.mag-sub { font-size: .9rem; color: var(--txs); line-height: 1.75; max-width: 400px; }

/* ================================================================ PORTFOLIO */
#portfolio { background: var(--bg); padding: 100px 0; }
.portfolio-section-hd { text-align: center; margin-bottom: 60px; }

.port-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.port-card {
  border-radius: var(--rl); overflow: hidden;
  border: 1px solid rgba(78,132,76,.12); background: var(--bgc);
  transition: border-color .35s, box-shadow .35s;
  transform-style: preserve-3d; will-change: transform; cursor: pointer;
}
.port-card:hover {
  border-color: rgba(78,132,76,.38);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(78,132,76,.1);
}
.port-img {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block;
}
.port-img-ph {
  width: 100%; aspect-ratio: 9/16;
  background: linear-gradient(160deg, #0A1A0C, #0C1E1D);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--txt);
  font-family: var(--fd); font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.port-img-ph .ph-icon { font-size: 2rem; opacity: .4; }
.port-img-ph .ph-txt  { opacity: .5; }
.port-info { padding: 18px 20px 22px; }
.port-name { font-family: var(--fd); font-size: .92rem; font-weight: 700; color: var(--tx); margin-bottom: 4px; }
.port-type { font-size: .78rem; color: var(--txs); }

/* ================================================================ WHY CENTRAL */
#why-central { background: linear-gradient(160deg, #060A06 0%, #091409 100%); overflow: hidden; }

.ticker-wrap {
  overflow: hidden; border-top: 1px solid rgba(78,132,76,.1); border-bottom: 1px solid rgba(78,132,76,.1);
  padding: 14px 0; margin-bottom: 80px;
}
.ticker-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item {
  flex-shrink: 0; padding: 0 32px;
  font-family: var(--fd); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--txs);
  display: flex; align-items: center; gap: 18px;
}
.ticker-item .sep { color: var(--g); font-size: 1rem; }

.functions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.fn-card {
  background: var(--bgc); border: 1px solid rgba(78,132,76,.1);
  border-radius: var(--rl); padding: 28px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.fn-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--g), transparent);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.fn-card:hover { border-color: rgba(78,132,76,.28); transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.fn-card:hover::before { transform: scaleX(1); }
.fn-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px;
  background: rgba(78,132,76,.09); border: 1px solid rgba(78,132,76,.16);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  transition: background .3s, transform .3s;
}
.fn-card:hover .fn-icon { background: rgba(78,132,76,.18); transform: scale(1.08); }
.fn-title { font-family: var(--fd); font-size: .95rem; font-weight: 700; color: var(--tx); margin-bottom: 8px; }
.fn-desc  { font-size: .83rem; color: var(--txs); line-height: 1.75; }

/* ================================================================ IMPACT */
#impact { background: var(--bg); padding: 120px 0; overflow: hidden; }
.impact-inner { position: relative; }
.impact-statement {
  font-family: var(--fd);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.0; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(78,132,76,.3);
  display: block; margin-bottom: 12px;
  transition: color .4s, -webkit-text-stroke .4s;
  cursor: default; position: relative;
}
.impact-statement.filled { -webkit-text-stroke: 0; color: #fff; }
.impact-statement em { color: var(--gc); -webkit-text-stroke: 0; font-style: normal; }

/* ================================================================ ABOUT */
#about { background: linear-gradient(160deg, #091409, var(--bg)); padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.logo-zone {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  background: var(--bgc); border: 1px solid var(--brd);
  border-radius: var(--rl); padding: 52px 40px; text-align: center;
}
/* Unhide logo-png-zone when logo.png is uploaded */
.logo-png-zone { max-height: 80px; width: auto; display: none; }
.logo-loaded .logo-png-zone      { display: block; }
.logo-loaded .logo-fb-el         { display: none !important; }
.logo-zone-placeholder {
  font-family: var(--fd); font-size: 1.8rem; font-weight: 900; color: #fff;
}
.logo-zone-placeholder span { color: var(--gc); }
.logo-zone-sub { font-size: .82rem; color: var(--txs); line-height: 1.7; max-width: 260px; }
.location-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.loc-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px; padding: 9px 18px;
  font-size: .82rem; font-weight: 600; color: var(--txs);
  transition: background .25s, border-color .25s;
}
.loc-badge:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }

.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-title {
  font-family: var(--fd); font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #fff;
}
.about-title em { color: var(--gc); font-style: normal; }
.about-text { font-size: .93rem; color: var(--txs); line-height: 1.8; }

/* ================================================================ CTA FINAL */
#cta-final {
  padding: 130px 0; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(27,58,29,.42) 0%, transparent 70%),
    var(--bg);
}
#cta-final::before {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  border: 1px solid rgba(78,132,76,.07);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin-ring 16s linear infinite;
}
#cta-final::after {
  content: ''; position: absolute; width: 1000px; height: 1000px; border-radius: 50%;
  border: 1px dashed rgba(78,132,76,.04);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spin-ring 26s linear infinite reverse;
}
.cta-inner { position: relative; z-index: 2; max-width: 620px; margin-inline: auto; }
.cta-title {
  font-family: var(--fd); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -.025em; color: #fff; margin-bottom: 20px;
}
.cta-title em { color: var(--gc); font-style: normal; }
.cta-lead { font-size: .97rem; color: var(--txs); line-height: 1.8; margin-bottom: 36px; }
.cta-note { font-size: .78rem; color: var(--txt); margin-top: 16px; }

/* ================================================================ FOOTER */
footer {
  background: #040604; border-top: 1px solid rgba(78,132,76,.08);
  padding: 48px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; margin-bottom: 32px; }
.footer-tagline { font-size: .84rem; color: var(--txt); margin-top: 10px; max-width: 300px; line-height: 1.65; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: var(--txs); transition: color var(--tr); }
.footer-links a:hover { color: var(--gc); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.04);
}
.copyright { font-size: .74rem; color: var(--txt); }

/* ================================================================ RESPONSIVE */
@media (max-width: 1000px) {
  nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .what-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .functions-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .how-layout { flex-direction: column; gap: 40px; }
  .orbit-wrap { width: 320px; height: 320px; }
}
@media (max-width: 640px) {
  .port-grid { grid-template-columns: 1fr; }
  .functions-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .header-right .btn { display: none; }
  body { cursor: auto; }
  .flip-card { height: 80px; }
  .orbit-wrap { display: none; }
}
