/* ============================================================
   PORTFOLIO — DESIGN SYSTEM
   ============================================================ */

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

/* ── CSS Custom Properties (Dark Theme Default) ── */
:root {
  --bg-primary: #050505;
  /* Pure Matte Black */
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --border: rgba(255, 255, 255, 0.05);

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #555555;
  --btn-text: #000000;

  --accent-1: #ef233c;
  /* Signature Red */
  --accent-2: #ffffff;
  /* Clean White */
  --accent-3: #4b4b4b;
  /* Deep Grey */

  --grad-premium: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 52%, var(--accent-3) 100%);
  --grad-vibrant: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  --accent-grad: var(--grad-vibrant);

  --nav-bg: rgba(5, 5, 5, 0.15);
  --shadow-glow: 0 0 50px rgba(239, 35, 60, 0.18);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}


[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f7;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border: rgba(0, 0, 0, 0.1);

  --text-primary: #2e2e2e;
  --text-secondary: #3a3a3a;
  --text-muted: #6b6b6b;
  --btn-text: #ffffff;
  --accent-2: #4b4b4b;
  --accent-3: #ffffff;
  --grad-premium: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 62%, var(--accent-3) 100%);
  --grad-vibrant: linear-gradient(90deg, var(--accent-1), var(--accent-2));

  --nav-bg: rgba(255, 255, 255, 0.25);
  --shadow-glow: 0 0 40px rgba(239, 35, 60, 0.08);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  position: relative;
}

/* ── Section Background Geometry ── */
.clean-hero,
.page-hero,
#about,
.section-featured,
.section-cta,
.services-section,
.services-cta,
.portfolio-grid-section,
.shop-hero,
.shop-section,
.contact-section,
.footer {
  position: relative;
  overflow: hidden;
}

.clean-hero > .container,
.page-hero > .container,
#about > .container,
.section-featured > .container,
.section-cta > .container,
.services-section > .container,
.services-cta > .container,
.portfolio-grid-section > .container,
.shop-hero > .container,
.shop-section > .container,
.contact-section > .container,
.footer > .container {
  position: relative;
  z-index: 2;
}

.clean-hero::before {
  content: "";
  position: absolute;
  top: -12%;
  left: -8%;
  width: 55%;
  height: 60%;
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.28), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 85% 0, 60% 70%, 0 50%);
  opacity: 0.7;
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

.clean-hero::after {
  content: "";
  position: absolute;
  bottom: -18%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: linear-gradient(220deg, rgba(255, 255, 255, 0.08), rgba(239, 35, 60, 0.22));
  clip-path: polygon(20% 0, 100% 15%, 80% 100%, 0 85%);
  opacity: 0.55;
  filter: blur(4px);
  pointer-events: none;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 65%;
  height: 70%;
  background: linear-gradient(120deg, rgba(239, 35, 60, 0.2), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 100% 0, 65% 80%, 0 55%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -8%;
  width: 45%;
  height: 55%;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.08), rgba(239, 35, 60, 0.2));
  clip-path: polygon(30% 0, 100% 10%, 85% 100%, 0 90%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

#about::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: linear-gradient(140deg, rgba(239, 35, 60, 0.12), rgba(255, 255, 255, 0));
  clip-path: polygon(15% 0, 100% 10%, 90% 85%, 0 100%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.section-featured::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -5%;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.18), rgba(255, 255, 255, 0));
  clip-path: polygon(0 15%, 70% 0, 100% 35%, 35% 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.section-featured::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: 5%;
  width: 40%;
  height: 40%;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.08), rgba(239, 35, 60, 0.15));
  clip-path: polygon(20% 0, 100% 20%, 80% 100%, 0 80%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.section-cta::before {
  content: "";
  position: absolute;
  top: -15%;
  left: 10%;
  width: 80%;
  height: 70%;
  background: linear-gradient(160deg, rgba(239, 35, 60, 0.16), rgba(255, 255, 255, 0));
  clip-path: polygon(10% 0, 100% 15%, 90% 100%, 0 85%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.services-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -8%;
  width: 35%;
  height: 85%;
  background: linear-gradient(140deg, rgba(239, 35, 60, 0.22), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 100% 10%, 70% 100%, 0 90%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.services-cta::before {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 55%;
  height: 65%;
  background: linear-gradient(220deg, rgba(255, 255, 255, 0.08), rgba(239, 35, 60, 0.2));
  clip-path: polygon(25% 0, 100% 20%, 85% 100%, 0 85%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.portfolio-grid-section::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 70%;
  height: 65%;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 14px);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 75%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.shop-hero::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 0;
  width: 65%;
  height: 80%;
  background: linear-gradient(130deg, rgba(239, 35, 60, 0.2), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 100% 10%, 80% 75%, 0 55%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.shop-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 45%;
  height: 60%;
  background: linear-gradient(210deg, rgba(255, 255, 255, 0.1), rgba(239, 35, 60, 0.18));
  clip-path: polygon(30% 0, 100% 15%, 85% 100%, 0 85%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.shop-section::before {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 50%;
  height: 50%;
  background: linear-gradient(160deg, rgba(239, 35, 60, 0.16), rgba(255, 255, 255, 0));
  clip-path: polygon(0 20%, 65% 0, 100% 60%, 0 100%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: linear-gradient(150deg, rgba(239, 35, 60, 0.18), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 90% 5%, 70% 80%, 0 100%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(90deg, rgba(239, 35, 60, 0.2), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* ── Grain Overlay ── */
body::before {
  content: "";
  position: fixed;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 9999;
  animation: noise 8s steps(10) infinite;
}

@keyframes noise {

  0%,
  100% {
    transform: translate(0, 0)
  }

  10% {
    transform: translate(-5%, -10%)
  }

  30% {
    transform: translate(-15%, 5%)
  }

  50% {
    transform: translate(-5%, 10%)
  }

  70% {
    transform: translate(15%, 15%)
  }

  90% {
    transform: translate(10%, 5%)
  }
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent-1);
  border-radius: 3px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.gradient-text {
  background: var(--grad-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem;
  text-align: center;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

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

/* ============================================================
   GLASSMORPHISM CARDS (ULTRA PREMIUM)
   ============================================================ */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.0));
  background-color: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    inset 0 -1px 1px rgba(255, 255, 255, 0.01),
    var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05),
    var(--shadow-card);
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(239, 35, 60, 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 3;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* Glow border thickness */
  background: var(--grad-premium);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 4;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(239, 35, 60, 0.15);
  z-index: 10;
  filter: brightness(1.1);
  border-color: transparent;
}

[data-theme="light"] .glass-card:hover {
  filter: brightness(1);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.1),
    0 0 40px rgba(239, 35, 60, 0.3);
}

.glass-card:hover::after,
.glass-card:hover::before {
  opacity: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--grad-premium);
  color: var(--btn-text);
  font-weight: 800;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(239, 35, 60, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-5px);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: var(--btn-text);
}

.btn-success {
  background: linear-gradient(135deg, var(--accent-1), #111111);
  color: var(--btn-text);
}

/* ── Go To Top Button ── */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(239, 35, 60, 0.4);
  background: var(--grad-premium);
  color: var(--btn-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(239, 35, 60, 0.25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: var(--transition-fast);
  z-index: 1100;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.to-top:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(239, 35, 60, 0.35);
}

.to-top:focus-visible {
  outline: 2px solid rgba(239, 35, 60, 0.8);
  outline-offset: 3px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1200px;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border-color: var(--border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  top: 1rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links li {
  animation: fadeInDown 0.6s ease both;
}

.nav-links li:nth-child(1) {
  animation-delay: 0.05s;
}

.nav-links li:nth-child(2) {
  animation-delay: 0.10s;
}

.nav-links li:nth-child(3) {
  animation-delay: 0.15s;
}

.nav-links li:nth-child(4) {
  animation-delay: 0.20s;
}

.nav-links li:nth-child(5) {
  animation-delay: 0.25s;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

.nav-count {
  background: var(--accent-1);
  color: #ffffff;
  padding: 0 6px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-left: 4px;
  line-height: 1.4;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--text-secondary);
}

.theme-toggle:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: var(--bg-card-hover);
  transform: rotate(20deg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(1.5rem + 78px);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(420px, calc(100% - 2rem));
  z-index: 998;
  padding: 1rem;
  background: rgba(8, 13, 26, 0.94);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

/* Animated background blobs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-1);
  top: -150px;
  left: -150px;
  opacity: 0.25;
  animation: organicFloat1 15s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: -100px;
  right: -100px;
  opacity: 0.2;
  animation: organicFloat2 18s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-3);
  top: 50%;
  left: 50%;
  opacity: 0.2;
  transform: translate(-50%, -50%);
  animation: organicFloat3 16s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

/* 3D Global Visualization Wrapper */
.globe-wrapper {
  position: absolute;
  right: -12rem;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  max-width: 65vw;
  max-height: 65vw;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Atmospheric Aurora Glow */
.globe-wrapper::after {
  content: '';
  position: absolute;
  inset: 15%;
  background: radial-gradient(circle at center, rgba(239, 35, 60, 0.15), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  border-radius: 50%;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(239, 35, 60, 0.15));
  transition: opacity 1s ease;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@media (max-width: 1024px) {
  .globe-wrapper {
    right: -20rem;
    width: 600px;
    height: 600px;
  }
}

@media (max-width: 768px) {
  .globe-wrapper {
    display: none;
  }
}

/* Floating Logos Ecosystem */
.floating-logos {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Behind text, above background */
  pointer-events: none;
}

.floating-logo {
  position: absolute;
  border-radius: 20%;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  opacity: 0.85;
}

/* Photoshop */
.logo-ps {
  top: 15%;
  left: 10%;
  width: 60px;
  animation: iconFloat1 18s ease-in-out infinite alternate;
}

/* Illustrator */
.logo-ai {
  top: 65%;
  left: 5%;
  width: 50px;
  animation: iconFloat2 20s ease-in-out infinite alternate-reverse;
}

/* Premiere Pro */
.logo-pr {
  bottom: 15%;
  left: 35%;
  width: 70px;
  animation: iconFloat3 22s ease-in-out infinite alternate;
}

/* After Effects */
.logo-ae {
  top: 25%;
  right: 45%;
  width: 45px;
  animation: iconFloat1 19s ease-in-out infinite alternate-reverse;
}

/* Figma */
.logo-fg {
  bottom: 20%;
  right: 10%;
  width: 55px;
  animation: iconFloat2 25s ease-in-out infinite alternate;
}

/* Blender */
.logo-bl {
  top: 10%;
  right: 15%;
  width: 65px;
  animation: iconFloat3 21s ease-in-out infinite alternate-reverse;
}

@keyframes iconFloat1 {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-30px) rotate(10deg) scale(1.05);
  }

  100% {
    transform: translateY(15px) rotate(-5deg) scale(0.95);
  }
}

@keyframes iconFloat2 {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  50% {
    transform: translateY(25px) translateX(20px) rotate(-15deg);
  }

  100% {
    transform: translateY(-10px) translateX(-15px) rotate(5deg);
  }
}

@keyframes iconFloat3 {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-20px) rotate(-8deg) scale(0.9);
  }

  100% {
    transform: translateY(20px) rotate(12deg) scale(1.1);
  }
}

@media (max-width: 1024px) {
  .floating-logo {
    opacity: 0.4;
  }

  /* Less distracting on smaller screens */
  .logo-ae,
  .logo-ai {
    display: none;
  }

  /* Reduce clutter */
}


@keyframes organicFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(10%, 15%) scale(1.1);
  }

  66% {
    transform: translate(-5%, 20%) scale(0.9);
  }

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

@keyframes organicFloat2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-15%, -10%) scale(1.2);
  }

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

@keyframes organicFloat3 {
  0% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-40%, -60%) scale(0.8);
  }

  100% {
    transform: translate(-50%, -50%);
  }
}

/* ============================================================
   ANIMATED WAVES
   ============================================================ */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  min-height: 100px;
  max-height: 150px;
  z-index: 5;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  fill: var(--accent-1);
  opacity: 0.15;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  fill: var(--accent-2);
  opacity: 0.15;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  fill: var(--accent-3);
  opacity: 0.15;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
  fill: var(--bg-secondary);
  opacity: 1;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 768px) {
  .hero-waves {
    height: 50px;
    min-height: 50px;
  }
}


/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

/* Floating Decorative Nodes */
.floating-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.node {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  animation: nodeFloat 15s infinite ease-in-out alternate;
}

.node-1 {
  top: 20%;
  right: 15%;
  width: 80px;
  height: 80px;
  animation-duration: 12s;
  transform: rotate(15deg);
}

.node-2 {
  top: 60%;
  left: 10%;
  width: 40px;
  height: 40px;
  animation-duration: 18s;
  transform: rotate(-10deg);
}

.node-3 {
  bottom: 20%;
  right: 25%;
  width: 50px;
  height: 50px;
  animation-duration: 22s;
  transform: rotate(25deg);
}

@keyframes nodeFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-40px) rotate(15deg);
  }
}


/* Decorative background text */
.hero-stroke-text {
  position: absolute;
  top: 55%;
  right: -5%;
  transform: translateY(-50%);
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(10rem, 25vw, 35rem);
  font-weight: 950;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  white-space: nowrap;
}

.hero-split {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  padding-bottom: 5rem;
}

.hero-text-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  margin-bottom: 2rem;
  font-weight: 900;
  line-height: 0.9;
}

.hero-desc {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 3.5rem;
  line-height: 1.5;
}

/* Hero Image Right Content */
.hero-image-content {
  flex: 1.15;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: clamp(2rem, 6vw, 6rem);
  min-width: min(48vw, 760px);
  isolation: isolate;
}

.hero-image-content::after {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(239, 35, 60, 0.08) 35%, transparent 72%);
  filter: blur(30px);
  opacity: 0.65;
  z-index: 0;
  pointer-events: none;
  animation: heroImageGlow 7s ease-in-out infinite;
}

.portrait-aura {
  position: absolute;
  width: min(980px, 72vw);
  height: min(980px, 72vw);
  background: var(--grad-premium);
  filter: blur(100px);
  opacity: 0.15;
  border-radius: 50%;
  animation: auraFloat 8s ease-in-out infinite alternate;
  z-index: 1;
}

.portrait-wrapper {
  --portrait-base-x: 30%;
  --portrait-base-scale: 0.95;
  --portrait-parallax-x: 0px;
  --portrait-parallax-y: 0px;
  --portrait-rotate-x: 0deg;
  --portrait-rotate-y: 0deg;
  position: relative;
  height: min(104vh, 980px);
  width: 100%;
  max-width: 760px;
  z-index: 2;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s, visibility 0.8s;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform:
    translate3d(calc(var(--portrait-base-x) + var(--portrait-parallax-x)), var(--portrait-parallax-y), 0)
    scale(var(--portrait-base-scale))
    rotateX(var(--portrait-rotate-x))
    rotateY(var(--portrait-rotate-y));
}

.portrait-wrapper.image-reveal {
  --portrait-base-x: 0%;
  --portrait-base-scale: 1;
  opacity: 1;
}

.portrait-wrapper.image-scroll-hide {
  --portrait-base-x: 110%;
  --portrait-base-scale: 1;
  opacity: 0;
  visibility: hidden;
}

.hero-portrait {
  height: 100%;
  width: 100%;
  object-fit: contain;
  max-width: none !important;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7));
  animation: portraitFloat 6s ease-in-out infinite;
}

.clean-hero .hero-image-content {
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .hero-image-content {
    min-width: min(44vw, 620px);
    padding-left: 2rem;
  }

  .portrait-wrapper {
    height: min(86vh, 760px);
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .hero-image-content {
    min-width: 100%;
    padding-left: 0;
    margin-top: 2rem;
  }

  .portrait-wrapper {
    height: min(70vh, 520px);
    max-width: 100%;
  }
}


@keyframes auraFloat {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.15;
  }

  100% {
    transform: scale(1.3) translate(30px, -30px);
    opacity: 0.3;
  }
}

@keyframes portraitFloat {

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

  50% {
    transform: translateY(-15px);
  }
}

@keyframes heroImageGlow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}


.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(239, 35, 60, 0.08);
  border: 1px solid rgba(239, 35, 60, 0.28);
  color: var(--accent-1);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .badge {
  background: rgba(5, 5, 5, 0.78);
  border-color: rgba(5, 5, 5, 0.22);
  color: #d2ff1f;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   LIVING CANVAS (SKILLS BG PARTICLES)
   ============================================================ */
.skills-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.skills-bg-particles .particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.skills-bg-particles .p-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-1);
  top: -100px;
  left: -100px;
  animation: organicFloat1 25s infinite alternate ease-in-out;
}

.skills-bg-particles .p-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -200px;
  right: -100px;
  animation: organicFloat2 28s infinite alternate-reverse ease-in-out;
}

.skills-bg-particles .p-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-3);
  top: 40%;
  left: 60%;
  animation: organicFloat3 22s infinite alternate ease-in-out;
}

.skills-bg-particles .p-4 {
  width: 200px;
  height: 200px;
  background: var(--text-primary);
  top: 70%;
  left: 10%;
  opacity: 0.05;
  animation: organicFloat1 20s infinite alternate-reverse ease-in-out;
}

.skills-bg-particles .grid-overlay {
  inset: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  filter: none;
  opacity: 1;
  border-radius: 0;
}

/* Floating Graphics Tools Background */
.floating-tools {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Above background blobs, behind cards */
  pointer-events: none;
}

.f-tool {
  position: absolute;
  color: var(--text-muted);
  opacity: 0.12;
}

.tool-1 {
  top: 10%;
  left: 5%;
  width: 64px;
  height: 64px;
  animation: toolFloat1 20s infinite alternate ease-in-out;
}

.tool-2 {
  top: 60%;
  left: 8%;
  width: 80px;
  height: 80px;
  animation: toolSpin 30s infinite linear;
  opacity: 0.08;
}

.tool-3 {
  top: 35%;
  right: 7%;
  width: 50px;
  height: 50px;
  animation: toolFloat2 25s infinite alternate-reverse ease-in-out;
}

.tool-4 {
  top: 80%;
  right: 15%;
  width: 70px;
  height: 70px;
  animation: toolFloat1 18s infinite alternate-reverse ease-in-out;
  color: var(--accent-1);
  opacity: 0.08;
}

.tool-5 {
  top: 15%;
  right: 25%;
  width: 70px;
  height: 70px;
  animation: toolSpin 40s infinite reverse linear;
}

.tool-6 {
  top: 50%;
  left: 25%;
  width: 90px;
  height: 90px;
  animation: toolFloat3 35s infinite alternate ease-in-out;
  opacity: 0.05;
}

.tool-7 {
  top: 7%;
  left: 45%;
  width: 55px;
  height: 55px;
  animation: toolFloat2 22s infinite alternate ease-in-out;
  color: var(--accent-2);
  opacity: 0.1;
}

@keyframes toolFloat1 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-50px) rotate(45deg);
  }
}

@keyframes toolFloat2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(30px, 40px) rotate(-30deg);
  }
}

@keyframes toolFloat3 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.2) rotate(15deg);
  }

  100% {
    transform: scale(0.9) rotate(-15deg);
  }
}

@keyframes toolSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ============================================================
   FEATURED PROJECTS SPLIT LAYOUT
   ============================================================ */
.projects-split-layout {
  display: flex;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.projects-cloud-box {
  flex: 0 0 450px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.magic-cloud-container {
  width: 100%;
  aspect-ratio: 1;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.magic-cloud-container::after {
  display: none;
}

#icon-cloud-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#icon-cloud-canvas:active { cursor: grabbing; }

.projects-showcase {
  flex: 1;
}

@media (max-width: 1100px) {
  .projects-split-layout {
    flex-direction: column;
    gap: 2rem;
  }
  .projects-cloud-box {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }
}

/* ============================================================
   BENTO GRID SYSTEM
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 1.5rem;
}

.bento-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  z-index: 5;
  color: #ffffff !important;
  transition: all 0.5s ease;
  overflow: hidden;
}

.bento-content-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .bento-content-reveal {
  opacity: 1;
  transform: translateY(0);
}

.bento-item h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.bento-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.95);
  max-width: 90%;
}

.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.glass-card:hover .bento-item::after {
  opacity: 1;
}

.bento-item:hover h3 {
  color: var(--accent-1);
  text-shadow: 0 0 20px rgba(239, 35, 60, 0.4);
}

.card-top-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-1);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(239, 35, 60, 0.3);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  transition: all 0.4s ease;
}

.glass-card:hover .card-top-label {
  background: var(--accent-1);
  color: #2e2e2e;
  border-color: var(--accent-1);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--accent-1);
}

.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 1;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(20%);
}

.glass-card:hover .bento-bg-img {
  transform: scale(1.1);
  filter: blur(12px) brightness(0.3) grayscale(0%);
}

/* Custom Sizing for Perfect Bento Box */
.bento-8x2 {
  grid-column: span 8;
  grid-row: span 2;
}

.bento-4x2 {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-6x2 {
  grid-column: span 6;
  grid-row: span 2;
}

@media (max-width: 900px) {

  .bento-8x2,
  .bento-4x2,
  .bento-6x2 {
    grid-column: span 12;
    grid-row: span 1;
    min-height: 400px;
    /* Ensure enough height on mobile for reveal */
  }
}

.skill-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--accent-1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-1);
  margin-bottom: 1.2rem;
  box-shadow: 0 0 30px rgba(239, 35, 60, 0.3), inset 0 0 15px rgba(239, 35, 60, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-1);
  color: #2e2e2e;
  box-shadow: 0 0 40px var(--accent-1);
}

.skill-icon i {
  animation: pulseIcon 2s infinite alternate ease-in-out;
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px var(--accent-1));
  }

  100% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px var(--accent-1));
  }
}

/* ============================================================
   PROJECTS BENTO
   ============================================================ */
.projects-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.proj-bento-large {
  grid-column: span 7;
}

.proj-bento-small {
  grid-column: span 5;
}

.proj-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.proj-card-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.proj-card:hover .proj-card-img {
  transform: scale(1.05);
}

.proj-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.proj-card:hover .proj-card-overlay {
  opacity: 1;
}

.proj-card:hover .proj-card-img {
  transform: scale(1.05);
}

.proj-card-info {
  transform: translateY(20px);
  transition: transform 0.4s ease;
  width: 100%;
}

.proj-card:hover .proj-card-info {
  transform: translateY(0);
}

.proj-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.5rem 0;
  color: #fff;
}

/* ============================================================
   FILTER PILLS
   ============================================================ */
.filter-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.pill {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.pill:hover,
.pill.active {
  background: var(--accent-1);
  border-color: var(--accent-1);
  color: var(--btn-text);
  transform: translateY(-2px);
}


/* ============================================================
   SERVICES / PRICING CARDS
   ============================================================ */
.service-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.service-card.featured {
  border-color: rgba(239, 35, 60, 0.5);
  background: rgba(239, 35, 60, 0.05);
}

.service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.service-price {
  font-size: 3rem;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1.5rem 0 1rem;
  line-height: 1;
}

.service-price span {
  font-size: 1.2rem;
  font-weight: 600;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: rgba(239, 35, 60, 0.15);
  color: var(--accent-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-link:hover {
  border-color: var(--accent-1);
  color: var(--text-primary);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.1);
  background: var(--bg-card-hover);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.alert-success {
  background: rgba(239, 35, 60, 0.1);
  border: 1px solid rgba(239, 35, 60, 0.3);
  color: var(--accent-1);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-unique {
  padding-top: 6rem;
  background: radial-gradient(circle at 15% 20%, rgba(239, 35, 60, 0.08), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--bg-secondary);
}

.footer-unique::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -10%;
  width: 120%;
  height: 80px;
  background: linear-gradient(90deg, rgba(239, 35, 60, 0.2), rgba(255, 255, 255, 0));
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.footer-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.footer-geo .geo {
  position: absolute;
  opacity: 0.45;
  filter: blur(1px);
}

.footer-geo .geo-1 {
  top: -18%;
  right: -6%;
  width: 55%;
  height: 70%;
  background: linear-gradient(140deg, rgba(239, 35, 60, 0.2), rgba(255, 255, 255, 0));
  clip-path: polygon(20% 0, 100% 10%, 80% 100%, 0 85%);
}

.footer-geo .geo-2 {
  bottom: -25%;
  left: -5%;
  width: 45%;
  height: 55%;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.08), rgba(239, 35, 60, 0.18));
  clip-path: polygon(0 15%, 70% 0, 100% 70%, 0 100%);
}

.footer-geo .geo-3 {
  top: 30%;
  left: 45%;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(239, 35, 60, 0.25);
  border-radius: 18px;
  transform: rotate(18deg);
  background: rgba(255, 255, 255, 0.02);
}

.footer-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 35, 60, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-ribbon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 12px rgba(239, 35, 60, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social:hover {
  background: rgba(239, 35, 60, 0.16);
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-1);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-link-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 35, 60, 0.08);
  border: 1px solid rgba(239, 35, 60, 0.25);
  color: var(--text-primary);
  transition: var(--transition);
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-link-icon:hover .footer-link-icon-box,
.footer-link:hover .footer-link-icon-box {
  background: var(--accent-1);
  color: var(--btn-text);
  transform: rotate(-6deg) scale(1.02);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-main-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.product-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-thumb {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.product-thumb:hover {
  border-color: var(--accent-1);
}

.product-price {
  font-size: 3rem;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1.5rem 0;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-stat-card {
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.admin-stat-icon-1 {
  background: rgba(239, 35, 60, 0.16);
  color: var(--accent-1);
}

.admin-stat-icon-2 {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}

.admin-stat-icon-3 {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.admin-stat-icon-4 {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.admin-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.admin-section {
  margin-bottom: 2.5rem;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-section-header h2 {
  font-size: 1.4rem;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  text-align: left;
  padding: 0.875rem 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.data-table td {
  padding: 0.875rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-card);
}

.data-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.table-img {
  width: 48px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(239, 35, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(239, 35, 60, 0);
  }
}

@keyframes blobFloat {

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

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  width: 250px;
}

.preloader-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 2rem;
}

.preloader-bar {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  width: 0;
  background: var(--accent-1);
  box-shadow: 0 0 15px var(--accent-1);
  animation: preloaderProgress 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

[data-aos] {
  will-change: transform, opacity;
}


/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gap-1 {
  gap: 0.5rem;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ============================================================
   SHOP — HERO
   ============================================================ */
.shop-hero {
  padding: 9rem 0 3rem;
  text-align: center;
}

.shop-hero-inner {
  margin-bottom: 3rem;
}

.shop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 35, 60, 0.08);
  border: 1px solid rgba(239, 35, 60, 0.2);
  color: var(--accent-1);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-1);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.shop-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 60px;
  max-width: 700px;
  margin: 0 auto;
}

.shop-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.shop-stat-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-1);
  font-family: 'Unbounded', sans-serif;
}

.shop-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* ============================================================
   SHOP — SECTION
   ============================================================ */
.shop-section {
  padding: 2rem 0 6rem;
}

/* ============================================================
   PRODUCT GRID CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(239, 35, 60, 0.3);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(239, 35, 60, 0.08);
  transform: translateY(-6px);
}

/* ── Image Wrap ── */
.product-card-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0a0a;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hover overlay */
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-premium);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  transform: translateY(10px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-view-btn {
  transform: translateY(0);
}

/* Badges */
.product-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.product-badge-new {
  background: rgba(239, 35, 60, 0.15);
  color: var(--accent-1);
  border: 1px solid rgba(239, 35, 60, 0.35);
}

.product-badge-hot {
  background: rgba(239, 35, 60, 0.12);
  color: var(--accent-1);
  border: 1px solid rgba(239, 35, 60, 0.3);
}

/* ── Card Body ── */
.product-card-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card-stars {
  font-size: 0.75rem;
  color: var(--accent-1);
  letter-spacing: 1px;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.02em;
}

.product-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s;
}

.product-card-title a:hover {
  color: var(--accent-1);
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* ── Card Footer ── */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  line-height: 1;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-1);
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-1);
  font-family: 'Unbounded', sans-serif;
  letter-spacing: -0.04em;
}

.product-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--grad-premium);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1.15rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.product-add-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 25px rgba(239, 35, 60,0.25);
}

/* ── Empty State ── */
.shop-empty {
  text-align: center;
  padding: 6rem 0;
}

.shop-empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}

.shop-empty h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.shop-empty p {
  color: var(--text-muted);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-main-img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
}

.product-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  opacity: 0.65;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent-1);
  opacity: 1;
}

.product-price {
  font-size: 3rem;
  font-weight: 900;
  font-family: 'Unbounded', sans-serif;
  letter-spacing: -0.04em;
  background: var(--grad-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1rem 0 1.5rem;
  line-height: 1;
}

/* ============================================================
   AUTH FORMS — LOGIN / REGISTER
   ============================================================ */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.auth-page .navbar,
.auth-page .mobile-menu,
.auth-page .to-top {
  display: none !important;
}

.auth-stage {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  min-height: 640px;
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.0));
}

.auth-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at 15% 20%, rgba(239, 35, 60, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.auth-stage::after {
  content: none;
}

.auth-side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 3.5rem 3.25rem;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.auth-side-info {
  left: 0;
  background: radial-gradient(320px circle at 20% 15%, rgba(239, 35, 60, 0.2), transparent 60%),
    linear-gradient(135deg, rgba(12, 12, 12, 0.95), rgba(12, 12, 12, 0.75));
}

.auth-side-form {
  left: 50%;
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f5f5f5;
}

.auth-side-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(239, 35, 60, 0.15);
  border: 1px solid rgba(239, 35, 60, 0.35);
  color: var(--accent-1);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.auth-stage.is-register .auth-side-info {
  transform: translateX(100%);
}

.auth-stage.is-register .auth-side-form {
  transform: translateX(-100%);
}

.auth-info-content {
  position: relative;
  z-index: 2;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Unbounded', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.auth-tagline {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 360px;
}

.auth-info-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.auth-mini-card {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.auth-mini-title {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.auth-mini-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-info-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.auth-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.auth-geo {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.auth-geo-1 {
  top: -20%;
  right: -10%;
  width: 70%;
  height: 60%;
  background: linear-gradient(140deg, rgba(239, 35, 60, 0.2), transparent);
  clip-path: polygon(20% 0, 100% 15%, 85% 100%, 0 85%);
  opacity: 0.6;
}

.auth-geo-2 {
  bottom: -25%;
  left: -10%;
  width: 60%;
  height: 50%;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.06), rgba(239, 35, 60, 0.18));
  clip-path: polygon(0 10%, 70% 0, 100% 80%, 0 100%);
  opacity: 0.5;
}

.auth-geo-3 {
  display: none;
}

.auth-orbit {
  display: none;
}

.auth-form-shell {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.25rem 2.5rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(16, 18, 26, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: visible;
  z-index: 2;
}

.auth-form-shell::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -40%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(239, 35, 60, 0.18), transparent 60%);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.auth-form-shell > * {
  position: relative;
  z-index: 1;
}

.auth-toggle {
  display: flex;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  gap: 0.5rem;
}

.auth-toggle-btn {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.auth-toggle-btn.active {
  background: var(--grad-premium);
  color: var(--btn-text);
}

.auth-form-wrapper {
  position: relative;
  min-height: 620px;
}

.auth-form-heading h2 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.auth-form-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.auth-form {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.auth-form-login {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.auth-stage.is-register .auth-form-login {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.auth-stage.is-register .auth-form-register {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.auth-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.auth-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-support-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-small-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-metrics {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.auth-metric {
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 120px;
}

.auth-metric-number {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.auth-metric-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.auth-form-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 35, 60, 0.35), transparent 70%);
  opacity: 0.2;
  filter: blur(1px);
}

.auth-orb-1 {
  width: 140px;
  height: 140px;
  top: 10%;
  right: 18%;
}

.auth-orb-2 {
  width: 200px;
  height: 200px;
  bottom: 8%;
  left: 10%;
}

.auth-orb-3 {
  width: 120px;
  height: 120px;
  bottom: 35%;
  right: 5%;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.auth-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 1rem;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
  z-index: 2;
}

.auth-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
}

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

.auth-input:focus {
  border-color: var(--accent-1);
  background: rgba(239, 35, 60, 0.04);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.1);
}

[data-theme="light"] .auth-input {
  background: rgba(0, 0, 0, 0.04);
  color: #2e2e2e;
}

[data-theme="light"] .auth-input:focus {
  background: rgba(239, 35, 60, 0.06);
}

[data-theme="light"] .auth-side-form {
  background: rgba(255, 255, 255, 0.92);
  color: #1f1f1f;
}

[data-theme="light"] .auth-form-shell {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .auth-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .auth-toggle-btn {
  color: #2e2e2e;
}

@media (max-width: 980px) {
  .auth-stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .auth-side {
    position: relative;
    width: 100%;
    left: auto;
    transform: none !important;
    padding: 2.75rem 2rem;
  }

  .auth-side-info {
    border-bottom: 1px solid var(--border);
  }

  .auth-stage.is-register .auth-side-form {
    order: 1;
  }

  .auth-stage.is-register .auth-side-info {
    order: 2;
  }

  .auth-form-wrapper {
    min-height: 520px;
  }
}

/* ============================================================
   CART PAGE — RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  #cart-container {
    grid-template-columns: 1fr !important;
  }

  #cart-summary {
    position: static !important;
  }
}

/* ============================================================
   SHOP GRID — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .product-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   TABLET — 768px
   ============================================================ */
@media (max-width: 768px) {
  body {
    padding-bottom: 112px;
  }

  .navbar {
    top: auto;
    bottom: 0.85rem;
    width: calc(100% - 1rem);
    border-radius: 999px;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .navbar.scrolled {
    top: auto;
    bottom: 0.85rem;
    background: transparent;
    border: 0;
  }

  .navbar::before {
    display: none;
  }

  .navbar .container {
    padding: 0 0.75rem;
    max-width: 390px;
  }

  .nav-inner {
    height: 72px;
  }

  .nav-logo,
  .nav-actions {
    display: none !important;
  }

  .nav-links {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.4rem;
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .nav-links li {
    animation: none;
  }

  .nav-item-auth {
    display: none;
  }

  .nav-item-portfolio,
  .nav-item-shop,
  .nav-item-home,
  .nav-item-contact,
  .nav-item-cart {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 44px;
    border-radius: 16px;
    position: relative;
    color: rgba(20, 24, 32, 0.7);
    background: transparent;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active,
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.75);
  }

  .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    width: 22px;
    height: 22px;
    line-height: 0;
  }

  .nav-icon svg {
    display: block;
    width: 20px;
    height: 20px;
  }

  .nav-label {
    display: none;
  }

  .nav-link.active {
    color: rgba(20, 24, 32, 0.95);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-6px);
  }

  .nav-link.active .nav-icon {
    color: var(--accent-1);
  }

  .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 18px;
    height: 4px;
    background: var(--accent-1);
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .nav-cart-btn {
    background: transparent !important;
    border: 0 !important;
    color: inherit !important;
  }

  .nav-count {
    margin-left: 0;
    margin-top: 0.15rem;
    font-size: 0.7rem;
  }

  .nav-item-cart .nav-count {
    position: absolute;
    top: 2px;
    right: 0;
    margin-top: 0;
  }

  .mobile-menu,
  .hamburger,
  .theme-toggle {
    display: none !important;
  }

  .to-top {
    bottom: 96px;
  }

  section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero-split {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding-top: 7.5rem;
    padding-bottom: 6rem;
  }

  .hero-text-content {
    max-width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid-creative {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-desc {
    max-width: 100%;
    margin: 0 auto 2rem;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .badge {
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .hero-image-content {
    min-width: 100%;
    width: 100%;
    padding-left: 0;
    margin-top: 0;
  }

  .hero-image-content::after {
    inset: 10% 2%;
  }

  .portrait-aura {
    width: min(92vw, 520px);
    height: min(92vw, 520px);
    filter: blur(70px);
    opacity: 0.18;
  }

  .portrait-wrapper {
    height: min(52vh, 420px);
    max-width: min(100%, 420px);
  }

  .hero-stroke-text {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    font-size: clamp(5rem, 30vw, 9rem);
    opacity: 0.06;
  }

  .hero-scroll {
    display: none;
  }

  /* ── DISABLE heavy animations on mobile ── */
  .globe-wrapper,
  .floating-logos,
  .floating-nodes,
  .floating-tools,
  .skills-bg-particles,
  .hero-grid,
  .node {
    display: none !important;
  }

  /* Keep blobs but reduce them */
  .blob {
    opacity: 0.07 !important;
    filter: blur(100px) !important;
  }

  /* Shop Grid */
  .shop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .shop-card-title {
    font-size: 0.95rem !important;
  }

  .shop-card-price {
    font-size: 1.2rem !important;
  }

  /* Product detail */
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-price {
    font-size: 2rem !important;
  }

  .product-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  /* Auth pages */
  .auth-input {
    font-size: 1rem;
    padding: 1rem 1rem 1rem 2.75rem;
  }
}

/* ============================================================
   MOBILE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .nav-logo {
    font-size: 1rem;
  }

  .mobile-menu {
    top: calc(0.65rem + 70px);
    padding: 0.85rem;
    border-radius: 20px;
  }

  .mobile-menu a {
    min-height: 48px;
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-split {
    padding-top: 6.75rem;
    gap: 1.5rem;
  }

  .hero-title {
    line-height: 0.95;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .portrait-wrapper {
    height: min(46vh, 340px);
  }

  /* Fully hide decorative layers */
  .globe-wrapper,
  .floating-logos,
  .hero-stroke-text,
  .floating-nodes,
  .floating-tools,
  .skills-bg-particles,
  .hero-grid,
  .node,
  .blob-3 {
    display: none !important;
  }

  .blob-1,
  .blob-2 {
    opacity: 0.05 !important;
    animation: none !important;
  }

  /* Shop — single column on tiny screens */
  .shop-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .shop-hero {
    padding: 2rem 0 1.5rem !important;
  }

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

  /* Cart page */
  #cart-container {
    grid-template-columns: 1fr !important;
  }

  /* Auth pages — full width card */
  .glass-card {
    padding: 1.5rem !important;
  }

  /* Disable grain overlay on mobile (performance) */
  body::before {
    display: none;
  }
}

/* ============================================================
   ADVANCED INTERACTIVES (desktop only)
   ============================================================ */
@media (min-width: 769px) {
  .custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, opacity 0.3s, border-color 0.3s;
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .custom-cursor {
    display: none !important;
  }
}

.custom-cursor::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-1);
  border-radius: 50%;
}

.custom-cursor.hover {
  transform: scale(2);
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.magnetic-wrap {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reveal Animation Classes */
.reveal-text {
  overflow: hidden;
  position: relative;
}

.reveal-text span {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.reveal-text.active span {
  transform: translateY(0);
  opacity: 1;
}

/* Footer Improvements */
.footer-grid-creative {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-2);
  transform: translateX(8px);
}




.custom-cursor::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-1);
  border-radius: 50%;
}

.custom-cursor.hover {
  transform: scale(2);
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.magnetic-wrap {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reveal Animation Classes */
.reveal-text {
  overflow: hidden;
  position: relative;
}

.reveal-text span {
  display: block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.reveal-text.active span {
  transform: translateY(0);
  opacity: 1;
}

/* Footer Improvements */
.footer-grid-creative {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-2);
  transform: translateX(8px);
}
