:root {
  --bg: #080d1a;
  --bg2: #0d1528;
  --bg3: #111d35;
  --primary: #3b82f6;
  --primary-dim: rgba(59,130,246,0.15);
  --accent: #06b6d4;
  --text: #f0f4ff;
  --text-muted: #7a8cad;
  --text-dim: #4a5878;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(59,130,246,0.4);
  --card: rgba(13,21,40,0.8);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,13,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 36px; }

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.04em;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after {
  content: '▾';
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  list-style: none;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .dropdown-menu { display: block; }
.nav-dropdown.open .dropdown-menu { display: block; }

/* Dropdown kapanmadan önce biraz bekle */
.dropdown-menu {
  padding-bottom: 16px;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.dropdown-menu li a:hover { color: var(--text); background: var(--primary-dim); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  transition: var(--transition);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--text); background: var(--primary-dim); }
.lang-sep { color: var(--text-dim); font-size: 11px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .dropdown-menu { position: static; display: none; transform: none; box-shadow: none; background: rgba(255,255,255,0.03); }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hamburger { display: flex; }
  .lang-switcher { margin-left: 8px; padding-left: 12px; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(6,182,212,0.07) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,130,246,0.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); background: var(--primary-dim); transform: translateY(-1px); }

/* ---- SECTIONS ---- */
section { padding: 96px 0; }
.section-dark { background: var(--bg2); }
.section-darker { background: var(--bg); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1rem; }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(59,130,246,0.1); }

.card-icon {
  width: 52px; height: 52px;
  background: var(--primary-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ---- PRODUCT ROW ---- */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.product-row:last-child { border-bottom: none; }
.product-row.reverse .product-visual { order: 2; }
.product-row.reverse .product-text { order: 1; }

.product-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}

.product-text .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.product-text h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.product-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }

.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '→'; color: var(--primary); flex-shrink: 0; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap var(--transition);
}
.btn-link:hover { gap: 10px; }

/* ---- BLOG GRID ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.blog-card h4 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h4 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; line-height: 1.6; }
.read-more { color: var(--primary); font-size: 0.83rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.read-more:hover { gap: 8px; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: #151B40 ;
  padding: 140px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 0.97rem; }

/* ---- CONTACT FORM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }

.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--primary); flex-shrink: 0;
}
.contact-item h5 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 4px; font-family: inherit; }
.contact-item a, .contact-item p { font-size: 0.92rem; color: var(--text); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */
footer {
  background: #040810;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 32px; margin-bottom: 16px; }
.footer-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-col h5 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text); margin-bottom: 16px; font-family: inherit; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.87rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }

/* ---- COOKIE BAR ---- */
.cookie-bar {
  position: fixed;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  max-width: 560px;
  width: calc(100% - 32px);
  box-shadow: var(--shadow);
}
.cookie-bar p { font-size: 0.83rem; color: var(--text-muted); }
.cookie-bar button { background: none; border: none; color: var(--text-dim); font-size: 1.2rem; flex-shrink: 0; }
.cookie-bar.hidden { display: none; }

/* ---- BACK TO TOP ---- */
#btt {
  position: fixed; bottom: 20px; right: 20px;
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  border: none;
  box-shadow: 0 4px 16px rgba(59,130,246,0.4);
  z-index: 900;
  transition: var(--transition);
}
#btt.show { display: flex; }
#btt:hover { transform: translateY(-2px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .product-row, .product-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .product-row.reverse .product-visual { order: 0; }
  .product-row.reverse .product-text { order: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .cards-grid-3, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
