/* ==========================================================================
   THEEDITINGCANVAS — THEME DESIGN SYSTEM & TOKENS
   Author: Summit Mandal
   Exact Reference Matching Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Alex+Brush&display=swap');

:root {
  /* Color Palette matching reference image */
  --bg-main: #050508;
  --bg-primary: #07080c;
  --bg-surface: #0e0f14;
  --bg-surface-elevated: #13151c;
  --bg-card: rgba(14, 15, 20, 0.7);
  --bg-card-hover: rgba(22, 24, 33, 0.9);
  --bg-glass: rgba(7, 8, 12, 0.85);

  /* Signature Reference Colors */
  --accent-purple: #9d4edd;
  --accent-purple-glow: rgba(157, 78, 221, 0.5);
  --accent-purple-bright: #c77dff;
  --accent-purple-btn: linear-gradient(90deg, #6a11cb 0%, #8e2de2 100%);
  --accent-magenta: #e0aaff;
  --accent-cyan: #38bdf8;
  --accent-gold: #d4af37;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-active: rgba(157, 78, 221, 0.6);

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 3.5vw, 2.5rem);
  --section-pad-y: clamp(3.5rem, 6vw, 5.5rem);
  --header-height: 76px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 80% 15%, rgba(130, 40, 200, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 20% 50%, rgba(90, 20, 160, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(140, 40, 210, 0.09) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.tc-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.tc-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
  z-index: 2;
}

.tc-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.tc-section-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple-bright);
  box-shadow: 0 0 10px var(--accent-purple-bright);
  display: inline-block;
}

.tc-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Gradient text matching reference */
.tc-gradient-stories {
  background: linear-gradient(90deg, #9d4edd 0%, #c77dff 50%, #e0aaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(199, 125, 255, 0.45));
}

/* Reusable Buttons */
.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.tc-btn-primary {
  background: var(--accent-purple-btn);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(142, 45, 226, 0.45);
}

.tc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(199, 125, 255, 0.6);
}

.tc-btn-primary .tc-play-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050508;
  margin-left: 0.25rem;
}

.tc-btn-primary .tc-play-icon-circle svg {
  width: 10px;
  height: 10px;
  margin-left: 1px;
}

.tc-btn-outline {
  background: rgba(14, 15, 20, 0.6);
  color: #ffffff;
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.tc-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-purple-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   CREATIVE STUDIO LIGHT THEME DESIGN SYSTEM
   ========================================================================== */
[data-theme="light"] {
  --bg-main: #f5f6fa;
  --bg-primary: #edf0f7;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Accents */
  --accent-purple: #7b2cbf;
  --accent-purple-glow: rgba(123, 44, 191, 0.2);
  --accent-purple-bright: #9d4edd;
  --accent-purple-btn: linear-gradient(90deg, #6a11cb 0%, #8e2de2 100%);
  --accent-magenta: #c77dff;
  --accent-cyan: #0284c7;
  --accent-gold: #c89b6d;

  /* Typography */
  --text-primary: #0b0f19;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Borders & Shadows */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.09);
  --border-active: rgba(123, 44, 191, 0.5);
}

/* Light Theme Component Overrides */
[data-theme="light"] body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(123, 44, 191, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 15% 45%, rgba(200, 155, 109, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
  color: var(--text-primary);
}

/* LIGHT THEME: HERO SECTION MUST ALWAYS RETAIN HIGH-CONTRAST DARK STUDIO PHOTOGRAPHY CONTRAST */
[data-theme="light"] .tc-hero-section {
  color: #ffffff;
}

[data-theme="light"] .tc-hero-title {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] .tc-hero-desc {
  color: #e2e8f0 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

[data-theme="light"] .tc-hero-eyebrow {
  color: #e0b484 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .tc-hero-fade-left {
  background: linear-gradient(
    to right,
    #050508 0%,
    #050508 22%,
    rgba(5, 5, 8, 0.95) 34%,
    rgba(5, 5, 8, 0.65) 48%,
    rgba(5, 5, 8, 0.15) 62%,
    transparent 78%
  ) !important;
}

[data-theme="light"] .tc-hero-fade-bottom {
  background: linear-gradient(to top, var(--bg-main) 0%, rgba(245, 246, 250, 0.6) 40%, transparent 100%) !important;
  height: 90px;
}

[data-theme="light"] .tc-side-social-link {
  color: #cbd5e1;
}

[data-theme="light"] .tc-side-social-link:hover {
  color: #ffffff;
}

[data-theme="light"] .tc-status-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .tc-status-sub {
  color: #cbd5e1 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .tc-hero-divider {
  background: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .tc-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .tc-btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
}

/* Light Theme Header */
[data-theme="light"] .tc-header {
  background: rgba(5, 5, 8, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] .tc-header .tc-brand-name {
  color: #ffffff;
}

[data-theme="light"] .tc-header .tc-nav-link {
  color: #cbd5e1;
}

[data-theme="light"] .tc-header .tc-nav-link:hover,
[data-theme="light"] .tc-header .tc-nav-link.active {
  color: #ffffff;
}

[data-theme="light"] .tc-header .tc-btn-header-cta {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

[data-theme="light"] .tc-header .tc-btn-header-cta:hover {
  background: #ffffff;
  color: #090d16;
}

[data-theme="light"] .tc-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tc-header.scrolled .tc-brand-name {
  color: #090d16;
}

[data-theme="light"] .tc-header.scrolled .tc-nav-link {
  color: #475569;
}

[data-theme="light"] .tc-header.scrolled .tc-nav-link:hover,
[data-theme="light"] .tc-header.scrolled .tc-nav-link.active {
  color: #7b2cbf;
}

[data-theme="light"] .tc-header.scrolled .tc-btn-header-cta {
  background: #090d16;
  border-color: #090d16;
  color: #ffffff;
}

[data-theme="light"] .tc-header.scrolled .tc-btn-header-cta:hover {
  background: #7b2cbf;
  border-color: #7b2cbf;
}

/* Light Theme Content Sections */
[data-theme="light"] .tc-what-i-edit-container {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(123, 44, 191, 0.05);
}

[data-theme="light"] .tc-format-card:hover {
  background: #f8fafc;
  border-radius: var(--radius-md);
}

[data-theme="light"] .tc-format-title {
  color: #090d16;
}

[data-theme="light"] .tc-format-desc {
  color: #64748b;
}

[data-theme="light"] .tc-section-title {
  color: #090d16;
}

[data-theme="light"] .tc-view-all-link {
  color: #334155;
}

[data-theme="light"] .tc-carousel-arrow {
  background: #ffffff;
  color: #090d16;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .tc-carousel-arrow:hover {
  background: var(--accent-purple);
  color: #ffffff;
  border-color: var(--accent-purple);
}

[data-theme="light"] .tc-video-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .tc-video-card:hover {
  box-shadow: 0 16px 36px -6px rgba(123, 44, 191, 0.22), 0 0 0 1px rgba(123, 44, 191, 0.3);
  border-color: rgba(123, 44, 191, 0.3);
}

[data-theme="light"] .tc-video-title {
  color: #090d16;
}

[data-theme="light"] .tc-video-subtitle {
  color: #64748b;
}

[data-theme="light"] .tc-before-after-box {
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tc-split-handle-btn {
  background: #ffffff;
  color: #090d16;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .tc-process-icon-box {
  background: #ffffff;
  border: 1px solid rgba(123, 44, 191, 0.25);
  box-shadow: 0 6px 18px rgba(123, 44, 191, 0.1);
  color: #7b2cbf;
}

[data-theme="light"] .tc-process-node-name {
  color: #090d16;
}

[data-theme="light"] .tc-process-node-desc {
  color: #64748b;
}

[data-theme="light"] .tc-process-timeline::before {
  background: linear-gradient(90deg, rgba(123, 44, 191, 0.25) 0%, rgba(200, 155, 109, 0.35) 50%, rgba(123, 44, 191, 0.25) 100%);
}

[data-theme="light"] .tc-tool-square {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .tc-tool-square span {
  color: #090d16;
}

[data-theme="light"] .tc-services-wrapper {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .tc-service-item {
  color: #1e293b;
}

[data-theme="light"] .tc-cta-mini-card {
  background: linear-gradient(135deg, #f8fafc 0%, #edf0f7 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tc-cta-mini-title {
  color: #090d16;
}

[data-theme="light"] .tc-footer {
  background: #edf0f7;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tc-footer-col h4 {
  color: #090d16;
}

[data-theme="light"] .tc-footer-link {
  color: #475569;
}

[data-theme="light"] .tc-footer-link:hover {
  color: #7b2cbf;
}

[data-theme="light"] .tc-footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

[data-theme="light"] .tc-back-to-top {
  background: #ffffff;
  color: #090d16;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

/* Light Theme: Stats, About Me & Clapperboard */
[data-theme="light"] .tc-stats-capsule {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .tc-stat-item:not(:last-child)::after {
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tc-stat-num {
  color: #0b0f19;
}

[data-theme="light"] .tc-stat-label {
  color: #64748b;
}

[data-theme="light"] .tc-stat-icon {
  background: rgba(200, 155, 109, 0.1);
  border-color: rgba(200, 155, 109, 0.3);
  color: #b8860b;
}

[data-theme="light"] .tc-about-headline {
  color: #0b0f19;
}

[data-theme="light"] .tc-about-bio {
  color: #475569;
}

[data-theme="light"] .tc-about-check-item {
  color: #1e293b;
}

[data-theme="light"] .tc-btn-clapper-trigger {
  background: #0b0f19;
  color: #ffffff;
  border-color: #0b0f19;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .tc-btn-clapper-trigger:hover {
  background: #7b2cbf;
  color: #ffffff;
  border-color: #7b2cbf;
}

[data-theme="light"] .tc-clapperboard {
  background: #14161f;
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .tc-dossier-content {
  background: #ffffff;
  border-color: rgba(200, 155, 109, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2), 0 0 40px rgba(200, 155, 109, 0.15);
  color: #0b0f19;
}

[data-theme="light"] .tc-dossier-title {
  color: #0b0f19;
}

[data-theme="light"] .tc-dossier-body p {
  color: #334155;
}

[data-theme="light"] .tc-pillar-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tc-dossier-stats-strip {
  background: rgba(200, 155, 109, 0.08);
  color: #0b0f19;
}

[data-theme="light"] .tc-dossier-close {
  background: #f1f5f9;
  color: #0b0f19;
}



