/*
Theme Name:  MCP Nexus
Theme URI:   https://yourcompany.com
Description: Master Control Panel ile tam entegre, modern IT/Ajans teması. Koyu-minimal estetik, glassmorphism kartlar, keskin geometrik aksan çizgileri.
Version:     1.0.0
Author:      Your IT Company
Author URI:  https://yourcompany.com
License:     GPL-2.0+
Text Domain: mcp-nexus
Tags:        dark, modern, full-width, custom-header, custom-logo, responsive-layout
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
  /* Brand – MCP panelinden override edilir */
  --accent:        #00e5ff;
  --accent-glow:   rgba(0, 229, 255, 0.18);
  --accent-dark:   #0099b3;

  /* Neutrals */
  --bg-base:       #080c14;
  --bg-surface:    #0e1420;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.08);
  --border-accent: rgba(0,229,255,0.3);

  /* Text */
  --text-primary:  #f0f4ff;
  --text-secondary:#8896b0;
  --text-muted:    #4a5568;

  /* Spacing */
  --container:     1240px;
  --section-py:    100px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  24px;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem,   4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-secondary); max-width: 68ch; }

.accent-text { color: var(--accent); }
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.label-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}

/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.section { padding: var(--section-py) 0; }
.section--sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  :root { --section-py: 64px; }
}

/* ═══════════════════════════════════════════════
   CARDS — Glassmorphism
   ═══════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px;
  transition: background .25s, border-color .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover { background: var(--bg-card-hover); border-color: var(--border-accent); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent); font-size: 22px;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: 14px 30px; border-radius: var(--r-sm);
  cursor: pointer; border: none; transition: all .2s;
  letter-spacing: .01em; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 28px rgba(0,229,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0,229,255,.4); }

.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Arrow icon */
.btn-primary .arrow { transition: transform .2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 12, 20, .88);
  backdrop-filter: blur(20px) saturate(150%);
  border-color: var(--border);
  padding: 12px 0;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.site-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.site-logo img { height: 40px; width: auto; }
.site-logo-text {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 800;
  color: var(--text-primary); letter-spacing: -.02em;
}
.logo-dot { color: var(--accent); }

.main-nav {
  display: flex; align-items: center; gap: 4px;
}
.main-nav a {
  font-family: var(--font-body); font-size: .9rem; font-weight: 500;
  color: var(--text-secondary); padding: 8px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text-primary); background: var(--bg-card); }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav, .header-cta .btn { display: none; }
  .mobile-menu {
    display: none; position: fixed; inset: 0; top: 72px;
    background: rgba(8,12,20,.97); backdrop-filter: blur(20px);
    padding: 32px 28px; flex-direction: column; gap: 4px; z-index: 999;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); padding: 16px 0; border-bottom: 1px solid var(--border); }
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero-section {
  min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 80px; position: relative; overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  bottom: -100px; left: 20%;
  animation-delay: -3s;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(20px,-30px) scale(1.05); }
  66%      { transform: translate(-15px, 20px) scale(.97); }
}

/* Grid lines bg */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
  opacity: .4;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: 999px; padding: 8px 16px 8px 10px;
  margin-bottom: 28px;
  animation: fadeInUp .6s ease both;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-badge span { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); letter-spacing: .1em; }

.hero-title {
  margin-bottom: 24px;
  animation: fadeInUp .7s .1s ease both;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary); margin-bottom: 40px; max-width: 560px;
  animation: fadeInUp .7s .2s ease both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: fadeInUp .7s .3s ease both;
}

.hero-scroll-hint {
  margin-top: 80px; display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: .8rem; font-family: var(--font-mono);
  animation: fadeInUp .7s .5s ease both;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--text-muted);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  animation: scan 2s linear infinite;
}
@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

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

/* ═══════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════ */
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* Decorative line under section heading */
.deco-line {
  display: inline-block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px; margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════
   SERVICES / FEATURES SECTION
   ═══════════════════════════════════════════════ */
.services-section { background: var(--bg-surface); }

.service-card .card-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p  { font-size: .9rem; color: var(--text-muted); max-width: none; }

/* ═══════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════ */
.stats-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: var(--text-primary);
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }

/* ═══════════════════════════════════════════════
   ABOUT / SPLIT SECTION
   ═══════════════════════════════════════════════ */
.split-section { gap: 80px; align-items: center; }
.split-section .split-visual {
  position: relative;
}
.split-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.split-img-wrap img { width: 100%; height: 440px; object-fit: cover; }
.split-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.split-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--bg-surface); border: 1px solid var(--border-accent);
  border-radius: var(--r-md); padding: 20px 24px;
  font-family: var(--font-mono);
}
.split-badge .num { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.split-badge .lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }

.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 16px 20px;
  transition: border-color .2s;
}
.feature-item:hover { border-color: var(--border-accent); }
.feature-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent); font-size: 12px;
}
.feature-item strong { display: block; font-size: .95rem; color: var(--text-primary); margin-bottom: 2px; }
.feature-item span   { font-size: .85rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 32px;
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; }
.testimonial-text  { font-size: 1rem; color: var(--text-secondary); font-style: italic; margin-bottom: 24px; max-width: none; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-glow); border: 2px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 800; font-size: .95rem;
  font-family: var(--font-display);
}
.t-name  { font-weight: 700; font-size: .95rem; }
.t-role  { font-size: .8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   CONTACT / CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,229,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { margin: 0 auto 36px; font-size: 1.1rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .9rem; margin-top: 16px; color: var(--text-muted); max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--accent); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .9rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text-primary); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--text-muted); margin-bottom: 12px;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: var(--text-muted); max-width: none; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all .2s;
}
.social-link:hover { border-color: var(--border-accent); color: var(--accent); background: var(--accent-glow); }
.social-link svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-badge { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════
   WORDPRESS CORE
   ═══════════════════════════════════════════════ */
.entry-content { max-width: 780px; margin: 0 auto; padding: var(--section-py) 28px; }
.entry-content p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.entry-content h2, .entry-content h3 { margin: 2.5rem 0 1rem; }
.entry-content ul, .entry-content ol { padding-left: 24px; color: var(--text-secondary); margin-bottom: 1.5rem; }
.entry-content li { margin-bottom: .5rem; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content blockquote {
  border-left: 3px solid var(--accent); padding: 16px 24px;
  background: var(--bg-card); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 2rem 0; font-style: italic; color: var(--text-secondary);
}
.entry-content img { border-radius: var(--r-md); margin: 2rem auto; }
.entry-content code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 4px; color: var(--accent);
}
.entry-content pre {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 24px; overflow-x: auto; margin: 2rem 0;
}

/* Page Header */
.page-hero {
  padding: 140px 0 60px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

/* 404 */
.error-404 { text-align: center; padding: 160px 28px; }
.error-404 .error-code {
  font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900; color: transparent;
  -webkit-text-stroke: 2px var(--border-accent);
  line-height: 1; margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ═══════════════════════════════════════════════
   SELECTION
   ═══════════════════════════════════════════════ */
::selection { background: rgba(0,229,255,.2); color: var(--text-primary); }

/* ═══════════════════════════════════════════════
   MCP ACCENT OVERRIDE (panelden gelir)
   ═══════════════════════════════════════════════ */
/* --mcp-primary zaten wp_head üzerinden enjekte edilir
   Biz onu --accent'e bağlıyoruz:                     */
