@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Caveat:wght@700&display=swap');

:root {
  --bg-primary: #fbfbfd;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.65);
  --border-color: rgba(0, 0, 0, 0.05);
  --border-color-glow: rgba(0, 0, 0, 0.1);
  --accent-purple: #0071e3;
  --accent-purple-glow: rgba(0, 113, 227, 0.2);
  --accent-cyan: #2997ff;
  --accent-cyan-glow: rgba(41, 151, 255, 0.2);
  --accent-blue: #0071e3;
  --accent-green: #34c759;
  --accent-green-glow: rgba(52, 199, 89, 0.2);
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-muted: #a1a1a6;
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-cursive: "SF Pro Display", -apple-system, sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Background glowing blobs */
body::before, body::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

body::before {
  top: 10%;
  left: -100px;
  background: rgba(0, 113, 227, 0.05);
}

body::after {
  top: 50%;
  right: -100px;
  background: rgba(41, 151, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(123, 97, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.glass-panel:hover {
  border-color: var(--border-color-glow);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Header & Navbar */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

header .logo-badge {
  background: var(--text-primary);
  color: var(--bg-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  letter-spacing: -0.02em;
}

header .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

header .logo-text span {
  color: inherit;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-radius: 20px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}

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

nav a:hover::after, nav a.active::after {
  width: 16px;
}

.btn-glowing {
  background: #1d1d1f;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-glowing::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.btn-glowing:hover {
  transform: scale(1.04) translateY(-1px);
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.4);
}

.btn-glowing:hover::before {
  left: 100%;
}

/* Sections */
section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent-blue);
  border-radius: 4px;
}

.section-title span {
  font-weight: 800;
}

.section-link {
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-link:hover {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    text-align: center;
    gap: 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
  .hero-founder-badge {
    justify-content: center;
  }
}

.hero-badge {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 15px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 46px;
  }
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.12);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-founder-badge strong {
  color: var(--accent-blue);
  font-weight: 800;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.2);
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 16px;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

/* Center Image (Hero) */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.hero-image-wrapper {
  border-radius: 30px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 6, 27, 0.85);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--accent-purple);
  padding: 8px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 20px var(--accent-purple-glow);
}

.hero-badge-overlay .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* Right Pane (Hero) */
.hero-right-pane {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-quote {
  font-family: var(--font-cursive);
  font-size: 32px;
  color: var(--accent-green);
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(0, 255, 135, 0.2);
  margin-bottom: 10px;
}

.hero-quote-author {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
  display: block;
}

.hologram-box {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
}

.hologram-box:hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.hologram-header {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.hologram-title {
  font-size: 20px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  padding-bottom: 10px;
}

.hologram-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hologram-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.hologram-item svg {
  color: var(--accent-cyan);
  width: 16px;
  height: 16px;
}

/* Stats Row */
.stats-section {
  padding: 40px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.stat-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* About & Skills Area */
.about-skills-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .about-skills-section {
    grid-template-columns: 1fr;
  }
}

.about-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 16px;
}

.about-builder-card {
  margin-top: 10px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--border-color);
}

.about-builder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.about-builder-card:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

.about-builder-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-builder-overlay span {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  cursor: default;
}

.skill-card:hover {
  background: rgba(0, 113, 227, 0.04);
  transform: translateY(-3px);
  border-color: rgba(0, 113, 227, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.skill-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 16px;
}

.skill-card:nth-child(even) .skill-icon-box {
  background: rgba(0, 0, 0, 0.06);
}

.skill-name {
  font-weight: 600;
  font-size: 14px;
}

/* Featured Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.project-card:hover .project-image-box img {
  transform: scale(1.05);
}

.project-info-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 18px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  position: relative;
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, var(--text-primary) 0%, var(--text-primary) 40%, var(--accent-blue) 50%, var(--accent-cyan) 60%, var(--text-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-position: 0% 0%;
  transition: background-position 0.6s ease;
}

.project-card:hover .project-card-title {
  background-position: 100% 0%;
}

.project-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border: none;
}

.project-card:nth-child(even) .project-tag {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
  border: none;
}

/* Certifications */
.certifications-section {
  position: relative;
}

.certifications-carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 10px 5px 30px 5px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.cert-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .cert-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .cert-card {
    flex: 0 0 100%;
  }
}

.cert-img-box {
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cert-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.cert-card:hover .cert-img-box img {
  transform: scale(1.03);
}

.cert-info {
  padding: 20px;
}

.cert-title {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-primary);
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.cert-meta .issuer {
  color: var(--accent-purple);
  font-weight: 600;
}

/* Videos Section */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail-box {
  position: relative;
  height: 200px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.video-card:hover .video-thumbnail-box img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.video-card:hover .video-play-btn {
  background: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  color: var(--bg-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.video-category {
  font-size: 12px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 2, 10, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.video-modal-content video {
  width: 100%;
  height: 100%;
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* Contact & Footer Section */
.footer-cta {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  padding: 60px 40px;
  background: radial-gradient(circle at center, rgba(123, 97, 255, 0.08) 0%, transparent 70%);
}

.footer-cta-title {
  font-size: 54px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .footer-cta-title {
    font-size: 36px;
  }
}

.footer-cta-sub {
  font-family: var(--font-cursive);
  font-size: 32px;
  color: var(--accent-cyan);
  margin-bottom: 30px;
}

.footer-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 60px;
}

@media (max-width: 768px) {
  .footer-blocks {
    grid-template-columns: 1fr;
  }
}

.footer-block-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.contact-info-item:hover {
  background: rgba(0, 113, 227, 0.04);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(0, 113, 227, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.contact-info-item:hover .contact-info-icon {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(123, 97, 255, 0.08);
  border: 1px solid rgba(123, 97, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  transition: var(--transition-smooth);
}

.contact-info-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-info-value {
  font-weight: 600;
  color: var(--text-primary);
}

.footer-input-group {
  display: flex;
  width: 100%;
  max-width: 450px;
  background: rgba(10, 6, 27, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 6px;
  transition: var(--transition-smooth);
}

.footer-input-group:focus-within {
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.footer-input-group input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 20px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
}

.footer-input-group input::placeholder {
  color: var(--text-muted);
}

.footer-input-group button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-purple);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-purple-glow);
  transition: var(--transition-smooth);
}

.footer-input-group button:hover {
  background: #8b75ff;
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--accent-cyan);
}

.footer-bottom a:hover {
  color: var(--accent-purple);
}

/* Animations */
@keyframes jelly-bounce {
  0%, 100% { transform: scale(1, 1); }
  25% { transform: scale(1.1, 0.9); }
  50% { transform: scale(0.9, 1.1); }
  75% { transform: scale(1.05, 0.95); }
}

.jelly-hover {
  display: inline-block;
  transition: transform 0.3s;
}
.jelly-hover:hover {
  animation: jelly-bounce 0.8s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Text Glow Flow Animation */
.logo-text,
.hero-badge,
.hero-title span,
.hero-founder-badge span,
.section-title,
.skill-name {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, var(--text-primary) 0%, var(--text-primary) 40%, var(--accent-blue) 50%, var(--accent-cyan) 60%, var(--text-primary) 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: text-glow-flow-anim 4s linear infinite;
}

@keyframes text-glow-flow-anim {
  0% { background-position: 200% center; }
  100% { background-position: 0% center; }
}

/* Footer Glow Wave */
.footer-glow-name {
  text-align: center;
  padding: 60px 20px 20px;
  overflow: hidden;
}

.footer-glow-text {
  font-family: var(--font-heading);
  font-size: clamp(48px, 12vw, 120px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.06) 0%,
    rgba(0,113,227,0.25) 25%,
    rgba(41,151,255,0.4) 50%,
    rgba(0,113,227,0.25) 75%,
    rgba(0,0,0,0.06) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footer-glow-sweep 4s ease-in-out infinite;
}

@keyframes footer-glow-sweep {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Text Sweep on cert / video titles */
.cert-title,
.video-title {
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, var(--text-primary) 0%, var(--text-primary) 40%, var(--accent-blue) 50%, var(--accent-cyan) 60%, var(--text-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-position: 0% 0%;
  transition: background-position 0.6s ease;
}

.cert-card:hover .cert-title,
.video-card:hover .video-title {
  background-position: 100% 0%;
}

/* ========== MOBILE-FIRST RESPONSIVE ========== */

/* Nav collapses on small screens */
@media (max-width: 900px) {
  header {
    padding: 10px 16px;
  }
  nav {
    display: none;
  }
  header .btn-glowing {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* Hero mobile */
@media (max-width: 768px) {
  .hero-title {
    font-size: 52px;
  }
  .hero-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .hero-image-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }
  section {
    padding: 60px 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .section-header {
    margin-bottom: 30px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* About section mobile */
@media (max-width: 900px) {
  .about-skills-section {
    grid-template-columns: 1fr;
  }
}

/* Skills grid mobile */
@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 42px;
  }
  .footer-glow-text {
    font-size: 36px;
  }
}

/* Projects grid mobile */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Certs carousel mobile */
@media (max-width: 1024px) {
  .cert-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 768px) {
  .cert-card {
    flex: 0 0 calc(80% - 12px);
  }
}

/* Videos grid mobile */
@media (max-width: 1024px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Footer mobile */
@media (max-width: 768px) {
  .footer-blocks {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-glow-name {
    padding: 40px 10px 10px;
  }
}
