/* ==========================================================================
   DB26 Portal - Dijital Yazılım, Uygulama & Geliştirici Promosyonları
   100% Responsive, Corporate Desktop & App-Style Mobile Theme
   ========================================================================== */

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --accent: #10b981;
  --telegram: #229ed9;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 20px -3px rgba(0,0,0,0.1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* space for mobile sticky bar */
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--brand-hover);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--brand), #818cf8);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand);
}

.btn-header-ad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 9999px;
  transition: all 0.2s;
}

.btn-header-ad:hover {
  background: #dcfce7;
  color: #14532d;
}

/* Ad Banners - Transparent & High Conversion */
.ad-slot-leaderboard {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
}

.ad-info {
  text-align: left;
}

.ad-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  background: #e2e8f0;
  color: #475569;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.ad-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.ad-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--telegram);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  box-shadow: 0 2px 4px rgba(34, 158, 217, 0.3);
  white-space: nowrap;
}

.btn-telegram:hover {
  background: #1b8ec5;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #a5b4fc;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 750px;
  line-height: 1.7;
}

/* Layout Grid */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

/* Section Header */
.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* App/Software Showcase Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.app-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.app-details h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.app-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.app-tags {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 700;
  background: #eef2ff;
  color: var(--brand);
  padding: 2px 8px;
  border-radius: 4px;
}

.tag-bonus {
  background: #f0fdf4;
  color: #15803d;
}

.btn-get {
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-get:hover {
  background: var(--brand-hover);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eef2ff;
}

.sponsor-box {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.sponsor-box h4 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.sponsor-box p {
  font-size: 0.9rem;
  color: #c7d2fe;
  margin-bottom: 1.25rem;
}

/* Mobile Sticky Bottom Bar (High Conversion) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  z-index: 999;
  justify-content: space-between;
  align-items: center;
}

.sticky-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.sticky-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  padding-top: 2rem;
  border-top: 1px solid var(--primary-light);
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .ad-slot-leaderboard {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .ad-info {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero p {
    font-size: 0.98rem;
  }
  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-get {
    width: 100%;
    text-align: center;
  }
  .nav-links {
    display: none;
  }
  .mobile-sticky-bar {
    display: flex;
  }
}

/* ==========================================================================
   Comparison Table, SEO Content & FAQ Styles
   ========================================================================== */
.table-section {
  margin-top: 3.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.seo-table th {
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.seo-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: middle;
}

.seo-table tr:hover {
  background-color: #f8fafc;
}

/* SEO Content Section */
.seo-section {
  margin-top: 3.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.seo-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.seo-section h2:first-child {
  margin-top: 0;
}

.seo-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.seo-section p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.seo-section ul, .seo-section ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #334155;
  line-height: 1.8;
}

.seo-section li {
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-section {
  margin-top: 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: #cbd5e1;
}

.faq-card summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s;
}

.faq-card[open] summary::after {
  transform: rotate(45deg);
}

.faq-card p {
  margin-top: 1rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Guide Cards Grid & Single Article Page Styles
   ========================================================================== */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

.guide-item-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.guide-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.guide-item-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.guide-item-card h3 a {
  color: inherit;
}

.guide-item-card h3 a:hover {
  color: var(--brand);
}

.guide-item-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  font-size: 0.85rem;
}

.guide-read-link {
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1.5rem 0 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* Single Article Layout */
.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1.3;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.3px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.article-body p {
  margin-bottom: 1.2rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.75rem;
  line-height: 1.8;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-callout {
  background: #f0fdf4;
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.75rem 0;
  font-size: 0.98rem;
  color: #14532d;
}

.author-card-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #818cf8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
}


