html { scroll-behavior: smooth; }
/* ==========================================================================
   TFS MEDIA WORKS - CSS VARIABLES & BASE
   ========================================================================== */
:root {
  --tw-blue-950: #020617;
  --tw-blue-900: #0f172a;
  --tw-blue-800: #1e293b;
  --tw-blue-500: #3b82f6;
  --tw-cyan-400: #22d3ee;
  --tw-purple-500: #a855f7;
  
  --tfs-bg: var(--tw-blue-950);
  --tfs-bg-card: rgba(15, 23, 42, 0.6);
  --tfs-text: #f8fafc;
  --tfs-muted: #94a3b8;
  --tfs-accent: var(--tw-cyan-400);
  
  --tfs-border: rgba(59, 130, 246, 0.2);
  --tfs-border-hover: rgba(34, 211, 238, 0.5);
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--tfs-bg);
  color: var(--tfs-text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.12), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.1), transparent 40%);
}

.tfs-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0 0 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
  color: var(--tfs-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--tw-cyan-400), var(--tw-blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tfs-btn-primary, .tfs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 15px;
  cursor: pointer;
}

.tfs-btn-primary {
  background: var(--tw-blue-500);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.tfs-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.tfs-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.tfs-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255,255,255,0.2);
}

.tfs-btn-primary.large {
  padding: 18px 40px;
  font-size: 18px;
}

.tfs-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tfs-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.tfs-link-arrow span {
  transition: var(--transition);
}

.tfs-link-arrow:hover span {
  transform: translateX(4px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.tfs-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.tfs-hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.tfs-hero-content {
  flex: 1;
  z-index: 2;
}

.tfs-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--tw-cyan-400);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.tfs-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 24px;
}

.tfs-hero-lead {
  font-size: clamp(16px, 2vw, 18px);
  max-width: 540px;
  margin-bottom: 32px;
}

.tfs-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tfs-hero-image-wrapper {
  flex: 1;
  position: relative;
  max-width: 500px;
}

.tfs-hero-image-glow {
  position: absolute;
  inset: -20px;
  background: conic-gradient(from 180deg at 50% 50%, var(--tw-blue-500) 0deg, var(--tw-purple-500) 180deg, var(--tw-cyan-400) 360deg);
  filter: blur(40px);
  opacity: 0.3;
  border-radius: 24px;
  z-index: 0;
  animation: spinGlow 8s linear infinite;
}

@keyframes spinGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tfs-hero-image {
  width: 100%;
  border-radius: 24px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .tfs-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .tfs-hero-lead {
    margin: 0 auto 32px;
  }
  .tfs-hero-ctas {
    justify-content: center;
  }
}

/* ==========================================================================
   AGENCY INTRO
   ========================================================================== */
.tfs-intro {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tfs-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 24px;
}

.tfs-intro h2 strong {
  color: var(--tw-blue-500);
}

.tfs-intro-text {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ==========================================================================
   SERVICES BENTO GRID
   ========================================================================== */
.tfs-section-header {
  margin-bottom: 50px;
}

.tfs-section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.tfs-services {
  padding: 100px 0;
}

.tfs-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tfs-service-card {
  background: var(--tfs-bg-card);
  border: 1px solid var(--tfs-border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tfs-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tw-blue-500), transparent);
  opacity: 0;
  transition: var(--transition);
}

.tfs-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--tfs-border-hover);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tfs-service-card:hover::before {
  opacity: 1;
}

.tfs-service-card.large {
  grid-column: span 2;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.tfs-service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.tfs-service-card p {
  margin: 0;
  font-size: 15px;
}

@media (max-width: 900px) {
  .tfs-bento-grid {
    grid-template-columns: 1fr;
  }
  .tfs-service-card.large {
    grid-column: span 1;
  }
}

/* ==========================================================================
   FEATURED WORK (VIDEOS)
   ========================================================================== */
.tfs-featured-work {
  padding: 100px 0;
  background: rgba(15, 23, 42, 0.3);
}

.tfs-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.tfs-showcase:last-child {
  margin-bottom: 0;
}

.tfs-showcase.reverse .tfs-showcase-video-container {
  order: 2;
}

.tfs-showcase-video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  background: #000;
  aspect-ratio: 16/9;
}

.tfs-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tfs-video-controls {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.tfs-vbtn {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.tfs-vbtn:hover {
  background: rgba(255,255,255,0.2);
}

.tfs-showcase-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.tfs-showcase-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .tfs-showcase, .tfs-showcase.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tfs-showcase.reverse .tfs-showcase-video-container {
    order: 0;
  }
}

/* ==========================================================================
   THE APPROACH
   ========================================================================== */
.tfs-approach {
  padding: 100px 0;
}

.tfs-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connecting line */
.tfs-process-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(59, 130, 246, 0.2);
  z-index: 0;
}

.tfs-process-step {
  position: relative;
  z-index: 1;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--tw-blue-900);
  border: 2px solid var(--tw-blue-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.tfs-process-step h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.tfs-process-step p {
  font-size: 14px;
}

@media (max-width: 900px) {
  .tfs-process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tfs-process-grid::before {
    display: none;
  }
}

/* ==========================================================================
   INNOVATION IMPACT (COUNTERS)
   ========================================================================== */
.tfs-impact {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.8), transparent);
}

.tfs-impact-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.tfs-impact-subtitle {
  margin-bottom: 50px;
}

.tfs-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tfs-impact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 24px;
  padding: 40px 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.tfs-impact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(59, 130, 246, 0.1) inset;
}

.tfs-impact-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.tfs-yt-counter {
  font-size: clamp(40px, 4vw, 56px);
  color: var(--tw-blue-500);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.tfs-impact-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--tfs-text);
  margin: 0;
}

@media (max-width: 768px) {
  .tfs-impact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   COLLABORATION & INDUSTRIES
   ========================================================================== */
.tfs-collab {
  padding: 100px 0;
}

.tfs-collab-flex {
  display: flex;
  gap: 60px;
  align-items: center;
}

.tfs-collab-left, .tfs-collab-right {
  flex: 1;
}

.tfs-industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tfs-industry-list li {
  font-size: 16px;
  margin-bottom: 16px;
  padding-left: 0;
  color: var(--tfs-muted);
}

.tfs-collab-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.tfs-collab-box h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.tfs-collab-box p {
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .tfs-collab-flex {
    flex-direction: column;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.tfs-faq {
  padding: 100px 0;
  background: rgba(15, 23, 42, 0.3);
}

.tfs-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.tfs-faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.tfs-faq-item[open] {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
}

.tfs-faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tfs-faq-item summary::-webkit-details-marker {
  display: none;
}

.tfs-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--tfs-accent);
}

.tfs-faq-item[open] summary::after {
  content: '−';
}

.tfs-faq-item p {
  padding: 0 24px 24px;
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.tfs-final-cta {
  padding: 120px 0;
}

.tfs-final-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

.tfs-final-cta p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}


@media (max-width: 480px) {
  .tfs-bento-card.wide, .tfs-bento-card.narrow, .tfs-bento-card.half {
    grid-column: span 12 !important;
  }
}
