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

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

body {
  padding-top: 5rem;
  font-family: 'Inter', system-ui, sans-serif;
  background: #06060b;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: .75rem 0;
  transition: background .3s, padding .3s, box-shadow .3s, transform .3s;
}

.nav.scrolled {
  background: rgba(6, 6, 11, .92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.footer .logo img {
  width: 180px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: .9rem;
  color: #94a3b8;
  transition: color .2s;
}

.nav-links a:hover {
  color: #fff;
}

.btn-nav {
  background: #6366f1;
  color: #fff !important;
  padding: .5rem 1.25rem;
  border-radius: .5rem;
  font-weight: 600;
}

.btn-nav:hover {
  opacity: .9;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem 4rem;
  transform: translateY(-200px);
  background:
    radial-gradient(ellipse at 70% 20%, rgba(99, 102, 241, .15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(6, 182, 212, .1) 0%, transparent 60%),
    #06060b;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .4rem .9rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, .15);
  color: #818cf8;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.hero p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(99, 102, 241, .4);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .05);
}

.btn-full {
  width: 100%;
}

/* Speed meter */
.speed-meter {
  display: flex;
  justify-content: center;
}

.gauge-ring {
  animation: gaugeRotate 2s ease-out forwards;
  transform-origin: center;
}

@keyframes gaugeRotate {
  from { stroke-dashoffset: 565; }
  to { stroke-dashoffset: 141; }
}

/* Sections */
.section {
  padding: 6rem 1.5rem;
}

#hizmetler {
  transform: translateY(-200px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-head.center {
  text-align: center;
}

.section-tag {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #818cf8;
  margin-bottom: .75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.section-head p {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform .3s, border-color .3s, background .3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, .4);
  background: rgba(99, 102, 241, .05);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.service-card p {
  color: #94a3b8;
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

.service-features {
  color: #cbd5e1;
  font-size: .85rem;
  padding: .25rem 0;
}

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

.price-card {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform .3s, border-color .3s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: #6366f1;
  background: rgba(99, 102, 241, .08);
  box-shadow: 0 0 40px rgba(99, 102, 241, .1);
}

.price-card.featured::before {
  content: 'En Popüler';
  position: absolute;
  top: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.price-badge {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #818cf8;
  margin-bottom: .5rem;
}

.price-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 2rem;
}

.price span {
  font-size: .85rem;
  color: #94a3b8;
  font-weight: 400;
}

.price-features {
  font-size: .85rem;
  color: #cbd5e1;
  padding: .4rem 0;
  text-align: left;
}

.price-card .btn {
  margin-top: 1.5rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(6, 182, 212, .1));
  border: 1px solid rgba(99, 102, 241, .2);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

.about-stats div {
  font-size: .95rem;
  color: #cbd5e1;
}

.about-stats strong {
  display: block;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: .25rem;
}

.about-text .section-head {
  margin-bottom: 2rem;
}

.about-text p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* Contact */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .5rem;
  padding: .75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6366f1;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #475569;
}

.contact-form .btn-full {
  margin-top: .5rem;
}

/* Footer */
.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.footer-col ul {
  display: grid;
  gap: .5rem;
}

.footer-col a {
  color: #64748b;
  font-size: .85rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: #818cf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 1.5rem;
  text-align: center;
  color: #475569;
  font-size: .8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .about-stats {
    max-width: 360px;
    margin: 0 auto;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    background: rgba(6, 6, 11, .95);
    backdrop-filter: blur(12px);
  }

  .nav-links.open {
    display: flex;
  }

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

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .35), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .25s, box-shadow .25s, background .2s;
  animation: waPulse 2.4s ease-in-out infinite;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .5), 0 2px 10px rgba(0,0,0,.35);
  background: #20bd5a;
  color: #fff;
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + .75rem);
  top: 50%;
  transform: translateY(-50%);
  background: #1e1e2e;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: .4rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1e1e2e;
}

.wa-fab:hover .wa-tooltip {
  opacity: 1;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, .35), 0 2px 8px rgba(0,0,0,.3); }
  50%      { box-shadow: 0 4px 24px rgba(37, 211, 102, .55), 0 2px 12px rgba(0,0,0,.35); }
}

/* Terms & Privacy */
.terms-content {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-top: 2rem;
}

.terms-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #818cf8;
  margin: 1.75rem 0 .75rem;
}

.terms-content h3:first-child {
  margin-top: 0;
}

.terms-content p {
  color: #94a3b8;
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: .75rem;
}

.terms-list {
  padding: .25rem 0;
  margin-bottom: .5rem;
}

.terms-list li {
  color: #cbd5e1;
  font-size: .9rem;
  padding: .3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.terms-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #6366f1;
  font-weight: 700;
}

.terms-content a {
  color: #818cf8;
  text-decoration: underline;
  transition: color .2s;
}

.terms-content a:hover {
  color: #a5b4fc;
}

/* Animation utilities */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
