@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
  --primary: #2563eb;
  --primary-dark: #1e3a8a;
  --accent: #38bdf8;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-dim: #64748b;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden; /* Yatay kaymayı önler */
}

header {
  background: radial-gradient(circle at top right, var(--primary-dark), #0f172a);
  color: white;
  padding: 60px 20px 100px;
  text-align: center;
}

@media (min-width: 768px) {
  header { padding: 80px 20px 140px; }
}

header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- LAYOUT SİSTEMİ --- */
.layout {
  max-width: 1440px;
  margin: -60px auto 40px;
  display: flex;
  flex-direction: column; /* Mobilde her şey alt alta */
  gap: 20px;
  padding: 0 15px;
}

/* Masaüstü: Yan panelleri sığdırmak için 180px genişlik ve otomatik esneme */
@media (min-width: 1200px) {
  .layout {
    display: grid;
    /* Yan panelleri 180px yaptık (Metinlerin sığması için) */
    grid-template-columns: 180px 1fr 180px; 
    margin-top: -80px;
    padding: 0 20px;
    gap: 24px;
    align-items: start;
  }
}

/* --- YAN PANELLER (ESNEK YAPI) --- */
.side-panel {
  display: none; /* Mobilde gizle */
}

@media (min-width: 1200px) {
  .side-panel {
    display: block;
    position: sticky;
    top: 20px;
    z-index: 5;
  }
}

.promo-box {
  width: 100%;
  height: 700px;
  /* Sabit yükseklik silindi, içeriğe göre uzayacak */
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.promo-tag {
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 10px 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-content {
  padding: 20px 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  word-wrap: break-word; /* Uzun kelimeleri böler */
}

.promo-content p {
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

/* --- ANA İÇERİK KARTI --- */
.content {
  background: var(--card-bg);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 35px);
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  width: 100%;
}

@media (min-width: 768px) {
  .content { border-radius: 24px; }
}

/* --- FORM ELEMANLARI --- */
.pro-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 14px 15px;
  font-size: 16px; /* Mobil Safari'de otomatik zoom'u engeller */
  border-radius: 12px;
  border: 2px solid var(--border);
  outline: none;
  transition: all 0.3s ease;
  background: white;
  -webkit-appearance: none;
}

input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

/* İkonlu alan için padding düzenlemesi */
.email-field input {
  padding-left: 48px !important;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--text-dim);
}

/* --- STATS GRID --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 25px 0;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-card {
  padding: 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  text-align: center;
}

/* --- BUTTONS --- */
.submit-btn {
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* --- FOOTER --- */
footer {
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: white;
}