/* ============================================
   VIDEO EDITING PORTFOLIO — STYLESHEET
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary: #a855f7;
  --primary-light: #c084fc;
  --primary-dark: #7c3aed;
  --accent: #06b6d4;
  --accent2: #f43f5e;
  --neon: #22d3ee;
  --bg-dark: #050508;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.07);
  --bg-glass: rgba(255,255,255,0.04);
  --border-glass: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --font: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --gradient-main: linear-gradient(135deg, #a855f7, #06b6d4);
  --gradient-hot: linear-gradient(135deg, #f43f5e, #a855f7);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
  --radius: 20px;
  --radius-sm: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(5,5,8,0.6);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(168,85,247,0.08);
  transition: all 0.4s ease;
}
.navbar.scrolled {
  padding: 12px 48px;
  background: rgba(5,5,8,0.95);
  box-shadow: 0 4px 40px rgba(168,85,247,0.1);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; font-family: var(--font);
}
.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.nav-logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 0 24px rgba(168,85,247,0.5);
}
.nav-logo .logo-text {
  font-size: 22px; font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-logo .logo-sub {
  display: block; font-size: 11px; font-weight: 400;
  -webkit-text-fill-color: var(--text-muted);
  letter-spacing: 3px; text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gradient-main);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 28px !important;
  background: var(--gradient-main) !important;
  color: #fff !important;
  border-radius: 50px; font-weight: 600 !important;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.4);
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 48px 80px;
  position: relative; overflow: hidden;
  text-align: center;
}

.hero-bg-video {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-video::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,8,0.5), var(--bg-dark));
  z-index: 1;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(140px); opacity: 0.35;
  animation: orbFloat 10s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -150px; }
.hero-orb-2 { width: 500px; height: 500px; background: var(--accent); bottom: -150px; left: -150px; animation-delay: -5s; }
.hero-orb-3 { width: 350px; height: 350px; background: var(--accent2); top: 40%; left: 40%; animation-delay: -2.5s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-40px) scale(1.1); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  animation: fadeUp 1s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 22px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 28px;
  animation: fadeUp 1s 0.1s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900; line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeUp 1s 0.2s ease both;
}
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 19px; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeUp 1s 0.3s ease both;
}
.hero-buttons {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s 0.4s ease both;
}

.btn-primary {
  padding: 16px 40px;
  background: var(--gradient-main);
  color: #fff; border: none; border-radius: 50px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; font-family: var(--font);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(168,85,247,0.4);
}
.btn-secondary {
  padding: 16px 40px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none; font-family: var(--font);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(168,85,247,0.08);
}

.hero-stats {
  display: flex; gap: 48px;
  justify-content: center;
  margin-top: 60px;
  animation: fadeUp 1s 0.5s ease both;
}
.stat h3 {
  font-family: var(--font); font-size: 38px; font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat p {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTIONS COMMON ========== */
section { padding: 100px 48px; position: relative; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 50px;
  font-size: 12px; font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800; margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px; margin: 0 auto; font-size: 16px;
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ========== ABOUT ========== */
.about-section { background: rgba(255,255,255,0.01); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.about-image {
  position: relative;
}
.about-image .img-wrapper {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  display: flex; align-items: center; justify-content: center;
}
.about-image .img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-image .img-decoration {
  position: absolute; width: 100%; height: 100%;
  border: 2px solid rgba(168,85,247,0.2);
  border-radius: var(--radius);
  top: 16px; left: 16px; z-index: -1;
}
.about-text h3 {
  font-family: var(--font);
  font-size: 28px; font-weight: 700;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-muted);
  font-size: 15px; line-height: 1.8;
  margin-bottom: 28px;
}
.skill-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.skill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 13px; font-weight: 500;
  color: var(--primary-light);
  transition: all 0.3s;
}
.skill-tag:hover {
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-2px);
}
.skill-tag img {
  width: 18px; height: 18px; border-radius: 4px;
}

/* ========== SOFTWARE TOOLS ========== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.tool-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-main);
  opacity: 0; transition: opacity 0.3s;
}
.tool-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.2);
}
.tool-card:hover::before { opacity: 1; }
.tool-card img {
  width: 64px; height: 64px;
  border-radius: 16px; margin-bottom: 16px;
  object-fit: cover;
}
.tool-card h3 {
  font-family: var(--font);
  font-size: 16px; font-weight: 700; margin-bottom: 6px;
}
.tool-card p {
  color: var(--text-muted); font-size: 13px; line-height: 1.5;
}

/* ========== VIDEO SHOWREEL ========== */
.showreel-section {
  background: linear-gradient(180deg, rgba(168,85,247,0.03) 0%, transparent 100%);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px; max-width: 1200px; margin: 0 auto;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.25);
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0; overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-info {
  padding: 20px 24px;
}
.video-info h3 {
  font-family: var(--font);
  font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}
.video-info p {
  color: var(--text-muted); font-size: 13px;
}
.video-info .video-tags {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.video-tag {
  padding: 4px 12px;
  background: rgba(168,85,247,0.1);
  border-radius: 50px;
  font-size: 11px; font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* Featured Video (large) */
.video-featured {
  grid-column: 1 / -1;
}
.video-featured .video-wrapper {
  padding-bottom: 45%;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-main);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.2);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  transition: transform 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}
.service-card h3 {
  font-family: var(--font);
  font-size: 20px; font-weight: 700; margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted); font-size: 14px; line-height: 1.6;
}

/* ========== CONTACT / CTA ========== */
.cta-section {
  background: linear-gradient(180deg, transparent, rgba(168,85,247,0.04));
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; max-width: 900px; margin: 40px auto 0;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.contact-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: rgba(168,85,247,0.2);
}
.contact-icon {
  font-size: 36px; margin-bottom: 16px;
}
.contact-card h3 {
  font-family: var(--font);
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.contact-card p {
  color: var(--text-muted); font-size: 14px;
}
.contact-card a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-card a:hover { color: var(--text); }

/* ========== FOOTER ========== */
.footer {
  padding: 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-brand h3 {
  font-family: var(--font);
  font-size: 22px; font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--text-muted); font-size: 14px;
  max-width: 500px; margin: 0 auto 24px;
}
.social-links {
  display: flex; gap: 16px;
  justify-content: center; margin-bottom: 24px;
}
.social-links a {
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none;
  transition: all 0.3s;
}
.social-links a:hover {
  background: rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-4px);
}
.footer-bottom {
  color: var(--text-muted); font-size: 13px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .navbar.scrolled { padding: 10px 20px; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(5,5,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-glass);
  }
  .nav-links.active { right: 0; }
  .hamburger { display: flex; }

  section { padding: 60px 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: clamp(32px,8vw,48px); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat h3 { font-size: 28px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-featured .video-wrapper { padding-bottom: 56.25%; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
