* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button, 
a, 
select, 
[role="button"], 
input[type="button"], 
input[type="submit"],
.nav-item,
.dot,
.seo-info-tooltip,
.btn-copy-clip {
  cursor: pointer !important;
}

html, body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Remove fixed overflow for mobile to allow scrolling */
@media (max-width: 1024px) {
  html, body { 
    height: auto !important; 
    overflow-y: auto !important; 
    overflow-x: hidden !important;
  }
  .app-wrapper {
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }
}

:root {
  /* Dark Theme (Default) */
  --bg: #06060a;
  --surface: rgba(13, 13, 18, 0.7);
  --card-bg: rgba(18, 18, 24, 0.4);
  --accent: #7c3aed;
  --accent2: #a855f7;
  --text: #ffffff;
  --text-dim: #a1a1aa;
  --text-muted: #52525b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --red: #f43f5e;
  --green: #10b981;
  --cyan: #00f0ff;
  --orange-warning: #f97316;
  --red-danger: #ef4444;
  --green-success: #10b981;
  --cyan-info: #06b6d4;
  
  --sidebar-w: 260px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: backdrop-filter: blur(24px) saturate(180%) contrast(120%);
}

body.light-theme {
  --bg: #f8fafc; /* Premium soft blue-gray (slate-50) background */
  --surface: #ffffff; /* Clean white surface for sidebar, modals, etc. */
  --card-bg: #ffffff; /* Clean white card backgrounds */
  --text: #0f172a; /* Slate 900 (High contrast but soft on the eyes) */
  --text-dim: #334155; /* Slate 700 */
  --text-muted: #64748b; /* Slate 500 */
  --border: rgba(15, 23, 42, 0.06); /* Very soft slate border */
  --border-hover: rgba(15, 23, 42, 0.12);
  --cyan: #0891b2;
  --orange-warning: #ea580c;
  --red-danger: #dc2626;
  --green-success: #16a34a;
  --cyan-info: #0891b2;
}

/* Smooth Transitions for Theme Toggle */
body, 
.sidebar, 
.card, 
.stat-card, 
.setup-card, 
.report-section, 
.demo-card, 
.feature-card, 
.proof-stat-card, 
.footer-cta-section, 
.kpi-card, 
.welcome-search-large, 
.search-container {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.light-theme .stat-card, 
body.light-theme .card, 
body.light-theme .setup-card, 
body.light-theme .report-section,
body.light-theme .demo-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .stat-value, 
body.light-theme .video-title, 
body.light-theme .brand-title, 
body.light-theme .section-label,
body.light-theme .separator span,
body.light-theme .brand-desc,
body.light-theme .nav-item,
body.light-theme .wizard-step h3,
body.light-theme .wizard-step p,
body.light-theme h1:not(.mockup-widget *):not(.hero-animation-container *), 
body.light-theme h2:not(.mockup-widget *):not(.hero-animation-container *), 
body.light-theme h3:not(.mockup-widget *):not(.hero-animation-container *),
body.light-theme h4:not(.mockup-widget *):not(.hero-animation-container *),
body.light-theme p:not(.mockup-widget *):not(.hero-animation-container *),
body.light-theme span:not(.mockup-widget *):not(.hero-animation-container *),
body.light-theme button:not(.btn-buy-now):not(.btn-aktive):not(.mockup-widget *):not(.hero-animation-container *),
body.light-theme div:not(.seo-pill):not(.sidebar-logo):not(.mockup-widget *):not(.hero-animation-container *) {
  color: var(--text) !important;
}

body.light-theme .sidebar {
  background: #ffffff !important;
  border-right: 1px solid rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .nav-item {
  color: #64748b !important;
}

body.light-theme .nav-item:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--accent) !important;
}

body.light-theme .nav-item.active {
  background: rgba(124, 58, 237, 0.1) !important;
  color: var(--accent) !important;
}

body.light-theme .sidebar-footer div[style*="background:rgba(255,255,255,0.03)"] {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: #e2e8f0 !important;
}

body.light-theme #sidebar-user-name {
  color: var(--text) !important;
}


body.light-theme .separator span {
  background: #ffffff !important;
}

body.light-theme .video-table thead th {
  color: var(--text) !important;
  background: #f1f5f9 !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

body.light-theme .search-container {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

body.light-theme .search-container input {
  color: var(--text) !important;
}

body.light-theme .search-container input::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .welcome-search-large {
  background: #f1f5f9 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .welcome-search-large input {
  color: var(--text) !important;
}

body.light-theme .welcome-search-large input::placeholder {
  color: #94a3b8 !important;
}

body.light-theme #server-status-pill {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
}

body.light-theme .stat-pill {
  background: #f1f5f9 !important;
  color: var(--text-dim) !important;
  border-color: #e2e8f0 !important;
}

body.light-theme .report-modal-content {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

body.light-theme .suggestion-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.top-performer-views {
  font-size: 11px;
  color: #fff;
  opacity: 0.8;
  font-weight: 700;
  margin-top: 4px;
}

body.light-theme .top-performer-views {
  color: var(--accent2) !important;
  opacity: 1 !important;
}

body.light-theme .theme-toggle-btn,
body.light-theme .btn-secondary {
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: var(--text) !important;
}

body.light-theme::before {
  background: 
    radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, #f8fafc 0px, transparent 80%) !important;
}

body.light-theme #view-landing {
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.05), transparent 70%) !important;
}

body.light-theme section div[style*="rgba(239, 68, 68, 0.02)"] {
  background: #ffffff !important;
  border-color: rgba(239, 68, 68, 0.15) !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.04) !important;
}

body.light-theme .bridge-step {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

body.light-theme .bridge-step:hover {
  background: rgba(168, 85, 247, 0.03) !important;
  border-color: var(--accent2) !important;
}

body.light-theme .bridge-step-num {
  background: var(--accent2) !important;
  color: #ffffff !important;
}

body.light-theme .case-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .case-metric-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

body.light-theme .case-metric-box.active {
  background: rgba(16, 185, 129, 0.04) !important;
  border-color: var(--green) !important;
}

body.light-theme .case-metric-val {
  color: #0f172a !important;
}

body.light-theme .case-metric-box.active .case-metric-val {
  color: var(--green) !important;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Modern Mesh Gradient & Noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(6, 6, 10, 1) 0px, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.hidden { display: none !important; }

/* ─── APP WRAPPER ─── */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: var(--sidebar-w);
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  transition: var(--transition);
  overflow: hidden;
}

.sidebar.collapsed {
  width: 80px;
}

#sidebar-edge-toggle {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--accent2);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  z-index: 2000; /* Header'dan yüksek olmalı */
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.sidebar.collapsed #sidebar-edge-toggle {
  transform: translateY(-50%) rotate(180deg);
}

/* Global Pointer Forces */
a, button, select, [role="button"], .nav-item, .demo-card, .btn-analiz, [onclick], .copy-btn, .dot, .seo-info-tooltip, .btn-copy-clip {
  cursor: pointer !important;
}

input, textarea {
  cursor: auto !important;
}

* {
  cursor: inherit;
}

body {
  cursor: auto;
}

.sidebar.collapsed .sidebar-logo span,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .sidebar-footer div > div,
.sidebar.collapsed .sidebar-nav div[style*="text-transform: uppercase"] {
  display: none !important;
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  margin: 8px 12px;
}

.sidebar-header { padding: 32px 24px; }
.sidebar-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-family: 'Outfit'; font-size: 20px; }

.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px;
  color: var(--text-muted); font-size: 14px; margin: 2px 12px; cursor: pointer; transition: var(--transition);
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-item.active { color: #fff; background: rgba(168, 85, 247, 0.1); border: 1px solid rgba(168, 85, 247, 0.2); }
.nav-item svg { width: 22px; height: 22px; transition: var(--transition); }

.logo-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.recent-channels-nav {
  margin-top: 40px;
  padding: 0 16px;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.user-pill-small {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.user-initial {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-info-small {
  overflow: hidden;
}

.user-name-small {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-meta-small {
  font-size: 11px;
  color: var(--text-dim);
}

/* ─── MAIN CONTAINER ─── */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  transition: var(--transition);
  height: 100vh;
  position: relative;
  background: var(--bg);
  overflow-x: hidden !important;
}

/* Sidebar Margin - Only when active */
body.sidebar-active .main-container {
  margin-left: var(--sidebar-w);
}

body.sidebar-active .sidebar.collapsed + .main-container {
  margin-left: 80px;
}

#main-content-flow {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Hide scrollbar when on landing */
body:not(.sidebar-active) .main-container {
  overflow: hidden !important;
}
body:not(.sidebar-active) #main-content-flow {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

@media (max-width: 1366px) {
  :root { --sidebar-w: 240px; }
  .dashboard-grid { grid-template-columns: 1fr !important; }
  .setup-card { padding: clamp(20px, 3.5vh, 40px); }
  .setup-wrapper { gap: clamp(20px, 4vh, 60px); }
}

/* Mobil için dikey düzeni saklıyoruz */
@media (max-width: 1024px) {
  .setup-wrapper { flex-direction: column; text-align: center; gap: 30px; }
  .setup-brand { text-align: center; }
  body.sidebar-active .main-container { margin-left: 80px; }
}

@media (max-width: 768px) {
  .main-container { margin-left: 0; padding-bottom: 80px; padding: 0 !important;
      padding: 0 !important;
    }
    #main-content-flow {
      padding: 10px 6px !important;
     }
}

/* ─── LANDING VIEW ─── */
#view-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  width: 100%;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15), transparent 70%);
  position: relative;
  gap: 32px;
}

/* ─── HERO FULL-WIDTH TWO-COLUMN LAYOUT ─── */
.hero-fullwidth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stack on tablet/mobile */
@media (max-width: 900px) {
  .hero-fullwidth {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 16px 20px;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  .hero-right {
    width: 100%;
  }
}

/* Legacy setup-card / setup-body kept for app view compatibility */
.setup-card {
  width: 100%;
  max-width: clamp(320px, 95vw, 1180px);
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(50px) saturate(180%);
  -webkit-backdrop-filter: blur(50px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  padding: 0;
  box-shadow: 
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(109, 40, 217, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ensure full scrollability on mobile */
@media (max-width: 1024px) {
  .setup-card {
    max-height: none;
    height: auto;
    margin: 20px 0;
  }
}

.setup-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(20px, 3vh, 40px) clamp(20px, 3vw, 40px);
}

/* Dikeyde dar ekranlar için ölçeklendirme */
@media (max-height: 700px) {
  .brand-logo { max-height: 22vh; margin-bottom: 12px; }
  .brand-title { font-size: 28px; }
  .brand-desc { font-size: 13px; line-height: 1.4; margin-bottom: 15px; }
  .setup-card { border-radius: 24px; }
  .setup-actions { padding: 20px; }
  .landing-section { margin-bottom: 20px; }
}

/* Cam Efekti Yansıması */
.setup-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  transition: 0.5s;
}
.setup-card:hover::before { left: 100%; }

.setup-wrapper {
  display: flex;
  gap: clamp(20px, 5vh, 80px);
  align-items: center;
  justify-content: space-between;
}

.setup-brand {
  flex: 1;
  text-align: left;
}

.brand-logo {
  width: 100%;
  max-width: clamp(140px, 15vw, 320px);
  max-height: 30vh;
  height: auto;
  object-fit: contain;
  margin-bottom: clamp(10px, 2vh, 24px);
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.brand-title {
  font-family: 'Outfit';
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.brand-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.setup-actions {
  flex: 1.2;
  background: rgba(255,255,255,0.02);
  padding: clamp(15px, 2vh, 30px);
  border-radius: 24px;
  border: 1px solid var(--border);
}

/* ─── LANDING SECTIONS ─── */
.landing-section {
  margin-bottom: 32px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}

.input-group input {
  margin-bottom: 0;
  flex: 1;

    padding-right: 60px !important;}

.btn-analiz {
  width: auto;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent2), var(--accent));@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-report-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ai-report-card:hover {
    transform: scale(1.02) !important;
    border-color: var(--accent2) !important;
}
  color: #fff;
  padding: clamp(10px, 1.2vh, 14px) clamp(16px, 2vw, 28px);
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 15px);
  border: none;
  cursor: pointer !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-analiz::after {
  content: "";
  position: absolute;
  top: -50%; left: -60%;
  width: 20%; height: 200%;
  background: rgba(255,255,255,0.4);
  transform: rotate(30deg);
  transition: 0.5s;
  opacity: 0;
}

.btn-analiz:hover::after {
  left: 120%;
  opacity: 1;
}

.btn-analiz:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

/* ─── BASE LANDING (WILL BE OVERRIDDEN BY MEDIA QUERIES AT END) ─── */
.landing-view-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.setup-card {
  max-width: 1100px;
  width: 100%;
  border-radius: 40px;
  background: var(--surface);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border);
  margin: auto;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
}

.setup-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(20px, 3vh, 40px) clamp(20px, 3vw, 40px);
}

.separator {
  position: relative;
  text-align: center;
  margin: 32px 0;
}

.separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.separator span {
  position: relative;
  background: #121217;
  padding: 0 16px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}

.demo-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.demo-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.demo-content {
  text-align: center;
}

.demo-title {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.demo-desc {
  font-size: 12px;
  color: var(--text-dim);
}

.pro-card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 20px;
  padding: 24px;
}

.btn-aktive {
  width: auto;
  background: #6d28d9;
  color: #fff;
  padding: clamp(10px, 1.2vh, 14px) clamp(16px, 2vw, 24px);
  border-radius: 12px;
  font-weight: 600;
  font-size: clamp(13px, 1.1vw, 15px);
}

.landing-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-dim);
}

.landing-footer a {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.landing-footer a:hover {
  text-decoration: underline;
}

.setup-logo h1 { font-family: 'Outfit'; font-size: 32px; background: linear-gradient(135deg, #fff, #a855f7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.app-wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.main-view {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
}

.app-header {
  padding: 16px 40px;
  background: rgba(6, 6, 12, 0.4);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header-platform-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.hdr-toggle-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 1px;
}

.hdr-toggle-btn.active {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.hdr-toggle-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.search-container {
  flex: 1;
  max-width: 600px;
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px;
  transition: var(--transition);
}

.search-container:focus-within {
  border-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.search-container input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 18px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

#server-status-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  white-space: nowrap;
}

/* Sidebar Overlay */
#sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#sidebar-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Hamburger Menu Button */
#mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s;
}

#mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

#view-app {
  width: 100%;
  max-width: 100%;
  padding: 0 24px 40px;
  box-sizing: border-box;
}

/* Hard isolation for views */
#view-landing.hidden, #view-app.hidden, #view-planner.hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ─── CHANNEL HERO ─── */
.channel-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
}

.hero-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
}

.channel-avatar {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  border: 4px solid var(--surface);
  position: relative;
  z-index: 2;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.avatar-glow {
  position: absolute;
  inset: -15px;
  background: var(--accent2);
  filter: blur(40px);
  opacity: 0.2;
  border-radius: 50%;
  z-index: 1;
}

.hero-info h2 {
  font-family: 'Outfit';
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stats-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: var(--transition);
}

.stat-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent2);
}

/* ─── DASHBOARD GRID MODERN ─── */
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.dashboard-main-col, .dashboard-side-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1600px) {
  .dashboard-grid {
    flex-direction: row;
    align-items: start;
  }
  .dashboard-main-col { flex: 1; }
  .dashboard-side-col { width: 400px; flex-shrink: 0; }
}

.card {
  background: var(--surface);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 36px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover { border-color: var(--accent2); box-shadow: 0 40px 80px rgba(0,0,0,0.5); }

.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ─── TABLES ─── */
.video-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.video-table { 
  width: 100%; 
  border-collapse: collapse; 
  text-align: left;
  min-width: 500px;
}
.video-table th { padding: 12px 16px; font-size: 11px; color: var(--text-dim); text-transform: uppercase; border-bottom: 1px solid var(--border); }
.video-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 14px; }

/* ─── STATS PILLS ─── */
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.04);
  padding: 8px 16px; border-radius: 30px; border: 1px solid var(--border); font-size: 13px; font-weight: 600;
}

/* ─── UTILS ─── */
.btn-primary {
  width: 100%; background: #fff; color: #000; border: none; padding: 14px; border-radius: 10px;
  font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
}

input, textarea, select {
  width: 100%; 
  background: rgba(0,0,0,0.3); 
  border: 1px solid var(--border);
  padding: 14px; 
  border-radius: 10px; 
  color: #fff; 
  margin-bottom: 20px; 
  font-family: inherit;
  font-size: 16px; /* Prevents auto-zoom on iOS */
}

.seo-pill { padding: 4px 10px; border-radius: 6px; font-weight: 800; font-size: 11px; }
.seo-great { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.seo-good { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.seo-low { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

body.light-theme .seo-great { color: #15803d; background: rgba(21, 128, 61, 0.1); }
body.light-theme .seo-good { color: #b45309; background: rgba(180, 83, 9, 0.1); }
body.light-theme .seo-low { color: #b91c1c; background: rgba(185, 28, 28, 0.1); }

/* Modal */
.report-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px);
  display: none; align-items: center; justify-content: center; z-index: 2000;
}
.report-modal-overlay.active { display: flex; }
.report-modal-content {
  background: var(--surface);
  width: 95%;
  max-width: 1400px;
  height: 90vh;
  border-radius: 40px;
  padding: 50px;
  position: relative;
  border: 1px solid var(--border);
  backdrop-filter: blur(40px);
  overflow-y: auto;
  transition: var(--transition);
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

#view-planner {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
  width: 100%;
}

/* Planner Specific Styles */
#view-planner {
  padding: 30px 40px;
  height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 3000;
  overflow-y: auto !important;
}

@media (max-width: 768px) {
  #view-planner {
    padding: 20px 15px;
  }
}

.wizard-step h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 15px;
  font-family: 'Outfit';
}

.wizard-step p {
  color: var(--text-dim);
  margin-bottom: 30px;
  font-size: 14px;
}

.planner-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  max-height: 50vh;
  overflow-y: auto;
  padding-right: 10px;
}

@media (max-width: 480px) {
  .planner-categories-grid {
    grid-template-columns: 1fr;
  }
}

.category-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px 25px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 15px;
}

.category-btn:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: var(--accent2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.category-label {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit';
  line-height: 1.2;
}

.planner-textarea {
  width: 100%;
  height: 150px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 30px;
  outline: none;
  font-family: inherit;
}

.planner-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 480px) {
  .planner-actions {
    flex-direction: column-reverse;
  }
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  width: auto;
  padding: 0 40px;
  height: 54px;
  font-size: 15px;
  color: var(--text);
}

.btn-primary-planner {
  flex: 1;
  padding: 0 40px;
  height: 54px;
  font-size: 15px;
  color: #fff;
}

.planner-result-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(30px, 6vw, 60px);
}

@media (max-width: 768px) {
  .planner-result-card {
    padding: 24px;
    border-radius: 24px;
  }
}

.result-header {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.result-section {
  margin-bottom: 40px;
}

.result-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.result-badge {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent2);
  text-transform: uppercase;
}

.result-content-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.4;
  background: rgba(0, 240, 255, 0.03);
  padding: 20px;
  border-radius: 16px;
}

.result-content-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 16px;
}

.btn-full {
  margin-top: 40px;
  width: 100%;
  height: 60px;
  font-size: 18px;
}

@media (max-width: 480px) {
  .result-content-title { font-size: 18px; padding: 15px; }
  .result-header { font-size: 20px; }
}

.report-modal-content::-webkit-scrollbar { width: 6px; }
.report-modal-content::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 10px; }

/* Report Content Styles */
.report-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.report-section:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.3);
}

.report-title-badge {
  color: var(--accent2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ─── ADAPTIVE PREMIUM REPORT GRID ─── */
.report-grid {
  display: grid;
  /* Akışkan Izgara: Her ekranda en uygun sütun sayısını otomatik belirler */
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 100%, 600px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  width: 100%;
  margin-top: clamp(20px, 4vh, 40px);
}

@media (max-width: 1100px) {
  /* Geniş tabletlerde de sütun geçişlerini optimize et */
  .report-grid { gap: 24px; }
}

.report-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.3);
}

.report-section:hover {
  border-color: var(--accent2);
  transform: scale(1.005);
}

.report-section-header {
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  color: #fff;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.report-card-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Compact Internal Split (Desktop) */
.report-internal-split {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.report-split-side {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.report-split-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.report-box-neutral {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: 16px;
}

.report-box-highlight {
  background: rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.2);
  padding: 16px 20px;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .report-internal-split { flex-direction: column; }
  .report-split-side { flex: none; }
}

@media (max-width: 600px) {
  .report-section-header { font-size: 12px; padding: 10px 20px; }
  .report-section { border-radius: 20px; }
  .report-card-content { padding: 15px; gap: 15px; }
}


/* ─── MODAL REFRESH & RESPONSIVENESS ─── */
.report-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(15px);
  z-index: 20000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.report-modal-overlay.active, .report-modal-overlay.open { opacity: 1; visibility: visible; pointer-events: all; }

.report-modal-content {
  background: var(--bg); border: 1px solid var(--border); border-radius: 32px;
  width: 95%; max-width: 1400px; max-height: 90vh; overflow-y: auto; padding: clamp(20px, 4vw, 40px);
  position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  transform: translateY(30px); transition: all 0.4s ease;
}

/* REPORTS FULL PAGE POLISH */
.reports-full-canvas {
  width: 100%;
  margin: 0;
  padding: clamp(15px, 3vw, 40px) clamp(15px, 4vw, 60px);
  min-height: 100vh;
}

.report-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(20px, 5vh, 40px);
}

@media (max-width: 768px) {
  .report-header-flex { flex-direction: column; align-items: flex-start; }
  .report-header-flex button { width: 100%; margin-top: 10px; }
}
.report-modal-overlay.active .report-modal-content { transform: translateY(0); }

@media (max-width: 768px) {
  .report-modal-content {
    width: 100%; height: 100%; max-height: 100vh; border-radius: 0; padding: 40px 20px;
    margin: 0; position: relative;
  }
  
  /* Mobil Kapatma Butonu Sabitleme */
  .mobile-modal-close-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20005 !important;
    cursor: pointer !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  }
  
  /* Paywall specific mobile styling - centered card */
  .modal-paywall {
    height: auto !important;
    max-height: 90vh !important;
    width: 92% !important;
    margin: auto !important;
    border-radius: 40px !important;
    padding: 60px 24px 40px !important; /* X butonu için yer açıldı */
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8) !important;
    position: relative !important;
  }

  .modal-paywall h2, .modal-paywall p {
    text-align: center !important;
  }

  .report-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .report-section { padding: 20px !important; margin-bottom: 20px !important; border-radius: 20px !important; }
}

/* ─── VIDEO TABLE INTERACTION ─── */
.video-row {
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  pointer-events: auto !important;
  user-select: none;
}
.video-row:hover {
  background: rgba(168, 85, 247, 0.05) !important;
}
.video-row:active {
  transform: scale(0.99);
}

.report-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
}

.suggestion-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.report-section {
  position: relative;
  overflow: hidden;
}

.report-section::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 150px; height: 150px;
  background: radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.05), transparent 70%);
  pointer-events: none;
}

/* Channel Hero */
.channel-hero {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0,0,0,0));
  border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; gap: 32px; align-items: center;
}
.channel-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--border); }

/* ─── RESPONSIVENESS ─── */
@media (max-width: 1024px) {
  :root { --sidebar-w: 80px; }
  .sidebar-logo span, .nav-item span, .sidebar-header span { display: none; }
  .nav-item { justify-content: center; padding: 12px; }
  .nav-item svg { margin: 0; width: 22px; height: 22px; }
  .sidebar-footer, .sidebar-logo { display: none; }
  #sidebar-edge-toggle { display: none !important; }
}

@media (max-width: 768px) {
  .app-wrapper { flex-direction: column; }
  
  #mobile-menu-btn { display: flex; align-items: center; justify-content: center; }

  .sidebar {
    width: 280px !important;
    height: 100vh;
    position: fixed;
    left: -280px;
    top: 0;
    bottom: auto;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    border-right: 1px solid var(--border);
    border-top: none;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(40px);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar.mobile-open {
    transform: translateX(280px);
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
  }

  .sidebar.hidden { display: none !important; }

  /* Restore sidebar elements visibility on mobile drawer */
  .sidebar-header, .sidebar-footer, .sidebar-logo { display: block; }
  .sidebar-nav { 
    display: flex;
    flex-direction: column; 
    width: 100%; 
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 20px !important;
  }

  .nav-item { 
    margin: 2px 12px;
    padding: 12px 16px;
    flex-direction: row;
    gap: 12px;
    border-radius: 8px;
    background: transparent;
    justify-content: flex-start;
  }

  .nav-item span { 
    display: block !important; 
    font-size: 14px; 
    font-weight: 500;
  }

  .nav-item.active { 
    background: rgba(168, 85, 247, 0.1) !important;
    color: #fff;
    border: 1px solid rgba(168, 85, 247, 0.2);
  }

  .nav-item.hidden { display: none !important; }

  .nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .recent-channels-nav {
    display: block;
    margin-top: 30px;
  }

  .nav-label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--text-muted) !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 16px 15px 16px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* SIDEBAR WIDGETS (V7 Polish) */
  .sidebar-widget-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 0 12px 10px 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sidebar-widget-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
  }
  .widget-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    margin-top: 6px;
    color: var(--text-dim);
  }
  .widget-value { color: #fff; font-weight: 700; }
  
  .sidebar-rec-item {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-dim);
    border-left: 2px solid var(--accent2);
    padding: 4px 0 4px 12px;
    margin: 0 12px 15px 16px;
    white-space: normal;
    word-break: break-word;
  }
  .sidebar-rec-item b {
    color: #fff;
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    opacity: 0.8;
  }

  .sidebar-btn-mini {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent2);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
  }
  .sidebar-btn-mini:hover {
    background: var(--accent2);
    color: #fff;
  }

  .main-container {
    margin-left: 0 !important;
    padding-bottom: 0 !important;
    height: auto;
    min-height: 100vh;
  }
  
  body.sidebar-active .main-container {
    padding-bottom: 0;
  }
  
  .view-content, .app-header { padding: 15px; }
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; }
  #server-status-pill { display: none; } /* Hide on mobile to save space */

  .search-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    gap: 12px;
    padding: 8px;
    margin: 0;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
  }

  .search-container input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 56px;
    width: 100% !important;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .search-container input:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: var(--accent2);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
  }

  .search-container input::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }

  .search-container .btn-analiz {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .channel-hero { 
    flex-direction: column; 
    text-align: center; 
    gap: 20px; 
    padding: 30px 15px;
  }
  .hero-info h2 { font-size: 24px; }
  .stats-group { justify-content: center; }
  .stat-pill { font-size: 12px; padding: 6px 12px; }
  
  .card { padding: 16px; border-radius: 20px; }
  #view-app { padding: 0 8px 100px; }
  .view-content, .app-header { padding: 10px 5px; }
  .container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 !important; }
  .dashboard-grid { width: 100%; margin: 0; }
  .channel-hero { padding: 24px 16px !important; }
}
  
@media (max-width: 1100px) {
  .setup-card { max-width: 900px; padding: 40px; }
  .setup-wrapper { gap: 40px; }
}

@media (max-width: 1024px) {
  .setup-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 4px !important;
    width: 100% !important;
    max-width: 100% !important;}
  .setup-wrapper { flex-direction: column; gap: 32px; text-align: center; }
  .setup-brand { text-align: center; }
  .brand-logo { max-width: 240px; margin-left: auto; margin-right: auto; }
  .setup-actions { padding: 0; width: 100% !important; max-width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding: 12px !important; }
  
  /* Plan kartlarını dikey yap */
  .grid-layout { grid-template-columns: 1fr !important; }
  
  /* Modals & Planner Full Width */
  .report-modal-content { width: 100% !important; height: 100vh !important; border-radius: 0 !important; padding: 30px 15px !important; }
  #view-planner { padding: 20px 10px !important; }
}

@media (max-width: 480px) {
  .brand-title { font-size: 28px; }
  .setup-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 4px !important;
    width: 100% !important;
    max-width: 100% !important;}
  .input-group { flex-direction: column; gap: 12px; }
  .btn-analiz { width: 100%; padding: 16px; text-align: center; justify-content: center; }
}

/* ─── TABLES ─── */
.video-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ─── TOAST NOTIFICATION ─── */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--accent2); color: #fff; padding: 12px 24px; border-radius: 12px;
  font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 9999; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.active { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error-active { 
  transform: translateX(-50%) translateY(0); 
  opacity: 1; 
  background: rgba(220, 38, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.copy-btn:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--accent2);
  color: #fff;
}

.copy-btn.success {
  background: #22c55e !important;
  color: #fff !important;
  border-color: #16a34a !important;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.copy-btn.success {
  background: #22c55e !important;
  color: white !important;
  border-color: #22c55e !important;
}

/* ─── PASSWORD VISIBILITY TOGGLE ─── */
.pass-wrapper {
  position: relative;
  width: 100%;
}

.pass-wrapper input {
  padding-right: 48px;
  margin-bottom: 0px !important;
}

.toggle-pass-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  padding: 4px;
  transition: color 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-pass-btn:hover {
  color: var(--accent2);
}

/* ─── SALES CTA CARD ─── */
.buy-cta-card {
  margin-top: 24px;
  padding: 24px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.cta-text {
  font-size: 14px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
  opacity: 0.9;
}

.btn-buy-now {
  width: 100%;
  background: linear-gradient(90deg, #6221c9, #a855f7, #6221c9);
  background-size: 200% auto;
  color: #fff;
  padding: clamp(14px, 2vh, 18px) 20px;
  border-radius: 16px;
  border: none;
  font-weight: 800;
  font-size: clamp(14px, 1.2vw, 16px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: shine-move 3s linear infinite, pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(109, 40, 217, 0.3);
}

.btn-buy-now span {
  position: relative;
  z-index: 1;
}

.btn-buy-now:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
}

@keyframes shine-move {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
  50% { box-shadow: 0 0 35px rgba(168, 85, 247, 0.5); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.lab-simulation-badge {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
  color: #000;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
}

.growth-bar-container {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}

.growth-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
  transition: width 1s ease-out;
}


.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.dashboard-main-col, .dashboard-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1400px) {
  .dashboard-grid {
    grid-template-columns: 1fr 340px;
    gap: 30px;
  }
}

.video-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  scrollbar-width: none; /* Hide scrollbar for cleaner look */
}

.video-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.video-table th, .video-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.video-table td:first-child {
  max-width: 400px;
  padding: 15px 12px;
}

.video-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  word-wrap: break-word;
  white-space: normal !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── GLOBAL UTILITIES ─── */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-title {
  font-family: 'Outfit';
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #fff, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.responsive-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* Phase 9 Edge-to-Edge Mobile Layout */
  @media (max-width: 768px) {
    /* Modal Global Full Width Fix */
    .report-modal-content {
      width: 100% !important;
      max-width: 100vw !important;
      margin: 0 !important;
      border-radius: 24px 24px 0 0 !important;
      min-height: 80vh !important;
      padding: 20px 12px !important;
      position: fixed !important;
      bottom: 0 !important;
    }

    /* Dashboard & App Views Full Width */
    #view-app, .view-section {
      padding: 0 !important;
      width: 100% !important;
    }
    .stat-card {
      margin: 8px 0 !important;
      width: 100% !important;
    }
    
    /* Planner Wizard Fix (Overriding inline styles) */
    #planner-wizard {
      padding: 20px 12px !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      border-radius: 20px !important;
    }

    /* Root container: Remove all side padding to allow components to touch edges */
    #view-landing.landing-view-container:not(.hidden) {
      padding: 10px 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: flex-start !important;
      min-height: auto !important; /* Changed from 100vh to prevent ghost gaps */
    }

    /* The Main Wrapper/Card: Set to 100% width with NO margins */
    #view-landing .setup-card {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
    }

    /* The Body: Force Vertical Stack and ensure internal elements use full width */
    #view-landing .setup-body {
      display: flex !important;
      flex-direction: column !important;
      width: 100% !important;
      padding: 0 !important;
      gap: 0 !important;
    }

    /* Components: Brand and Actions must fill the parent */
    #view-landing .setup-brand,
    #view-landing .setup-actions {
      width: 100% !important;
      max-width: 100% !important;
      padding: 15px !important;
      margin: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      box-sizing: border-box !important;
    }

    /* Internal Cards (Red Boxes in user feedback): EDGE TO EDGE */
    #view-landing .pro-card,
    #view-landing .demo-card,
    #view-landing .buy-cta-card {
      width: 100% !important;
      max-width: 100% !important;
      margin: 10px 0 !important;
      padding: 24px 15px !important;
      background: rgba(25, 25, 35, 0.8) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 24px !important;
      box-sizing: border-box !important;
    }

    /* Text & Logo Scaling */
    #view-landing .brand-logo { max-width: 160px !important; margin: 0 auto 15px !important; }
    #view-landing .brand-title { font-size: clamp(24px, 8vw, 30px) !important; text-align: center !important; }
    #view-landing .brand-desc { font-size: 14px !important; text-align: center !important; padding: 0 5px !important; margin-bottom: 20px !important; }

    /* Activation Zone Fix */
    #license-key-input {
      padding-right: 60px !important;
      min-height: 56px !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    #view-landing .activation-zone #license-activate-btn,
    #view-landing .btn-buy-now {
      width: 100% !important;
      min-height: 54px !important;
      font-size: 16px !important;
    }

    /* REMOVE TOP SPACE ON MOBILE */
    #view-landing {
      padding: 10px 5px !important; /* Minimal page padding */
      align-items: flex-start !important; /* Start from top instead of centering */
      min-height: auto !important;
    }
    
    #view-landing .setup-card {
      padding: 5px !important; /* Card internal padding reduced */
      margin-top: 0 !important;
      border-radius: 20px !important;
    }
    
    #view-landing .setup-body {
      display: flex !important;
      flex-direction: column !important;
      gap: 15px !important;
      padding: 10px !important; /* Reduced from 70px */
    }

    #view-landing .brand-logo {
      max-height: 100px !important; /* Smaller logo */
      margin-bottom: 5px !important;
    }

    #view-landing .brand-desc {
      margin-bottom: 10px !important;
      font-size: 13px !important;
    }

    .lang-floating { right: 8px !important; bottom: 8px !important; }

    .app-header {
      padding: 10px 15px !important; /* Düşük padding */
    }

    .header-inner {
      gap: 15px !important;
    }

    /* Dashboard content normalization */
    .container {
      padding-top: 0 !important;
    }
  }

  /* ─── VIDEO TABLE MOBILE CARD RE-LAYOUT (V11) ─── */
@media (max-width: 768px) {
  .video-table-wrapper {
    overflow-x: hidden !important;
    padding: 5px;
  }
  .video-table thead {
    display: none;
  }
  .video-table, .video-table tbody, .video-table tr {
    display: block;
    width: 100%;
  }
  .video-table tr {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    margin-bottom: 16px;
    padding: 16px;
    box-sizing: border-box;
    transition: transform 0.2s;
  }
  .video-table tr:active {
    transform: scale(0.98);
    background: rgba(255,255,255,0.05);
  }
  .video-table td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
  }
  .v-info {
    margin-bottom: 14px;
    display: flex !important;
    align-items: flex-start !important;
  }
  .v-info img {
    width: 60px !important;
    height: 45px !important;
    border-radius: 10px !important;
  }
  .video-title {
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
  }
  
  /* Stats Row in the Card */
  .v-views, .v-seo {
    display: inline-flex !important;
    width: auto !important;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    margin-top: 0;
  }
  .v-views { 
    margin-right: 20px;
    font-weight: 800 !important;
    color: #fff !important;
  }
  .v-views::before {
    content: '📊';
    font-size: 14px;
  }
  .v-seo::before {
    content: '🛡️ SEO:';
    color: var(--text-dim);
    font-weight: 400;
    margin-right: 4px;
    font-size: 11px;
  }
  .v-seo .seo-pill {
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
  }
}

/* ─── WELCOME SCREEN (MODERN START) ─── */
.welcome-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  min-height: calc(100vh - 180px);
  text-align: center;
  animation: fadeInWelcome 0.8s ease-out;
}

.welcome-icon {
  font-size: 80px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
  animation: bounceSlow 4s ease-in-out infinite;
}

.welcome-title {
  font-family: "Outfit";
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.welcome-desc {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--text-dim);
  max-width: 550px;
  margin-bottom: 45px;
  line-height: 1.7;
}

.welcome-search-large {
  display: flex;
  width: 100%;
  max-width: 750px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
}

.welcome-search-large:focus-within {
  border-color: var(--accent2);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 50px 100px -20px rgba(124, 58, 237, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

.welcome-search-large input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 30px;
  font-size: 20px;
  color: #fff;
  margin: 0 !important;
  font-family: inherit;
}

.welcome-search-large input:focus {
  outline: none;
}

.welcome-search-large .btn-analiz {
  padding: 0 45px;
  height: auto;
  font-size: 18px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.hide-header-search .app-header .search-container {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

@keyframes fadeInWelcome {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
  .welcome-container { padding: 10px 20px; min-height: auto; }
  .welcome-search-large { flex-direction: column; gap: 15px; padding: 15px; border-radius: 28px; }
  .welcome-search-large input { border-radius: 16px; background: rgba(0,0,0,0.2); height: 60px; font-size: 16px; }
  .welcome-search-large .btn-analiz { width: 100%; height: 60px; font-size: 16px; }
}

/* ─── FLOATING LANG SWITCHER (V3.3 - PRO) ─── */
.lang-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  align-items: center;
  background: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(168, 85, 247, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--accent2);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

html[lang="en"] .lang-slider {
  transform: translateX(100%);
}

.lang-floating button {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: var(--text-dim) !important;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 50px;
  text-align: center;
}

.lang-floating button:hover {
  color: #fff !important;
}

/* Active Language Style */
html[lang="tr"] .lang-floating button:nth-child(2),
html[lang="en"] .lang-floating button:nth-child(3) {
  color: #fff !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .lang-floating {
    bottom: 15px;
    right: 15px;
    padding: 3px;
    border-radius: 14px;
  }
  .lang-floating button {
    padding: 6px 12px;
    width: 44px;
  }
  .lang-slider {
    border-radius: 11px;
  }
}


/*  AI CONTENT PLANNER (RE-IMPLEMENTED)  */
#view-planner {
  padding: clamp(20px, 4vw, 40px);
}

.wizard-step {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.planner-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 20vw, 350px), 1fr));
  gap: clamp(15px, 2vw, 30px);
  margin-top: 50px;
  width: 100%;
}

.category-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px 25px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  gap: 15px;
}

.category-btn:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--accent2);
  transform: translateY(-4px);
}

.category-label {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit';
  line-height: 1.2;
}

.planner-textarea {
  width: 100%;
  height: 150px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  margin: 24px 0;
  resize: vertical;
}

.planner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.planner-result-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(30px, 6vw, 60px);
}
@media (min-width: 769px) { .video-actions-inline a { opacity: 0.6; transition: all 0.2s; } .video-actions-inline a:hover { opacity: 1; transform: scale(1.05); } }

/* ─── SITE FOOTER ─── */
.site-footer {
  width: 100%;
  padding: 40px 20px;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent2);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 30px 20px 100px; /* Mobile bottom nav padding */
  }
  .footer-links {
    gap: 20px;
  }
}

/* ─── REDESIGN HERO SEARCH & MODAL STYLES ─── */

.hero-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 30px 0;
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(168, 85, 247, 0.05);
  transition: all 0.3s ease;
}

.hero-search-wrapper:focus-within {
  border-color: var(--accent2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
}

.hero-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fff !important;
  font-size: 16px;
  padding: 12px 20px;
  min-width: 0;
}

body.light-theme .hero-search-input {
  color: var(--text) !important;
}

body.light-theme .hero-search-wrapper {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-search-btn {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0 28px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

/* Platform selector in Hero */
.hero-platform-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 25px;
  width: fit-content;
}

body.light-theme .hero-platform-selector {
  background: #f1f5f9;
  border-color: rgba(0,0,0,0.08);
}

.hero-platform-btn {
  background: transparent;
  border: none;
  color: var(--text-dim) !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.hero-platform-btn.active[data-platform="youtube"] {
  background: rgba(255, 0, 0, 0.15);
  color: #ff3333 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.1);
}

.hero-platform-btn.active[data-platform="instagram"] {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c !important;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.1);
}

body.light-theme .hero-platform-btn.active[data-platform="youtube"] {
  background: #fee2e2;
  color: #dc2626 !important;
}

body.light-theme .hero-platform-btn.active[data-platform="instagram"] {
  background: #fdf2f8;
  color: #db2777 !important;
}

/* Features Section */
.features-section {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 20px;
}

.features-section-title {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fff, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .features-section-title {
  background: linear-gradient(135deg, #0f172a, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-search-wrapper {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .hero-search-input {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
    padding: 16px 20px;
  }
  body.light-theme .hero-search-input {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important;
  }
  .hero-search-btn {
    height: 56px;
    justify-content: center;
    width: 100%;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

body.light-theme .feature-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent2);
}

.feature-card-title {
  font-family: 'Outfit';
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* License Key Modal */
.license-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.license-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.license-modal-content {
  background: linear-gradient(135deg, #0e0e13 0%, #06060a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.light-theme .license-modal-content {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.license-modal-overlay.active .license-modal-content {
  transform: scale(1);
}

.license-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-dim) !important;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

.license-close-btn:hover {
  color: #fff !important;
}

body.light-theme .license-close-btn:hover {
  color: #000 !important;
}

/* Plans features list styling */
.plan-features-list {
  width: 100%;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  text-align: left;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.plan-feature-item i {
  color: var(--green);
  font-size: 12px;
}

.trust-badges-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  width: 100%;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  opacity: 0.8;
}

.trust-badge i {
  color: var(--accent2);
}

/* Custom premium scrollbar for landing page */
#view-landing::-webkit-scrollbar {
  width: 6px;
}
#view-landing::-webkit-scrollbar-track {
  background: transparent;
}
#view-landing::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
#view-landing::-webkit-scrollbar-thumb:hover {
  background: var(--accent2);
}

/* Global scrollbar style for all views */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.6);
}

/* Media query to stack setup-body on smaller screen resolutions (Tablets & Mobile) */
@media (max-width: 1200px) {
  .setup-body {
    grid-template-columns: 1fr !important;
    padding: 40px 24px !important;
    gap: 40px !important;
    text-align: center !important;
  }
  .setup-brand h1 {
    font-size: 32px !important;
  }
  .hero-search-wrapper {
    margin: 20px auto !important;
  }
  .hero-platform-selector {
    margin: 0 auto 20px auto !important;
  }
  .setup-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }
  .mockup-widget {
    width: 100%;
    max-width: 420px;
  }
}

/* Desktop Single-Screen Compact Layout Optimization */
@media (min-width: 1025px) {
  #view-landing {
    padding: 40px 20px !important;
    gap: 40px !important;
    min-height: 100vh;
    height: auto !important;
    overflow: visible !important;
    justify-content: flex-start !important;
  }
  .landing-header {
    margin-bottom: 20px !important;
  }
  .setup-card {
    margin: 0 auto !important;
    flex: none !important;
    max-height: none !important;
    display: block !important;
    max-width: 1280px !important;
  }
  .setup-body {
    padding: 40px !important;
    gap: 40px !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
  }
  .features-section {
    margin: 40px auto 0 !important;
  }
  .features-section-title {
    font-size: 32px !important;
    margin-bottom: 24px !important;
  }
  .features-grid {
    gap: 24px !important;
  }
  .feature-card {
    padding: 30px !important;
    gap: 16px !important;
  }
  .feature-card-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
  }
  .feature-card-title {
    font-size: 18px !important;
  }
  .feature-card-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .site-footer {
    padding: 30px 20px !important;
    margin-top: 60px !important;
  }
  .footer-content {
    gap: 20px !important;
  }
}

/* ─── COOKIE CONSENT BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  z-index: 10000;
  width: calc(100% - 48px);
  max-width: 650px;
  background: rgba(23, 23, 37, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.cookie-banner.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-banner-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.cookie-banner-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.cookie-btn-accept {
  background: var(--accent2);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #9045e5;
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cookie-btn-details {
  background: transparent;
  color: var(--accent2);
  padding: 10px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.2s;
  border-radius: 12px;
  border: 1px solid transparent;
}

.cookie-btn-details:hover {
  background: rgba(168, 85, 247, 0.05);
  border-color: rgba(168, 85, 247, 0.15);
}

@media (max-width: 576px) {
  .cookie-banner-content {
    padding: 20px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: space-between;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }
  .cookie-btn-details {
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }
}

/* ─── SATALIX SAAS VALUE IMPROVEMENTS ─── */
.compare-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}
.compare-title {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 40px;
}
.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.compare-table th, .compare-table td {
  padding: 20px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
.compare-table td {
  color: var(--text-dim);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}
.compare-val-check {
  color: var(--green);
  font-weight: 800;
}
.compare-val-cross {
  color: var(--red);
  font-weight: 800;
}

/* Audience Grid */
.audience-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}
.audience-title {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 40px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 35px;
  text-align: left;
  transition: var(--transition);
}
.audience-card:hover {
  border-color: var(--accent2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.08);
}
.audience-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.audience-card-title {
  font-family: 'Outfit';
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.audience-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Trust Box */
.trust-badge-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}
.trust-badge-icon {
  font-size: 32px;
  color: var(--green);
  flex-shrink: 0;
}
.trust-badge-text h4 {
  font-family: 'Outfit';
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.trust-badge-text p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .trust-badge-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── SATALIX SAAS VALUE IMPROVEMENTS - PHASE 2 ─── */
/* Hero Live Animation CSS */
.hero-animation-container {
  width: 100%;
  max-width: 480px;
  min-height: 320px;
  background: #0d0d12 !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(168, 85, 247, 0.06);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  box-sizing: border-box;
}

/* Force correct colors for Live AI mockup children in light theme */
body.light-theme .hero-animation-container [style*="color:var(--accent2)"] {
  color: #a855f7 !important;
}
body.light-theme .hero-animation-container [style*="color: var(--accent2)"] {
  color: #a855f7 !important;
}
body.light-theme .hero-animation-container [style*="color:#ff6666"] {
  color: #ff6666 !important;
}
body.light-theme .hero-animation-container [style*="color:var(--text-dim)"] {
  color: #a1a1aa !important;
}
body.light-theme .hero-animation-container [style*="color: var(--text-dim)"] {
  color: #a1a1aa !important;
}
body.light-theme .hero-animation-container [style*="color:#fff"] {
  color: #ffffff !important;
}
body.light-theme .hero-animation-container [style*="color:var(--green)"] {
  color: #10b981 !important;
}
body.light-theme .hero-animation-container [style*="color: var(--green)"] {
  color: #10b981 !important;
}

.anim-line {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
}

.anim-line-1 { animation: animLine1 14s infinite; }
.anim-line-2 { animation: animLine2 14s infinite; }
.anim-line-3 { animation: animLine3 14s infinite; }
.anim-line-4 { animation: animLine4 14s infinite; }

.anim-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
}

.anim-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent2);
  animation: fillProgress 14s infinite;
}

@keyframes animLine1 {
  0% { opacity: 0; transform: translateY(10px); }
  4% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes animLine2 {
  0% { opacity: 0; transform: translateY(10px); }
  21% { opacity: 0; transform: translateY(10px); }
  25% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes animLine3 {
  0% { opacity: 0; transform: translateY(10px); }
  42% { opacity: 0; transform: translateY(10px); }
  46% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes animLine4 {
  0% { opacity: 0; transform: translateY(10px); }
  63% { opacity: 0; transform: translateY(10px); }
  67% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}
@keyframes fillProgress {
  0% { width: 0%; }
  20% { width: 100%; }
  92% { width: 100%; }
  96% { width: 0%; }
  100% { width: 0%; }
}

/* Floating Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  animation: floatOrb 20s infinite alternate ease-in-out;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  top: 5%;
  left: -10%;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--cyan);
  top: 40%;
  right: -15%;
  animation-delay: -5s;
}
@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* Unified Purple Theme for Free Tools */
.free-tools-section .feature-card {
  border-color: rgba(168, 85, 247, 0.15) !important;
  transition: all 0.3s ease;
}
.free-tools-section .feature-card:hover {
  border-color: var(--accent2) !important;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}
.free-tools-section .feature-card-icon {
  background: rgba(168, 85, 247, 0.1) !important;
  color: var(--accent2) !important;
}
.free-tools-section .btn-analiz {
  background: rgba(168, 85, 247, 0.08) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  color: var(--accent2) !important;
}
.free-tools-section .btn-analiz:hover {
  background: var(--accent2) !important;
  color: #fff !important;
}

/* Bridge Section Styles */
.bridge-section {
  max-width: 1280px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}
.bridge-title {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.bridge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 1180px) {
  .bridge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .bridge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .bridge-grid {
    grid-template-columns: 1fr;
  }
}
.bridge-step {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  padding: 30px 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.bridge-step:hover {
  border-color: var(--accent2);
  background: rgba(168, 85, 247, 0.02);
  transform: translateY(-3px);
}
.bridge-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.bridge-step-title {
  font-family: 'Outfit';
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.bridge-step-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Force correct colors for Live AI mockup children in light theme */
body.light-theme .hero-animation-container [style*="color:var(--accent2)"] {
  color: #a855f7 !important;
}
body.light-theme .hero-animation-container [style*="color: var(--accent2)"] {
  color: #a855f7 !important;
}
body.light-theme .hero-animation-container [style*="color:#ff6666"] {
  color: #ff6666 !important;
}
body.light-theme .hero-animation-container [style*="color:var(--text-dim)"] {
  color: #a1a1aa !important;
}
body.light-theme .hero-animation-container [style*="color: var(--text-dim)"] {
  color: #a1a1aa !important;
}
body.light-theme .hero-animation-container [style*="color:#fff"] {
  color: #ffffff !important;
}
body.light-theme .hero-animation-container [style*="color:var(--green)"] {
  color: #10b981 !important;
}
body.light-theme .hero-animation-container [style*="color: var(--green)"] {
  color: #10b981 !important;
}

.anim-line {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
}

.anim-line-1 { animation: animLine1 14s infinite; }
.anim-line-2 { animation: animLine2 14s infinite; }
.anim-line-3 { animation: animLine3 14s infinite; }
.anim-line-4 { animation: animLine4 14s infinite; }

.anim-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
}

.anim-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent2);
  animation: fillProgress 14s infinite;
}

@keyframes animLine1 {
  0% { opacity: 0; transform: translateY(10px); }
  4% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes animLine2 {
  0% { opacity: 0; transform: translateY(10px); }
  21% { opacity: 0; transform: translateY(10px); }
  25% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes animLine3 {
  0% { opacity: 0; transform: translateY(10px); }
  42% { opacity: 0; transform: translateY(10px); }
  46% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes animLine4 {
  0% { opacity: 0; transform: translateY(10px); }
  63% { opacity: 0; transform: translateY(10px); }
  67% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

@keyframes fillProgress {
  0% { width: 0%; }
  20% { width: 100%; }
  92% { width: 100%; }
  96% { width: 0%; }
  100% { width: 0%; }
}

/* Floating Background Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  animation: floatOrb 20s infinite alternate ease-in-out;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent2);
  top: 5%;
  left: -10%;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: var(--cyan);
  top: 40%;
  right: -15%;
  animation-delay: -5s;
}
@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* Unified Purple Theme for Free Tools */
.free-tools-section .feature-card {
  border-color: rgba(168, 85, 247, 0.15) !important;
  transition: all 0.3s ease;
}
.free-tools-section .feature-card:hover {
  border-color: var(--accent2) !important;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}
.free-tools-section .feature-card-icon {
  background: rgba(168, 85, 247, 0.1) !important;
  color: var(--accent2) !important;
}
.free-tools-section .btn-analiz {
  background: rgba(168, 85, 247, 0.08) !important;
  border: 1px solid rgba(168, 85, 247, 0.2) !important;
  color: var(--accent2) !important;
}
.free-tools-section .btn-analiz:hover {
  background: var(--accent2) !important;
  color: #fff !important;
}

/* Bridge Section Styles */
.bridge-section {
  max-width: 1280px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}
.bridge-title {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.bridge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 1180px) {
  .bridge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .bridge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .bridge-grid {
    grid-template-columns: 1fr;
  }
}
.bridge-step {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  padding: 30px 20px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.bridge-step:hover {
  border-color: var(--accent2);
  background: rgba(168, 85, 247, 0.02);
  transform: translateY(-3px);
}
.bridge-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.bridge-step-title {
  font-family: 'Outfit';
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.bridge-step-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Case Study Styles */
.case-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}
.case-title {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.case-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
  display: flex;
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
  backdrop-filter: blur(20px);
}
.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
}
.case-metric-box {
  padding: 18px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  text-align: center;
  min-width: 160px;
}
.case-metric-box.active {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--green);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}
.case-metric-val {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Outfit';
  color: #fff;
}
.case-metric-box.active .case-metric-val {
  color: var(--green);
}
.case-metric-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .case-card {
    flex-direction: column;
    text-align: center;
  }
  .case-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

/* Footer Grid Styles */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 40px;
  width: 100%;
  margin-bottom: 50px;
  text-align: left;
  color: #0f172a !important;
}
.footer-col h4 {
  font-family: 'Outfit';
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}
.footer-col ul li a:hover {
  color: var(--accent2);
}
.footer-col ul li i {
  margin-right: 8px;
  font-size: 14px;
}

/* Equal style for who is it for cards */
.audience-card {
  border-color: var(--border) !important;
  transform: none !important;
  box-shadow: none !important;
}
.audience-card:hover {
  border-color: var(--accent2) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.08) !important;
}

/* --- SEMANTIC COLOR STATUS DECORATORS --- */
.status-success {
  color: var(--green-success) !important;
}
.status-warning {
  color: var(--orange-warning) !important;
}
.status-danger {
  color: var(--red-danger) !important;
}
.status-primary {
  color: var(--accent2) !important;
}

/* --- SOCIAL PROOF STATS GRID --- */
.proof-stats-section h3 {
  color: #ffffff;
}
.proof-stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}
.proof-stat-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
}
.proof-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.proof-stat-card h4 {
  font-family: 'Outfit';
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff, var(--text-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.proof-stat-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  margin: 0;
}
body.light-theme .proof-stat-card {
  background: #ffffff !important;
  border-color: var(--border) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .proof-stat-card h4 {
  background: linear-gradient(135deg, #0f172a, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.light-theme .proof-stats-section h3 {
  color: #0f172a !important;
}

/* --- FOOTER CTA SECTION --- */
.footer-cta-section {
  max-width: 1100px;
  margin: 80px auto 40px;
  padding: 60px 40px;
  border-radius: 32px;
  background: radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.08), transparent 60%),
              radial-gradient(circle at 0% 0%, rgba(0, 240, 255, 0.05), transparent 60%),
              rgba(13, 13, 18, 0.4);
  border: 1px solid var(--border);
  text-align: center;
  box-sizing: border-box;
}
.footer-cta-section h2 {
  font-family: 'Outfit';
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.footer-cta-section p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 30px;
}
body.light-theme .footer-cta-section {
  background: radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.04), transparent 60%),
              radial-gradient(circle at 0% 0%, rgba(8, 145, 178, 0.04), transparent 60%),
              #ffffff !important;
  border-color: var(--border) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}
body.light-theme .footer-cta-section h2 {
  color: #0f172a !important;
}

/* --- VIDEO AI REPORT KPI DASHBOARD CARDS --- */
.kpi-card {
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
}
.kpi-card:hover {
  transform: translateY(-2px);
}
.kpi-val {
  color: #ffffff;
}
body.light-theme .kpi-val {
  color: #0f172a !important;
}
body.light-theme .kpi-card {
  background: #ffffff !important;
  border-color: var(--border) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

/* --- LICENSE MODAL STYLES --- */
.license-modal-title {
  font-family: 'Outfit';
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
  color: #ffffff;
}
body.light-theme .license-modal-title {
  color: #0f172a !important;
}
.license-modal-input {
  height: 50px;
  width: 100%;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}
.license-modal-input:focus {
  outline: none;
  border-color: var(--accent2);
}
body.light-theme .license-modal-input {
  background: #f1f5f9 !important;
  border-color: var(--border-hover) !important;
  color: #0f172a !important;
}

/* --- LIGHT THEME COMPARISON TABLE OVERRIDES --- */
body.light-theme .compare-table th {
  color: #0f172a !important;
  background: #f8fafc !important;
  border-bottom: 2px solid #e2e8f0 !important;
}
body.light-theme .compare-title {
  color: #0f172a !important;
}
body.light-theme .compare-feature-name {
  color: #0f172a !important;
}
body.light-theme .compare-table td {
  border-bottom: 1px solid #e2e8f0 !important;
}
body.light-theme .compare-table tr:hover td {
  background: rgba(0, 0, 0, 0.02) !important;
}



@media (max-width: 768px) {
  .header-actions .btn-secondary,
  .header-actions .btn-analiz {
    display: none !important;
  }
}


/* FLEXBOX OVERFLOW FIXES */
.landing-view-container, .main-container, .app-wrapper, section, .compare-section, .features-section, .audience-section {
  min-width: 0 !important;
  max-width: 100vw !important;
}
.compare-section, .audience-section {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- LIGHT THEME SITE FOOTER OVERRIDES --- */
body.light-theme .site-footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.01) !important;
  padding: 60px 20px 40px !important;
}
body.light-theme .footer-links-grid {
  background: transparent !important;
  color: var(--text) !important;
  margin-bottom: 30px !important;
}
body.light-theme .footer-col h4 {
  color: #0f172a !important;
}
body.light-theme .footer-col ul li a {
  color: var(--text-dim) !important;
}
body.light-theme .footer-col ul li a:hover {
  color: var(--accent2) !important;
}
body.light-theme .footer-copyright {
  color: var(--text-dim) !important;
}
body.light-theme .site-footer div[style*="border-top"] {
  border-top-color: rgba(15, 23, 42, 0.06) !important;
}
body.light-theme .site-footer span[style*="color:var(--text-dim)"],
body.light-theme .site-footer div[style*="color:var(--text-dim)"] {
  color: var(--text-dim) !important;
}

