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

body {
  background-color: #050b14;
  color: #e2e8f0;
  overflow-x: hidden;
}

/* Minimal Grid Background */
.bg-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

/* Soft light effects */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.orb-1 { 
  top: -10%; 
  left: -10%; 
  width: 50vw; 
  height: 50vw; 
}

.orb-2 { 
  bottom: -20%; 
  right: -10%; 
  width: 60vw; 
  height: 60vw; 
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), inset 0 0 10px rgba(59, 130, 246, 0.3); 
  }
  50% { 
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), inset 0 0 20px rgba(59, 130, 246, 0.5); 
  }
}

.holographic-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(0,0,0,0));
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: 20px;
  animation: pulse-glow 4s infinite;
}

.holographic-frame::before {
  content: '';
  position: absolute;
  top: -2px; 
  left: -2px; 
  right: -2px; 
  bottom: -2px;
  background: linear-gradient(45deg, transparent 40%, rgba(59, 130, 246, 0.8) 50%, transparent 60%);
  background-size: 200% 200%;
  z-index: -1;
  border-radius: 22px;
  animation: circuit-flow 3s linear infinite;
}

@keyframes circuit-flow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 100%; }
}

.btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%;
  width: 50%; 
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: all 0.5s ease;
}

.btn-glow:hover::after {
  left: 150%;
}

.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
}

/* Responsive Canva embed */
.portfolio-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.portfolio-embed::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(126, 34, 255, 0.35));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.portfolio-embed::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), transparent 40%, transparent 60%, rgba(59, 130, 246, 0.2));
  opacity: 0.4;
  animation: shimmer-border 5s infinite;
}

.portfolio-embed__iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative;
  z-index: 1;
}

@keyframes shimmer-border {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
  .portfolio-embed {
    aspect-ratio: 4 / 3;
    margin: 1.5rem 0;
  }
}

/* Full-width seamless portfolio section */
.portfolio-section {
  position: relative;
  width: 100%;
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, rgba(8, 14, 29, 0.96) 0%, rgba(5, 8, 20, 0.95) 100%);
}

.portfolio-section__outer {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 1rem;
}

.portfolio-section__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 14, 29, 0.95);
  border: 1px solid rgba(0, 162, 255, 0.25);
  box-shadow: 0 30px 80px rgba(0, 162, 255, 0.12);
}

.portfolio-section__media::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 162, 255, 0.15);
}

.portfolio-section__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 3rem 0 4rem;
  }

  .portfolio-section__media {
    aspect-ratio: 16 / 9;
    min-height: 240px;
  }
}
