@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a25;
  --fg: #f0f0f5;
  --fg-muted: #8888a0;
  --accent: #ff3d5a;
  --accent-glow: rgba(255, 61, 90, 0.25);
  --green: #00e676;
  --yellow: #ffd600;
  --blue: #448aff;
  --radius: 16px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 61, 90, 0.3);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 540px;
  margin-top: 24px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

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

.hero-stat .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== VERTICALS ========== */
.verticals {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vertical-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.vertical-card:hover {
  border-color: rgba(255, 61, 90, 0.3);
  transform: translateY(-4px);
}

.vertical-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.vertical-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.vertical-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
}

.service-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
}

.service-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-item p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== PROCESS ========== */
.process {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--yellow), var(--green));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-dot.red { background: var(--accent); color: #fff; }
.step-dot.yellow { background: var(--yellow); color: #0a0a0f; }
.step-dot.green { background: var(--green); color: #0a0a0f; }

.process-step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========== CLOSING ========== */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  max-width: 700px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========== FOOTER ========== */
footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer p {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

footer .brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--fg);
}

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-brand:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--fg);
}

.nav-cta {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid rgba(255, 61, 90, 0.4);
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  background: rgba(255, 61, 90, 0.1);
  border-color: rgba(255, 61, 90, 0.7);
}

/* ========== HERO BUTTONS ========== */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(255, 61, 90, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 61, 90, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ========== PORTFOLIO HERO ========== */
.portfolio-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.portfolio-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-top: 24px;
}

.portfolio-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 20px;
}

/* ========== FILTER TABS ========== */
.portfolio-filter-section {
  padding: 0 24px 40px;
}

.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-tab:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
  color: var(--accent);
  border-color: rgba(255, 61, 90, 0.5);
  background: rgba(255, 61, 90, 0.08);
}

/* ========== PORTFOLIO GRID ========== */
.portfolio-grid-section {
  padding: 0 24px 100px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ========== SAMPLE CARD ========== */
.sample-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.sample-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 61, 90, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* 9:16 vertical video thumbnail */
.sample-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.thumb-emoji {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: transform 0.3s;
}

.sample-card:hover .thumb-emoji {
  transform: scale(1.12);
}

.thumb-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.65);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.play-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 61, 90, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 2;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}

.sample-card:hover .play-badge {
  opacity: 1;
}

/* Card body */
.sample-body {
  padding: 20px 22px 24px;
}

.sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag-vertical {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid;
  letter-spacing: 0.3px;
}

.tag-style {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 100px;
}

.sample-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}

.sample-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ========== PORTFOLIO CTA ========== */
.portfolio-cta {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.portfolio-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.portfolio-cta p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 61, 90, 0.35);
}

.cta-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(255, 61, 90, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-stats { flex-direction: column; gap: 24px; }
  .vertical-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 32px; }
  .process-steps::before { display: none; }
  .hero { padding: 100px 20px 40px; min-height: auto; }
  .hero h1 { letter-spacing: -1px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .site-nav { padding: 16px 20px; }
  .nav-links { gap: 4px; }
  .nav-link { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .portfolio-title { letter-spacing: -1px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .filter-wrap { gap: 8px; }
  .filter-tab { font-size: 0.82rem; padding: 8px 14px; }
}
