/* ==========================================================================
   Masal Digital - Çoklu Sayfa CSS Stilleri
   ========================================================================== */

:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 19, 39, 0.45);
  --bg-card-hover: rgba(22, 28, 56, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(79, 172, 254, 0.3);
  
  --primary: #00f2fe;
  --secondary: #4facfe;
  --accent: #9b51e0;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --success: #10b981;
  --error: #ef4444;

  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1200px;
  --header-height: 80px;

  --in-oklch: ;
}

@supports (color: oklch(0% 0 0)) {
  :root {
    --in-oklch: in oklch;
    --primary: oklch(0.82 0.17 195);
    --secondary: oklch(0.68 0.16 220);
    --accent: oklch(0.62 0.22 310);
    --text-primary: oklch(0.98 0.01 240);
    --text-secondary: oklch(0.85 0.01 240);
    --text-muted: oklch(0.55 0.02 240);
  }
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

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

section {
  padding: 7rem 0;
  position: relative;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg var(--in-oklch), var(--primary), var(--secondary));
  color: #070913;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.gradient-text {
  background: linear-gradient(90deg var(--in-oklch), var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.accent-text {
  color: var(--primary);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: 20%;
  left: -200px;
  animation: floatOrb 18s infinite alternate-reverse ease-in-out;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: 5%;
  right: -50px;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 80px) scale(1.1); }
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(7, 9, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.main-header.scrolled {
  height: 70px;
  background: rgba(7, 9, 19, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.7rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link { white-space: nowrap; }

/* Sepet ve üyelik butonları */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-actions .btn { white-space: nowrap; }

/* Hesap bağlantılarının menüdeki kopyası yalnızca dar ekranda görünür */
.nav-mobile-only { display: none; }

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 172, 254, 0.1);
  border: 1px solid rgba(79, 172, 254, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-showcase {
  position: relative;
}

.showcase-wrapper {
  position: relative;
  width: 100%;
}

.showcase-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: linear-gradient(135deg var(--in-oklch), var(--primary), var(--accent));
  filter: blur(50px);
  opacity: 0.25;
  z-index: 1;
  border-radius: 20px;
}

.mockup-frame {
  position: relative;
  z-index: 2;
  background: rgba(10, 12, 30, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.mockup-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transform: translateX(-15px);
}

.mockup-img {
  width: 100%;
  display: block;
  height: auto;
  opacity: 0.95;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.feature-card-glow {
  width: 100%;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card-glow:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.2);
  background: var(--bg-card-hover);
}

.demo-section {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.text-left {
  text-align: left !important;
  margin-left: 0 !important;
}

.suggested-questions {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.suggested-questions p {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.question-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chip-btn:hover {
  background: rgba(79, 172, 254, 0.1);
  border-color: var(--primary);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.demo-chat-box {
  background: #0f1226;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
}

.chat-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.chat-bot-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg var(--in-oklch), var(--accent), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(155, 81, 224, 0.3);
}

.chat-bot-info {
  display: flex;
  flex-direction: column;
}

.chat-bot-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-bot-status {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.chat-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.message {
  max-width: 80%;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bot-message {
  align-self: flex-start;
  background: rgba(15, 19, 39, 0.8);
  border: 1px solid rgba(155, 81, 224, 0.25);
  border-radius: 18px 18px 18px 0;
  color: var(--text-secondary);
}

.user-message {
  align-self: flex-end;
  background: linear-gradient(135deg var(--in-oklch), var(--secondary) 0%, rgba(79,172,254,0.7) 100%);
  color: #070913;
  border-radius: 18px 18px 0 18px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.15);
}

.chat-typing-indicator {
  padding: 0.5rem 1.5rem;
  display: flex;
  gap: 4px;
}

.chat-typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typing 1s infinite alternate;
}

.chat-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  from { transform: translateY(0); opacity: 0.4; }
  to { transform: translateY(-5px); opacity: 1; }
}

.chat-input-area {
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.75rem;
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.chat-input-area input:focus {
  outline: none;
  border-color: rgba(79, 172, 254, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-chat-send {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg var(--in-oklch), var(--primary), var(--secondary));
  color: #070913;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-chat-send:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.calc-options-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.calc-options-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.calc-desc {
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.calc-option-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-checkbox-label {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.calc-checkbox-label input {
  display: none;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--text-muted);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

.calc-checkbox-label input:checked + .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.calc-checkbox-label input:checked + .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #070913;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.calc-checkbox-label input:disabled + .custom-checkbox {
  opacity: 0.5;
  cursor: not-allowed;
}

.opt-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.opt-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.required-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.opt-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.opt-price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.calc-checkbox-label:has(input:checked) {
  border-color: rgba(79, 172, 254, 0.4);
  background: rgba(79, 172, 254, 0.03);
}

.calc-checkbox-label:hover:not(:has(input:disabled)) {
  border-color: rgba(79, 172, 254, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.calc-result-card {
  background: linear-gradient(180deg, #131731 0%, #0c0f24 100%);
  border: 1px solid var(--border-color-glow);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.result-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg var(--in-oklch), var(--primary), var(--secondary));
}

.result-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.result-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.res-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.res-item-price {
  font-weight: 600;
  color: #fff;
}

.result-divider {
  height: 1px;
  background: var(--border-color);
  margin: 2rem 0;
}

.result-stats-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.result-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-val {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-val.price-val {
  font-size: 2rem;
  color: var(--primary);
  background: linear-gradient(90deg var(--in-oklch), var(--primary), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.result-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  text-align: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.contact-details-list {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.detail-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  position: relative;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
  padding-right: 3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.form-error-msg {
  display: none;
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 0.4rem;
  font-weight: 500;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.03);
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-success-state {
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.4s ease forwards;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.form-success-state h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.form-success-state p {
  margin-bottom: 2rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.main-footer {
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  background: #04060d;
}

.footer-container {
  display: grid;
  /* Marka · hızlı menü · yasal metinler */
  grid-template-columns: 1.4fr 0.6fr 0.9fr;
  row-gap: 3rem;
  column-gap: 3.5rem;
}

/* Ödeme yöntemleri ve güvenlik rozetleri */
.footer-payments {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-payment-band {
  height: 28px;
  width: auto;
  max-width: 100%;
  margin-right: 0.6rem;
}

.footer-payment-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.footer-payment-badge {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}

/* Satıcı künyesi */
.footer-company {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: -1.5rem;
}

.footer-brand p {
  margin-top: 1.2rem;
  max-width: 400px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--primary);
}

/* Başlıktaki sepet butonu */
.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-cart.active { border-color: var(--primary); }

.header-cart-count {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--primary);
  color: #04060d;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3rem;
  text-align: center;
}

/* Sepet ve ödeme: içerik + yapışkan özet */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: start;
}

.checkout-layout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }

.cart-summary {
  padding: 1.6rem;
  position: sticky;
  top: 100px;
}

.cart-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-row-info { flex: 1; min-width: 0; }

.cart-row-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.cart-row-total {
  width: 120px;
  text-align: right;
  font-weight: 600;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* iyzico ile Öde ve kart logoları */
.checkout-trust {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.checkout-trust img { max-width: 100%; height: auto; }
.checkout-trust > img:first-child:not(.checkout-trust-band) { height: 28px; width: auto; }
.checkout-trust-band { width: 100%; max-width: 340px; height: auto; }

.checkout-trust p {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

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

/* Ürün sayfası: plan sütunları */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--bg-card);
}

.plan-card.is-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 10px 40px rgba(0, 242, 254, 0.08);
}

.plan-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.6rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--primary);
  color: #04060d;
  font-size: 0.72rem;
  font-weight: 700;
}

.plan-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin: 0;
}

.plan-period {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.plan-price {
  margin-top: 1.2rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}

.plan-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-vat {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Özellik listesi sütunun boşluğunu doldurur; butonlar aynı hizada kalır */
.plan-features {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--border-color);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
}

.plan-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.plan-features-spacer { flex: 1; min-height: 1.6rem; }

.plan-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.8rem;
  margin-top: 1.8rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Hakkımızda */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-company-card { padding: 2.2rem; }

.about-company-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem 2rem;
  margin: 0 0 1.8rem;
}

.about-company-list dt {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.about-company-list dd {
  margin: 0;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

.about-company-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-color);
}

.about-company-links a { color: var(--primary); }

.about-company-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-company-payments .checkout-trust-band { max-width: 300px; }

/* Menü tek satırda kalsın: genişlik azaldıkça önce aralıklar, sonra
   sepet yazısı küçülür. 768px altında hamburger menüye geçilir. */
@media (max-width: 1200px) {
  .header-container { gap: 1.5rem; }
  .main-nav ul { gap: 1.4rem; }
  .header-actions .btn-sm { padding: 0.5rem 0.95rem; }
}

@media (max-width: 1080px) {
  .header-cart-label { display: none; }
  .main-nav ul { gap: 1.1rem; }
  .logo { font-size: 1.35rem; }
}

@media (max-width: 1024px) {
  html { font-size: 15px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .about-story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .demo-wrapper { grid-template-columns: 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-details-list { align-items: center; }
}

/* Menü öğeleri, logo ve üç buton 1024px altında tek satıra sığmıyor;
   bu genişlikten itibaren hamburger menüye geçilir. */
@media (max-width: 1024px) {
  .header-container { gap: 0.8rem; }
  .logo { margin-right: auto; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #070913;
    z-index: 999;
    padding: 3rem 2rem;
    transition: left 0.4s ease;
    border-top: 1px solid var(--border-color);
  }
  .main-nav.active { left: 0; }
  .main-nav ul { flex-direction: column; gap: 2rem; align-items: center; }
  .main-nav a { font-size: 1.3rem; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .header-account { display: none; }
  .nav-mobile-only { display: list-item; }
  .logo { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  .hero-title { font-size: 2.6rem; }
  .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-company { margin-top: 0; }
  .header-cart-label { display: none; }
  .cart-row { flex-wrap: wrap; }
  .cart-row-info { flex-basis: calc(100% - 90px); }
  .cart-row-qty { margin-left: 90px; }
  .cart-row-total { flex: 1; width: auto; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .about-company-card { padding: 1.4rem; }
}
