/* ==========================================================================
   Sihirli.tv — Creative & Technology Studio Design System
   Architecture: Lightweight, Accessible, High-Craft Modern Static CSS
   ========================================================================== */

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

:root {
  /* Colors */
  --bg-base: #07080a;
  --bg-elevated: #0f1117;
  --bg-surface: #151821;
  --bg-surface-hover: #1c202d;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --gold-primary: #D4AF37;
  --gold-light: #F9E596;
  --gold-deep: #AA7C11;
  --gold-gradient: linear-gradient(135deg, #F9E596 0%, #D4AF37 50%, #AA7C11 100%);
  --gold-glow: 0 0 32px rgba(212, 175, 55, 0.18);
  
  --text-primary: #FFFFFF;
  --text-secondary: #E3E5ED;
  --text-muted: #9BA1B5;
  --text-dim: #656B82;
  
  --status-active: #10b981;
  --status-tech: #60a5fa;

  /* Typography */
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Layout */
  --container-max: 1240px;
  --container-legal: 880px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-base);
  overflow-x: hidden;
  position: relative;
}

/* Subtle ambient background aura */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(7, 8, 10, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.container-legal {
  max-width: var(--container-legal);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.brand-subtext {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  border-left: 1px solid var(--border-medium);
  padding-left: 0.75rem;
  line-height: 1.1;
  display: none;
}

@media (min-width: 768px) {
  .brand-subtext {
    display: block;
  }
}

/* Navigation Links */
.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 140px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1010;
}

.lang-selector.open .lang-dropdown {
  display: flex;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.lang-item:hover, .lang-item.active {
  background: var(--bg-surface);
  color: var(--gold-light);
}

.lang-item.active {
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #07080a;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
  color: #000000;
}

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

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 8, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--gold-light);
  padding-left: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--status-active);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-active);
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 950px;
  letter-spacing: -0.03em;
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-features-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-features-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-pill-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.feature-pill-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.feature-pill-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Section Common Styling */
.section-pad {
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
}

/* Service Pillars Grid (Asymmetric & Intentional) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-surface);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.service-tag-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

/* Studio Approach & Philosophy */
.approach-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .approach-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.approach-quote-box {
  background: var(--bg-elevated);
  border-left: 3px solid var(--gold-primary);
  padding: 2rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 2rem;
}

.approach-quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.approach-cite {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-light);
}

.approach-principles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.principle-item {
  display: flex;
  gap: 1rem;
}

.principle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.principle-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.principle-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Showcase / Capability Framework */
.studio-meta-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 2rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.meta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 500;
}

/* Digital Presence Section */
.channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-surface);
  transform: translateX(4px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-info h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.channel-info span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* CTA Card */
.cta-card {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 70%), var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  box-shadow: var(--gold-glow);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* Legal & Editorial Prose Layout */
.legal-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.prose h2 {
  font-size: 1.65rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.prose th, .prose td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid var(--border-subtle);
}

.prose th {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
}

.prose tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.callout-box {
  background: var(--bg-surface);
  border-left: 3px solid var(--gold-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
}

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

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-tag {
  font-family: var(--font-mono);
}
