
:root{
  --accent-1:#ff4d4d;
  --accent-2:#ffcc00;
  --accent-3:#00d4ff;
  --accent-4:#0066ff;
  --card-bg:rgba(0,0,0,0.45);
}

/* Base */
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1a0f0f, #000000);
  color: #fff;
  font-family: system-ui, ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-behavior: smooth;
}

/* Background layers */
.stars { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.star { position: absolute; background: #fff; border-radius: 50%; opacity: 0; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:0} 50%{opacity:1} }
.ai-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: url('https://upload.wikimedia.org/wikipedia/commons/9/99/Robot-icon.svg'); background-repeat: repeat; background-size: clamp(120px, 20vw, 200px); opacity: 0.04; animation: floatBg 60s linear infinite; }
@keyframes floatBg { from{background-position:0 0} to{background-position:1000px 1000px} }

/* Top navigation - desktop */
.top-nav {
  position: fixed;
  top: 12px; /* slightly closer to top */
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 8px; /* less gap between buttons */
  font-family: inherit;
}
.top-nav a {
  text-decoration: none;
  padding: 6px 10px; /* smaller button size */
  font-size: 0.85rem; /* smaller text */
  border-radius: 5px;
  background: linear-gradient(135deg, #8e2de2, #ff6a00);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.top-nav a:hover {
  background: linear-gradient(135deg, #ff6a00, #8e2de2);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .top-nav { 
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
    margin: 0;
    padding: 2px 6px; /* space inside nav */
    background: rgba(24, 16, 36, 0.95);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.4);
    width: 90%; /* smaller than full width to leave margin */
  }
  .top-nav a {
    flex: 1 1 auto;
    padding: 4px 6px;
    font-size: 0.7rem;
    text-align: center;
  }
}

/* Header */
.welcome-container {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin: clamp(40px, 8vh, 80px) 16px 8px;
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  white-space: nowrap;
  min-height: 4rem;
}
.welcome-to {
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideIn 1s forwards;
}
@keyframes slideIn { to{opacity:1; transform: translateX(0)} }

/* Fixed slot for AIGRAM */
.aigram-slot {
  display: inline-block;
  vertical-align: bottom;
  text-align: left;
  line-height: 1;
  height: auto;
}
.aigram {
  display: inline-block;
  font-weight: 900;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4));
  background-size: 100% 100%;
  -webkit-background-clip: text;
  color: transparent;
  opacity: 0;
  transition: opacity .6s ease;
  line-height: 1;
}

/* Stealth line */
#text {
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  margin: 6px 16px 24px;
  min-height: 1.5em;
}
.cursor { border-right: 2px solid #fff; animation: blink-caret .6s step-end infinite; }
@keyframes blink-caret { from,to{border-color:transparent} 50%{border-color:#fff} }
.fade-out { opacity: 0; transition: opacity .4s ease; }

/* Sections */
main{
  position: relative;
  z-index: 2;
  width: min(100%, 1100px);
  padding: 0 16px 80px;
}
section{
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(255,255,255,0.08);
  padding: clamp(16px, 3vw, 28px);
  margin: 18px 0;
}
h2{
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3.8vw, 2rem);
  color: var(--accent-2);
}
p{ margin: 8px 0; line-height: 1.6; font-size: clamp(.95rem, 2.6vw, 1.05rem); }

/* Contact / form */
.contact{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
input, select, button{
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
input::placeholder{ color: rgba(255,255,255,0.6); }
button{
  border: none;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #000;
  font-weight: 700;
  cursor: pointer;
}
.actions{
  display: flex; gap: 10px; flex-wrap: wrap;
}
.actions a{
  display:inline-block; padding: 12px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.1); color:#fff; text-decoration: none;
}

/* Footer note */
.footnote{ opacity: .7; font-size: .9rem; margin-top: 6px; }

@media (max-width: 680px){
  .row{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
  .star, .ai-bg, .cursor { animation: none !important; }
}

/* Dropdown container aligned with nav */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* Products button styled same as nav buttons */
.dropbtn {
  text-decoration: none;
  padding: 6px 10px;              /* same as .top-nav a */
  font-size: 0.85rem;             /* same text size */
  border-radius: 5px;
  background: linear-gradient(135deg, #8e2de2, #ff6a00);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.dropbtn:hover {
  background: linear-gradient(135deg, #ff6a00, #8e2de2);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.5);
  transform: translateY(-2px);
}

/* Dropdown menu box (narrower) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;  
  left: 0;
  background-color: #1e1e2f;
  min-width: 80px;         /* trimmed width */
  border-radius: 6px;
  box-shadow: 0px 6px 12px rgba(0,0,0,0.3);
  z-index: 20;
  padding: 3px 0;
}

/* Sub product links (compact) */
.dropdown-content a {
  color: #ffcc00;
  padding: 4px 6px;         /* less horizontal padding */
  font-size: 0.68rem;       /* slightly smaller text */
  display: block;           /* stacked vertically */
  white-space: nowrap;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
  color: #00d4ff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Centered hero-style layout for product pages */
.centered-section {
  min-height: 100vh;              
  display: flex;
  justify-content: center;   /* vertical center */
  align-items: center;       /* horizontal center */
  padding: 20px;
}

.centered-section section {
  max-width: 850px;
  text-align: left;          /* keep text left aligned */
}

.centered-section p {
  margin-bottom: 14px;
}



.virtualfit-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* helps on mobile */
  margin-top: 20px;
}

.virtualfit-demo .image-box {
  flex: 1;
  min-width: 200px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 10px;
}

.virtualfit-demo img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.2);
  background: #111;
}

.virtualfit-demo .symbol {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-2);
  min-width: 40px;
  text-align: center;
}

