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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand { display: flex; align-items: center; gap: 0.5rem; }

.logo-icon {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}

.logo-text { font-size: 1.3rem; font-weight: 700; color: #0c4a6e; }

.navbar-links { display: flex; gap: 1.5rem; }

.navbar-links a {
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover { color: #0ea5e9; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 30%, #e0f2fe 60%, #bae6fd 100%);
  padding: 5rem 2rem 6rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0c4a6e;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.highlight { color: #0ea5e9; }

.hero-subtitle {
  font-size: 1.15rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; }

.hero-stats { display: flex; justify-content: center; gap: 3rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: #0284c7; }
.stat-label { font-size: 0.85rem; color: #64748b; font-weight: 500; }

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-outline { background: white; color: #0284c7; border: 2px solid #0ea5e9; }
.btn-outline:hover { background: #f0f9ff; }
.btn-full { width: 100%; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.15rem; }

/* Sections */
.section-container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

.features-section, .demo-section, .contact-section, .login-section { padding: 4rem 2rem; }
.features-section { background: white; }
.demo-section { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.contact-section { background: white; }
.login-section { background: #f8fafc; }

h2 { text-align: center; font-size: 2rem; font-weight: 700; color: #0c4a6e; margin-bottom: 0.5rem; }

.section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
  border-color: #bae6fd;
}

.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: #0c4a6e; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #64748b; }

/* Demo */
.demo-section { text-align: center; }
.demo-features { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.demo-tag {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Forms */
.contact-form, .login-form { max-width: 600px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #334155; margin-bottom: 0.3rem; }

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-status { text-align: center; margin-top: 0.8rem; padding: 0.6rem; border-radius: 8px; font-size: 0.9rem; display: none; }
.form-status.success { display: block; background: #dcfce7; color: #166534; }
.form-status.error { display: block; background: #fee2e2; color: #991b1b; }

/* Footer */
.footer { text-align: center; padding: 2rem; background: #0c4a6e; color: #94a3b8; font-size: 0.9rem; }

/* Dashboard */
.dashboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #0c4a6e, #0284c7);
  color: white;
}

.dashboard-nav .logo-text { color: white; }
.dashboard-tabs { display: flex; gap: 0.5rem; }

.tab-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.tab-btn:hover { background: rgba(255,255,255,0.25); }
.tab-btn.active { background: white; color: #0284c7; }

.logout-btn {
  padding: 0.5rem 1rem;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.logout-btn:hover { background: #ef4444; color: white; }

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: #f0f9ff;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.stat-card .stat-number { font-size: 1.8rem; font-weight: 800; color: #0284c7; }
.stat-card .stat-label { font-size: 0.8rem; color: #64748b; }

/* Dashboard Content */
.dashboard-content { padding: 1.5rem 2rem; }
.tab-content { display: none; }
.tab-content.active { display: block; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

.order-card, .customer-card, .call-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.2rem;
  transition: box-shadow 0.2s;
}

.order-card:hover, .customer-card:hover, .call-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.card-header .date { font-size: 0.85rem; color: #64748b; }

.badge { padding: 0.2rem 0.7rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-bekleyen { background: #fef3c7; color: #92400e; }
.badge-onaylandi { background: #dbeafe; color: #1e40af; }
.badge-yolda { background: #ffedd5; color: #9a3412; }
.badge-teslim_edildi { background: #dcfce7; color: #166534; }
.badge-iptal { background: #fee2e2; color: #991b1b; }
.badge-duzenli { background: #e0f2fe; color: #0369a1; }

.card-body p { font-size: 0.9rem; color: #475569; margin-bottom: 0.3rem; }
.card-body strong { color: #1e293b; }

.card-actions { display: flex; gap: 0.5rem; margin-top: 0.8rem; flex-wrap: wrap; }

.action-btn {
  padding: 0.3rem 0.8rem;
  border: 1px solid #cbd5e1;
  background: white;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn:hover { background: #f1f5f9; }
.action-btn.active-action { background: #0ea5e9; color: white; border-color: #0ea5e9; }

.empty-state { text-align: center; padding: 3rem; color: #94a3b8; }
.loading { text-align: center; padding: 2rem; color: #64748b; }

/* Responsive */
@media (max-width: 768px) {
  .navbar { flex-direction: column; gap: 0.8rem; }
  .navbar-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .dashboard-nav { flex-direction: column; gap: 0.8rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
