/* ================================
   MR SILENCE — Global v3
   ================================ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #0a0a0a;
  --bg2: #0e0e0e;
  --card: #131313;
  --accent: #00e0ff;
  --text: #eaeaea;
  --muted: #8a8a8a;
  --border: rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.5;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.5px; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.cursor-glow {
  position: fixed; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,224,255,0.12), transparent 70%);
  pointer-events: none; transform: translate(-50%, -50%);
  z-index: 1; transition: 0.15s ease-out;
}

/* ================================
   WELCOME / BOOT
   ================================ */
#boot {
  position: fixed; inset: 0; background: #000;
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 1s ease, visibility 1s ease;
}
#boot.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.boot-inner { text-align: center; width: 90%; max-width: 420px; }

.boot-eye {
  font-size: 5rem; color: var(--accent);
  margin-bottom: 1.5rem;
  animation: eyePulse 2s infinite ease-in-out;
  filter: drop-shadow(0 0 25px rgba(0,224,255,0.8));
}
@keyframes eyePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.75; }
}

.boot-welcome {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 6px;
  text-transform: uppercase;
  animation: welcomeFade 1s ease;
}
@keyframes welcomeFade {
  from { opacity: 0; letter-spacing: 15px; }
  to { opacity: 1; letter-spacing: 6px; }
}

/* ================================
   TOPBAR
   ================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 5%;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 100; border-bottom: 1px solid var(--border);
}
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 1px; }
.logo span { color: var(--accent); }
.menu-btn {
  background: none; border: 1px solid rgba(0,224,255,0.3);
  border-radius: 8px; padding: 0.5rem 0.6rem; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; transition: 0.3s;
}
.menu-btn:hover { border-color: var(--accent); }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ================================
   DRAWER
   ================================ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: 0.35s ease; z-index: 998;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; width: 300px; max-width: 85vw;
  height: 100vh; background: #0d0d0d;
  border-right: 1px solid rgba(0,224,255,0.15);
  transform: translateX(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999; display: flex; flex-direction: column; padding: 1.5rem;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem;
}
.drawer-close { background: none; border: none; color: var(--accent); font-size: 1.3rem; cursor: pointer; padding: 0.3rem; }
.drawer-links { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; overflow-y: auto; }
.drawer-links a {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem; border-radius: 10px;
  color: var(--muted); font-size: 0.95rem; transition: 0.3s;
}
.drawer-links a span { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--accent); opacity: 0.6; }
.drawer-links a:hover, .drawer-links a.active { background: rgba(0,224,255,0.08); color: var(--accent); }
.drawer-foot {
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; gap: 1rem; font-size: 0.85rem;
}
.drawer-foot a { color: var(--accent); }

/* ================================
   HOME HERO
   ================================ */
.home { padding-top: 60px; }
.home-hero {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 6%; position: relative; text-align: center;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  color: var(--accent); font-size: 0.8rem; letter-spacing: 3px;
  margin-bottom: 1.2rem; text-transform: uppercase;
}
.home-hero h1 { font-size: clamp(2rem, 8vw, 4.5rem); margin-bottom: 1rem; }
.accent { color: var(--accent); }
.hero-role { color: var(--muted); font-size: 0.95rem; letter-spacing: 1px; margin-bottom: 1.5rem; }
.hero-desc {
  color: var(--muted); font-size: 1rem; line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-glow {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,224,255,0.12), transparent 70%);
  border-radius: 50%; z-index: 1; filter: blur(40px); pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  padding: 0.9rem 1.8rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; transition: 0.3s;
  border: 1px solid transparent; display: inline-block;
  font-family: 'Inter', sans-serif; cursor: pointer;
}
.btn.primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 30px rgba(0,224,255,0.4);
}
.btn.primary:hover { box-shadow: 0 0 50px rgba(0,224,255,0.7); }
.btn.ghost { border: 1px solid var(--accent); color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: #000; }
.btn.small { padding: 0.6rem 1.2rem; font-size: 0.82rem; }
.btn.disabled { opacity: 0.4; pointer-events: none; }

/* ================================
   STATS
   ================================ */
.home-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 700px; margin: 0 auto; padding: 3rem 6% 4rem; text-align: center;
}
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 0.5rem; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; color: var(--accent); font-weight: 700; margin-bottom: 0.3rem;
}
.stat-label { color: var(--muted); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }

/* ================================
   QUICK GRID
   ================================ */
.home-quick { padding: 4rem 6%; max-width: 1100px; margin: 0 auto; }
.home-quick h2 { text-align: center; font-size: 1.8rem; margin-bottom: 2rem; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.quick-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem; transition: 0.35s; display: block;
}
.quick-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,224,255,0.12); }
.quick-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.quick-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.quick-card p { color: var(--muted); font-size: 0.85rem; }

/* ================================
   HOME CTA
   ================================ */
.home-cta { text-align: center; padding: 4rem 6% 5rem; }
.home-cta h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.home-cta p { color: var(--muted); margin-bottom: 1.8rem; }

/* ================================
   FOOTER
   ================================ */
footer {
  padding: 3rem 6%; text-align: center;
  border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem;
}
.socials { margin: 1rem 0; display: flex; gap: 1.5rem; justify-content: center; }
.socials a { color: var(--accent); transition: 0.3s; }
.socials a:hover { opacity: 0.7; }
.copy { font-size: 0.8rem; margin-top: 1rem; opacity: 0.6; }

/* ================================
   PAGE WRAP + HERO
   ================================ */
.page-wrap { padding-top: 60px; }
.page-hero {
  min-height: 50vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 6rem 6% 2rem; position: relative;
}
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.5rem); margin-bottom: 1rem; }
.page-hero .sub { color: var(--muted); font-size: 1rem; max-width: 500px; }

/* ================================
   ABOUT
   ================================ */
.about-content {
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem;
  max-width: 1100px; margin: 0 auto; padding: 2rem 6% 4rem;
  align-items: start;
}
.about-text p { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }
.about-text .lead { color: var(--text); font-size: 1.15rem; }
.about-text strong { color: var(--accent); }
.about-side { display: flex; flex-direction: column; gap: 1rem; }
.info-box {
  background: var(--card); padding: 1.2rem 1.5rem;
  border-radius: 12px; border: 1px solid var(--border);
}
.info-box .label { color: var(--muted); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; }
.info-box .value { color: var(--accent); font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; margin-top: 0.3rem; }

/* ================================
   TIMELINE
   ================================ */
.timeline-section { max-width: 800px; margin: 0 auto; padding: 2rem 6% 5rem; }
.timeline-section h2 { text-align: center; margin-bottom: 2.5rem; font-size: 1.8rem; }
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid rgba(0,224,255,0.2); }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-dot {
  position: absolute; left: -2.6rem; top: 0.3rem;
  width: 14px; height: 14px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 15px var(--accent);
}
.tl-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.tl-item p { color: var(--muted); font-size: 0.9rem; }

/* ================================
   SKILLS FULL
   ================================ */
.skills-full { max-width: 800px; margin: 0 auto; padding: 2rem 6%; }
.skill-bar { margin-bottom: 1.8rem; }
.skill-info {
  display: flex; justify-content: space-between;
  margin-bottom: 0.6rem; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}
.skill-info span:last-child { color: var(--accent); }
.bar { height: 8px; background: rgba(255,255,255,0.05); border-radius: 50px; overflow: hidden; }
.fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), #0099ff);
  border-radius: 50px; transition: width 1.5s ease;
  box-shadow: 0 0 15px rgba(0,224,255,0.5);
}

/* ================================
   TECH TAGS
   ================================ */
.tech-stack { text-align: center; padding: 3rem 6% 5rem; }
.tech-stack h2 { margin-bottom: 2rem; font-size: 1.8rem; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; max-width: 700px; margin: 0 auto; }
.tags span {
  padding: 0.6rem 1.2rem; background: var(--card);
  border: 1px solid rgba(0,224,255,0.2); border-radius: 50px;
  font-size: 0.88rem; transition: 0.3s;
}
.tags span:hover { border-color: var(--accent); color: var(--accent); }

/* ================================
   PROJECTS
   ================================ */
.projects-section { padding: 2rem 6% 5rem; max-width: 1200px; margin: 0 auto; }
.filters { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 0.55rem 1.3rem; border-radius: 50px;
  cursor: pointer; font-family: inherit; font-size: 0.85rem; transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 20px rgba(0,224,255,0.2);
}
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.project-card {
  background: var(--card); padding: 1.6rem; border-radius: 18px;
  border: 1px solid var(--border); transition: 0.4s;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.project-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,224,255,0.15); }
.pc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.pc-tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem;
  letter-spacing: 2px; color: var(--accent);
  background: rgba(0,224,255,0.1); padding: 0.25rem 0.6rem; border-radius: 50px;
}
.pc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.project-thumb { font-size: 2rem; margin-bottom: 0.5rem; }
.project-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.project-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 1rem; flex: 1; }
.project-link { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.placeholder-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 3rem; opacity: 0.6; }

/* ================================
   BOTS
   ================================ */
.bots-section { padding: 2rem 6% 5rem; max-width: 1200px; margin: 0 auto; }
.bots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 4rem; }
.bot-card {
  background: var(--card); padding: 1.8rem; border-radius: 18px;
  border: 1px solid var(--border); transition: 0.4s;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.bot-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,224,255,0.15); }
.bot-status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; letter-spacing: 2px; color: #00ff9d;
  align-self: flex-start; margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}
.bot-status.soon { color: #ffaa00; }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #00ff9d;
  box-shadow: 0 0 10px #00ff9d; animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.bot-icon { font-size: 2.2rem; margin-bottom: 0.4rem; }
.bot-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.bot-card p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; flex: 1; }
.bot-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.6rem 0; }
.bot-tags span {
  font-size: 0.7rem; padding: 0.25rem 0.6rem;
  background: rgba(0,224,255,0.08); color: var(--accent);
  border-radius: 50px; border: 1px solid rgba(0,224,255,0.2);
}
.bots-cta { text-align: center; max-width: 600px; margin: 0 auto; }
.bots-cta p { color: var(--muted); margin-bottom: 1.8rem; }

/* ================================
   SERVICES
   ================================ */
.services-section { padding: 2rem 6% 5rem; max-width: 1200px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 4rem; }
.service-card {
  background: var(--card); padding: 1.8rem; border-radius: 18px;
  border: 1px solid var(--border); transition: 0.4s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,224,255,0.15); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.6; }
.service-card ul { list-style: none; }
.service-card ul li {
  color: var(--muted); font-size: 0.85rem;
  padding: 0.3rem 0 0.3rem 1.2rem; position: relative;
}
.service-card ul li::before {
  content: '→'; position: absolute; left: 0; color: var(--accent);
}
.services-cta { text-align: center; max-width: 600px; margin: 0 auto; }
.services-cta p { color: var(--muted); margin-bottom: 1.8rem; }

/* ================================
   TEAM
   ================================ */
.team-section { padding: 2rem 6% 5rem; max-width: 1100px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 4rem; }
.team-card {
  background: var(--card); padding: 2rem; border-radius: 18px;
  border: 1px solid var(--border); transition: 0.4s; text-align: center;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,224,255,0.15); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #00e0ff, #0099ff);
  color: #000; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; margin: 0 auto 1rem;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: 0 0 30px rgba(0,224,255,0.4);
}
.team-avatar.zx { background: linear-gradient(135deg, #9d4edd, #5a189a); color: #fff; }
.team-avatar.az { background: linear-gradient(135deg, #ff006e, #ff8fab); color: #fff; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.team-role { color: var(--accent); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0.8rem; }
.team-bio { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
.team-link { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.team-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(0,224,255,0.05), rgba(0,153,255,0.02));
  border: 1px solid rgba(0,224,255,0.15); border-radius: 20px;
  padding: 3rem 1.5rem;
}
.team-banner h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.team-banner p { color: var(--muted); margin-bottom: 1.8rem; }

/* ================================
   LAB
   ================================ */
.lab-info { max-width: 1100px; margin: 0 auto; padding: 3rem 6%; }
.lab-info h2 { text-align: center; margin-bottom: 2rem; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; max-width: 1100px; margin: 0 auto;
}
.card {
  background: var(--card); padding: 1.8rem; border-radius: 16px;
  border: 1px solid var(--border); transition: 0.35s;
}
.card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,224,255,0.12); }
.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.88rem; }
.embed-section { text-align: center; padding: 3rem 6% 5rem; }
.embed-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; line-height: 1.7; }

/* ================================
   CONTACT
   ================================ */
.contact-section { padding: 2rem 6% 5rem; max-width: 800px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 4rem; }
.contact-card {
  background: var(--card); padding: 1.8rem; border-radius: 18px;
  border: 1px solid var(--border); transition: 0.4s;
  text-align: center; display: block;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,224,255,0.15); }
.contact-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.contact-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.contact-arrow { color: var(--accent); font-size: 0.85rem; }
.contact-form-wrap { text-align: center; }
.contact-form-wrap h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.2rem; color: var(--text);
  font-family: inherit; font-size: 0.9rem; transition: 0.3s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0,224,255,0.15);
}
.contact-form button { align-self: center; }
.form-note { color: var(--muted); font-size: 0.78rem; margin-top: 1rem; opacity: 0.6; }
.form-note code {
  background: rgba(0,224,255,0.1); color: var(--accent);
  padding: 2px 6px; border-radius: 4px;
}

/* ================================
   AI FAB
   ================================ */
.ai-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #00e0ff, #0099ff);
  border: none; cursor: pointer; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,224,255,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ai-fab:active { transform: scale(0.92); }
.ai-icon { font-size: 1.6rem; color: #000; font-weight: 700; z-index: 2; }
.ai-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ================================
   AI MODAL
   ================================ */
.ai-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.3s ease; z-index: 1000;
}
.ai-modal.open { opacity: 1; visibility: visible; }
.ai-modal-box {
  background: #111; border: 1px solid rgba(0,224,255,0.2);
  border-radius: 24px 24px 0 0; padding: 1.8rem 1.5rem 2rem;
  width: 100%; max-width: 500px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.ai-modal.open .ai-modal-box { transform: translateY(0); }
.ai-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--muted);
  font-size: 1.2rem; cursor: pointer; padding: 0.4rem;
}
.ai-modal-head { text-align: center; margin-bottom: 1.5rem; }
.ai-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #00e0ff, #0099ff);
  color: #000; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 1rem;
  box-shadow: 0 0 30px rgba(0,224,255,0.5);
}
.ai-avatar.small { width: 36px; height: 36px; font-size: 1.1rem; margin: 0; box-shadow: none; }
.ai-modal-head h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.ai-modal-head p { color: var(--muted); font-size: 0.85rem; }
.ai-modal-options { display: flex; flex-direction: column; gap: 0.8rem; }
.ai-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.2rem; background: #181818;
  border: 1px solid var(--border); border-radius: 14px;
  cursor: pointer; transition: 0.3s; text-align: left;
  font-family: inherit; color: inherit; width: 100%;
}
.ai-option:hover { border-color: var(--accent); background: rgba(0,224,255,0.05); }
.opt-icon {
  font-size: 1.6rem; flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 12px; background: rgba(0,224,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.ai-option h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.ai-option p { color: var(--muted); font-size: 0.8rem; }

/* ================================
   AI CHAT
   ================================ */
.ai-chat {
  position: fixed; bottom: 0; right: 0;
  width: 100%; max-width: 420px; height: 80vh; max-height: 640px;
  background: #0d0d0d; border: 1px solid rgba(0,224,255,0.2);
  border-radius: 20px 20px 0 0;
  display: flex; flex-direction: column; z-index: 1001;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 60px rgba(0,224,255,0.15);
  overflow: hidden;
}
.ai-chat.open { transform: translateY(0); }
.ai-chat-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); background: #111;
}
.ai-chat-title { display: flex; align-items: center; gap: 0.8rem; }
.ai-chat-title h4 { font-size: 0.95rem; }
.ai-chat-title p { color: var(--muted); font-size: 0.72rem; display: flex; align-items: center; gap: 0.4rem; }
.dot {
  width: 6px; height: 6px; background: #00ff9d; border-radius: 50%;
  box-shadow: 0 0 8px #00ff9d; display: inline-block;
}
.ai-chat-close { background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: 0.4rem; }
.ai-chat-body {
  flex: 1; overflow-y: auto; padding: 1.2rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.msg {
  max-width: 85%; padding: 0.8rem 1rem; border-radius: 14px;
  font-size: 0.88rem; line-height: 1.5;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg.bot {
  background: #1a1a1a; border: 1px solid var(--border);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.msg.user {
  background: var(--accent); color: #000;
  align-self: flex-end; border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg.typing { display: flex; gap: 4px; padding: 1rem; }
.msg.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: typing 1.4s infinite;
}
.msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
.ai-chat-input {
  display: flex; gap: 0.5rem; padding: 0.9rem 1rem;
  border-top: 1px solid var(--border); background: #111;
}
.ai-chat-input input {
  flex: 1; background: #1a1a1a; border: 1px solid var(--border);
  border-radius: 50px; padding: 0.7rem 1.1rem; color: var(--text);
  font-family: inherit; font-size: 0.88rem; outline: none; transition: 0.3s;
}
.ai-chat-input input:focus { border-color: var(--accent); }
.ai-chat-input button {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); border: none; color: #000;
  font-size: 1rem; cursor: pointer; flex-shrink: 0;
}
.ai-suggestions {
  display: flex; gap: 0.5rem; padding: 0 1rem 1rem;
  overflow-x: auto; scrollbar-width: none;
}
.ai-suggestions::-webkit-scrollbar { display: none; }
.ai-suggestions button {
  background: rgba(0,224,255,0.08);
  border: 1px solid rgba(0,224,255,0.25);
  color: var(--accent); padding: 0.5rem 0.9rem;
  border-radius: 50px; font-size: 0.75rem;
  font-family: inherit; cursor: pointer; white-space: nowrap; transition: 0.3s;
}
.ai-suggestions button:hover { background: rgba(0,224,255,0.15); }

/* ================================
   REVEAL
   ================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

/* ================================
   HIDE NETLIFY BADGE
   ================================ */
#netlify-badge,
a[href*="netlify.com"][target="_blank"],
iframe[src*="netlify"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ================================
   DESKTOP TWEAKS
   ================================ */
@media (min-width: 769px) {
  .ai-chat { border-radius: 20px; bottom: 100px; right: 24px; height: 600px; }
  .ai-modal { align-items: center; }
  .ai-modal-box { border-radius: 24px; padding: 2rem; }
}

/* ================================
   MOBILE
   ================================ */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-glow { display: none; }
  .home-hero { padding: 3rem 6%; }
  .home-hero h1 { font-size: 2.2rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .home-stats { padding: 2rem 6% 3rem; gap: 0.6rem; }
  .stat { padding: 1.2rem 0.4rem; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.65rem; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .quick-card { padding: 1.3rem; }
  .quick-icon { font-size: 1.5rem; }
  .quick-card h3 { font-size: 0.95rem; }
  .quick-card p { font-size: 0.78rem; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; padding: 1rem 6% 3rem; }
  section { padding: 3rem 6%; }
  .page-hero { padding: 5rem 6% 2rem; }
  .boot-welcome { font-size: 1.2rem; letter-spacing: 4px; }
  .boot-eye { font-size: 4rem; }
}