/* ==========================================================================
   SINANZEYBEK.COM - ORGANIZED & STRUCTURED COMPONENT SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SITE HEADER (Clean, Fixed, Single-Line)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 23, 39, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 900;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-logo-name span {
  color: var(--blue-primary);
}

.brand-logo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   2. HERO UNIFIED SECTION
   -------------------------------------------------------------------------- */
.hero-unified-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  background: #FFFFFF;
  position: relative;
}

.hero-main-wrapper {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-main-wrapper h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero-main-wrapper .lead-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* 3 Core Engine Pillar Cards in Hero */
.hero-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.pillar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  background: #FFFFFF;
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   3. "BÜTÜNLEŞİK SİSTEM NASIL ÇALIŞIR?" (Unified 3-Step Flow)
   -------------------------------------------------------------------------- */
.system-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.flow-step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.flow-step-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.flow-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 14px;
  line-height: 1;
}

.flow-step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.flow-step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.flow-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.flow-bullet-list li {
  font-size: 0.84rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-bullet-list li svg {
  width: 14px;
  height: 14px;
  fill: var(--blue-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. FLOW CRM REAL INTERACTIVE SHOWCASE (Dark Mode App Container)
   -------------------------------------------------------------------------- */
.flowcrm-app-wrapper {
  background: #0D1524;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* App Header Bar */
.crm-app-topbar {
  background: #111C30;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.crm-brand-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crm-brand-label strong {
  font-size: 1.15rem;
  color: #FFFFFF;
}

.crm-brand-label strong span {
  color: var(--blue-primary);
}

.crm-dev-tag {
  background: rgba(0, 82, 255, 0.25);
  color: #93C5FD;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 82, 255, 0.4);
}

/* Tab Selector Navigation Bar */
.crm-tab-nav {
  display: flex;
  background: #0B1220;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
  overflow-x: auto;
}

.crm-tab-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.86rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.crm-tab-btn.active {
  background: var(--blue-primary);
  color: #FFFFFF;
}

/* Tab Panels Content Container */
.crm-tab-content-area {
  padding: 28px;
}

.crm-panel-view {
  display: none;
  animation: fadeInPane 0.25s ease;
}

.crm-panel-view.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel Internal Grids */
.crm-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.crm-view-header h4 {
  font-size: 1.3rem;
  color: #FFFFFF;
}

.crm-view-header p {
  font-size: 0.86rem;
  color: #94A3B8;
  margin-top: 2px;
}

/* Channels Grid */
.channel-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.channel-box {
  background: #152238;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.channel-box h5 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.channel-box .sub-badge {
  font-size: 0.72rem;
  color: #93C5FD;
  margin-bottom: 8px;
  display: block;
}

.channel-box p {
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* Pipeline Kanban Board */
.kanban-board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kanban-col {
  background: #131E33;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kanban-col-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kanban-deal-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kanban-deal-card .deal-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.kanban-deal-card .deal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
}

/* Task items list */
.task-items-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-row-card {
  background: #152238;
  border-radius: 10px;
  padding: 14px 18px;
  border-left: 4px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-row-card.priority-red {
  border-left-color: #EF4444;
}

/* --------------------------------------------------------------------------
   5. META & YAPAY ZEKÂ INSIGHTS (Instagram Post Framework)
   -------------------------------------------------------------------------- */
.insights-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.insight-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.insight-tile:hover {
  border-color: var(--blue-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.insight-num-pill {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.insight-tile h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.insight-tile p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE ROI CALCULATOR & CASES
   -------------------------------------------------------------------------- */
.growth-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.calc-box-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.calc-slider-item {
  margin-bottom: 22px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.calc-slider-val {
  color: var(--blue-primary);
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 900;
}

.calc-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  background: #E2E8F0;
  outline: none;
  cursor: pointer;
}

.calc-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 82, 255, 0.4);
}

.calc-output-card {
  background: var(--bg-navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #FFFFFF;
  text-align: center;
  margin-top: 24px;
}

.calc-out-revenue {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: var(--font-heading);
  margin: 6px 0 14px 0;
  color: #FFFFFF;
}

.calc-out-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   7. PROPOSAL & CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-section-card {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-field-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.input-field-group input,
.input-field-group select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.input-field-group input:focus,
.input-field-group select:focus {
  background: #FFFFFF;
  border-color: var(--blue-primary);
}

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-navy-dark);
  color: #FFFFFF;
  padding: 60px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-col p {
  color: var(--text-white-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: var(--text-white-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--blue-primary);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-white-muted);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-pillars-grid,
  .system-flow-grid,
  .channel-blocks-grid,
  .kanban-board-grid,
  .insights-4grid,
  .growth-section-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-inner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form-grid,
  .footer-inner-grid {
    grid-template-columns: 1fr;
  }
  .contact-section-card {
    padding: 24px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
