html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto !important;
  background: #040214;
  -webkit-overflow-scrolling: touch;
}

/* ===== ABOUT PAGE STYLE (Updated to match Services page aesthetic) ===== */

body {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}

html { background: #040214; scroll-behavior: smooth; }

main.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: auto;
  position: relative;
  z-index: 0;
}

main.page-wrap > * { position: relative; z-index: 1; }

/* --- Hero Section --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem 4rem;
  gap: 3rem;
}

.hero-content { 
  flex: 1; 
  max-width: 640px;
  margin-top: -1.5rem;
}

.hero-content .eyebrow {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(235, 244, 255, 0.7);
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(120deg, #f6fbff 8%, #cde3ff 38%, rgba(134, 255, 241, 0.95) 82%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 45px rgba(111, 255, 241, 0.45), 0 0 85px rgba(163, 125, 255, 0.28);
}

.hero-copy {
  line-height: 1.75;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  flex-wrap: wrap;
}

/* --- Glass Cards --- */
.glass-card {
  background: linear-gradient(160deg, rgba(28, 18, 60, 0.85), rgba(12, 6, 42, 0.72));
  box-shadow: 0 20px 50px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  padding: 1.6rem;
  transition: all 0.35s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 209, 255, 0.3);
}

.glass-card-label {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  color: #00d1ff;
  margin-bottom: 1rem;
}

.glass-card-body { font-size: 0.95rem; line-height: 1.7; }

.hero-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  margin-top: 3rem;
}

/* --- Floating widgets (aligned neatly) --- */
.hero-visual {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 420px;
}

.hero-card {
  position: absolute;
  padding: 0.9rem 1.4rem;
  border-radius: 1rem;
  background: linear-gradient(150deg, rgba(255,255,255,0.32), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(22px);
  color: rgba(255,255,255,0.9);
  box-shadow: 0 30px 55px rgba(20,10,60,0.5);
  z-index: 2;
  letter-spacing: .12em;
  text-transform: uppercase;
  will-change: transform;
  transform: translateZ(0);
}

.hero-card--auth {
  position: absolute;
  top: -14% !important;
  right: 3% !important;
  animation: bob1 6s ease-in-out infinite alternate;
  z-index: 5;
}
.hero-card--creators {
  position: absolute;
  top: -2% !important;
  right: 6% !important;
  animation: bob2 7s ease-in-out infinite alternate;
  z-index: 5;
}
.hero-card--stored {
  position: absolute;
  top: 12% !important;
  right: 4% !important;
  animation: bob3 5.5s ease-in-out infinite alternate;
  z-index: 5;
}

@keyframes bob1 { 0%,100%{transform:translate3d(0,0,0);} 50%{transform:translate3d(16px,-22px,0);} }
@keyframes bob2 { 0%,100%{transform:translate3d(0,0,0);} 50%{transform:translate3d(-22px,-20px,0);} }
@keyframes bob3 { 0%,100%{transform:translate3d(0,0,0);} 50%{transform:translate3d(18px,14px,0);} }

@media (max-width: 900px) {
  .hero-visual { min-height: 300px; justify-content: center; }
  .hero-card { position: relative; margin-top: 0.8rem; right: auto; left: auto; top: auto; bottom: auto; }
}

/* --- Skills (screenshot-style) --- */
.skills-section { padding: 2rem clamp(1rem, 4vw, 2rem) 3rem; }

/* Big solid title like screenshot */
.section-title {
  font-family: 'Orbitron', sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  margin: 0 0 2rem;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0,0,0,.55);
}

/* Grid layout */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 3.2rem 2.8rem;
  justify-items: center;
}

@media (max-width: 1100px){
  .skills-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 2.6rem 2rem; }
}
@media (max-width: 700px){
  .skills-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2.2rem 1.6rem; }
}

/* Single item (no card, no border) */
.skill-item {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: .4rem .4rem 0;
}

/* Soft radial glow variants to emulate screenshot highlights */
.skill-item::before{
  content: "";
  position: absolute;
  inset: -60% -40% -30% -40%;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  opacity: .35;
  transform: translateZ(0);
}
.skill-item.glow-purple::before{ background: radial-gradient(60% 60% at 50% 40%, rgba(185, 120, 255,.55), transparent 70%); }
.skill-item.glow-orange::before{ background: radial-gradient(60% 60% at 50% 40%, rgba(255, 150, 70,.55), transparent 70%); }
.skill-item.glow-green::before{  background: radial-gradient(60% 60% at 50% 40%, rgba(90, 255, 210,.45), transparent 70%); }

/* Icon + labels */
.skill-item i { font-size: 58px; line-height: 1; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); z-index:1; }
.skill-name { margin-top: .7rem; font-weight: 700; font-size: 1.15rem; color: #fff; z-index:1; }
.skill-kind { font-size: .95rem; opacity: .8; color: #d9e2ff; margin-top: .2rem; z-index:1; }

/* Reduce sizes on small screens */
@media (max-width: 540px){
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
  .skill-item i { font-size: 48px; }
  .skill-name { font-size: 1rem; }
  .skill-kind { font-size: .85rem; }
}

/* Fix Safari and Chrome full height view */
@supports (-webkit-touch-callout: none) {
  html, body {
    overflow-x: hidden;
    overflow-y: auto !important;
    height: auto;
    width: 100%;
  }
}
