html {
  overflow-y: scroll;
}

:root {
  --primary: #d32f2f;
  --primary-dark: #b71c1c;
  --primary-light: #f44336;
  --accent-yellow: #ffca28;
  --bg: #ffffff;
  --bg-gray: #f9f9f9;
  --bg-dark: #212121;
  --text: #333333;
  --text-muted: #757575;
  --border: #eeeeee;
  --shadow: 0 4px 24px rgba(211, 47, 47, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --header-height: 80px;
  --top-bar-height: 44px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

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

.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

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

.btn-white:hover {
  background: var(--bg-gray);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.btn-form {
  white-space: nowrap;
  min-width: 280px;
}

.link-arrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.link-arrow:hover {
  color: var(--primary-dark);
}

.link-arrow::after {
  content: " →";
}

/* Top bar */
.top-bar {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--top-bar-height);
  gap: 1rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.top-link:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  transition: background var(--transition);
}

.social-links a:hover {
  background: var(--primary-dark);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.25em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero slider */
.hero-slider {
  position: relative;
  background: #fff;
  overflow: hidden;
  min-height: 480px;
  padding-bottom: 3rem;
}

.slider-track {
  position: relative;
}

.slide {
  display: none;
  padding: 3rem 0 4rem;
  animation: fadeIn 0.6s ease;
}

.slide.active {
  display: block;
}

.slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.slide-tag {
  display: inline-block;
  color: var(--primary-light);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.slide-content h1,
.slide-content .slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.slide-content h1 mark,
.slide-content .slide-title mark {
  background: linear-gradient(transparent 55%, var(--accent-yellow) 55%);
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.slide-content p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 52ch;
}

/* Social icons hidden site-wide until real profile links are provided (avoids linking to '#') */
.social-icons-new,
.social-icons-footer {
  display: none !important;
}

.slide-image {
  height: 360px;
  width: 100%;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center top;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.slide-image-1 {
  background-color: #0d1b2a;
  background-image: url("/assets/slide-yonetim.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide-image-2 {
  background-color: #0d1b2a;
  background-image: url("/assets/slide-siparis.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide-image-3 {
  background-color: #0d1b2a;
  background-image: url("/assets/slide-mobil.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2;
}

.slider-btn:hover {
  background: var(--primary);
  color: #fff;
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

/* Experience banner */
.experience-banner {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.banner-text p {
  opacity: 0.92;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head.center h2 {
  max-width: 720px;
  margin-inline: auto;
}

.section-head.light h2 {
  color: #fff;
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--text);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Demo form */
.demo-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.form-group input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-success {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

/* Story */
.story-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.story-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card .product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 20px -6px rgba(211, 47, 47, 0.5);
}

.product-card .product-icon svg {
  width: 28px;
  height: 28px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.product-card p {
  flex-grow: 1;
  color: var(--text-muted);
}

.product-card .link-arrow {
  margin-top: 1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.product-icon-1 { background: linear-gradient(135deg, #d32f2f, #f44336); }
.product-icon-2 { background: linear-gradient(135deg, #c62828, #e53935); }
.product-icon-3 { background: linear-gradient(135deg, #b71c1c, #d32f2f); }
.product-icon-4 { background: linear-gradient(135deg, #f44336, #ff7961); }
.product-icon-5 { background: linear-gradient(135deg, #e53935, #ff5252); }
.product-icon-6 { background: linear-gradient(135deg, #b71c1c, #f44336); }

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Stats marquee */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  overflow: hidden;
}

.stats-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.stats-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  text-align: center;
}

.stat-item strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* References */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}

.ref-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 80px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ref-logo:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.blog-image-1 { background-image: url("/assets/blog-1.jpg"); }
.blog-image-2 { background-image: url("/assets/blog-2.jpg"); }
.blog-image-3 { background-image: url("/assets/blog-3.jpg"); }

.blog-body {
  padding: 1.5rem;
}

.blog-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* FAQ */
.faq-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-group h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-item summary {
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 400;
}

.accordion-item[open] summary::after {
  content: "−";
}

.accordion-item summary:hover {
  background: var(--bg-gray);
}

.accordion-item p {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
  background: var(--bg-dark);
  color: #fff;
  padding: 3rem 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.newsletter-text p {
  opacity: 0.85;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: 2px solid var(--primary);
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col li,
.footer-brand ul a,
.footer-brand ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-brand ul li {
  margin-bottom: 0.5rem;
}

.footer-brand ul a {
  text-decoration: none;
}

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

.footer-bottom {
  background: var(--bg-gray);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 90;
  transition: background var(--transition);
  white-space: nowrap;
}

.floating-cta:hover {
  background: var(--primary-dark);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .btn-form {
    grid-column: 1 / -1;
    width: 100%;
  }

  .slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .slide-content p {
    margin-inline: auto;
  }

  .slide-image {
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-left .top-link:first-child {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--top-bar-height) + var(--header-height));
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .floating-cta {
    display: none;
  }
}


/* --- NEW HERO REDESIGN --- */
.hero-slider {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 550px;
  display: block;
  padding-bottom: 2rem;
}

@media (min-width: 992px) {
  .slide-inner {
    display: flex !important;
    align-items: center;
    position: relative;
    min-height: 500px;
    padding: 2rem 0;
  }
  
  .slide-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 90%;
    z-index: 1;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
    overflow: hidden;
  }
  
  .slide-image {
    height: 100% !important;
    border-radius: 0 !important;
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.1);
  }
  
  .slide.active .slide-image {
    transform: scale(1);
  }
  
  .slide-content {
    position: relative;
    z-index: 2;
    width: 55%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem 4rem;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 1);
  }

  .slide-content p {
    font-size: 1.15rem;
    color: #4a4a4a;
  }
}

/* Redesign text highlights */
.slide-content h1 mark,
.slide-content .slide-title mark {
  background: transparent !important;
  color: var(--primary) !important;
  position: relative;
}

/* Soft red underline instead of harsh yellow block */
.slide-content h1 mark::after,
.slide-content .slide-title mark::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(216, 27, 33, 0.15);
  border-radius: 4px;
  z-index: -1;
}

/* Button hover tweak */
.slide-content .btn-primary {
  box-shadow: 0 6px 16px rgba(216, 27, 33, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
}
.slide-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(216, 27, 33, 0.4);
}


/* --- HERO FIX: Remove Overlap --- */
@media (min-width: 992px) {
  .slide-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    position: relative;
    min-height: 500px;
    padding: 4rem 0 !important;
  }
  
  .slide-visual {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 450px !important;
    z-index: 1;
    border-radius: 24px !important;
    box-shadow: 0 24px 48px rgba(0,0,0,0.12) !important;
    overflow: hidden;
  }
  
  .slide-content {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }
}

/* --- ERP SECTION --- */
.erp-section {
  background: #fff;
  padding: 5rem 0 3rem;
}
.erp-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.erp-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.4;
  color: #111;
  margin-bottom: 2rem;
}
.highlight-green {
  position: relative;
  z-index: 1;
}
.highlight-green::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: -2%;
  width: 104%;
  height: 14px;
  background: #4ade80; /* bright green */
  z-index: -1;
  border-radius: 6px;
  transform: rotate(-1deg);
}
.btn-blue {
  background: #2563eb;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}
.btn-blue:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
  color: #fff;
}
.erp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.erp-logo {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  user-select: none;
}
@media (max-width: 992px) {
  .erp-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
.erp-logo:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #ddd;
}
@media (max-width: 992px) {
  .erp-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .erp-content h2 {
    margin-bottom: 3rem;
  }
  .erp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .erp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .erp-logo {
    height: 60px;
    font-size: 0.9rem;
  }
}

/* --- MEGA MENU --- */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  max-width: 1000px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1000;
  border: 1px solid #f0f0f0;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-inner {
  display: grid;
  /* Bu degerler daha once her kullanimda SATIR ICI yazilmisti; buraya alindi. */
  grid-template-columns: repeat(3, minmax(220px, auto));
  gap: 1rem;
}
/* Iletisim mega-menusu daha dar sutunlarla calisiyordu */
.mega-menu-inner.mega-izgara-dar {
  grid-template-columns: repeat(3, minmax(200px, auto));
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none !important;
  color: var(--text) !important;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mega-menu-item:hover {
  background: #f8f9fa;
  transform: translateX(4px);
}

.mega-menu-item:hover .mega-icon {
  transform: scale(1.05);
}

.mega-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: transform 0.2s ease;
}

.mega-icon svg {
  width: 24px;
  height: 24px;
}

.mega-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .mega-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    transition: max-height 0.4s ease;
    margin-top: 0;
  }
  
  
  .has-dropdown.active .mega-menu {
    max-height: 500px;
    padding-top: 1rem;
    margin-bottom: 1rem;
  }
  .has-dropdown:hover .mega-menu {
    max-height: 600px;
    padding-top: 1rem;
    margin-bottom: 1rem;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .mega-menu-empty {
    display: none;
  }
}


/* Fix for nav alignment */
@media (min-width: 993px) {
  .nav-links {
    align-items: center;
  }
  .nav-links li {
    display: flex;
    align-items: center;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1; /* Reset line-height to ensure text centers perfectly */
  }
  .nav-links a svg {
    display: block !important;
    margin: 0 !important;
  }
}

/* --- ERP Slide Height Match --- */
.erp-slide-inner {
  min-height: 578px;
}

/* --- ERP Mobile Slider Override --- */
@media (max-width: 992px) {
  .erp-slide-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  
  .erp-content-override {
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  .erp-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
    width: 100% !important;
    gap: 1rem !important;
  }
}

/* --- Top Bar and Menu Adjustments --- */
@media (max-width: 768px) {
  .top-bar-inner {
    height: auto !important;
    padding: 0.4rem 0 !important;
    gap: 0.5rem !important;
  }

  .social-icons-new {
    display: none !important;
  }

  .top-bar-right .btn-sm {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  .top-bar-left, .top-bar-right {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.75rem !important;
  }

  .main-nav {
    position: fixed !important;
    top: calc(var(--top-bar-height) + var(--header-height)) !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform var(--transition), opacity var(--transition) !important;
    z-index: 9999 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
  }

  .main-nav.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-links {
    flex-direction: column !important;
    padding: 1rem 0 !important;
  }

  .nav-links a {
    display: block !important;
    padding: 0.75rem 1.5rem !important;
  }

  /* Target pricing cards and grids */
  .pricing-card-single {
    width: calc(100% - 2rem) !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .logo-main {
    font-size: 1.3rem !important;
  }
  
  .slide-content h1 {
    font-size: 1.8rem !important;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}



/* === Urun Sayfasi - Premium Fiyat Karti === */
.premium-marketing-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 50px auto;
}
.premium-marketing-left {
  flex: 1 1 55%;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.premium-marketing-left h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 18px 0;
  line-height: 1.25;
}
.premium-marketing-left p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.premium-marketing-right {
  flex: 1 1 35%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.premium-marketing-right .package-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.95;
  margin-bottom: 12px;
}
.premium-marketing-right .price-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 28px;
}
.premium-marketing-right .price-value span {
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 4px;
}
.btn-premium-buy {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-premium-buy:hover {
  background: #f5f5f5;
  color: var(--primary-dark);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .premium-marketing-card { flex-direction: column; }
  .premium-marketing-left, .premium-marketing-right { flex: 1 1 100%; }
}


.mega-menu-center {
  left: 50% !important;
  transform: translateX(-50%) translateY(15px);
}
.has-dropdown:hover .mega-menu-center {
  transform: translateX(-50%) translateY(0);
}

/* Slider altindaki deneme/odeme kosulu seridi. Slayt metinlerini kalabaliklastirmamak
   icin ayri bir serit; her slaytta gorunur ve tek cumleyle kosulu net soyler. */
.deneme-serit {
  background: #f2f7fd;
  border-top: 1px solid #d9e6f7;
  border-bottom: 1px solid #d9e6f7;
  padding: 0.95rem 0;
}
.deneme-serit p {
  margin: 0 auto;
  max-width: 62rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.7rem;
  text-align: left;
  font-size: 0.97rem;
  line-height: 1.6;
  color: #17324f;
}
.deneme-serit strong { color: #0b3f8f; font-weight: 700; }
.deneme-serit svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: #12855a;
}
@media (max-width: 640px) {
  .deneme-serit { padding: 0.85rem 0; }
  .deneme-serit p { font-size: 0.9rem; align-items: flex-start; text-align: left; }
  .deneme-serit svg { margin-top: 2px; }
}
/* === MOBIL MEGA-MENU DUZELTMESI ===
   Mobilde .mega-menu akisa giriyor (position: static) ama masaustunden gelen
   width: max-content ve .mega-menu-center uzerindeki translateX(-50%) degerleri
   sifirlanmiyordu. Sonuc: menu icinde 724-912px genislik -> yatay kaydirma,
   kapali haldeyken 32px bos serit ve ekran disina kayan alt menuler.
   Bu blok dosyanin sonunda; .mega-menu-center kurallari da boylece eziliyor. */
@media (max-width: 992px) {
  .mega-menu,
  .mega-menu-center {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    left: auto !important;
    right: auto;
    transform: none !important;
    box-sizing: border-box;
  }
  /* Kapali haldeyken hic yer kaplamasin.
     max-height yalnizca icerik kutusunu sinirlar, dolgu ustune eklenir;
     bu yuzden kapali menuler 32px bos serit birakiyordu. */
  .mega-menu {
    box-sizing: border-box;
    padding: 0 !important;
    border: 0 !important;
  }
  .has-dropdown.active .mega-menu {
    padding: 1rem 0 0 !important;
  }
  .has-dropdown.active .mega-menu {
    max-height: 1200px;
    padding-top: 1rem;
    margin-bottom: 1rem;
  }
  .has-dropdown:hover .mega-menu-center,
  .has-dropdown.active .mega-menu-center {
    transform: none !important;
  }
  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .mega-menu-item { width: 100%; }
}
/* Dokunmatik cihazda :hover "yapisir": acilma yalnizca .active ile olsun.
   Fare kullanan kucuk ekranlar (hover: hover) bundan etkilenmez. */
@media (max-width: 992px) and (hover: none) {
  .has-dropdown:not(.active):hover .mega-menu {
    max-height: 0;
    padding: 0 !important;
    margin-bottom: 0;
  }
}
/* === MOBIL UST CUBUK DUZELTMESI ===
   "Demo B4B" ve "Destek Paneli" butonlarinda white-space tanimli degildi;
   390px ekranda 3 satira sariyor, cubugu 44px yerine 67px yapiyordu.
   Mobil menu ise konumunu sabit --top-bar-height (44px) uzerinden hesapladigi
   icin 23px yukaridan basliyor ve site basligiyla ust uste biniyordu.
   Butonlari tek satira sabitlemek her iki sorunu birden cozer. */
@media (max-width: 768px) {
  .top-bar-right .btn-sm {
    white-space: nowrap;
    line-height: 1.3;
  }
  .top-bar-left,
  .top-bar-right {
    flex-wrap: nowrap !important;
  }
  .top-bar-inner {
    height: var(--top-bar-height) !important;
    padding: 0 !important;
  }
}
/* Cok dar ekranlarda butonlari biraz daha kucult, tasma olmasin */
@media (max-width: 400px) {
  .top-bar-right .btn-sm {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.7rem !important;
  }
  .top-bar-left .top-link { font-size: 0.72rem; }
}
/* === MOBIL TELEFON VE NOKTA DOKUNMA HEDEFI ===
   1) Ust cubukta ilk baglanti TELEFON, ikincisi e-posta. Onceki mobil kural
      telefonu gizliyordu; oysa mobilde tikla-ara en degerli eylem. Takas edildi:
      telefon gorunur, e-posta gizli (e-posta zaten iletisim sayfasinda ve altbilgide).
   2) Slider noktalari 10px idi, parmakla isabet ettirmek zor. Gorsel boyut ayni
      kalir; dolgu ile dokunma alani ~42px olur (background-clip: content-box).
      Yalnizca dokunmatik cihazlarda; masaustu yerlesimi degismez. */
@media (max-width: 768px) {
  .top-bar-left .top-link:first-child {
    display: inline-flex !important;
  }
  .top-bar-left .top-link:nth-child(2) {
    display: none !important;
  }
}
@media (hover: none) {
  .slider-dots { gap: 0; }
  .dot {
    box-sizing: content-box;
    padding: 16px;
    /* .dot.active "background:" kisayolu background-clip'i sifirladigi icin
       !important sart; aksi halde aktif nokta dolgunun tamamini boyuyor. */
    background-clip: content-box !important;
  }
}
/* === SATIR ICI STILLERDEN TASINAN BILESENLER ===
   Asagidaki duzenler daha once her sayfada style="..." olarak tekrarlaniyordu.
   Satir ici stil medya sorgularindan etkilenmedigi icin mobil duzeltmeler
   !important gerektiriyordu. Sinifa tasindi; !important'lar kaldirildi. */

/* Sayfa basligi seridi ic kapsayicisi (8 dosyada ayni satir ici stil vardi) */
.page-banner > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-banner > .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* Dar mega-menu kutusu */
.mega-menu.mega-menu-compact {
  padding: 1rem;
  max-width: max-content;
}

/* Iletisim sayfasi: bilgi + form karti */
.iletisim-karti {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
  .iletisim-karti {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
}

/* Formda yan yana iki alan (telefon + e-posta) */
.form-ikili {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media (max-width: 480px) {
  .form-ikili { grid-template-columns: 1fr; }
}
/* === CMS ICERIGI VE ERP IZGARASI (satir icinden tasindi) === */
.cms-icerik {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  font-size: 1.05rem;
  line-height: 1.8;
  min-height: 400px;
}
.erp-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
  justify-items: stretch;
  padding: 20px 0;
}
/* .erp-grid-5 icin 991/768/480 kirilma noktalari dosyada ZATEN vardi;
   satir ici stil onlari eziyordu. Satir ici kalkinca kendiliginden calisiyor. */
@media (max-width: 600px) {
  .cms-icerik { padding: 1.25rem; font-size: 1rem; }
}

/* CMS icerigindeki izgaralar VERITABANINDA satir ici stille duruyor;
   sinifa tasinamiyor. Yalnizca icerik alani icinde mobilde tek sutuna iner. */
@media (max-width: 768px) {
  .cms-icerik [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}