/* =====================================================
   GLOBAL RESET & BASE STYLES – PREMIUM DARK THEME
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  --bg-dark: #030712;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --primary-cyan: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.35);
  --accent-purple: #c084fc;
  --accent-indigo: #818cf8;
  --accent-emerald: #34d399;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-sub: #cbd5e1;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(99, 102, 241, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =====================================================
   GLASS EFFECT UTILITY
===================================================== */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7),
              0 0 25px var(--primary-glow);
}

/* =====================================================
   GLOBAL NAVBAR
===================================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1300px;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.nav-left {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-left span {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--accent-purple));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-cyan);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-cyan);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
}

.hero-container {
  max-width: 1300px;
  width: 92%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: center;
}

/* PROFILE IMAGE */
.hero-left {
  display: flex;
  justify-content: center;
}

.profile-wrapper {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple), var(--accent-indigo));
  position: relative;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.35),
              0 0 100px rgba(168, 85, 247, 0.2);
  animation: float 4s ease-in-out infinite;
}

.profile-wrapper::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  animation: rotateCircle 25s linear infinite;
  pointer-events: none;
}

.profile-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-dark);
}

/* HERO RIGHT TEXT */
.hero-right h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.hero-right h1 span {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 20px;
  color: var(--text-sub);
  font-weight: 500;
  margin-bottom: 24px;
}

.subtitle span.typed-text {
  color: var(--primary-cyan);
  font-weight: 700;
  border-bottom: 2px solid var(--primary-cyan);
}

/* BADGES */
.badges {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badges span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--primary-cyan);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.badges span:hover {
  background: var(--primary-cyan);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(56, 189, 248, 0.4);
}

/* INFO CARDS */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.info-card {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
}

.info-card strong {
  color: var(--text-main);
  font-size: 15px;
}

/* SOCIAL ICONS */
.socials {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.socials a:hover {
  background: var(--primary-cyan);
  color: #000;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
}

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

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ELEVENLABS AGENT STYLING */
elevenlabs-convai {
  z-index: 9999;
}

/* =====================================================
   GLOBAL FOOTER
===================================================== */
.site-footer {
  width: 90%;
  max-width: 1300px;
  margin: 60px auto 30px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-text span {
  color: var(--primary-cyan);
  font-weight: 600;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--primary-cyan);
}

/* =====================================================
   MOBILE RESPONSIVE STYLES
===================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-left {
    order: -1;
  }

  .profile-wrapper {
    width: 280px;
    height: 280px;
  }

  .hero-right h1 {
    font-size: 48px;
  }

  .badges, .socials {
    justify-content: center;
  }

  .info-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 28px auto;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 500px) {
  .hero-right h1 {
    font-size: 38px;
  }

  .profile-wrapper {
    width: 220px;
    height: 220px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
