/**
 * YönHost — Tüm sayfalar için gelişmiş kurumsal tasarım katmanı
 */

/* ── Genel bölüm iyileştirmeleri ── */
.yonhost-section {
  --section-accent: var(--corporate-gold, #c9a227);
}

.yonhost-section__header--wide .yonhost-section__title,
.yonhost-section__header--split .yonhost-section__title {
  position: relative;
}

.yonhost-section__intro .yonhost-section__badge,
.yonhost-section__header--wide .yonhost-section__badge {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(10, 31, 56, 0.06));
  border: 1px solid rgba(201, 162, 39, 0.25);
  color: var(--corporate-gold-dark, #9a7b1a);
}

/* ── FAQ — kurumsal accordion v2 ── */
.yonhost-ultra-faq .yonhost-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yonhost-ultra-faq .yonhost-faq-item {
  background: #fff;
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 31, 56, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yonhost-ultra-faq .yonhost-faq-item.yonhost-active {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.1);
}

.yonhost-ultra-faq .yonhost-faq-item__question {
  width: 100%;
  padding: 18px 22px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary, #0a1f38);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.yonhost-ultra-faq .yonhost-faq-item__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt, #f8fafc);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--corporate-gold, #c9a227);
  flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}

.yonhost-ultra-faq .yonhost-faq-item.yonhost-active .yonhost-faq-item__icon {
  background: var(--primary, #0a1f38);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.yonhost-ultra-faq .yonhost-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.yonhost-ultra-faq .yonhost-faq-item.yonhost-active .yonhost-faq-item__answer {
  max-height: 280px;
}

.yonhost-ultra-faq .yonhost-faq-item__answer p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted, #64748b);
}

/* ── İlgili ürünler v2 ── */
.yonhost-ultra-related {
  gap: 14px;
}

.yonhost-ultra-related__card {
  padding: 20px 22px;
  background: linear-gradient(145deg, #fff, var(--bg-alt, #f8fafc));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 2px 12px rgba(10, 31, 56, 0.04);
}

.yonhost-ultra-related__card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.12);
  transform: translateY(-3px);
}

.yonhost-ultra-related__card > i:first-child {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary, #0a1f38), var(--primary-light, #163a5f));
  color: var(--corporate-gold, #c9a227);
  border-radius: 12px;
  font-size: 1rem;
}

/* ── Karşılaştırma tablosu v2 ── */
.yonhost-ultra-table-wrap {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl, 20px);
  box-shadow: var(--shadow-md, 0 8px 32px rgba(10, 31, 56, 0.08));
  overflow: hidden;
}

.yonhost-ultra-table thead th {
  background: linear-gradient(180deg, var(--primary, #0a1f38), var(--primary-light, #163a5f));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 16px 18px;
  border-bottom: 2px solid var(--corporate-gold, #c9a227);
}

.yonhost-ultra-table tbody tr:nth-child(even) td,
.yonhost-ultra-table tbody tr:nth-child(even) th {
  background: var(--bg-alt, #f8fafc);
}

.yonhost-ultra-table tbody tr:hover td,
.yonhost-ultra-table tbody tr:hover th {
  background: rgba(201, 162, 39, 0.06);
}

.yonhost-ultra-table td {
  font-weight: 600;
  color: var(--primary, #0a1f38);
}

/* ── Blog v2 ── */
.yonhost-blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}

.yonhost-blog-filters .yonhost-faq-category {
  padding: 10px 18px;
  border-radius: var(--radius-full, 999px);
  border: 1px solid var(--gray-200);
  background: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.yonhost-blog-filters .yonhost-faq-category:hover,
.yonhost-blog-filters .yonhost-faq-category.yonhost-active {
  background: var(--primary, #0a1f38);
  border-color: var(--primary);
  color: #fff;
}

.yonhost-blog-grid {
  gap: 24px;
}

.yonhost-blog-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 31, 56, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.yonhost-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(10, 31, 56, 0.1);
  border-color: rgba(201, 162, 39, 0.35);
}

.yonhost-blog-card__image--corp {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: linear-gradient(135deg, var(--primary-dark, #061525) 0%, var(--primary, #0a1f38) 60%, var(--primary-light, #163a5f) 100%);
  font-size: inherit;
  padding: 0;
}

.yonhost-blog-card__image--corp i {
  font-size: 2.5rem;
  color: var(--corporate-gold, #c9a227);
  opacity: 0.9;
}

.yonhost-blog-card__tag {
  background: rgba(201, 162, 39, 0.12);
  color: var(--corporate-gold-dark, #9a7b1a);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full, 999px);
  font-weight: 700;
}

.yonhost-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary, #0a1f38);
}

.yonhost-blog-card__link::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.yonhost-blog-card:hover .yonhost-blog-card__link::after {
  transform: translateX(4px);
}

/* ── İletişim v2 ── */
.yonhost-contact-grid--v2 {
  gap: 32px;
  align-items: start;
}

.yonhost-contact-info--v2 {
  padding: 28px;
  background: linear-gradient(155deg, var(--primary-dark, #061525), var(--primary, #0a1f38));
  border-radius: var(--radius-xl, 20px);
  color: #fff;
}

.yonhost-contact-info--v2 .yonhost-section__badge {
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.3);
  color: var(--corporate-gold, #c9a227);
}

.yonhost-contact-info--v2 .yonhost-section__title {
  color: #fff;
}

.yonhost-contact-info--v2 .yonhost-contact-info__item {
  border-color: rgba(255, 255, 255, 0.1);
}

.yonhost-contact-info--v2 .yonhost-contact-info__label {
  color: rgba(255, 255, 255, 0.55);
}

.yonhost-contact-info--v2 .yonhost-contact-info__value,
.yonhost-contact-info--v2 .yonhost-contact-info__value a {
  color: #fff;
}

.yonhost-contact-info__icon--corp {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--corporate-gold, #c9a227);
  flex-shrink: 0;
}

/* Yasal kayıt satırı — merkez adres (ticari sicil tablo stili) */
.yonhost-legal-registry-wrap {
  width: 100%;
  margin: 18px 0 10px;
  clear: both;
}

.yonhost-legal-registry {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.yonhost-legal-registry__label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  background: #e8e8e8;
  color: #1a1a1a;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  border: 1px solid #bdbdbd;
  border-right: none;
  box-sizing: border-box;
  min-height: 44px;
}

.yonhost-legal-registry__value {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.45;
  border: 1px solid #1a1a1a;
  word-break: break-word;
  box-sizing: border-box;
}

.yonhost-contact-info--v2 .yonhost-legal-registry-wrap {
  margin-top: 18px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  flex: 1 1 100%;
  align-self: stretch;
}

@media (max-width: 560px) {
  .yonhost-legal-registry {
    grid-template-columns: 1fr;
  }

  .yonhost-legal-registry__label {
    border-right: 1px solid #bdbdbd;
    border-bottom: none;
  }
}

.yonhost-contact-form--v2 {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 8px 32px rgba(10, 31, 56, 0.08);
}

.yonhost-contact-form--v2 h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary, #0a1f38);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.yonhost-contact-form--v2 .yonhost-form-group input,
.yonhost-contact-form--v2 .yonhost-form-group select,
.yonhost-contact-form--v2 .yonhost-form-group textarea {
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yonhost-contact-form--v2 .yonhost-form-group input:focus,
.yonhost-contact-form--v2 .yonhost-form-group select:focus,
.yonhost-contact-form--v2 .yonhost-form-group textarea:focus {
  border-color: var(--corporate-gold, #c9a227);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  outline: none;
}

.yonhost-contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.yonhost-contact-channel {
  padding: 24px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg, 14px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.yonhost-contact-channel:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: var(--shadow-md);
}

.yonhost-contact-channel__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 31, 56, 0.06), rgba(201, 162, 39, 0.1));
  border-radius: 14px;
  color: var(--primary, #0a1f38);
  font-size: 1.25rem;
}

.yonhost-contact-channel h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
}

.yonhost-contact-channel p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Feature grid v2 (hakkımızda, iletişim) ── */
.yonhost-features-grid--corp {
  gap: 20px;
}

.yonhost-feature-item--corp {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 4px 16px rgba(10, 31, 56, 0.05);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

.yonhost-feature-item--corp:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 32px rgba(10, 31, 56, 0.08);
}

.yonhost-feature-item--corp .yonhost-feature-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary, #0a1f38), var(--primary-light, #163a5f));
  border-radius: 14px;
  font-size: 1.25rem;
  color: var(--corporate-gold, #c9a227);
}

.yonhost-feature-item--corp .yonhost-feature-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
}

/* ── Hakkımızda v2 ── */
.yonhost-about-stats--corp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.yonhost-about-stat--corp {
  padding: 24px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl, 20px);
  box-shadow: 0 8px 32px rgba(10, 31, 56, 0.1);
}

.yonhost-about-stat--corp .yonhost-about-stat__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--corporate-gold-dark, #9a7b1a));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yonhost-trust-badges--corp {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.yonhost-trust-badge--corp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg, 14px);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  transition: border-color 0.2s, transform 0.2s;
}

.yonhost-trust-badge--corp:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-2px);
}

.yonhost-trust-badge--corp .yonhost-trust-badge__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 12px;
  font-size: 1.25rem;
  color: var(--corporate-gold, #c9a227);
}

.yonhost-team-card--corp {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl, 20px);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.yonhost-team-card--corp:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.yonhost-team-card--corp .yonhost-team-card__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--corporate-gold);
  font-size: 1.125rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Auth v2 ── */
.yonhost-auth {
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(201, 162, 39, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(10, 31, 56, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-alt, #f8fafc), #fff);
}

.yonhost-auth__card {
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px rgba(10, 31, 56, 0.12);
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
}

.yonhost-auth__aside {
  background: linear-gradient(155deg, var(--primary-dark, #061525) 0%, var(--primary, #0a1f38) 50%, var(--primary-light, #163a5f) 100%);
  position: relative;
  overflow: hidden;
}

.yonhost-auth__aside::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(201, 162, 39, 0.15), transparent 55%);
  pointer-events: none;
}

.yonhost-auth-form__input-wrap:focus-within {
  border-color: var(--corporate-gold, #c9a227);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

/* ── Index kartları v2 ── */
.yonhost-card--corp {
  border: 1px solid var(--gray-200);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.yonhost-card--corp:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 16px 40px rgba(10, 31, 56, 0.1);
}

.yonhost-card--corp .yonhost-card__icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--corporate-gold);
}

.yonhost-cta-banner--corp {
  background: linear-gradient(135deg, var(--primary-dark, #061525) 0%, var(--primary, #0a1f38) 50%, #122d4d 100%);
  border-radius: var(--radius-xl, 20px);
  border: 1px solid rgba(201, 162, 39, 0.2);
  box-shadow: 0 16px 48px rgba(10, 31, 56, 0.2);
  position: relative;
  overflow: hidden;
}

.yonhost-cta-banner--corp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(201, 162, 39, 0.12), transparent 60%);
  pointer-events: none;
}

/* ── Hub / index pricing preview ── */
.yonhost-pricing-card--v2 {
  border-radius: var(--radius-xl, 20px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .yonhost-about-stats--corp { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .yonhost-trust-badges--corp { grid-template-columns: repeat(3, 1fr); }
  .yonhost-contact-channels { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .yonhost-trust-badges--corp { grid-template-columns: repeat(2, 1fr); }
  .yonhost-about-stats--corp { grid-template-columns: 1fr 1fr; }
}
