/* =========================================
   Premium Portfolio - Full Polish
   ========================================= */

:root {
  --bg: #fafafa;
  --bg-dark: #0a0a0a;
  --text: #0a0a0a;
  --text-muted: #666;
  --text-light: #999;
  --accent: #000;
  --accent-light: #333;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-padding: 10rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

::selection {
  background: #000;
  color: #fff;
}

html {
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button {
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================
   Gradient Background Orbs
   ========================================= */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.06) 0%, transparent 70%);
  bottom: -300px;
  right: -200px;
  animation: orbFloat 25s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbFloat 18s ease-in-out infinite;
  animation-delay: -5s;
}

.orb-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
  top: 60%;
  right: 30%;
  animation: orbFloat 22s ease-in-out infinite;
  animation-delay: -10s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(50px, -30px) scale(1.1);
  }

  50% {
    transform: translate(-30px, 50px) scale(0.95);
  }

  75% {
    transform: translate(40px, 30px) scale(1.05);
  }
}

/* =========================================
   Custom Cursor
   ========================================= */
.cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body:has(.magnetic:hover) .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: #fff;
}

body:has(.project-card:hover) .cursor-dot {
  width: 80px;
  height: 80px;
  background: #fff;
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-dot {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--text);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hero animated gradient */
.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.blob-a {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
  top: 10%;
  left: 20%;
  animation: blobPulse 8s ease-in-out infinite;
}

.blob-b {
  width: 400px;
  height: 400px;
  background: linear-gradient(225deg, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
  bottom: 20%;
  right: 15%;
  animation: blobPulse 10s ease-in-out infinite reverse;
}

@keyframes blobPulse {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.2) translate(20px, -20px);
    opacity: 0.7;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 100px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
}

.badge-avail {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  overflow: hidden;
}

.char-wrap {
  display: inline-block;
}

.title-line.accent .char-wrap {
  background: linear-gradient(135deg, #000 0%, #555 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translateY(3px);
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--text);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 600px;
}

.visual-frame {
  position: relative;
  z-index: 2;
}

.frame-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  z-index: -1;
}

.hero-img {
  max-height: 550px;
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transform: translateY(40px);
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 20%;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 40%;
  left: 10%;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.5;
    transform: scaleY(0.8);
  }
}

/* =========================================
   Transition Image with Mythical Effect
   ========================================= */
.transition-image {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #000;
  position: relative;
  overflow: hidden;
}

.transition-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 70vh;
  position: relative;
  z-index: 1;
}

/* Mythical Glow Effect */
.transition-image.mythical::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: mythicalPulse 4s ease-in-out infinite;
  z-index: 0;
}

.mythical-glow {
  position: absolute;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 2;
  pointer-events: none;
}

.mythical-glow:not(.glow-bottom) {
  top: 0;
  background: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.mythical-glow.glow-bottom {
  bottom: 0;
  background: linear-gradient(to top, #0a0a0a 0%, transparent 100%);
}

@keyframes mythicalPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* =========================================
   About Section
   ========================================= */
.about-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #f5f5f5 50%, var(--bg) 100%);
}

/* Dark Theme Variant */
.about-section.dark-theme {
  background: #0a0a0a;
  color: #fff;
}

.about-section.dark-theme .section-label {
  color: #666;
}

.about-section.dark-theme .about-title {
  color: #fff;
}

.about-section.dark-theme .about-text {
  color: #999;
}

.about-section.dark-theme .about-image {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-section.dark-theme .about-image::before {
  border-color: rgba(255, 255, 255, 0.1);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.2;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  pointer-events: none;
}

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

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* =========================================
   Tech Stack Marquee
   ========================================= */
.stack-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.stack-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stack-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s var(--ease-out-expo);
  flex-shrink: 0;
}

.stack-item:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stack-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stack-item span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* =========================================
   Philosophy Section
   ========================================= */
.philosophy-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, #f0f0f0 50%, var(--bg) 100%);
}

/* Dark Theme Variant */
.philosophy-section.dark-theme {
  background: #0a0a0a;
}

.philosophy-section.dark-theme .quote-mark {
  color: rgba(255, 255, 255, 0.05);
}

.philosophy-section.dark-theme .big-quote p {
  color: #fff;
}

.philosophy-section.dark-theme .big-quote cite {
  color: #666;
}

.big-quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-mark {
  font-size: 8rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.05);
  font-family: Georgia, serif;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
}

.big-quote p {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.big-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================
   Career Timeline
   ========================================= */
.career-section {
  padding: var(--section-padding) 0;
}

.gradient-section-dark {
  background: linear-gradient(180deg, var(--bg) 0%, #f5f5f5 100%);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.5rem;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--text), #ccc, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: -5px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--text);
  border: 3px solid var(--bg);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.5);
  background: var(--bg);
  border-color: var(--text);
}

.timeline-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-out-expo);
}

.timeline-item:hover .timeline-card {
  transform: translateX(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================
   Visual Break / Stats
   ========================================= */
.visual-break {
  padding: 6rem 0;
  background: var(--bg-dark);
  color: #fff;
}

.break-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.break-text {
  text-align: center;
}

.big-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  display: block;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.big-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.break-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #333, transparent);
  align-self: center;
}

/* =========================================
   Featured Image
   ========================================= */
.featured-image-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg) 100%);
}

.featured-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.featured-overlay span {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* =========================================
   Projects
   ========================================= */
.work-section {
  padding: var(--section-padding) 0;
}

/* Dark Theme Variant */
.work-section.dark-theme {
  background: #0a0a0a;
}

.work-section.dark-theme .section-label {
  color: #666;
}

.work-section.dark-theme .section-title {
  color: #fff;
}

.work-section.dark-theme .project-info h3 {
  color: #fff;
}

.work-section.dark-theme .project-info p {
  color: #888;
}

.work-section.dark-theme .tags span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: #aaa;
}

.work-section.dark-theme .project-card:hover .tags span {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.project-card {
  position: relative;
}

.project-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/11;
  margin-bottom: 1.5rem;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.project-card:hover .project-media img {
  transform: scale(1.08);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-card:hover .media-overlay {
  opacity: 1;
}

.project-hover {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 2;
}

.project-card:hover .project-hover {
  opacity: 1;
  transform: translateY(0);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-arrow {
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s var(--ease-out-expo);
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateX(0);
}

.project-info p {
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tags span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.project-card:hover .tags span {
  background: var(--text);
  color: #fff;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  padding: 8rem 0 3rem;
  background: var(--bg-dark);
  color: #fff;
}

.footer-cta {
  text-align: center;
  margin-bottom: 6rem;
}

.cta-label {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 1rem 0 2rem;
  line-height: 1.1;
}

.cta-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
}

.cta-email:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.cta-email svg {
  transition: transform 0.3s var(--ease-out-expo);
}

.cta-email:hover svg {
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #666;
  font-size: 0.85rem;
}

.footer-name {
  font-weight: 600;
  color: #888;
}

.footer-logo-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 150px;
  width: auto;
  margin: 0 auto;
  opacity: 1;
  transition: all 0.4s var(--ease-out-expo);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-socials {
  display: flex;
  gap: 2rem;
}

.social-link {
  font-size: 0.85rem;
  color: #666;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #fff;
}

/* =========================================
   Responsive
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 6rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-logo {
    height: 120px;
  }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 900px) {
  :root {
    --section-padding: 5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-lead {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    height: 350px;
  }

  .hero-img {
    max-height: 320px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .break-inner {
    gap: 2rem;
    flex-direction: column;
  }

  .break-divider {
    display: none;
  }

  .big-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-line {
    left: -10px;
  }

  .timeline-marker {
    left: -15px;
  }

  .footer-cta {
    margin-bottom: 4rem;
  }

  .footer-logo {
    height: 100px;
  }

  .footer-logo-wrapper {
    margin-bottom: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .cursor {
    display: none;
  }

  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }
}

/* Mobile Portrait */
@media (max-width: 600px) {
  :root {
    --section-padding: 4rem;
  }

  .container {
    padding: 0 1rem;
  }

  .nav-inner {
    padding: 0 1rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-visual {
    height: 280px;
  }

  .hero-img {
    max-height: 260px;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.85rem;
  }

  .scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .stack-item {
    padding: 0.5rem 1rem;
  }

  .stack-item img {
    width: 22px;
    height: 22px;
  }

  .stack-item span {
    font-size: 0.75rem;
  }

  .about-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .about-text {
    font-size: 1rem;
  }

  .big-quote p {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .quote-mark {
    font-size: 5rem;
  }

  .timeline-card {
    padding: 1rem;
  }

  .timeline-card h3 {
    font-size: 1.1rem;
  }

  .project-info h3 {
    font-size: 1.2rem;
  }

  .tags span {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }

  .cta-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .cta-email {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logo {
    height: 80px;
  }

  .footer-socials {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .floating-shapes {
    display: none;
  }

  .gradient-orb {
    opacity: 0.3;
  }
}