/* ===========================
   GLOBAL RESET & BASE
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #080b0f;
  --bg-secondary: #0d1117;
  --bg-card: #111620;
  --bg-card-hover: #161d2e;
  --accent: #4f8ef7;
  --accent-2: #a259ff;
  --accent-gold: #f7c948;
  --accent-glow: rgba(79, 142, 247, 0.15);
  --text-primary: #f0f4ff;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(79,142,247,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(79,142,247,0.1);
  --font-main: 'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.accent { color: var(--accent); }

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

section {
  padding: 7rem 0 8rem;
}

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(8, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  padding: 0.75rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.dot { color: var(--accent); }

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

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

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

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-nav { color: var(--text-primary); }
.nav-links a.active-nav::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #3a7bf0 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(79, 142, 247, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#timeline-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.18;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(79,142,247,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(162,89,255,0.08) 0%, transparent 60%),
    linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 8rem;
}

/* HERO PHOTO */
.hero-top-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-photo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
  border: 3px solid rgba(79,142,247,0.5);
  display: block;
  transition: transform 0.4s var(--ease-spring);
}

.hero-photo:hover {
  transform: scale(1.05);
}

.hero-photo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent), transparent 60%);
  animation: ring-spin 3s linear infinite;
  z-index: 0;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79,142,247,0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

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

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

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 1.75rem;
  letter-spacing: -0.03em;
}

.name-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero-tagline em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 4px 30px rgba(79,142,247,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(79,142,247,0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-icon { font-size: 0.75rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

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

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

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

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

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

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

@keyframes scroll-anim {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ===========================
   ABOUT
=========================== */
#about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.about-story {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-story strong {
  color: var(--accent);
  font-weight: 700;
}

.skills-block {
  margin: 2.5rem 0;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.skills-block:hover {
  border-color: var(--border-accent);
}

.skills-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.skill-item {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.skill-item:last-child { border: none; padding-bottom: 0; }

.skill-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 140px;
  flex-shrink: 0;
}

.skill-value {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.usp-block {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(79,142,247,0.06);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  transition: background 0.3s, transform 0.3s var(--ease-out);
}

.usp-block:hover {
  background: rgba(79,142,247,0.1);
  transform: translateY(-2px);
}

.usp-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.usp-block h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.usp-block p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.usp-block em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* TOOL CARDS */
.about-tools {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.tools-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
  transform: translateX(8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.tool-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-display);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.tool-card:hover .tool-logo {
  transform: scale(1.08);
}

.ae .tool-logo { background: #1d2461; color: #9999ff; }
.pr .tool-logo { background: #1d1a42; color: #9999ff; }
.ps .tool-logo { background: #001a33; color: #4da3ff; }

.tool-card span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.experience-badge {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(79,142,247,0.15), rgba(162,89,255,0.1));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  width: 100%;
  transition: transform 0.3s var(--ease-spring);
}

.experience-badge:hover {
  transform: translateY(-3px);
}

.exp-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.exp-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 500;
}

/* ===========================
   CLIENTS
=========================== */
#clients {
  background: var(--bg-primary);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: default;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-spring);
}

.client-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 40px rgba(79, 142, 247, 0.12);
  transform: translateY(-5px);
}

.client-logo-area {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-area img {
  max-width: 85%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.4s var(--ease-spring), filter 0.3s;
  filter: grayscale(0.1);
}

.client-card:hover .client-logo-area img {
  transform: scale(1.06);
  filter: grayscale(0);
}

.client-fallback-icon {
  font-size: 2.5rem;
  align-items: center;
  justify-content: center;
}

.client-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  line-height: 1.35;
}

.client-card:hover .client-name {
  color: var(--accent);
}

/* ===========================
   PORTFOLIO
=========================== */
#portfolio {
  background: var(--bg-secondary);
}

.portfolio-category {
  margin-bottom: 5rem;
}

.portfolio-category:last-child {
  margin-bottom: 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cat-icon { font-size: 1.3rem; }

/* LONG FORM VIDEOS */
.videos-grid {
  display: grid;
  gap: 1.5rem;
}

.long-form {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.35s;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Thumbnail-based video cards */
.video-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}

.video-thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.4s;
  filter: brightness(0.85);
}

.video-card:hover .video-thumb-wrap img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(79, 142, 247, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: background 0.3s, transform 0.35s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(79, 142, 247, 0.5);
  padding-left: 3px;
}

.video-thumb-link:hover .video-play-btn,
.video-thumb-wrap:hover .video-play-btn {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 8px 36px rgba(79, 142, 247, 0.7);
}

.video-yt-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
  transition: opacity 0.3s;
  opacity: 0.7;
}

.video-card:hover .video-yt-badge {
  opacity: 1;
}

.video-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.video-client {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.video-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.video-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.long-tag {
  background: rgba(79,142,247,0.12);
  color: var(--accent);
  border: 1px solid rgba(79,142,247,0.2);
}

/* SHORT FORM */
.short-form-intro {
  padding: 1rem 1.5rem;
  background: rgba(247,201,72,0.06);
  border: 1px solid rgba(247,201,72,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.short-form-intro p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.short-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.35s;
  position: relative;
}

.short-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.short-views-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(79,142,247,0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
}

.short-views-badge.gold {
  background: rgba(247,201,72,0.95);
  color: #1a1200;
}

.views-icon { font-size: 0.65rem; }
.views-num { font-family: var(--font-main); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.5px; }
.views-label { font-size: 0.65rem; opacity: 0.85; }

.short-embed {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 ratio */
  background: #000;
}

.short-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.click-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  background: transparent;
}

/* Thumbnail-based short cards */
.short-thumb {
  cursor: pointer;
}

.short-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.4s;
  filter: brightness(0.8);
}

.short-card:hover .short-thumb img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

.short-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(79, 142, 247, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  z-index: 2;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s, background 0.3s;
  box-shadow: 0 4px 24px rgba(79, 142, 247, 0.5);
  padding-left: 3px;
}

.short-card:hover .short-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 8px 36px rgba(79, 142, 247, 0.7);
  background: var(--accent);
}

/* FULLSCREEN VIDEO MODAL */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  aspect-ratio: 9/16;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-spring);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.video-modal-player {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.short-info {
  padding: 1rem 1.25rem;
}

.short-client {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.short-title {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ===========================
   CLIENT RETENTION
=========================== */
#retention {
  background: var(--bg-primary);
}

.retention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.retention-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.35s, transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.retention-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.retention-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.ret-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.ret-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.graph-mock {
  background: #0d1a2d;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.graph-line {
  height: 3px;
  background: linear-gradient(to right, #ff6b8a, #ff3860);
  border-radius: 2px;
  width: 100%;
  position: relative;
  top: 30px;
  clip-path: polygon(0% 0%, 8% -20%, 15% 10%, 25% 30%, 35% 40%, 50% 55%, 65% 65%, 80% 75%, 100% 100%);
  transform: scaleY(-1);
}

.graph-line-2 {
  clip-path: polygon(0% 0%, 5% 10%, 12% 5%, 20% 25%, 35% 30%, 50% 45%, 60% 55%, 75% 65%, 90% 70%, 100% 80%);
}

.graph-badge {
  font-size: 0.75rem;
  color: #7eb8ff;
  margin-top: 2rem;
  line-height: 1.5;
}

.retention-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================
   CONTACT
=========================== */
#contact {
  background: var(--bg-secondary);
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.35s var(--ease-spring), background 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.contact-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}

.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.contact-card:hover .contact-icon-wrap {
  transform: scale(1.12);
}

/* Brand colors */
.email-icon {
  background: rgba(79, 142, 247, 0.15);
  color: #4f8ef7;
  border: 1px solid rgba(79, 142, 247, 0.25);
}

.whatsapp-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.linkedin-icon {
  background: rgba(10, 102, 194, 0.15);
  color: #0A66C2;
  border: 1px solid rgba(10, 102, 194, 0.25);
}

.instagram-icon {
  background: rgba(228, 64, 95, 0.12);
  color: #E4405F;
  border: 1px solid rgba(228, 64, 95, 0.2);
}

.contact-card:hover .email-icon      { background: rgba(79, 142, 247, 0.25); }
.contact-card:hover .whatsapp-icon   { background: rgba(37, 211, 102, 0.22); }
.contact-card:hover .linkedin-icon   { background: rgba(10, 102, 194, 0.25); }
.contact-card:hover .instagram-icon  { background: rgba(228, 64, 95, 0.22); }

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.contact-card:hover .contact-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ===========================
   FOOTER
=========================== */
#footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 0.7; }

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===========================
   REVEAL ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   DESIGNS SLIDER
=========================== */
#designs {
  background: var(--bg-primary);
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 1.25rem;
  padding: 1rem 0;
  scrollbar-width: none;
}

.slider-container::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 260px;
  max-width: 80vw;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.35s, border-color 0.3s;
}

.slide:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--border-accent);
}

.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.slide:hover img {
  transform: scale(1.04);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  section {
    padding: 5rem 0 6rem;
  }

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

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

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

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-photo {
    width: 110px;
    height: 110px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-card);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    border-left: 1px solid var(--border);
    gap: 1.5rem;
    align-items: flex-start;
    z-index: 200;
  }

  .nav-links a::after { display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 4rem 0 5rem;
  }

  .hero-name {
    font-size: 3.2rem;
  }

  .hero-top-row {
    gap: 1rem;
  }

  .hero-photo {
    width: 90px;
    height: 90px;
  }

  .hero-desc {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .shorts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .slide {
    flex: 0 0 85%;
  }

  .slider-btn {
    display: none;
  }

  .hero-scroll { display: none; }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .contact-card {
    padding: 1rem 1.25rem;
  }

  .client-card {
    padding: 1.25rem 0.75rem 1rem;
  }

  .client-logo-area {
    height: 90px;
  }

  .client-logo-area img {
    max-height: 90px;
  }
}
