/* ==========================================================================
   WITS.COM.TR - GÜNCELLENİYOR (UNDER CONSTRUCTION)
   Balanced & Symmetric Design System
   ========================================================================== */

:root {
  --primary: #149e9e;
  --primary-hover: #0c8484;
  --primary-light: rgba(20, 158, 158, 0.08);
  --primary-glow: rgba(20, 158, 158, 0.18);
  
  --text-title: #4b5563;
  --text-desc: #6b7280;
  --text-contact: #4b5563;
  --text-muted: #9ca3af;
  
  --bg-color: #ffffff;
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 2.5rem 1.5rem;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 50% 45%, #ffffff 0%, #fafcfd 60%, #f3f6f9 100%);
  color: var(--text-title);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Interactive Neural Canvas */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  pointer-events: auto;
  opacity: 0.75;
}

/* Ambient Radial Glow behind logo */
.ambient-glow {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 95vw);
  height: min(650px, 80vh);
  background: radial-gradient(circle, rgba(20, 158, 158, 0.05) 0%, rgba(20, 158, 158, 0.01) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

/* Main Container */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo Section */
.logo-wrapper {
  position: relative;
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.logo-wrapper:hover .brand-logo {
  transform: translateY(-2px) scale(1.012);
}

/* Status Heading */
.status-section {
  margin-bottom: 2.75rem;
  width: 100%;
  text-align: center;
}

.status-title {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

/* Animated Dots */
.dots span {
  opacity: 0.25;
  display: inline-block;
  animation: dotPulse 1.6s infinite ease-in-out;
}

.dots span:nth-child(1) { animation-delay: 0.15s; }
.dots span:nth-child(2) { animation-delay: 0.35s; }
.dots span:nth-child(3) { animation-delay: 0.55s; }

.status-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 400;
  color: var(--text-desc);
  max-width: 500px;
  line-height: 1.65;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* Contact Links Bar: Symmetrically Grouped & Centered */
.contact-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem; /* Compact gap: pulls phone close to email */
  margin: 0 auto;
  max-width: 100%;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  color: var(--text-contact);
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.contact-item:hover, .contact-item:focus-visible {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(20, 158, 158, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -4px var(--primary-glow);
}

.contact-item:active {
  transform: translateY(0);
}

/* Contact Custom Icons */
.contact-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon-img {
  transform: scale(1.1);
}

.contact-text {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Footer Note */
.footer-note {
  margin-top: 3.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-note span {
  color: var(--primary);
  font-weight: 600;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast svg {
  width: 18px;
  height: 18px;
  stroke: #2dd4bf;
}

/* Keyframe Animations */
@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--primary);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
  body {
    padding: 1.5rem 1rem;
  }

  .logo-wrapper {
    margin-bottom: 1.85rem;
  }

  .brand-logo {
    max-width: 350px;
  }
  
  .status-section {
    margin-bottom: 2rem;
  }
  
  .contact-bar {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 320px;
  }
  
  .contact-item {
    width: 100%;
    justify-content: flex-start;
    padding: 0.55rem 0.95rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(226, 232, 240, 0.85);
  }

  .footer-note {
    margin-top: 2.25rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1.25rem 0.75rem;
  }

  .brand-logo {
    max-width: min(280px, 82vw);
  }
  
  .status-title {
    font-size: 1.85rem;
  }

  .contact-icon-img {
    width: 32px;
    height: 32px;
  }

  .contact-text {
    font-size: 1.05rem;
  }

  .footer-note {
    margin-top: 2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    max-width: 240px;
  }

  .status-title {
    font-size: 1.65rem;
  }

  .contact-text {
    font-size: 0.96rem;
  }

  .contact-icon-img {
    width: 30px;
    height: 30px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
