/* Ana sayfa — kurumsal landing */

.page-home {
  --home-serif: "DM Serif Display", Georgia, serif;
  --home-gold: #9a7b4f;
  --home-gold-deep: #5c4a2f;
  --home-gold-light: #c4a574;
  --home-ink: #1c1917;
  --home-muted: #57534e;
  --home-surface: #ffffff;
  --home-canvas: #f5f3ef;
  --home-radius: 16px;
  --home-shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
  --home-shadow-lg: 0 20px 50px rgba(28, 25, 23, 0.1);
  background: var(--home-canvas);
}

.page-home .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.page-home .site-footer {
  background: var(--home-surface);
  border-top: 1px solid rgba(28, 25, 23, 0.08);
  margin-top: 0;
}

/* Skeleton */
.home-page:not(.is-ready) .home-eyebrow,
.home-page:not(.is-ready) .home-lead,
.home-page:not(.is-ready) .home-desc {
  color: transparent;
}

.home-skel {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,255,255,0.15) 25%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0.15) 75%);
  background-size: 200% 100%;
  animation: home-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
  min-height: 1em;
  min-width: 8rem;
}

.home-skel--title {
  min-width: 14rem;
  min-height: 2.4rem;
  display: block;
}

.home-skel--wide {
  min-width: 100%;
  max-width: 22rem;
  display: block;
}

@keyframes home-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.home-page.is-ready .home-skel {
  display: none;
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem clamp(4rem, 9vw, 6rem);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #3d3224 0%, #5c4a2f 28%, #7d6340 55%, #8b7349 78%, #6b5536 100%);
}

.home-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.home-hero-glow--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: var(--home-gold-light);
}

.home-hero-glow--2 {
  width: 320px;
  height: 320px;
  bottom: -100px;
  left: -60px;
  background: #d4bc8a;
  opacity: 0.25;
}

.home-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.home-hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
}

.home-hero-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.home-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-gold-light);
  box-shadow: 0 0 10px var(--home-gold-light);
}

.home-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--home-serif);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.home-lead {
  margin: 0 0 0.85rem;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.home-desc {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.home-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.home-btn:hover svg {
  transform: translateX(3px);
}

.home-btn-primary {
  background: #fff;
  color: var(--home-gold-deep);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.home-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.home-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.home-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* Stats */
.home-stats {
  position: relative;
  z-index: 2;
  margin-top: -2.75rem;
  padding: 0 1.5rem;
}

.home-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  background: var(--home-surface);
  border-radius: var(--home-radius);
  padding: 0.5rem;
  box-shadow: var(--home-shadow-lg);
  border: 1px solid rgba(28, 25, 23, 0.06);
}

.home-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  text-align: left;
}

.home-stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(154, 123, 79, 0.12), rgba(154, 123, 79, 0.06));
  color: var(--home-gold-deep);
}

.home-stat-body {
  min-width: 0;
}

.home-stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--home-ink);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.home-stat-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--home-muted);
  font-weight: 500;
  line-height: 1.35;
}

.home-stat-divider {
  display: none;
}

/* Main */
.home-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem 4rem;
}

.home-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.home-section-head-inner {
  max-width: 560px;
}

.home-section-tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-gold);
}

.home-section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--home-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--home-ink);
  line-height: 1.15;
}

.home-section-head p {
  margin: 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.home-section-rule {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--home-gold), transparent);
  border-radius: 2px;
  margin-bottom: 0.35rem;
}

/* Module grid */
.home-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.5rem;
  background: var(--home-surface);
  border-radius: var(--home-radius);
  border: 1px solid rgba(28, 25, 23, 0.08);
  text-decoration: none;
  color: var(--home-ink);
  box-shadow: var(--home-shadow);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, border-color 0.2s;
  overflow: hidden;
}

.home-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(154, 123, 79, 0.04) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.home-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-lg);
  border-color: rgba(154, 123, 79, 0.28);
}

.home-tile:hover::after {
  opacity: 1;
}

.home-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.home-tile-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--home-gold);
  letter-spacing: 0.1em;
}

.home-tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(154, 123, 79, 0.14), rgba(154, 123, 79, 0.06));
  color: var(--home-gold-deep);
}

.home-tile-body {
  flex: 1;
  min-width: 0;
}

.home-tile h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--home-muted);
  line-height: 1.55;
}

.home-tile-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--home-gold-deep);
  background: rgba(154, 123, 79, 0.1);
  border-radius: 6px;
}

.home-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
}

.home-tile-link-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-gold);
}

.home-tile-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(154, 123, 79, 0.1);
  color: var(--home-gold-deep);
  transition: background 0.2s, transform 0.2s;
}

.home-tile-arrow svg {
  display: block;
}

.home-tile:hover .home-tile-arrow {
  background: var(--home-gold);
  color: #fff;
  transform: translateX(2px);
}

/* Featured module */
.home-tile-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2rem 2rem;
  background: linear-gradient(125deg, #fff 0%, #faf7f2 45%, #f5efe6 100%);
  border-color: rgba(154, 123, 79, 0.2);
}

.home-tile-featured .home-tile-top {
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.home-tile-featured .home-tile-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.home-tile-featured .home-tile-body {
  flex: 1 1 280px;
}

.home-tile-featured h3 {
  font-family: var(--home-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.home-tile-featured .home-tile-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-left: auto;
  flex-shrink: 0;
}

/* Trust */
.home-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.home-trust-item {
  padding: 1.5rem 1.4rem;
  background: var(--home-surface);
  border-radius: var(--home-radius);
  border: 1px solid rgba(28, 25, 23, 0.07);
  box-shadow: var(--home-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--home-shadow-lg);
}

.home-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(154, 123, 79, 0.14), rgba(154, 123, 79, 0.05));
  color: var(--home-gold-deep);
  margin-bottom: 1rem;
}

.home-trust-item h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--home-ink);
}

.home-trust-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--home-muted);
  line-height: 1.55;
}

/* Entrance animations */
.home-page.is-ready .home-hero-content > * {
  animation: home-fade-up 0.6s ease backwards;
}

.home-page.is-ready .home-stat {
  animation: home-fade-up 0.5s ease backwards;
}

.home-page.is-ready .home-stat:nth-child(2) { animation-delay: 0.05s; }
.home-page.is-ready .home-stat:nth-child(3) { animation-delay: 0.1s; }
.home-page.is-ready .home-stat:nth-child(4) { animation-delay: 0.15s; }

.home-page.is-ready .home-tile {
  animation: home-fade-up 0.55s ease backwards;
}

.home-page.is-ready .home-tile:nth-child(1) { animation-delay: 0.05s; }
.home-page.is-ready .home-tile:nth-child(2) { animation-delay: 0.1s; }
.home-page.is-ready .home-tile:nth-child(3) { animation-delay: 0.15s; }
.home-page.is-ready .home-tile:nth-child(4) { animation-delay: 0.2s; }

.home-page.is-ready .home-trust-item {
  animation: home-fade-up 0.5s ease backwards;
}

.home-page.is-ready .home-trust-item:nth-child(2) { animation-delay: 0.08s; }
.home-page.is-ready .home-trust-item:nth-child(3) { animation-delay: 0.16s; }

@keyframes home-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page.is-ready .home-hero-content > *,
  .home-page.is-ready .home-stat,
  .home-page.is-ready .home-tile,
  .home-page.is-ready .home-trust-item {
    animation: none;
  }
  .home-tile:hover,
  .home-trust-item:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .home-section-head {
    grid-template-columns: 1fr;
  }

  .home-section-rule {
    width: 80px;
  }

  .home-bento {
    grid-template-columns: 1fr;
  }

  .home-tile-featured {
    flex-direction: column;
    align-items: stretch;
  }

  .home-tile-featured .home-tile-footer {
    margin-left: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(28, 25, 23, 0.06);
  }

  .home-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .home-stats-inner {
    grid-template-columns: 1fr;
  }

  .home-stat {
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  }

  .home-stat:last-child {
    border-bottom: none;
  }
}
