:root {
  --brand: #00f5ff;
  --brand-2: #7b2ff7;
  --brand-3: #ff006e;
  --dark-bg: #0a0e17;
  --dark-surface: #0f1419;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--dark-bg);
  color: #e4e9f0;
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

/* Animated Background */
.cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(123,47,247,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,245,255,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255,0,110,0.1) 0%, transparent 50%);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Navbar */
.navbar {
  backdrop-filter: blur(20px);
  background: rgba(10,14,23,0.8)!important;
  border-bottom: 1px solid rgba(0,245,255,0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-brand {
  transition: all 0.3s ease;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo-icon svg {
  filter: drop-shadow(0 0 8px rgba(0,245,255,0.4));
  transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon svg {
  filter: drop-shadow(0 0 15px rgba(0,245,255,0.8));
  transform: scale(1.05);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: #8b95a5;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.logo-subsubtitle {
  font-size: 0.5rem;
  font-weight: 500;
  color: #d7e6ff;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.navbar-brand:hover .logo-title {
  color: var(--brand);
}

.navbar-brand:hover .logo-subtitle {
  color: var(--brand);
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

/* Buttons */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 0;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  color: #fff;
}

.btn-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-brand:hover::before {
  left: 100%;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,245,255,0.3);
  color: #fff;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 6rem;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,245,255,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0,245,255,0); }
}

.hero h1 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.brand-gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand-2), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Glass Effect */
.glass {
  background: rgba(15,20,25,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.glass:hover {
  border-color: rgba(0,245,255,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Icon Circle */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(123,47,247,0.1));
  border: 1px solid rgba(0,245,255,0.3);
  font-size: 1.25rem;
  transition: all 0.3s ease;
  color: var(--brand);
}

.icon-circle i {
  color: var(--brand);
}

.glass:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(0,245,255,0.4);
}

/* Stats Section */
.stats-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'JetBrains Mono', monospace;
}

.stats-label {
  font-size: 0.9rem;
  color: #8b95a5;
  margin-top: 0.5rem;
}

/* Security Badges */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0,245,255,0.05);
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.security-badge:hover {
  background: rgba(0,245,255,0.1);
  border-color: rgba(0,245,255,0.4);
  transform: translateY(-2px);
}

.security-badge i {
  font-size: 1.5rem;
  color: var(--brand);
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Ana sayfadaki tıklanabilir hizmet kartları için */
a.text-decoration-none .service-card {
  transition: all 0.3s ease;
}

a.text-decoration-none:hover .service-card {
  border-color: rgba(0,245,255,0.5);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,245,255,0.2);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,14,23,0.8);
  backdrop-filter: blur(10px);
}

.social-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.2);
  transition: all 0.3s ease;
  color: #e4e9f0;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(0,245,255,0.2);
  border-color: var(--brand);
  transform: translateY(-3px);
  color: var(--brand);
}

/* Form */
.form-control, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e4e9f0;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(0,245,255,0.15);
  color: #fff;
}

.form-message {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.form-message.success {
  background: rgba(40,167,69,0.2);
  color: #4ade80;
  border: 1px solid rgba(40,167,69,0.3);
}

.form-message.error {
  background: rgba(220,53,69,0.2);
  color: #f87171;
  border: 1px solid rgba(220,53,69,0.3);
}

.form-message.loading {
  background: rgba(0,245,255,0.1);
  color: var(--brand);
  border: 1px solid rgba(0,245,255,0.3);
}

.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Blog Cards */
.blog-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #8b95a5;
  margin-bottom: 10px;
}

.blog-meta i {
  color: var(--brand);
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0,245,255,0.1);
  border: 1px solid rgba(0,245,255,0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-badge:hover {
  background: rgba(0,245,255,0.2);
  color: var(--brand);
}

/* Page Header */
.page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header .lead {
  font-size: 1.25rem;
  color: #b4bcc8;
  max-width: 700px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #8b95a5;
}

.breadcrumb-item a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #e4e9f0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .stats-number {
    font-size: 2rem;
  }
}
