:root {
  --yr-primary: #6d28d9;
  --yr-primary-dark: #5b21b6;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.yr-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.yr-brand-block .navbar-brand {
  margin: 0;
  padding: 0;
}

.yr-powered-by {
  font-size: 0.7rem;
  color: #777;
  padding-left: calc(36px + 0.5rem);
  line-height: 1.2;
}

.yr-powered-by a {
  color: #666;
  text-decoration: none;
}

.yr-powered-by a:hover {
  color: var(--yr-primary);
  text-decoration: underline;
}

.yr-nav-toggler {
  border-color: #ddd;
  padding: 0.35rem 0.55rem;
}

.yr-nav-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(109, 40, 217, 0.25);
}

@media (max-width: 991.98px) {
  .yr-nav-links {
    padding: 0.75rem 0 0.5rem;
    gap: 0.15rem;
  }

  .yr-nav-links .nav-link {
    padding: 0.55rem 0;
  }

  .yr-nav-links .yr-nav-btn {
    width: 100%;
    margin-top: 0.35rem;
  }
}

@media (min-width: 992px) {
  .yr-nav-links {
    flex-direction: row;
    gap: 0.5rem;
  }

  .yr-nav-links .yr-nav-btn {
    margin-left: 0.25rem;
  }
}

.yr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yr-primary);
  text-decoration: none;
}

.yr-brand:hover {
  color: var(--yr-primary-dark);
  text-decoration: none;
}

.yr-logo {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
}

.yr-app-header .yr-brand {
  font-size: 1.25rem;
}

.btn-yr-primary {
  background: var(--yr-primary);
  border-color: var(--yr-primary);
  color: #fff;
}
.btn-yr-primary:hover {
  background: var(--yr-primary-dark);
  border-color: var(--yr-primary-dark);
  color: #fff;
}

.btn-yr-outline {
  background: transparent;
  border: 2px solid var(--yr-primary);
  color: var(--yr-primary);
  font-weight: 600;
}
.btn-yr-outline:hover {
  background: var(--yr-primary);
  border-color: var(--yr-primary);
  color: #fff;
}

.yr-home {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.yr-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yr-primary);
  background: #f5f3ff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.yr-section {
  padding: 4.5rem 0;
}

.yr-section-alt {
  background: #fafafa;
}

.yr-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #fff 100%);
  padding: 5rem 0 4rem;
}

.yr-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(109, 40, 217, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(109, 40, 217, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.yr-hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.yr-hero-lead {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.yr-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.yr-phone-mock {
  width: 220px;
  background: #1a1a1a;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(109, 40, 217, 0.25);
  transform: rotate(-3deg);
}

.yr-phone-screen {
  background: linear-gradient(180deg, #2d1b69 0%, #6d28d9 100%);
  border-radius: 18px;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.yr-phone-reel-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.3));
  z-index: 2;
}

.yr-phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.yr-phone-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--yr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.yr-phone-caption {
  position: absolute;
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  margin: 0;
}

.yr-hero-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.yr-hero-float-icon {
  margin-right: 0.25rem;
}

.yr-hero-float-1 { top: 10%; right: 5%; }
.yr-hero-float-2 { bottom: 25%; left: 0; }
.yr-hero-float-3 { bottom: 5%; right: 10%; }

.yr-trust-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
}

.yr-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.yr-trust-item strong {
  color: var(--yr-primary);
  font-size: 0.95rem;
}

.yr-trust-item span {
  font-size: 0.8rem;
  color: #666;
}

.yr-section-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.yr-step-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.yr-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.1);
}

.yr-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yr-primary), #9333ea);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.yr-price-card {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yr-price-card:hover {
  border-color: #d8b4fe;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.12);
}

.yr-price-card-featured {
  border-color: var(--yr-primary);
  box-shadow: 0 8px 32px rgba(109, 40, 217, 0.15);
  transform: scale(1.03);
}

.yr-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yr-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.yr-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yr-primary);
  margin: 0.5rem 0;
  line-height: 1;
}

.yr-pricing-card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.yr-creator-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.25rem;
  height: 100%;
  transition: box-shadow 0.2s;
}

.yr-creator-card:hover {
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.1);
}

.yr-creator-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ede9fe;
  flex-shrink: 0;
}

.yr-creator-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f3ff;
  color: var(--yr-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.yr-creator-meta {
  color: #666;
}

.yr-testimonial-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  border-left: 4px solid var(--yr-primary);
}

.yr-testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  font-style: italic;
}

.yr-testimonial-author {
  font-size: 0.875rem;
  color: #666;
}

.yr-faq .accordion-item {
  border-radius: 12px !important;
  margin-bottom: 0.5rem;
  overflow: hidden;
  border: 1px solid #e9ecef !important;
}

.yr-faq .accordion-button:not(.collapsed) {
  background: #f5f3ff;
  color: var(--yr-primary);
  box-shadow: none;
}

.yr-faq .accordion-button:focus {
  box-shadow: none;
}

.yr-cta-banner {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  color: #fff;
  padding: 4rem 0;
}

.yr-cta-banner h2 {
  color: #fff;
}

.yr-cta-banner .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.yr-cta-banner .btn-yr-primary {
  background: #fff;
  border-color: #fff;
  color: var(--yr-primary);
}

.yr-cta-banner .btn-yr-primary:hover {
  background: #f5f3ff;
  border-color: #f5f3ff;
  color: var(--yr-primary-dark);
}

.yr-cta-banner .text-yr-primary {
  color: #fff !important;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .yr-hero-float { display: none; }
  .yr-price-card-featured { transform: none; }
  .yr-hero { padding: 3rem 0 2rem; }
}

.yr-legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.yr-legal-content h2 { font-size: 1.25rem; margin-top: 2rem; }
.yr-legal-content h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.yr-legal-content section { margin-bottom: 1.5rem; }
.yr-legal-content ul, .yr-legal-content ol { padding-left: 1.25rem; }
.yr-legal-content li { margin-bottom: 0.35rem; }

.text-yr-primary { color: var(--yr-primary); }

/* Creator profile */
.yr-profile-page {
  max-width: 900px;
  margin: 0 auto;
}

.yr-profile-hero {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.yr-profile-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.yr-profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
  flex-shrink: 0;
}

.yr-profile-avatar-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--yr-primary);
  flex-shrink: 0;
}

.yr-profile-identity {
  flex: 1;
  min-width: 200px;
}

.yr-profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #1a1a1a;
}

.yr-profile-tagline {
  color: #555;
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.yr-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.yr-profile-stat {
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  text-align: center;
  min-width: 90px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.yr-profile-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yr-primary);
  line-height: 1.2;
}

.yr-profile-stat-label {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yr-profile-section {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.yr-profile-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #333;
}

.yr-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yr-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: #f5f3ff;
  color: var(--yr-primary);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}

.yr-profile-link:hover {
  background: #ede9fe;
  color: var(--yr-primary-dark);
}

.yr-profile-bio {
  color: #444;
  line-height: 1.6;
  margin: 0;
}

.yr-reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.yr-reel-card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  background: #fafafa;
}

.yr-reel-card video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.yr-reel-card-footer {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #fff;
}

.yr-reel-card-title {
  font-size: 0.875rem;
  color: #555;
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yr-page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.yr-page-header h1 {
  margin: 0;
}

.yr-upload-card {
  border: 2px dashed #d8b4fe;
  border-radius: 12px;
  padding: 1.5rem;
  background: #faf5ff;
}

.yr-review-item {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.yr-review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.yr-stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
}
