
/* ============================================================
   OXENTA SOFTWARE — Index / Ana Sayfa CSS
   Modern Light Theme | Professional Hero
   ============================================================ */

/* ── Global Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Tüm tıklanabilir elemanlar için mobil dokunma düzeltmesi */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:root {
  --c-bg:        #f8fafc;
  --c-white:     #ffffff;
  --c-primary:   #e52e71;
  --c-secondary: #ff8a00;
  --c-dark-1:    #25282d;
  --c-dark-2:    #33383e;
  --c-text:      #25282d;
  --c-text-2:    #33383e;
  --c-text-3:    #8a8f96;
  --c-border:    #e8e9eb;
  --gradient:    linear-gradient(135deg, #e52e71 0%, #ff8a00 100%);
  --gradient-dark: linear-gradient(135deg, #25282d 0%, #33383e 100%);
  --gradient-soft: linear-gradient(135deg, rgba(229,46,113,0.07) 0%, rgba(255,138,0,0.07) 100%);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-glow: 0 8px 40px rgba(229,46,113,0.28);
  --radius:      14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
}

html { scroll-behavior: smooth; }

/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(229,46,113,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes hcardFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Hero section artık hero.css dosyasında yönetilmektedir. */

/* ══════════════════════════════════════════════════════════
   WHY-US — Code Editor Visual
══════════════════════════════════════════════════════════ */
.why-us-visual {
  position: relative;
}

.why-editor-wrap {
  position: relative;
}

/* Mini Code Editor */
.why-editor {
  background: #1e2433;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(229,46,113,0.1),
    0 32px 72px rgba(0,0,0,0.16),
    0 8px 24px rgba(229,46,113,0.06);
}

.why-editor-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #161b27;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.why-editor-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.why-editor-title {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-align: center;
  font-family: 'Courier New', monospace;
}

.why-editor-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(229,46,113,0.15);
  border: 1px solid rgba(229,46,113,0.25);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #e52e71;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.why-editor-body {
  display: flex;
  padding: 14px 0;
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.9;
  overflow: hidden;
}

.why-editor-lines {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  color: rgba(255,255,255,0.18);
  font-size: 11px;
  user-select: none;
  border-right: 1px solid rgba(255,255,255,0.05);
  min-width: 42px;
  text-align: right;
}

.why-editor-code {
  flex: 1;
  padding: 0 18px;
  overflow: hidden;
}

.why-editor-terminal {
  background: #070a10;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px 12px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.why-terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.why-terminal-bar svg { opacity: 0.4; }

.why-terminal-output {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* Floating Badges — reuse why-badge from existing styles */
.why-badge-1 { bottom: -18px; left: -18px; }
.why-badge-2 { top: -18px; right: -18px; }

/* ══════════════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════════════ */
.services {
  padding: 96px 0;
  background: var(--c-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--c-text);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-desc {
  font-size: 16px;
  color: var(--c-text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229,46,113,0.2);
}

.service-card:hover::before { opacity: 1; }

.service-card-featured {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

.service-card-featured::before { display: none; }
.service-card-featured:hover { box-shadow: var(--shadow-glow); }

.service-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.service-icon.indigo { background: rgba(229,46,113,0.1); }
.service-icon.violet { background: rgba(255,138,0,0.1); }
.service-icon.white  { background: rgba(255,255,255,0.2); }

.service-icon svg {
  width: 22px; height: 22px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-icon.indigo svg { stroke: #e52e71; }
.service-icon.violet svg { stroke: #ff8a00; }
.service-icon.white  svg { stroke: #ffffff; }

.service-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 13.5px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.service-card:not(.service-card-featured) .service-desc { color: var(--c-text-2); }
.service-card-featured .service-desc { color: rgba(255,255,255,0.82); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: gap 0.2s ease;
}

.service-card:not(.service-card-featured) .service-link { color: var(--c-primary); }
.service-card-featured .service-link { color: rgba(255,255,255,0.9); }
.service-card:hover .service-link { gap: 10px; }
.service-link svg { width: 13px; height: 13px; }

/* ══════════════════════════════════════════════════════════
   WHY US SECTION
══════════════════════════════════════════════════════════ */
.why-us {
  padding: 96px 0;
  background: var(--c-white);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.feature-item:hover {
  background: var(--gradient-soft);
  border-color: rgba(229,46,113,0.12);
}

.feature-icon {
  width: 42px; height: 42px;
  background: var(--gradient-soft);
  border: 1px solid rgba(229,46,113,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 19px; height: 19px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title { font-size: 14.5px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.feature-desc  { font-size: 13px; color: var(--c-text-2); line-height: 1.6; }

.why-us-visual { position: relative; }

.why-us-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.why-us-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}

.why-us-placeholder svg {
  width: 56px; height: 56px;
  stroke: rgba(255,255,255,0.8);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-us-placeholder span { font-size: 14px; font-weight: 600; }

.why-badge {
  position: absolute;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-badge-1 { bottom: -18px; left: -18px; }
.why-badge-2 { top: -18px; right: -18px; }

.why-badge-icon {
  width: 34px; height: 34px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-badge-icon svg {
  width: 15px; height: 15px;
  stroke: white; fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-badge-text { font-size: 12.5px; font-weight: 700; color: var(--c-text); }
.why-badge-sub  { font-size: 10.5px; color: var(--c-text-3); }

/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 96px 0;
  background: var(--c-bg);
}

.cta-inner {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #fff;
  color: var(--c-primary);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn-cta-white svg { width: 15px; height: 15px; }

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: transparent;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.btn-cta-outline svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--gradient-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 34px; height: 34px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg { width: 17px; height: 17px; fill: white; }

.footer-logo-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 250px;
  margin-bottom: 18px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 12.5px; }

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 64px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero-left { padding: 48px 0; }
  .hero-title { letter-spacing: -1px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat + .hero-stat { border-left: none; padding-left: 0; }
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-us { padding: 64px 0; }
  .why-us-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-section { padding: 64px 0; }
  .cta-inner { padding: 40px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-cta-white, .btn-cta-outline { justify-content: center; }
}