/* ===== Inner Pages — Premium Components (index.html kullanmaz) ===== */

main {
  position: relative;
  z-index: 1;
}

/* Hero panel visual */
.ip-hero-visual {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ip-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15), transparent 50%);
  pointer-events: none;
}

.ip-hero-visual-inner {
  position: relative;
  z-index: 1;
}

.ip-hero-visual h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.ip-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.ip-hero-stat {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.ip-hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.ip-hero-stat span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Premium glass card */
.ip-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  height: 100%;
}

.ip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  background: var(--bg-card-hover);
}

.ip-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  color: var(--accent-light);
}

.ip-card-icon svg {
  width: 24px;
  height: 24px;
}

.ip-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ip-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Grids */
.ip-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ip-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ip-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ip-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Timeline */
.ip-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.ip-timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}

.ip-timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.4;
}

.ip-timeline-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  color: var(--accent-light);
  flex-shrink: 0;
}

.ip-timeline-body {
  padding-top: 12px;
}

.ip-timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ip-timeline-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Horizontal timeline (desktop) */
.ip-timeline-h {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.ip-timeline-h-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.ip-timeline-h-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.ip-timeline-h-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  margin-bottom: 12px;
  color: white;
}

.ip-timeline-h-item h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ip-timeline-h-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Tech logo grid */
.ip-tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ip-tech-grid span {
  padding: 12px 22px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.ip-tech-grid span:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

/* Stats banner */
.ip-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
}

.ip-stat-item {
  text-align: center;
}

.ip-stat-item .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ip-stat-item .stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ip-stat-item p {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Checklist */
.ip-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ip-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.ip-checklist li:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.ip-checklist li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-light);
}

/* Related services scroll */
.ip-related-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.ip-related-track::-webkit-scrollbar {
  height: 6px;
}

.ip-related-track::-webkit-scrollbar-track {
  background: transparent;
}

.ip-related-track::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
}

.ip-related-card {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.ip-related-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ip-related-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ip-related-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ip-related-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Premium CTA */
.ip-cta {
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-xl);
  text-align: center;
}

.ip-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.ip-cta p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.0625rem;
}

.ip-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Testimonial mini */
.ip-testimonial {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}

.ip-testimonial p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}

.ip-testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
}

.ip-testimonial cite span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 2px;
}

/* ===== Blog ===== */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.blog-search {
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  position: relative;
}

.blog-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.blog-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter-btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.blog-filter-btn:hover,
.blog-filter-btn.is-active {
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(37, 99, 235, 0.12);
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  padding: 32px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.blog-featured:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-md);
}

.blog-featured-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 100px;
  margin-bottom: 16px;
}

.blog-featured h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-featured h2 a:hover {
  color: var(--accent-light);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-premium {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  height: 100%;
}

.blog-card-premium:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

.blog-card-premium .blog-card-tag {
  margin-bottom: 12px;
}

.blog-card-premium h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  flex-grow: 0;
}

.blog-card-premium p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.65;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: gap var(--transition);
}

.blog-card-premium:hover .blog-read-more {
  gap: 10px;
}

.blog-newsletter {
  margin-top: 64px;
  padding: 48px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.blog-newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-newsletter p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.blog-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.blog-newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

.blog-newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ===== Article ===== */
.article-progress {
  position: fixed;
  top: var(--total-header);
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.article-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width 0.1s linear;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 48px;
  align-items: start;
}

.article-layout--no-toc {
  grid-template-columns: 1fr 200px;
}

.article-toc {
  position: sticky;
  top: calc(var(--total-header) + 24px);
}

.article-toc h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-toc ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-toc a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: var(--transition);
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--accent-light);
  border-left-color: var(--accent);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 16px;
  scroll-margin-top: calc(var(--total-header) + 24px);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.article-body ul {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.article-quote {
  margin: 32px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

.article-code {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-x: auto;
  color: var(--text-secondary);
}

.article-figure {
  margin: 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.article-share {
  position: sticky;
  top: calc(var(--total-header) + 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-share span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.article-share a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: var(--transition);
}

.article-share a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.article-author-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.article-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.article-author-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 6px;
}

.article-author-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Biz kimiz split */
.ip-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ip-about-card-lg {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.ip-about-card-lg:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.ip-about-card-lg h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.ip-about-card-lg p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .ip-grid-4, .ip-stats-banner { grid-template-columns: repeat(2, 1fr); }
  .ip-timeline-h { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc, .article-share { position: static; }
  .article-toc ul { flex-direction: row; flex-wrap: wrap; }
  .blog-featured { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ip-grid-2, .ip-grid-3, .ip-grid-6, .ip-checklist, .ip-about-split { grid-template-columns: 1fr; }
  .ip-hero-stats { grid-template-columns: 1fr; }
  .ip-timeline-h { grid-template-columns: repeat(2, 1fr); }
  .ip-stats-banner { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
  .ip-cta { padding: 40px 24px; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search { max-width: none; }
}

@media (max-width: 480px) {
  .ip-stats-banner { grid-template-columns: 1fr; }
  .ip-timeline-h { grid-template-columns: 1fr; }
}
