/*
Theme Name: AI Content Factory
Author: El
Version: 1.0
*/

html {
  overflow-y: scroll;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SF-Pro-Display-Medium.otf') format('opentype');
  font-weight: 500;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('./fonts/SF-Pro-Display-Semibold.otf') format('opentype');
  font-weight: 600;
}


html, body {
  margin: 0;
  padding: 0;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111;
}

* {
  box-sizing: border-box;
}


header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

header a {
  color: #111 !important;
  text-decoration: none;
  font-weight: 500;
}

header .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
}
:root {
  --bg-white: #ffffff;
  --bg-soft: #f5f6f8;

  --text-main: #111111;
  --text-secondary: #555555;

  --border-soft: #e5e7eb;

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-strong: 0 40px 100px rgba(0,0,0,0.12);
}

.hero-apple {
  background: var(--bg-white);
  padding: 160px 80px 140px;
}

.hero-apple-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.hero-apple-text h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 28px;
}

.hero-apple-text p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-apple-actions {
  display: flex;
  gap: 16px;
}


.btn-secondary {
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all .25s ease;
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.hero-apple-visual {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 420px;
  height: 520px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f2f3f5 100%
  );
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-header {
  height: 48px;
  border-radius: 14px;
  background: #e5e7eb;
}

.mockup-body {
  flex: 1;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    #e5e7eb,
    #f5f6f8
  );
}

.value-apple {
  background: #f5f6f8;
  padding: 140px 80px;
}

.value-apple-container {
  max-width: 1200px;
  margin: 0 auto;
}

.value-apple-header {
  max-width: 640px;
  margin-bottom: 80px;
}

.value-apple-header h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 20px;
}

.value-apple-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.value-apple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.10);
}

.value-card.featured {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.split-apple {
  background: #ffffff;
  padding: 160px 80px;
}

.split-apple-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}

.split-apple-visual {
  display: flex;
  justify-content: center;
}

.split-mockup {
  width: 420px;
  height: 520px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f1f2f4 100%
  );
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-mockup-header {
  height: 48px;
  border-radius: 14px;
  background: #e5e7eb;
}

.split-mockup-body {
  flex: 1;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    #e5e7eb,
    #f5f6f8
  );
}

.split-apple-text h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 24px;
}

.split-apple-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 32px;
  max-width: 520px;
}

.split-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.split-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 16px;
  color: #333;
}

.split-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: #111;
  font-weight: 600;
}

.metrics-apple {
  background: #f5f6f8;
  padding: 160px 80px;
}

.metrics-apple-container {
  max-width: 1200px;
  margin: 0 auto;
}

.metrics-header {
  max-width: 520px;
  margin-bottom: 80px;
}

.metrics-header h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 20px;
}

.metrics-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.metric-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card.large {
  grid-column: span 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.metric-value {
  font-size: 44px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 16px;
  color: #555;
}

.process-apple {
  background: #ffffff;
  padding: 160px 80px;
}

.process-apple-container {
  max-width: 1200px;
  margin: 0 auto;
}

.process-header {
  max-width: 520px;
  margin-bottom: 80px;
}

.process-header h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 20px;
}

.process-header p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
}

.process-visual {
  display: flex;
  justify-content: center;
}

.process-card {
  width: 100%;
  max-width: 880px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f3f4f6 100%
  );
  border-radius: 32px;
  padding: 56px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.step-label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: #555;
}

.steps-apple {
  background: #f5f6f8;
  padding: 140px 80px;
}

.steps-apple-container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-header {
  max-width: 520px;
  margin-bottom: 72px;
}

.steps-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.steps-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step-item {
  position: relative;
}

.step-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #d1d5db;
  margin-bottom: 12px;
}

.step-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

.pricing-apple-3 {
  padding: 160px 20px;
  background: #ffffff;
}

.pricing-apple-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-header p {
  font-size: 18px;
  color: #555;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 48px 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  transform: translateY(-12px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 14px;
  color: #777;
  margin-bottom: 24px;
  display: block;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
}

.pricing-price span {
  font-size: 16px;
  color: #777;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.pricing-list li {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

.btn-outline {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.btn-outline:hover {
  background: #f5f6f8;
}

.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  background: #ffffff;
}

.faq h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #111;
}

.faq-item {
  background: #f6f7f9;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow .25s ease;
}

.faq-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.faq-question {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  transform: rotate(180deg);
  transition: transform .25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  transition: all .3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.final-cta-apple {
  background: linear-gradient(
    180deg,
    #f5f6f8 0%,
    #ffffff 100%
  );
  padding: 160px 20px;
}

.final-cta-card {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.12);
}

.final-cta-card h2 {
  font-size: 44px;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
}

.final-cta-card p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-note {
  font-size: 14px;
  color: #777;
}

.footer-apple {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 64px 80px;
}

.footer-apple-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand .footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 15px;
  color: #555;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 15px;
  color: #555;
  text-decoration: none;
}

.footer-links a:hover {
  color: #111;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 40px;
  font-size: 14px;
  color: #888;
}

.apple-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.apple-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 16px;
  color: #111;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  font-size: 15px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.nav-cta {
  background: #111;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

:root {
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --accent: #111;
  --radius: 20px;
}

* {
  box-sizing: border-box;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.dash-logo {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 32px;
}

.dash-menu {
  flex: 1;
}

.dash-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #374151;
  margin-bottom: 6px;
}

.dash-link i {
  color: #9ca3af;
}

.dash-link.active,
.dash-link:hover {
  background: #f5f5f7;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title i {
  color: #9ca3af;
}

.muted {
  color: var(--muted);
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.stat-card i {
  color: #9ca3af;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
  margin-top: 10px;
}

.block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.video-card {
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e5e7eb, #f9fafb);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #f9fafb, #eef0f4);

  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.action-btn span {
  color: #111827;
  font-size: 14px;
}

.action-btn .fi {
  font-size: 22px;
  color: #6b7280;
}

.action-btn:hover {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e5e7eb 100%
  );
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.actions-grid .action-btn {
  background: linear-gradient(
    180deg,
    #f3f4f6 0%,
    #e5e7eb 100%
  ) !important;

  border: 1px solid #d1d5db !important;
  color: #111827 !important;
}

.actions-grid .action-btn span {
  color: #111827 !important;
}

.actions-grid .action-btn .fi {
  color: #6b7280 !important;
}

.actions-grid .action-btn:hover {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e5e7eb 100%
  ) !important;

  transform: translateY(-1px);
}


.auth-page {
  background: #f6f7f9;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(30px);
  border-radius: 28px;
  padding: 40px 32px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.auth-head {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg,#cbd5e1,#e5e7eb);
  display:flex;
  align-items:center;
  justify-content:center;
}

.auth-logo i {
  font-size: 28px;
  color:#111;
}

.auth-head h1 {
  font-size: 22px;
  margin-bottom: 6px;
}

.auth-head p {
  font-size: 14px;
  color: #6b7280;
}

.auth-form {
  display: none;
}
.auth-form.active {
  display: block;
}

.auth-form label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
  display: block;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  margin-bottom: 16px;
  font-size: 15px;
}

.btn-primary.full {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#e2e8f0,#cbd5e1);
  border: 1px solid #d1d5db;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary.full:hover {
  background: linear-gradient(135deg,#f1f5f9,#e2e8f0);
}

.auth-links {
  text-align: center;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-links a {
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
}

.auth-links a.accent {
  color: #111;
  font-weight: 500;
}

.auth-back {
  text-align: center;
  margin-top: 24px;
}

.auth-back a {
  font-size: 14px;
  color: #6b7280;
}

.dash-app {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #ffffff;
}

.dash-sidebar {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}

.dash-main {
  flex: 1;
  min-width: 0;
  background: #ffffff;
}

.dash-menu {
  display: flex;
  flex-direction: column;
}

.dash-user {
  margin-top: auto;
}

.dash-link {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  border-radius: 14px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}

.dash-link i {
  width: 20px;
  height: 20px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  color: #9ca3af;
  transition: color .15s ease;
}

.dash-link span {
  line-height: 1;
  white-space: nowrap;
}

.dash-link:hover {
  background: #f5f5f7;
}

.dash-link:hover i {
  color: #111;
}

.dash-link.active {
  background: #f5f5f7;
  color: #111;
}

.dash-link.active i {
  color: #374151;
}

.dash-user {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f2f4;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.user-meta {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.logout-btn {
  all: unset;
  display: inline-block;
  background: linear-gradient(180deg, #f3f4f6, #e5e7eb);
  color: #111;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}

.logout-btn:hover {
  background: linear-gradient(180deg, #e5e7eb, #d1d5db);
}

.dash-sidebar .btn-primary,
.dash-sidebar .logout-btn {
  background: linear-gradient(180deg, #f3f4f6, #e5e7eb) !important;
  color: #111 !important;
  transform: none !important;
}

.dash-sidebar .btn-primary:hover,
.dash-sidebar .logout-btn:hover {
  background: linear-gradient(180deg, #e5e7eb, #d1d5db) !important;
}

html {
  scrollbar-gutter: stable;
}

.dash-sidebar {
  contain: layout paint;
  transform: translateZ(0);
}

.dash-menu,
.dash-link {
  transform: translateZ(0);
}

.dash-sidebar * {
  box-sizing: border-box;
  backface-visibility: hidden;
}

.content-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #d1d5db;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f3f4f6;
}

.content-filters {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.filter {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.filter.active {
  background: #111;
  color: #fff;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.calendar-day {
  background: #f9fafb;
  border-radius: 16px;
  height: 100px;
  padding: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.calendar-day:hover {
  background: #f3f4f6;
}

.day-number {
  font-size: 12px;
  color: #6b7280;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  width: 360px;
}

.modal h3 {
  margin-bottom: 16px;
}

.modal label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 10px;
  display: block;
}

.modal input,
.modal select {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.upcoming-posts {
  margin-top: 48px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.post-date {
  width: 70px;
  text-align: left;
}

.post-date .day {
  font-size: 14px;
  font-weight: 600;
}

.post-date .time {
  font-size: 13px;
  color: #6b7280;
}

.post-info {
  flex: 1;
}

.post-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5e7eb;
  font-weight: 500;
}

.tag-reels { background: #e0f2fe; color: #0369a1; }
.tag-story { background: #ede9fe; color: #5b21b6; }
.tag-post { background: #dcfce7; color: #166534; }
.tag-carousel { background: #fef3c7; color: #92400e; }

.tag-instagram { background: #fee2e2; color: #991b1b; }
.tag-tiktok { background: #e0e7ff; color: #3730a3; }

.post-title {
  font-size: 15px;
  font-weight: 500;
}

.post-actions {
  display: flex;
  gap: 10px;
}

.btn-danger {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-danger:hover {
  background: #fecaca;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}

.platform-badge i {
  font-size: 14px;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.avatar-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 24px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  min-height: 320px;
}

.avatar-head {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.avatar-head i {
  font-size: 22px;
}

.avatar-head h3 {
  margin: 0;
  font-size: 18px;
}

.avatar-head span {
  font-size: 13px;
  color: #9ca3af;
}

.upload-zone {
  border: 2px dashed #e5e7eb;
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
}

.upload-zone i {
  font-size: 26px;
  margin-bottom: 10px;
}

.upload-zone span {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.avatar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.gray { background: #9ca3af; }
.dot.green { background: #22c55e; }

.hero-apple .btn-primary:hover,
.final-cta-apple .btn-primary:hover,
.apple-header .btn-primary:hover {
  background: #727272;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-card i {
  font-size: 18px;
  color: var(--muted);
}

.metric-value {
  font-size: 22px;
  font-weight: 600;
}

.metric-label {
  font-size: 13px;
  color: var(--muted);
}

.ai-insight {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.ai-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.ai-text i {
  color: var(--muted);
}

.ai-link {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.ai-link:hover {
  text-decoration: underline;
}

.block-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.block-title.small {
  font-size: 15px;
}

.manage-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.manage-link:hover {
  color: var(--text);
}

.socials-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.social-mini {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all .15s ease;
}

.social-mini span {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.social-mini small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.social-mini:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.video-placeholder {
  height: 160px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f1f2f4, #e5e7eb);
}

.actions-row {
  display: flex;
  gap: 14px;
}

@media (max-width: 1200px) {
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .socials-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .actions-row {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .hero-apple,
  .value-apple,
  .split-apple {
    padding: 100px 32px;
  }

  .hero-apple-container,
  .split-apple-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-apple-text,
  .split-apple-text,
  .value-apple-header {
    max-width: 100%;
  }

  .hero-apple-text h1 {
    font-size: 44px;
  }

  .value-apple-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-mockup,
  .split-mockup {
    width: min(100%, 420px);
    height: auto;
    min-height: 420px;
  }

  .metrics-row,
  .socials-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero-apple,
  .value-apple,
  .split-apple {
    padding: 72px 20px;
  }

  .hero-apple-container,
  .split-apple-container {
    gap: 32px;
  }

  .hero-apple-text h1,
  .value-apple-header h2,
  .split-apple-text h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero-apple-text p,
  .value-apple-header p,
  .split-apple-text p {
    font-size: 16px;
  }

  .hero-apple-actions,
  .actions-row,
  .content-filters,
  .post-tags {
    flex-wrap: wrap;
  }

  .hero-apple-actions > *,
  .actions-row > *,
  .hero-apple-actions .btn-primary,
  .hero-apple-actions .btn-secondary {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .value-apple-header {
    margin-bottom: 40px;
  }

  .value-apple-grid,
  .metrics-row,
  .socials-row,
  .avatar-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .avatar-card,
  .metric-card {
    padding: 20px;
    border-radius: 20px;
  }

  .value-card.featured {
    transform: none;
  }

  .hero-mockup,
  .split-mockup {
    width: 100%;
    min-height: 320px;
    padding: 18px;
    border-radius: 24px;
  }

  .post-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .post-date,
  .post-actions {
    width: 100%;
  }

  .post-actions {
    flex-wrap: wrap;
  }

  .post-actions > * {
    flex: 1 1 100%;
  }

  .modal {
    width: calc(100vw - 32px);
    max-width: 100%;
    padding: 20px;
  }

  .upload-zone {
    padding: 22px 18px;
  }
}
