/* ═══════════════════════════════════════════════════
   SECTIONS.CSS — All Section Styles
   Somala Ajay Portfolio
═══════════════════════════════════════════════════ */

/* ══════════════════════════════
   ABOUT SECTION
══════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-sub);
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 2rem;
}

.about-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.detail-icon { font-size: 1rem; }

/* About cards grid */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-purple { border-top: 2px solid var(--purple); }
.card-gold   { border-top: 2px solid var(--gold); }
.card-dark   { border-top: 2px solid var(--muted2); }
.card-glow   { border-top: 2px solid var(--purple); background: var(--purple-dim); }

.about-card-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }

.about-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.about-card-desc {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ══════════════════════════════
   EXPERIENCE / TIMELINE
══════════════════════════════ */
.timeline {
  position: relative;
  max-width: 860px;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--purple), rgba(155,89,245,0.05));
}

.timeline-item {
  padding-left: 60px;
  padding-bottom: 3rem;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 16px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--purple);
  box-shadow: 0 0 14px var(--purple-glow);
  transition: box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
  box-shadow: 0 0 22px var(--purple);
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  border-color: rgba(155,89,245,0.3);
  transform: translateX(4px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.timeline-badge {
  font-size: 0.6rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(212,168,67,0.2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-badge.badge-purple {
  background: var(--purple-dim);
  color: var(--purple);
  border-color: rgba(155,89,245,0.2);
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.timeline-company {
  font-size: 0.87rem;
  color: var(--purple);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-focus {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-bottom: 1rem;
}

.timeline-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-points li {
  font-size: 0.88rem;
  color: var(--text-sub);
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.7;
}

.timeline-points li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-size: 0.65rem;
  top: 0.3rem;
}

/* ══════════════════════════════
   SKILLS SECTION
══════════════════════════════ */
.skills-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

/* Globe wrapper */
.skills-globe-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

#techGlobe {
  border-radius: 50%;
}

.globe-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* Skill cards */
.skills-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.skill-card:hover {
  border-color: rgba(155,89,245,0.3);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.skill-card-icon { font-size: 1.1rem; }

.skill-card-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  background: var(--purple-dim);
  border: 1px solid rgba(155,89,245,0.2);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #b8a8d8;
  transition: all 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.tag::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.4s ease;
}

.tag:hover::before { left: 150%; }

.tag:hover {
  background: linear-gradient(135deg, rgba(155,89,245,0.3), rgba(212,168,67,0.15));
  color: #e8d5ff;
  border-color: rgba(155,89,245,0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155,89,245,0.25);
}

[data-theme="light"] .tag {
  color: #5a4f72;
  background: rgba(124,58,237,0.06);
  border-color: rgba(124,58,237,0.18);
}
[data-theme="light"] .tag:hover {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(180,130,0,0.08));
  color: #4c1d95;
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 4px 12px rgba(124,58,237,0.2);
}

/* ══════════════════════════════
   PROJECTS SECTION
══════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  animation-delay: var(--delay, 0s);
}

/* Top accent line */
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-card:hover::before { transform: scaleX(1); }

.project-card:hover {
  border-color: rgba(155,89,245,0.3);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* Featured card spans 1 column but is taller */
.project-card.featured {
  border-color: rgba(155,89,245,0.25);
  background: linear-gradient(135deg, var(--card), var(--purple-dim));
}

.project-card-all {
  border-color: rgba(212,168,67,0.2);
  background: linear-gradient(135deg, var(--card), var(--gold-dim));
}

.project-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted2);
}

.project-emoji { font-size: 1.8rem; }

.project-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.project-stack {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.project-desc {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.8;
  flex: 1;
}

.project-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-domain {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--purple);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-link {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  cursor: none;
  transition: color 0.2s;
}

.project-link:hover { color: var(--gold-bright); }

/* ══════════════════════════════
   CERTIFICATIONS & EDUCATION
══════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cert-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--purple), var(--gold));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.cert-card:hover::after { transform: scaleY(1); }

.cert-card:hover {
  border-color: rgba(155,89,245,0.25);
  transform: translateX(4px);
}

.cert-icon { font-size: 1.5rem; flex-shrink: 0; }

.cert-info { flex: 1; }

.cert-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--gold);
  border: 1px solid rgba(212,168,67,0.25);
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Education block */
.edu-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--purple);
  max-width: 680px;
  transition: all 0.3s ease;
}

.edu-card:hover {
  border-left-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.edu-icon { font-size: 2rem; flex-shrink: 0; }

.edu-degree {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.edu-school {
  font-size: 0.87rem;
  color: var(--purple);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.edu-project {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* ══════════════════════════════
   CONTACT SECTION
══════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-tagline {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: none;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.contact-link:hover {
  border-color: rgba(155,89,245,0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-link-icon { font-size: 1.25rem; flex-shrink: 0; }

.contact-link-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.contact-link-value {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 500;
}

.contact-location {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── Contact Form ── */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted2);
}

/* Form status messages */
.form-status {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(155,89,245,0.1);
  border: 1px solid rgba(155,89,245,0.25);
  color: var(--purple);
}

.form-status.error {
  display: block;
  background: rgba(255,80,80,0.08);
  border: 1px solid rgba(255,80,80,0.2);
  color: #ff6b6b;
}

/* ══════════════════════════════
   BENTO GRID — About Section
   (Hardcoded in HTML, styled here)
══════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Column spans */
.bento-wide  { grid-column: span 2; }
.bento-3col  { grid-column: span 3; }

/* Top border accents */
.bento-purple { border-top: 2px solid var(--purple); }
.bento-gold   { border-top: 2px solid var(--gold); }
.bento-green  { border-top: 2px solid #00d264; }
.bento-blue   { border-top: 2px solid #60a5fa; }

/* Name card */
.bento-name-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.bento-name-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.bento-intro {
  font-size: 0.83rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Shared label */
.bento-label-mono {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

/* Status card */
.bento-dot-green {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00d264;
  box-shadow: 0 0 8px #00d264;
  margin-right: 0.4rem;
  animation: pulseDot 2s infinite;
}
.bento-status-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.bento-status-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Big stat cards */
.bento-big-stat {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-bottom: 0.3rem;
}
.bento-big-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.bento-big-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.bento-stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Location card */
.bento-place-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.bento-place-coords {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--purple);
}

/* Skills tags */
.bento-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.22rem 0.6rem;
  background: var(--purple-dim);
  border: 1px solid rgba(155,89,245,0.18);
  border-radius: 4px;
  color: var(--text-sub);
  transition: all 0.2s;
}
.bento-tag:hover {
  background: rgba(155,89,245,0.2);
  color: var(--purple);
}

/* Education */
.bento-edu-degree {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.bento-edu-school { font-size: 0.82rem; color: #60a5fa; margin-bottom: 0.1rem; }
.bento-edu-year   { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); }

/* Quote */
.bento-quote-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.bento-quote-by {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: var(--muted);
}

/* Currently */
.bento-current-item {
  font-size: 0.82rem;
  color: var(--text-sub);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.bento-current-item:last-child { border-bottom: none; }

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .bento-3col { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide, .bento-3col { grid-column: span 1; }
  .bento-name-title { font-size: 1.4rem; }
  .bento-big-num { font-size: 2.2rem; }
}

/* ══════════════════════════════════════════
   FLOATING GLOW CARDS — About Section
══════════════════════════════════════════ */
.float-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 0.5rem;
}

/* Base floating card */
.float-card {
  position: relative;
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  /* Float effect */
  animation: floatCard 6s ease-in-out infinite;
}

/* Each card floats at different speed/phase */
.float-card:nth-child(1) { animation-duration: 6s;   animation-delay: 0s; }
.float-card:nth-child(2) { animation-duration: 7s;   animation-delay: 0.5s; }
.float-card:nth-child(3) { animation-duration: 5.5s; animation-delay: 1s; }
.float-card:nth-child(4) { animation-duration: 8s;   animation-delay: 0.3s; }
.float-card:nth-child(5) { animation-duration: 6.5s; animation-delay: 0.8s; }
.float-card:nth-child(6) { animation-duration: 7.5s; animation-delay: 0.2s; }
.float-card:nth-child(7) { animation-duration: 6s;   animation-delay: 1.2s; }
.float-card:nth-child(8) { animation-duration: 5s;   animation-delay: 0.6s; }
.float-card:nth-child(9) { animation-duration: 7s;   animation-delay: 0.9s; }
.float-card:nth-child(10){ animation-duration: 6.5s; animation-delay: 0.4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.float-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  animation-play-state: paused;
}

/* Glow blob inside each card */
.float-card-glow {
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  filter: blur(40px);
  top: -40px; right: -40px;
  opacity: 0.35;
  transition: opacity 0.4s;
  pointer-events: none;
}
.float-card:hover .float-card-glow { opacity: 0.6; }

.glow-purple { background: radial-gradient(circle, rgba(155,89,245,0.8) 0%, transparent 70%); }
.glow-gold   { background: radial-gradient(circle, rgba(212,168,67,0.8)  0%, transparent 70%); }
.glow-green  { background: radial-gradient(circle, rgba(0,210,100,0.8)   0%, transparent 70%); }
.glow-blue   { background: radial-gradient(circle, rgba(96,165,250,0.8)  0%, transparent 70%); }

/* Hover border glow per color */
.float-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.float-card-intro:hover  { border-color: rgba(155,89,245,0.5); box-shadow: 0 20px 50px rgba(155,89,245,0.15); }
.float-card-status:hover { border-color: rgba(0,210,100,0.5);  box-shadow: 0 20px 50px rgba(0,210,100,0.1); }
.float-card-location:hover,
.float-card-quote:hover  { border-color: rgba(212,168,67,0.5);  box-shadow: 0 20px 50px rgba(212,168,67,0.1); }
.float-card-stack:hover,
.float-card-currently:hover { border-color: rgba(155,89,245,0.5); }
.float-card-edu:hover    { border-color: rgba(96,165,250,0.5);   box-shadow: 0 20px 50px rgba(96,165,250,0.1); }

/* Card span rules */
.float-card-intro    { grid-column: span 3; }
.float-card-stat     { grid-column: span 1; }
.float-card-location { grid-column: span 2; }
.float-card-stack    { grid-column: span 2; }
.float-card-edu      { grid-column: span 1; }
.float-card-quote    { grid-column: span 2; }
.float-card-currently{ grid-column: span 1; }

/* Content styles */
.float-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.float-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--white); margin-bottom: 0.2rem;
}
.float-card-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--gold);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.float-card-body {
  font-size: 0.84rem; color: var(--text-sub); line-height: 1.75;
}
.float-label {
  font-family: var(--font-mono);
  font-size: 0.6rem; color: var(--muted);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Status */
.float-status-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.float-dot-green {
  width: 9px; height: 9px; border-radius: 50%;
  background: #00d264; box-shadow: 0 0 8px #00d264;
  animation: pulseDot 2s infinite; flex-shrink: 0;
}
.float-status-text { font-size: 1rem; font-weight: 600; color: var(--white); }

/* Big stats */
.float-big-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: var(--purple); line-height: 1;
  margin-bottom: 0.25rem;
}
.float-unit { font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.float-stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Location */
.float-place { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.float-coords { font-family: var(--font-mono); font-size: 0.63rem; color: var(--purple); }

/* Stack tags */
.float-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }

/* Education */
.float-degree { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.2rem; }
.float-school { font-size: 0.82rem; color: #60a5fa; margin-bottom: 0.1rem; }
.float-year   { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); }

/* Quote */
.float-quote { font-family: var(--font-display); font-size: 1rem; font-style: italic; color: var(--white); line-height: 1.5; margin-bottom: 0.4rem; }
.float-quote-by { font-family: var(--font-mono); font-size: 0.63rem; color: var(--muted); }

/* Currently */
.float-current-item { font-size: 0.82rem; color: var(--text-sub); padding: 0.35rem 0; border-bottom: 1px solid var(--border); line-height: 1.5; }
.float-current-item:last-child { border-bottom: none; }

/* Responsive */
@media (max-width: 1024px) {
  .float-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card-intro    { grid-column: span 2; }
  .float-card-location { grid-column: span 2; }
  .float-card-stack    { grid-column: span 2; }
  .float-card-quote    { grid-column: span 2; }
  .float-card-currently{ grid-column: span 2; }
  .float-card-edu      { grid-column: span 2; }
}
@media (max-width: 600px) {
  .float-cards-grid { grid-template-columns: 1fr; }
  .float-card-intro, .float-card-location, .float-card-stack,
  .float-card-quote, .float-card-currently, .float-card-edu { grid-column: span 1; }
  .float-big-num { font-size: 2.2rem; }
  @keyframes floatCard { 0%,100% { transform: translateY(0); } }
}
