/* ==================================================
   💎 STEKELCODE PREMIUM DESIGN SYSTEM (2025)
   ================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #030712;
  --bg-accent: #0f172a;
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.5);
  --secondary: #06b6d4;
  --accent: #f472b6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --noise: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* --------------------------------------------------
   GLOBAL RESET & STYLES
   -------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: var(--noise);
  opacity: 0.05;
  z-index: 1000;
  pointer-events: none;
}

canvas#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

/* --------------------------------------------------
   UTILITIES
   -------------------------------------------------- */
/* --------------------------------------------------
   UTILITIES & GLASS
   -------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glass-card {
  background: rgba(13, 18, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #5558e6;
}


/* --------------------------------------------------
   🧭 FLOATING NAVBAR
   -------------------------------------------------- */
.nav-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  z-index: 1000;
}

.nav-float {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav-float:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
  letter-spacing: -0.02em;
  position: relative;
}

.logo::after {
  content: '.';
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.6rem 1.2rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.5rem 1.5rem;
  background: white;
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------
   HERO SECTION
   -------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* --------------------------------------------------
   PROJECTS
   -------------------------------------------------- */
.projects {
  padding: 8rem 0;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(13, 18, 30, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.project-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------
   SERVICES SECTION
   -------------------------------------------------- */
.services {
  padding: 8rem 0;
  border-top: 1px solid var(--glass-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  height: 100%;
}

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------
   PROCESS SECTION
   -------------------------------------------------- */
.process {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--glass-border);
}

.process-number {
  position: absolute;
  top: -0.2rem;
  left: -2.8rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  z-index: -1;
}

.process-step h3 {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------
   QUOTE SECTION
   -------------------------------------------------- */
.quote-section {
  padding: 8rem 0 4rem;
  text-align: center;
}

.quote-box {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.4;
  background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  color: var(--text-muted);
}

/* --------------------------------------------------
   🦶 PREMIUM FOOTER
   -------------------------------------------------- */
.footer-premium {
  position: relative;
  padding: 6rem 0 3rem;
  margin-top: 6rem;
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}

.footer-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 350px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.footer-col h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-container {
    display: none;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links a {
    margin: 0 1rem;
  }
}

/* --------------------------------------------------
   CV STYLING - MOVED TO cv.css

/* --------------------------------------------------
   ZIMPLIX FEATURE SECTION
   -------------------------------------------------- */
.zimplix-feature {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 2.5rem;
  margin-bottom: 6rem;
  /* Premium dark gradient background */
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 50%),
    linear-gradient(135deg, rgba(13, 18, 30, 0.8), rgba(13, 18, 30, 0.6));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zimplix-feature:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.15);
}

.zimplix-content {
  flex: 1;
  z-index: 2;
}

.zimplix-visual {
  flex: 1.2;
  position: relative;
  z-index: 2;
  perspective: 1000px;
  /* Adds 3D depth */
}

.zimplix-badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.zimplix-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.zimplix-content .lead {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
  font-weight: 500;
}

.zimplix-content .description {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.tech-stack-large {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: white;
}

.tech-item i {
  color: var(--secondary);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.zimplix-feature:hover .image-wrapper img {
  transform: scale(1.03) rotateY(-2deg) rotateX(2deg);
}

/* Responsiveness */
@media (max-width: 968px) {
  .zimplix-feature {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }

  .zimplix-visual {
    width: 100%;
  }

  .tech-stack-large {
    justify-content: center;
  }

  .zimplix-content h2 {
    font-size: 2.2rem;
  }
}