:root{
  /* Core Background */
  --bg:#060912;

  /* Refined Accent (less neon, more authority) */
  --accent:#00C8E6;

  /* Secondary Accent – cooler and restrained */
  --accent2:#12B8A6;

  /* True Glass Layer */
  --glass:rgba(255,255,255,0.04);

  /* Primary Text */
  --text:rgba(255,255,255,0.92);

  /* Secondary Text */
  --text-soft:rgba(255,255,255,0.65);

  /* Depth Shadows */
  --shadow-deep:0 30px 80px rgba(0,0,0,0.65);
  --shadow-soft:0 10px 30px rgba(0,0,0,0.45);

  /* Subtle Glow (only for interaction) */
  --glow:0 0 18px rgba(0,200,230,0.25);

  /* Border Tone */
  --border:rgba(0,200,230,0.28);

  --nav-height:68px;
  --section-padding:120px 8%;
}

/* ================= RESET ================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--nav-height);
}

body{
  background-color:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  scroll-snap-type:y mandatory;

  background-image:
    linear-gradient(#111 1px, transparent 1px),
    linear-gradient(90deg, #0e0e12 1px, transparent 1px);

  background-size:40px 40px;
  background-attachment:fixed;
}

/* ================= SNAP SYSTEM ================= */

.hero,
.research-focus,
.public-footprint,
.research-progression,
.research-direction,
.join-section{
  min-height:100vh;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  scroll-margin-top:var(--nav-height);
}




section{
  padding:var(--section-padding);
}

/* Logo */
.logo img{
  height:55px;
  max-width:100%;
  transition:0.3s ease;
}

.logo img:hover{
  
  filter:drop-shadow(0 0 5px var(--accent));
}

/* =============================== */
/* BRAND (Shared with Project UI) */
/* =============================== */

.brand{
display:flex;
align-items:center;
gap:10px;
}

.brand-logo{
width:28px;
height:28px;
flex-shrink:0;
}

.brand-text{
font-family:"Playfair Display", serif;
font-size:20px;
font-weight:600;
color:#ffffff;
letter-spacing:0.3px;
}


/* ================= HERO (Elite Version) ================= */

/* ===== Elite Left-Aligned Hero ===== */

.hero{
  padding:170px 40px 120px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  max-width:1100px;
  margin:0 auto;
}

.hero > * + *{
  margin-top:36px;
}

/* Tagline */
.hero-tagline{
  font-size:0.8rem;
  letter-spacing:2px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.45);
}

/* Main Heading */
.hero-title{
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.2px;
  max-width: 900px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title,
.hero-description{
  opacity:0;
  transform:translateY(20px);
  animation: heroFade 1.1s cubic-bezier(.22,.61,.36,1) forwards;
}

.hero-description{
  animation-delay:0.15s;
}

@keyframes heroFade{
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.hero{
  position: relative;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  top:-30%;
  left:50%;
  transform:translateX(-50%);
  width:900px;
  height:900px;
  background: radial-gradient(
    circle,
    rgba(125,249,255,0.08) 0%,
    rgba(125,249,255,0.03) 35%,
    transparent 70%
  );
  pointer-events:none;
  z-index:0;
}

/* Description */
.hero-description{
  font-size:1.1rem;
  line-height:1.9;
  color:rgba(255,255,255,0.75);
  max-width:750px;
  margin-top:1.2rem;
}

/* Inline links inside hero */
.hero-description a{
  color: var(--accent2);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.35s cubic-bezier(.22,.61,.36,1);
}

.hero-description a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-3px;
  width:0%;
  height:1px;
  background: var(--accent2);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(.22,.61,.36,1),
              opacity 0.35s ease;
  opacity:0.7;
}

.hero-description a:hover{
  color: #ffffff;
}

.hero-description a:hover::after{
  width:110%;
  opacity:1;
}
@keyframes gradientMove{
  0%{background-position:0%}
  100%{background-position:200%}
}

/* Buttons */
.btn-group{
  margin-top:42px;
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.btn{
  padding:13px 28px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.1);
  color:rgba(255,255,255,0.88);
  text-decoration:none;
  font-size:0.92rem;
  letter-spacing:0.4px;
  font-weight:500;

  backdrop-filter: blur(6px);

  transition:
    transform 0.35s cubic-bezier(.22,.61,.36,1),
    background 0.35s cubic-bezier(.22,.61,.36,1),
    border-color 0.35s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.35s cubic-bezier(.22,.61,.36,1),
    color 0.35s cubic-bezier(.22,.61,.36,1);
}

/* Primary CTA */
.btn-primary{
  background: linear-gradient(
    135deg,
    var(--accent2),
    rgba(20,224,196,0.85)
  );
  border-color: var(--accent2);
  color:#0b0f14;
  font-weight:600;

  box-shadow:
    0 6px 18px rgba(20,224,196,0.18),
    0 0 20px rgba(20,224,196,0.08);
}

/* Micro Hover Elevation */
.btn:hover{
  transform:translateY(-2px);
}

/* Secondary Hover (glass refinement) */
.btn:not(.btn-primary):hover{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.2);
  color:#ffffff;

  box-shadow:
    0 8px 22px rgba(0,0,0,0.35);
}

/* Primary Hover (controlled brightness, not blast) */
.btn-primary:hover{
  background: linear-gradient(
    135deg,
    #20f5dc,
    var(--accent2)
  );

  box-shadow:
    0 10px 26px rgba(20,224,196,0.25),
    0 0 28px rgba(20,224,196,0.12);
}

/* Active press */
.btn:active{
  transform:translateY(0);
}



.section-title{
  font-size:1.9rem;
  font-weight:600;
  letter-spacing:-0.4px;
  color:#ffffff;

  text-align:left;
  margin-bottom:28px;

  position:relative;
}

/* Subtle underline indicator */
.section-title::after{
  content:"";
  display:block;
  width:40px;
  height:2px;
  background:rgba(20,224,196,0.6);
  margin-top:12px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.card{
  background:var(--glass);
  padding:40px;
  border-radius:20px;
  backdrop-filter:blur(8px);
  transition:0.5s;
}

.card:hover{
  transform:translateY(-12px);
  box-shadow:0 0 45px rgba(0,247,255,0.4);
}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform:translateY(60px);
  transition:1s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}


.bottom-bar{
  margin-top:60px;
  text-align:center;
  color:rgba(255,255,255,0.6);
  font-size:clamp(0.75rem,2.5vw,0.9rem);
  padding:0 15px;
}


/* ============================= */
/* RESEARCH FOCUS ELITE */
/* ============================= */

.research-focus {
  padding: 140px 8%;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* HEADER */

.research-header {
  max-width: 720px;
}

.section-intro {
  margin-top: 14px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* GRID */

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 70px;
}

/* ============================= */
/* CARD CORE */
/* ============================= */

.focus-card {
  position: relative;

  padding: 32px;

  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);

  transition: all 0.4s cubic-bezier(.22,1,.36,1);

  overflow: hidden;
}

/* subtle light layer */

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.08),
    transparent 40%
  );

  opacity: 0;
  transition: 0.4s;
}

/* hover = intentional, not flashy */

.focus-card:hover {
  transform: translateY(-6px);

  border-color: rgba(20,224,196,0.35);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.6),
    0 0 25px rgba(20,224,196,0.08);
}

.focus-card:hover::before {
  opacity: 1;
}

/* ============================= */
/* STATUS */
/* ============================= */

.focus-status {
  display: inline-block;

  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  color: rgba(255,255,255,0.5);

  margin-bottom: 12px;
}

/* ============================= */
/* TITLE */
/* ============================= */

.focus-card h3 {
  font-size: 1.15rem;
  font-weight: 600;

  color: #ffffff;

  margin-bottom: 12px;

  letter-spacing: 0.2px;
}

/* ============================= */
/* DESCRIPTION */
/* ============================= */

.focus-card p {
  font-size: 0.92rem;
  line-height: 1.65;

  color: rgba(255,255,255,0.7);
}

/* ============================= */
/* META (THIS BUILDS TRUST) */
/* ============================= */

.focus-meta {
  display: block;

  margin-top: 18px;

  font-size: 0.75rem;
  font-family: "JetBrains Mono", monospace;

  color: rgba(20,224,196,0.7);

  letter-spacing: 0.6px;
}

/* ============================= */
/* PROOF LINE */
/* ============================= */

.research-proof {
  margin-top: 60px;

  font-size: 0.75rem;
  letter-spacing: 1.5px;

  text-transform: uppercase;

  color: rgba(255,255,255,0.4);

  font-family: "JetBrains Mono", monospace;
}
/* ================= MOBILE ================= */
@media (max-width:768px){

  /* Disable strict snap on mobile */
  body{
    scroll-snap-type:none;
  }

.hero{
  min-height:100vh;
  min-height:100svh;

  display:flex;
  flex-direction:column;

  justify-content:center;
  align-items:flex-start;

  padding:var(--nav-height) 20px 0;
}


  /* Hero */
  .hero{
    padding:110px 20px 70px;
    align-items:flex-start;
  }

  .hero-title{
    font-size:clamp(1.9rem, 7vw, 2.4rem);
    line-height:1.2;
    max-width:100%;
  }

  .hero-description{
    font-size:0.95rem;
    line-height:1.75;
    max-width:100%;
  }

  .hero-tagline{
    font-size:0.75rem;
    letter-spacing:1.8px;
  }

  /* Buttons stack vertically */
  .btn-group{
    flex-direction:column;
    width:100%;
    gap:14px;
  }

  .btn{
    width:100%;
    text-align:center;
    padding:14px;
  }

  /* Timeline mobile layout */
  .timeline{
    padding-left:25px;
    border-left:1px solid rgba(20,224,196,0.3);
  }

  .timeline-item{
    margin-bottom:50px;
  }

  .timeline-card{
    flex-direction:column;
    gap:15px;
    padding:24px;
  }

  .timeline-body p{
    max-width:100%;
  }

}

/* ================= MICRO TYPOGRAPHY TUNING ================= */
@media (max-width:768px){

  /* Global vertical rhythm */
  section{
    padding:90px 20px;
  }

  .research-progression,
  .research-focus,
  .public-footprint,
  .research-direction,
  .join-section{
    padding:100px 20px;
  }

  /* Section titles */
  .section-title{
    font-size:1.55rem;
    line-height:1.3;
    margin-bottom:22px;
  }

  .section-title::after{
    margin-top:10px;
    width:32px;
  }

  /* Paragraph rhythm */
  p{
    font-size:0.95rem;
    line-height:1.75;
  }

  /* Card spacing refinement */
  .focus-card,
  .footprint-card,
  .join-card{
    padding:22px;
  }

  /* Timeline breathing */
  .timeline-card{
    padding:22px;
  }

  .timeline-body h3{
    font-size:1.1rem;
    margin-bottom:8px;
  }

  .timeline-body p{
    font-size:0.9rem;
  }

  /* Hero fine tuning */
  .hero{
    padding-top:100px;
  }

  .hero > * + *{
    margin-top:28px;
  }

  /* Footer refinement */
  .site-footer{
    padding:80px 20px 50px;
  }

  .footer-meta{
    font-size:0.75rem;
    letter-spacing:0.6px;
  }

}



/* ================= Mobile Section Activation Glow ================= */
/* @media (hover:none){

  .section-activated::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;

    background:radial-gradient(
      800px circle at 50% 40%,
      rgba(20,224,196,0.08),
      transparent 70%
    );

    animation:sectionPulse 600ms ease-out forwards;
  }

  @keyframes sectionPulse{
    0%{
      opacity:0.6;
    }
    100%{
      opacity:0;
    }
  }

} */

/* Research Progression */

.research-progression{
  padding:140px 8%;
}

.section-intro{
  max-width:650px;
  margin:12px 0 70px;
  font-size:0.95rem;
  color:rgba(255,255,255,0.6);
}


/* Roadmap */

.research-direction{
  padding:120px 8%;
}

.roadmap ul{
  list-style:none;
  padding:0;
  max-width:700px;
}

.roadmap li{
  margin-bottom:18px;
  font-size:1rem;
  color:rgba(255,255,255,0.8);
  position:relative;
  padding-left:20px;
}

.roadmap li::before{
  content:"–";
  position:absolute;
  left:0;
  color:rgba(20,224,196,0.7);
}
/* ================= Timeline – Refined ================= */

.timeline{
  position:relative;
  padding-left:70px;
  border-left:2px solid rgba(20,224,196,0.22);
  transition:border-color 0.6s ease;
}

.timeline-item{
  position:relative;
  margin-bottom:90px;

  opacity:0;
  transform:translateX(-30px);
  transition:
    transform 0.8s cubic-bezier(0.22,1,0.36,1),
    opacity 0.6s ease;
}

.timeline-item.visible{
  opacity:1;
  transform:translateX(0);
}

/* Dot marker */

.timeline-item::before{
  content:"";
  position:absolute;
  left:-9px;
  top:34px;
  width:14px;
  height:14px;
  background:rgba(20,224,196,0.75);
  border-radius:50%;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle dot expansion on hover */
.timeline-item:hover::before{
  transform:scale(1.15);
  box-shadow:0 0 12px rgba(20,224,196,0.35);
}

/* Timeline Card */

.timeline-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:50px;
  padding:34px 40px;

  background:rgba(255,255,255,0.035);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:16px;

  text-decoration:none;
  color:inherit;

  transition:
    transform 0.45s cubic-bezier(0.22,1,0.36,1),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

/* Hover = structured movement */
.timeline-card:hover{
  transform:translateX(10px);
  background:rgba(20,224,196,0.06);
  border-color:rgba(20,224,196,0.35);
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
}

/* Year */

.timeline-year{
  font-size:0.82rem;
  letter-spacing:1.2px;
  color:rgba(255,255,255,0.42);
  margin-bottom:10px;
}

/* Title */

.timeline-body h3{
  font-size:1.25rem;
  font-weight:600;
  margin-bottom:10px;
  color:#ffffff;
}

/* Description */

.timeline-body p{
  font-size:0.96rem;
  color:rgba(255,255,255,0.72);
  line-height:1.7;
  max-width:620px;
}

/* Arrow */

.timeline-arrow{
  font-size:1.3rem;
  opacity:0.35;
  transition:transform 0.35s ease, opacity 0.35s ease;
}

.timeline-card:hover .timeline-arrow{
  transform:translateX(8px);
  opacity:1;
}


.research-focus{
  padding:140px 8%;
}

.focus-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  margin-top:60px;
}

.focus-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  padding:28px;
  transition:all 0.35s ease;
}

.focus-card:hover{
  border-color:rgba(20,224,196,0.4);
  transform:translateY(-6px);
  background:rgba(20,224,196,0.06);
}

.focus-card h3{
  font-size:1.1rem;
  margin-bottom:10px;
}

.focus-card p{
  font-size:0.92rem;
  color:rgba(255,255,255,0.7);
  line-height:1.6;
}

.public-footprint{
  padding:140px 8%;
}

.footprint-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  margin-top:60px;
}

.footprint-card{
  background:rgba(255,255,255,0.035);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:16px;
  padding:28px;
  transition:all 0.35s ease;
}

.footprint-card:hover{
  border-color:rgba(20,224,196,0.35);
  background:rgba(20,224,196,0.05);
}

.footprint-card h3{
  font-size:1.05rem;
  margin-bottom:10px;
}

.footprint-card p{
  font-size:0.92rem;
  color:rgba(255,255,255,0.7);
  line-height:1.6;
}

.footprint-card a{
  display:inline-block;
  margin-top:14px;
  font-size:0.85rem;
  color:var(--accent2);
  text-decoration:none;
  transition:0.25s ease;
}

.footprint-card a:hover{
  color:var(--accent);
}

.join-section{
  padding:140px 8%;
}

.join-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
  margin-top:60px;
}

.join-card{
  background:rgba(255,255,255,0.035);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:16px;
  padding:32px;
  transition:all 0.35s ease;
}

.join-card:hover{
  border-color:rgba(20,224,196,0.35);
  background:rgba(20,224,196,0.05);
  transform:translateY(-6px);
}

.join-card h3{
  margin-bottom:18px;
  font-size:1.1rem;
}

.join-card ul{
  list-style:none;
  padding:0;
}

.join-card li{
  margin-bottom:12px;
  font-size:0.95rem;
  color:rgba(255,255,255,0.75);
  position:relative;
  padding-left:18px;
}

.join-card li::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--accent2);
}

.join-cta{
  margin-top:60px;
}



/* ================= 10% Innovation ================= */


/* 
body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:-1;

  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(20,224,196,0.12),
    transparent 60%
  );

  transition: background 0.1s ease;
} */ */


/* ================================ Footer redesign ================================ */

.site-footer{
  background:#0a121a;
  background-image:none; /* remove body grid */
}

.site-footer{
  padding:100px 8% 60px;
  background:#0a121a; /* Blueprint Blue */
  position:relative;
  overflow:hidden;
}

.site-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:18px;

  background:
    repeating-linear-gradient(
      90deg,
      rgba(20,224,196,0.25) 0px,
      rgba(20,224,196,0.25) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(20,224,196,0.5) 0px,
      rgba(20,224,196,0.5) 1px,
      transparent 1px,
      transparent 50px
    );

  opacity:0.15;
}

.footer-nav a,
.footer-external a{
  font-family:'JetBrains Mono', monospace;
  font-size:0.85rem;
  letter-spacing:0.5px;
}

.footer-nav a,
.footer-external a{
  position:relative;
  display:inline-block;
  padding:4px 8px;
  transition:color 0.25s ease;
}

.footer-nav a::before,
.footer-nav a::after,
.footer-external a::before,
.footer-external a::after{
  content:"";
  position:absolute;
  width:6px;
  height:6px;
  border:1px solid var(--accent2);
  opacity:0;
  transition:0.25s ease;
}

.footer-nav a::before,
.footer-external a::before{
  top:0;
  left:0;
  border-right:none;
  border-bottom:none;
}

.footer-nav a::after,
.footer-external a::after{
  bottom:0;
  right:0;
  border-left:none;
  border-top:none;
}

.footer-nav a:hover::before,
.footer-nav a:hover::after,
.footer-external a:hover::before,
.footer-external a:hover::after{
  opacity:0.6;
}


.site-footer::after{
  content:"+";
  position:absolute;
  bottom:12px;
  right:16px;
  font-family:'JetBrains Mono', monospace;
  font-size:14px;
  color:rgba(20,224,196,0.25);
}

.footer-top{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:60px;
}

.footer-identity h3{
  font-size:1.1rem;
  margin-bottom:16px;
}

.footer-identity p{
  font-size:0.9rem;
  line-height:1.7;
  color:rgba(255,255,255,0.65);
}

.footer-nav h4,
.footer-external h4{
  font-size:0.85rem;
  letter-spacing:1px;
  margin-bottom:18px;
  color:rgba(255,255,255,0.7);
}

.footer-nav a,
.footer-external a{
  color:rgba(255,255,255,0.6);
  text-decoration:none;
}

.footer-nav a:hover,
.footer-external a:hover{
  color:var(--accent2);
}

.footer-bottom{
  margin-top:70px;
  padding-top:30px;
  border-top:1px solid rgba(20,224,196,0.15);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.footer-bottom p{
  font-family:'JetBrains Mono', monospace;
  font-size:0.8rem;
  letter-spacing:0.6px;
  color:rgba(255,255,255,0.55);
}

.footer-bottom a{
  position:relative;
  color:var(--accent2);
  text-decoration:none;
  padding:2px 6px;
  transition:all 0.25s ease;
}

.footer-bottom a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:1px;
  background:var(--accent2);
  transition:0.25s ease;
}

.footer-bottom a:hover::after{
  width:100%;
}

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

.footer-bottom{
  position:relative;
}

.footer-bottom::before{
  content:"ARCHIVE LOG";
  position:absolute;
  top:-12px;
  left:0;
  font-family:'JetBrains Mono', monospace;
  font-size:10px;
  letter-spacing:2px;
  color:rgba(20,224,196,0.25);
}

.footer-bottom{
  margin-top:70px;
  padding-top:30px;
  border-top:1px solid rgba(20,224,196,0.15);
}

.footer-meta{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  font-family:'JetBrains Mono', monospace;
  font-size:0.8rem;
  letter-spacing:0.6px;
  color:rgba(255,255,255,0.55);
}

.footer-meta span{
  position:relative;
}

.footer-meta strong{
  color:rgba(20,224,196,0.75);
  font-weight:500;
}

.footer-meta a{
  color:var(--accent2);
  text-decoration:none;
  position:relative;
  padding:2px 4px;
  transition:0.25s ease;
}

.footer-meta a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:1px;
  background:var(--accent2);
  transition:0.25s ease;
}

.footer-meta a:hover::after{
  width:100%;
}

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

.footer-bottom{
  margin-top:80px;
  padding-top:35px;
  border-top:1px solid rgba(20,224,196,0.18);
}

.footer-meta{
  display:flex;
  flex-wrap:wrap;
  gap:40px;
  font-family:'JetBrains Mono', monospace;
  font-size:0.78rem;
  letter-spacing:0.8px;
  color:rgba(255,255,255,0.55);
}

.meta-block{
  display:flex;
  gap:8px;
  align-items:center;
  position:relative;
  padding:4px 8px;
}

/* Blueprint bracket framing */
.meta-block::before{
  content:"[";
  color:rgba(20,224,196,0.35);
}

.meta-block::after{
  content:"]";
  color:rgba(20,224,196,0.35);
}

.meta-block label{
  color:rgba(20,224,196,0.75);
  text-transform:uppercase;
  font-size:0.7rem;
}

.meta-block value{
  color:rgba(255,255,255,0.65);
}

/* Founder link */
.meta-block a{
  color:var(--accent2);
  text-decoration:none;
  position:relative;
  transition:0.25s ease;
}

.meta-block a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:1px;
  background:var(--accent2);
  transition:0.25s ease;
}

.meta-block a:hover{
  color:var(--accent);
}

.meta-block a:hover::after{
  width:100%;
}
/* ================= Refined Touch Pulse ================= */
/* @media (hover:none){

  body::after{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-1;

    background:radial-gradient(
      400px circle at var(--touch-x, 50%) var(--touch-y, 50%),
      rgba(20,224,196,0.07),
      transparent 70%
    );

    opacity:0;
    transition:opacity 0.5s ease;
  }

  body.touch-active::after{
    opacity:1;
  }

} */

/* ========================================= */
/* ORB TOOLTIP */
/* ========================================= */

.orb-tooltip{

position:absolute;

right:70px;
bottom:18px;

padding:8px 14px;

font-size:13px;
font-family:"Space Grotesk", sans-serif;

color:#d6dbe8;

background:rgba(12,16,24,.95);

border:1px solid rgba(255,255,255,.06);

border-radius:8px;

backdrop-filter:blur(10px);

white-space:nowrap;

opacity:0;
transform:translateY(6px);

pointer-events:none;

transition:
opacity .35s ease,
transform .35s ease;

}

/* visible state */

.orb-tooltip.show{
opacity:1;
transform:translateY(0);
}

/* little arrow */

.orb-tooltip::after{

content:"";

position:absolute;

right:-6px;
bottom:10px;

width:10px;
height:10px;

background:rgba(12,16,24,.95);

border-right:1px solid rgba(255,255,255,.06);
border-bottom:1px solid rgba(255,255,255,.06);

transform:rotate(-45deg);

}

/* ================================ ORB INTERACTIONS ================================*/
.orb-container {
  position: fixed;
  top: 120px;
  right: 40px;
  width: 120px;
  height: 120px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 999999;
  transition: transform 0.8s cubic-bezier(.65,.05,.36,1);

}

.orb-container.docked {
  transform: translateY(calc(100vh - 260px)) translateX(-10px) scale(0.95);
}

.orb-container.docked .orb-wrapper {
  animation-duration: 6s;
}
.orb-container.docked {
  transform: translateY(calc(100vh - 260px)) scale(0.9);
  
}



.orb-wrapper {
  width: 100%;
  height: 100%;
  animation: float 4s ease-in-out infinite;
}

.orb {
  width: 100%;
  height: 100%;
  transition: transform 0.2s ease-out;
}

/* Styling */
.orb-body {
  fill: #141414;
  stroke: #00C8E6;
  stroke-width: 3;
}

.orb-ring {
  fill: none;
  stroke: #00C8E6;
  stroke-width: 1;
  opacity: 0.3;
}

.orb-visor {
  fill: #00C8E6;
}

.orb-highlight {
  fill: white;
  opacity: 0.8;
}

.orb-blink {
  fill: #141414;
  transform-origin: center;
  animation: blink 6s infinite;
}

/* Floating */
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Random Blink */
@keyframes blink {
  0%,95%,100% { transform: scaleY(0); }
  97% { transform: scaleY(1); }
}
.orb-pupil {
  fill: #0ff;
  transition: transform 0.08s linear;
}
.visor-base {
  fill: #0c0c0c;
}

.visor-glow {
  fill: #00C8E6;
  opacity: 0.25;
}

.orb-pupil {
  fill: #00C8E6;
  transition: transform 0.08s linear;
}

.visor-reflection {
  fill: white;
  opacity: 0.6;
}
.visor-base {
  fill: #0c0c0c;
}

.eye-socket {
  fill: #111;
}

.eye-pupil {
  fill: #00C8E6;
  transition: transform 0.08s linear, r 0.2s ease;
}

.scan-line {
  fill: #00C8E6;
  opacity: 0.4;
  animation: scanMove 4s linear infinite;
}

@keyframes scanMove {
  0% { transform: translateY(0px); }
  100% { transform: translateY(20px); }
}
.orb.thinking .eye-pupil {
  animation: thinkingPulse 1.5s ease-in-out infinite;
}

@keyframes thinkingPulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.eye-pupil {
  animation: idleJitter 6s infinite;
}

.eyelid {
  fill: #141414;
  transform-origin: center center;
  transform-box: fill-box;
  transform: scaleY(0);
  animation: blink 7s infinite ease-in-out;
}

@keyframes blink {
  0%, 92%, 100% {
    transform: scaleY(0);
  }
  95% {
    transform: scaleY(1);
  }
}
/* ========================================= */
/* CHAT PANEL – REFINED DARK TECH CORE */
/* ========================================= */

.chat-panel {
  position: fixed;
  bottom: 120px;
  right: 100px;

  width: 320px;
  height: 420px;

  display: flex;
  flex-direction: column;

  border-radius: 18px;

  background:
    linear-gradient(
      160deg,
      rgba(15,18,28,0.95),
      rgba(10,13,20,0.98)
    );

  border: 1px solid var(--border);

  backdrop-filter: blur(22px);

  box-shadow:
    var(--shadow-deep);

  opacity: 0;
  transform: scale(0.2);
  transform-origin: bottom right;

  pointer-events: none;

  transition:
    transform 0.5s cubic-bezier(.22,1,.36,1),
    opacity 0.35s ease;

  z-index: 99999;
}

/* Activation */
.chat-panel.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ========================================= */
/* SUBTLE EDGE LIGHT (NOT GLOWY) */
/* ========================================= */

.chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

/* ========================================= */
/* HEADER – QUIET AUTHORITY */
/* ========================================= */

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;

  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: var(--accent);

  border-bottom: 1px solid rgba(255,255,255,0.06);

  background: transparent;
}

/* ========================================= */
/* CLOSE BUTTON – CONTROLLED */
/* ========================================= */

.chat-close {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.25s ease;
}

.chat-close:hover {
  color: var(--accent);
  transform: scale(1.08);
}

/* ========================================= */
/* MESSAGE AREA */
/* ========================================= */

.chat-messages {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text);

  background: transparent;
}

/* ========================================= */
/* INPUT AREA – MINIMAL GLASS */
/* ========================================= */

.chat-input-area {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;

  border-top: 1px solid rgba(255,255,255,0.05);
  background: transparent;
}

.chat-input {
  flex: 1;
  resize: none;
  overflow-y: auto;

  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;

  color: var(--text);
  font-size: 14px;
  outline: none;
  line-height: 1.5;
  max-height: 120px;

  padding: 8px 12px;

  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.chat-input:focus {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.chat-input::placeholder {
  color: var(--text-soft);
}

/* ========================================= */
/* SEND BUTTON – DARK TECH CONTROL */
/* ========================================= */

.send-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  color: var(--accent);
  font-size: 15px;
  cursor: pointer;

  transition: all 0.25s cubic-bezier(.22,1,.36,1);
}

.send-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent);
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

.send-btn:active {
  transform: scale(0.94);
}

/* ========================================= */
/* ORB REACTION – LESS NEON */
/* ========================================= */

.orb-container.chat-open {
  transform: translateY(calc(100vh - 260px)) scale(0.9);
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}

.orb-container.chat-open .orb-body {
  stroke: var(--accent);
  filter: drop-shadow(0 0 10px rgba(0,200,230,0.35));
}

/* ========================================= */
/* REMOVE GAMER GLOW DOT */
/* ========================================= */

.chat-panel::after {
  display: none;
}
.orb-container.chat-open .orb-body {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,100% {
    filter: drop-shadow(0 0 10px rgba(0,229,255,0.5));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(0,229,255,0.8));
  }
}

/* Listening */
.orb-container.state-listening .eye-pupil {
  r: 6;
}

/* Thinking */
.orb-container.state-thinking .eye-pupil {
  transform: scale(0.8);
}

.orb-container.state-thinking .scan-line {
  animation-duration: 1.5s;
}

/* Speaking */
.orb-container.state-speaking .orb-body {
  animation: speakPulse 1s ease-in-out infinite;
}

@keyframes speakPulse {
  0%,100% { filter: none; }
  50% { filter: brightness(1.3); }
}

/* ============================= */
/* GLOBAL DEPTH ENHANCEMENT */
/* ============================= */

.chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;

  /* Deep lab atmosphere */
  background:
    radial-gradient(circle at 20% 0%, rgba(0,229,255,0.06), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(0,229,255,0.04), transparent 50%),
    rgba(5, 10, 18, 0.85);

  backdrop-filter: blur(20px);
  position: relative;
}

/* Subtle premium grain overlay */
.chat-messages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ============================= */
/* MESSAGE BASE */
/* ============================= */

.chat-msg {
  margin-bottom: 16px;
  padding: 16px 20px;
  font-size: 14.8px;
  line-height: 1.65;
  max-width: 78%;
  border-radius: 16px;
  backdrop-filter: blur(18px);
  transition: all 0.35s cubic-bezier(.22,1,.36,1);
  position: relative;
  animation: messageFade 0.4s ease;
}
/* Bot messages expand nearly full width */
.chat-msg.bot {
  max-width: 96%;
}

@keyframes messageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* USER MESSAGE */
/* ============================= */

.chat-msg.user {
  background:
    linear-gradient(145deg,
      rgba(0,229,255,0.18),
      rgba(0,229,255,0.08)
    );

  border: 1px solid rgba(0,229,255,0.4);

  box-shadow:
    0 10px 30px rgba(0,229,255,0.15),
    inset 0 0 18px rgba(0,229,255,0.08);

  color: #00F6FF;
  align-self: flex-end;
}

/* Soft ambient edge glow */
.chat-msg.user::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, #00C8E6, transparent);
  opacity: 0.15;
  z-index: -1;
  filter: blur(12px);
}

/* ============================= */
/* BOT MESSAGE */
/* ============================= */

.chat-msg.bot {
  background:
    linear-gradient(155deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    0 0 18px rgba(0,229,255,0.06);

  color: #e9faff;
  align-self: flex-start;
}

/* AI subtle glow pulse */
.chat-msg.bot {
  animation: botGlow 6s ease-in-out infinite alternate;
}

@keyframes botGlow {
  from {
    box-shadow:
      0 12px 30px rgba(0,0,0,0.35),
      0 0 10px rgba(0,229,255,0.05);
  }
  to {
    box-shadow:
      0 14px 40px rgba(0,0,0,0.4),
      0 0 22px rgba(0,229,255,0.15);
  }
}

/* ============================= */
/* SCROLLBAR – HIGH END */
/* ============================= */

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    rgba(0,229,255,0.8),
    rgba(0,120,150,0.8)
  );
  border-radius: 20px;
}

/* ============================= */
/* INPUT AREA – GLASS CORE */
/* ============================= */

.chat-input {
  flex: 1;
  resize: none;
  overflow: hidden;

  background:
    linear-gradient(145deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(0,229,255,0.35);
  border-radius: 14px;

  color: #ffffff;
  font-size: 14.5px;
  line-height: 1.6;
  outline: none;
  padding: 14px 16px;
  max-height: 120px;

  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
}

.chat-input:focus {
  border-color: #00F2FF;
  box-shadow:
    0 0 20px rgba(0,229,255,0.35),
    inset 0 0 12px rgba(0,229,255,0.1);
}

@media (max-width: 768px) {

  .chat-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh; /* to support the address bar transitions */
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(.22,1,.36,1);
  }

  .chat-panel.active {
    transform: translateY(0);
  }

  .chat-header {
    flex-shrink: 0;
    font-size: 15px;
  }

  .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 10px;
  }

  .chat-input-area {
    flex-shrink: 0;
    padding-bottom: env(safe-area-inset-bottom);
    transition: transform 0.25s ease;
  }

  .chat-input {
    font-size: 16px;
    min-height: 48px;
    padding: 14px 0;
  }

  .send-btn {
    font-size: 20px;
    min-width: 48px;
    min-height: 48px;
  }

  .orb-container {
    bottom: 20px;
    right: 20px;
    transition: all 0.5s cubic-bezier(.22,1,.36,1);
  }

  .orb-mobile-active {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    z-index: 2000;
  }

}

/* ================================ CHAT MESSAGES FORMATTING ================================ */
.chat-msg strong {
  font-weight: 600;
}

.chat-msg em {
  font-style: italic;
}

.chat-msg code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9em;
}

.chat-msg pre {
  background: rgba(0,0,0,0.6);
  padding: 12px;
  border-radius: 12px;
  overflow-x: auto;
  margin-top: 8px;
}

.chat-msg ul {
  padding-left: 18px;
  margin: 6px 0;
}






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

.contact-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:40px;
}

.contact-card{
padding:30px;
border-radius:12px;
border:1px solid rgba(255,255,255,0.06);
background:rgba(255,255,255,0.02);
}

.contact-card h3{
margin-bottom:10px;
}

.contact-card a{
color:#14e0c4;
text-decoration:none;
word-break:break-word;
}

/* FORM */

.contact-form-container{
max-width:640px;
}

.contact-form{
display:flex;
flex-direction:column;
gap:20px;
}

.contact-form input,
.contact-form textarea{
padding:14px;
border-radius:8px;
border:1px solid rgba(255,255,255,0.08);
background:rgba(255,255,255,0.03);
color:white;
font-family:"Poppins",sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus{
outline:none;
border-color:#14e0c4;
}

/*===================== CONTACT SVG BACKGROUND=================*/

.contact-bg{
position:fixed;
inset:0;
pointer-events:none;
z-index:-1;
opacity:.15;
}

.contact-svg{
width:100%;
height:100%;
stroke:#14e0c4;
stroke-width:1;
fill:none;
}



/* SIGNAL WAVE */

.contact-signal{
max-width:900px;
margin:0 auto 60px auto;
opacity:.2;
}

.contact-signal svg{
width:100%;
stroke:#14e0c4;
stroke-width:1.2;
fill:none;
}



/* CIRCUIT DESIGN */

.contact-circuit{
max-width:500px;
margin:80px auto 0 auto;
opacity:.2;
}

.contact-circuit svg{
width:100%;
stroke:#14e0c4;
stroke-width:1.2;
fill:none;
}

.contact-circuit circle{
fill:#14e0c4;
}

.contact-signal path{
stroke-dasharray:600;
stroke-dashoffset:600;
animation:signalFlow 6s linear infinite;
}

@keyframes signalFlow{
to{
stroke-dashoffset:0;
}
}


