/* ==========================================================================
   AKROPLAN Mühendislik & Danışmanlık - Özel Stil Dosyası
   Modern Blueprint, CAD Aesthetic, Glassmorphism, Portal, CMS, Logs & Vault
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-bg-primary: #080c14;
  --color-bg-secondary: #0e1626;
  --color-bg-card: rgba(18, 28, 48, 0.7);
  --color-border: rgba(56, 189, 248, 0.15);
  --color-border-glow: rgba(0, 210, 255, 0.4);
  --color-cyan: #00d2ff;
  --color-blue: #38bdf8;
  --color-amber: #f59e0b;
  --color-emerald: #10b981;
  --color-rose: #f43f5e;
  --color-purple: #a855f7;
  --color-text-main: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-cad-grid: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-main);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
}

.mono-font {
  font-family: 'JetBrains Mono', monospace;
}

/* CAD Technical Grid Background */
.cad-grid-bg {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

.cad-blueprint-subtle {
  background-size: 20px 20px;
  background-image: 
    radial-gradient(circle, rgba(0, 210, 255, 0.08) 1px, transparent 1px);
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: var(--color-border-glow);
  box-shadow: 0 12px 40px 0 rgba(0, 210, 255, 0.12);
}

/* Engineering Technical Borders & Crosshairs */
.tech-border-corner {
  position: relative;
}

.tech-border-corner::before,
.tech-border-corner::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--color-cyan);
  pointer-events: none;
}

.tech-border-corner::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.tech-border-corner::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* Big Hero Logo Showcase Box */
.hero-logo-showcase {
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.12) 0%, rgba(14, 22, 38, 0.9) 60%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 0 50px rgba(0, 210, 255, 0.2), inset 0 0 30px rgba(0, 210, 255, 0.08);
}

.hero-logo-glow {
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.6));
}

/* Glowing Neon Badges */
.badge-cyan {
  background: rgba(0, 210, 255, 0.1);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-rose {
  background: rgba(244, 63, 94, 0.1);
  color: var(--color-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.1);
  color: var(--color-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Custom Glow Buttons */
.btn-engineering-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #0284c7 100%);
  color: #031326;
  font-weight: 700;
  border: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-engineering-primary:hover {
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
  transform: scale(1.02);
}

.btn-engineering-secondary {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #f8fafc;
  transition: all 0.25s ease;
}

.btn-engineering-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

/* Interactive Calculator Sliders & Inputs */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1e293b;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--color-cyan);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #080c14;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Pulsing Node */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

.pulse-node {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Blueprint Flow Gauge */
.calculation-metric-box {
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-left: 3px solid var(--color-cyan);
}

/* Progress bar styling */
.progress-bar-cyan {
  background: linear-gradient(90deg, #0284c7 0%, #00d2ff 100%);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* Drag & Drop File Zone */
.dropzone-box {
  border: 2px dashed rgba(56, 189, 248, 0.3);
  background: rgba(14, 22, 38, 0.5);
  transition: all 0.2s ease;
}

.dropzone-box:hover, .dropzone-box.drag-over {
  border-color: var(--color-cyan);
  background: rgba(0, 210, 255, 0.06);
}

/* Email Simulation Card */
.email-preview-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #e2e8f0;
}

.email-preview-header {
  background: #0f172a;
  color: #ffffff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Admin Customer Selector Cards */
.admin-client-card {
  background: rgba(14, 22, 38, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-client-card:hover {
  border-color: var(--color-cyan);
  background: rgba(18, 28, 48, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.15);
}

/* Audit Log Table */
.log-row {
  transition: background 0.15s ease;
}

.log-row:hover {
  background: rgba(30, 41, 59, 0.4);
}

/* Print Friendly Styles */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  #blueprint-canvas, nav, footer, .no-print {
    display: none !important;
  }
  .glass-panel {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
  }
}
