/**
 * WeTicaret tanıtım sitesi — ana stiller
 * Kurumsal SaaS / e-ticaret altyapısı görünümü
 */

/* ---- CSS değişkenleri ---- */
:root {
  --primary: #0d47a1;
  --secondary: #1565c0;
  --accent: #ff6f00;
  --accent-alt: #2e7d32;
  --dark: #0a1628;
  --light: #f5f8fc;
  --text: #1a2332;
  --muted: #5c6b7a;
  --white: #ffffff;
  --border: #d8e4f0;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.1);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --header-h: 72px;
  /* Mobil menü konumu için üst şerit yaklaşık yüksekliği */
  --topbar-h: 40px;
}

/* ---- sıfırlama / temel ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--dark);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* ---- yardımcılar ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--light);
}

.section__intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.section__intro--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

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

/* ---- butonlar ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 111, 0, 0.35);
}

.btn--primary:hover {
  background: #e65100;
  color: var(--white);
}

.btn--secondary {
  background: var(--accent-alt);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
}

.btn--secondary:hover {
  background: #1b5e20;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: rgba(13, 71, 161, 0.06);
}

.btn--ghost {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---- üst şerit ---- */
.topbar {
  background: var(--dark);
  color: #c5d4e8;
  font-size: 0.8125rem;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: #e3ecf8;
}

.topbar a:hover {
  color: var(--white);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: auto;
}

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

/* ---- masaüstü navigasyon + mega menü ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-main {
  display: flex;
  align-items: center;
}

.nav-main > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-main > ul > li {
  position: relative;
}

.nav-main > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 8px;
}

.nav-main > ul > li > a:hover {
  background: var(--light);
  text-decoration: none;
  color: var(--primary);
}

/* Masaüstü: mega satırında mobil tetikleyiciyi gizle */
.mega-trigger {
  display: none;
}

.nav-main .caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--muted);
}

/* Mega panel */
.has-mega .mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  top: 100%;
  min-width: 720px;
  max-width: min(960px, calc(100vw - 48px));
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

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

.mega-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 700;
}

.mega-col ul li {
  margin-bottom: 10px;
}

.mega-col a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.mega-col a:hover {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background: linear-gradient(165deg, #e8f0fb 0%, var(--white) 55%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero__visual {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ---- logo şeridi ---- */
.logo-strip {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.logo-strip__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.logo-strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
}

.logo-strip__items img {
  height: 36px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 0.2s ease;
}

.logo-strip__items img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ---- kart ızgarası ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.12), rgba(21, 101, 192, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.card__title {
  margin-bottom: 10px;
}

.card img.card__thumb {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
}

/* ---- özellik satırı ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-row__list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
}

.feature-row__list li::before {
  content: "✓";
  color: var(--accent-alt);
  font-weight: 800;
  flex-shrink: 0;
}

/* ---- CTA bandı ---- */
.cta-band {
  padding: 56px 0;
  background: linear-gradient(120deg, var(--primary) 0%, #0a3d91 100%);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  max-width: calc(var(--container) + 48px);
  margin-left: auto;
  margin-right: auto;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-row {
  justify-content: center;
}

.cta-band .btn--outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-band .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- tablo (paket karşılaştırma) ---- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--light);
  font-weight: 700;
  color: var(--dark);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .check {
  color: var(--accent-alt);
  font-weight: 700;
}

/* ---- paket kartları ---- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.price-card .price small {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.price-card ul {
  flex: 1;
  margin: 20px 0;
}

.price-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.price-card ul li:last-child {
  border-bottom: none;
}

/* ---- formlar ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid rgba(13, 71, 161, 0.35);
  border-color: var(--primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-card {
  background: var(--light);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-card h3 {
  margin-bottom: 16px;
}

/* ---- sayfa başlığı ---- */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 12px;
}

/* ---- footer ---- */
.site-footer {
  background: var(--dark);
  color: #a8b8cc;
  padding: 64px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.site-footer a {
  color: #c5d4e8;
  display: block;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span {
  color: #64b5f6;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

