/* 
   ServerBursa.com.tr Styling File
   Premium Dark Tech Aesthetic
*/

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

:root {
  --bg-primary: #030712;
  --bg-secondary: #090f1d;
  --bg-tertiary: #111827;
  --bg-card: rgba(15, 23, 42, 0.55);
  --border-card: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(59, 130, 246, 0.25);
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --color-primary: #3b82f6;      /* Electric Blue */
  --color-secondary: #06b6d4;    /* Cyber Cyan */
  --color-bursa: var(--color-primary);        /* Crimson/Rose for Bursa Core */
  --color-maximus: var(--color-secondary);      /* Orange-Red for QF Maximus */
  --color-success: #10b981;      /* Emerald Green */
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --glow-primary: 0 0 25px rgba(59, 130, 246, 0.15);
  --glow-secondary: 0 0 25px rgba(6, 182, 212, 0.15);
  --glow-maximus: var(--glow-secondary);
  --glow-bursa: var(--glow-primary);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Cyber Grid Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140vw;
  height: 140vh;
  background: radial-gradient(circle at 75% 25%, rgba(6, 182, 212, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 15% 75%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.maximus-gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-primary);
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4), var(--glow-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-maximus {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.btn-maximus:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4), var(--glow-maximus);
}

.btn-ai-try {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0891b2 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.btn-ai-try:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4), var(--glow-secondary);
}

/* Header / Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
  background: rgba(3, 7, 18, 0.96);
  border-bottom: 1px solid var(--border-card);
  padding: 0.85rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 62px;
  text-decoration: none;
}

.logo-img {
  height: 100%;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.825rem;
  font-family: var(--font-title);
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-support-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  padding: 0.4rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-support-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition);
}

.hero {
  padding-top: 8.5rem;
  padding-bottom: 7rem;
  text-align: center;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slider-content {
  position: relative;
  min-height: 220px;
}

.hero-slide-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-slide-text.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--color-secondary);
  box-shadow: var(--glow-secondary);
  width: 26px;
  border-radius: 5px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--color-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--glow-primary);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-tag:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--glow-secondary);
  transform: translateY(-1px);
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 30px rgba(0, 0, 0, 0.75);
}

.hero p.lead {
  font-size: 1.25rem;
  max-width: 780px;
  margin: 0 auto 1.5rem auto;
  color: var(--text-secondary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 30px rgba(0, 0, 0, 0.75);
}

.hero-services-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem auto 2.5rem auto;
  max-width: 900px;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(3, 7, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 1.25rem;
  border-radius: 2rem;
  font-family: var(--font-title);
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.hero-badge-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  transition: var(--transition);
}

.hero-badge-item:hover {
  color: var(--color-secondary);
  border-color: var(--border-glow);
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.hero-badge-item:hover svg {
  color: var(--color-primary);
  transform: scale(1.1);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

/* Quick Features Info Grid */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.hero-feat-card {
  padding: 1.5rem;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hero-feat-card svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.hero-feat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.hero-feat-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Map Section */
.map-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  overflow: hidden;
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem auto;
}

.section-tag {
  font-family: var(--font-title);
  color: var(--color-secondary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.map-container-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 1.5rem;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#turkey-map {
  width: 100%;
  height: 100%;
  background-color: #0b0f19 !important; /* Forces Leaflet background dark */
}

/* Leaflet Customizations for Dark Mode */
.leaflet-container {
  font-family: var(--font-body) !important;
}

.leaflet-control-zoom {
  border: 1px solid var(--border-card) !important;
  box-shadow: var(--shadow-lg) !important;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border-card) !important;
  transition: var(--transition);
}

.leaflet-control-zoom-in:hover, .leaflet-control-zoom-out:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
}

.leaflet-popup-content-wrapper {
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid var(--color-secondary) !important;
  color: var(--text-primary) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6) !important;
}

.leaflet-popup-tip {
  background: rgba(15, 23, 42, 0.9) !important;
  border-left: 1px solid var(--color-secondary) !important;
  border-bottom: 1px solid var(--color-secondary) !important;
}

.leaflet-popup-content {
  margin: 1rem !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Custom Glowing Marker Classes */
.map-marker-bursa {
  background: transparent;
  border: none;
}

.marker-pin-bursa {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-bursa);
  border: 2px solid #fff;
  box-shadow: var(--glow-bursa);
  position: relative;
}

.marker-pin-bursa::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-bursa);
  animation: pulse-ring-bursa 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.map-marker-cloud {
  background: transparent;
  border: none;
}

.marker-pin-cloud {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 2px solid #fff;
  box-shadow: var(--glow-secondary);
  position: relative;
}

.marker-pin-cloud::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  animation: pulse-ring-cloud 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) id infinite;
  animation-delay: 0.5s;
  pointer-events: none;
}

/* Map Info Panel overlay (glowing box inside map area) */
.map-overlay-info {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  max-width: 360px;
  padding: 1.5rem;
  pointer-events: auto;
}

.map-overlay-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-overlay-info h4 .badge-online {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 1.5s infinite;
}

.map-overlay-info p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.legend-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legend-color-bursa {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bursa);
  box-shadow: 0 0 8px var(--color-bursa);
}

.legend-color-cloud {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 8px var(--color-secondary);
}

.legend-color-fiber {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.legend-color-fiber::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 100%;
  background: #fff;
  animation: fiber-legend-flow 1.5s linear infinite;
}

/* QF Maximus Highlight Section */
.maximus-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  position: relative;
}

.maximus-section::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.maximus-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.maximus-logo-display {
  display: inline-block;
  height: 70px;
  margin-bottom: 1.5rem;
}

.maximus-logo-display img {
  height: 100%;
  width: auto;
}

.maximus-content h2 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.maximus-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.backup-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.schedule-card {
  padding: 1.25rem;
  text-align: center;
}

.schedule-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.schedule-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.schedule-card p {
  font-size: 0.8rem;
}

/* Interactive Timeline Simulation (Right Column of Maximus) */
.maximus-visual-wrapper {
  perspective: 1000px;
}

.console-mockup {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(249, 115, 22, 0.15);
  background: rgba(10, 10, 15, 0.85);
  box-shadow: var(--shadow-lg), var(--glow-maximus);
  overflow: hidden;
}

.console-header {
  background: rgba(249, 115, 22, 0.08);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
}

.console-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--color-maximus);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #334155;
}

.console-dots span:nth-child(1) { background-color: #ef4444; }
.console-dots span:nth-child(2) { background-color: #eab308; }
.console-dots span:nth-child(3) { background-color: #22c55e; }

.console-body {
  padding: 1.75rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #a7f3d0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 340px;
  overflow-y: auto;
}

.console-line {
  display: flex;
  gap: 0.5rem;
}

.console-line .prompt {
  color: #38bdf8;
  user-select: none;
}

.console-line.success {
  color: #34d399;
}

.console-line.warning {
  color: #fb923c;
}

.console-line.neutral {
  color: #94a3b8;
}

.crypt-signature-badge {
  background: rgba(249, 115, 22, 0.1);
  border: 1px dashed rgba(249, 115, 22, 0.3);
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-maximus);
  margin-top: 0.5rem;
}

.status-secured {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid var(--color-success);
  padding: 0.25rem 0.6rem;
  border-radius: 0.25rem;
  font-weight: 700;
  margin-left: auto;
}

/* Services Grid */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--glow-primary);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.service-features-list svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

.service-card .btn-text {
  margin-top: auto;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-card .btn-text:hover {
  color: var(--color-secondary);
}

.service-card .btn-text:hover svg {
  transform: translateX(3px);
}

/* Uptime / SLA & Support Section */
.uptime-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
  position: relative;
}

.uptime-badge {
  font-size: 6.5rem;
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--color-success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: inline-block;
  letter-spacing: -0.05em;
  filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.2));
}

.uptime-sub {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.sla-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.sla-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.sla-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.sla-card p {
  font-size: 0.85rem;
}

/* Contact / Support Section */
.contact-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.contact-info-header p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}

.contact-method-text h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method-text p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-method-text a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-method-text a:hover {
  color: var(--color-primary);
}

/* Form Styles */
.contact-form {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(10, 15, 30, 0.6);
  border: 1px solid var(--border-card);
  border-radius: 0.5rem;
  padding: 0.85rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
  background: rgba(10, 15, 30, 0.8);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer styling */
footer {
  background-color: #020617;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-card);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand .logo-link {
  height: 56px;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-links-col h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--color-secondary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* Animations */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-ring-bursa {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }
  80%, 100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes pulse-ring-cloud {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }
  80%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes fiber-legend-flow {
  0% {
    left: -8px;
  }
  100% {
    left: 25px;
  }
}

.fiber-line {
  stroke-dasharray: 8, 12;
  animation: fiber-flow 2s linear infinite;
}

@keyframes fiber-flow {
  to {
    stroke-dashoffset: -40;
  }
}


/* Pricing Section Styles */
.pricing-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.pricing-card {
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
  transform: scale(1.01);
}

.pricing-card.featured::before {
  content: "EN ÇOK TERCİH EDİLEN";
  position: absolute;
  top: 20px;
  right: -50px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.25rem 3.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured.maximus-featured::before {
  display: none;
}

.pricing-header {
  margin-bottom: 1.25rem;
  width: 100%;
}

.pricing-title {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  font-family: var(--font-title);
  font-weight: 700;
}

.pricing-users {
  font-size: 0.7rem;
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  margin: 1rem 0 0.25rem 0;
  font-family: var(--font-title);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  text-align: left;
  border-top: 1px solid var(--border-card);
  padding-top: 1.25rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-features svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

.pricing-action {
  width: 100%;
  margin-top: auto;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .maximus-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sla-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  section {
    padding: 5rem 0;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .menu-toggle {
    display: flex;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(9, 15, 29, 0.95);
    border-bottom: 1px solid var(--border-card);
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-actions {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sla-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   ServerBursa AI Chatbot Styling
   ========================================================================== */

#sb-chatbot-container {
  position: fixed;
  bottom: 105px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Floating Toggle Button */
#sb-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3), var(--glow-secondary);
  transition: var(--transition);
  position: relative;
  outline: none;
  padding: 0;
}

#sb-chat-toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5), var(--glow-secondary);
}

#sb-chat-toggle:active {
  transform: scale(0.95);
}

/* Pulse animation for toggle */
.sb-pulse-glow::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  top: 0;
  left: 0;
  animation: sb-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
  box-sizing: border-box;
}

@keyframes sb-ping {
  75%, 100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.sb-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-bursa);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 10px;
  border: 1.5px solid var(--bg-primary);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Chat Window */
#sb-chat-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  height: 560px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--glow-primary);
  border-color: rgba(59, 130, 246, 0.15);
  animation: sb-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

@keyframes sb-slide-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header */
.sb-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-card);
}

.sb-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sb-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.sb-chat-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sb-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.sb-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.sb-status-dot.online {
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.sb-status-dot.checking {
  background-color: var(--color-maximus);
  box-shadow: 0 0 8px var(--color-maximus);
}

.sb-status-dot.offline {
  background-color: var(--color-bursa);
  box-shadow: 0 0 8px var(--color-bursa);
}

.sb-status-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sb-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sb-chat-header-actions button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.sb-chat-header-actions button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Settings Panel */
#sb-chat-settings-panel {
  position: absolute;
  top: 61px;
  left: 0;
  width: 100%;
  height: calc(100% - 61px);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  z-index: 100;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box;
}

#sb-chat-settings-panel h5 {
  margin: 0 0 5px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.sb-settings-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-settings-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sb-settings-group input,
.sb-settings-group select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  font-family: var(--font-body);
  width: 100%;
  box-sizing: border-box;
  transition: var(--transition);
}

.sb-settings-group input:focus,
.sb-settings-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.sb-settings-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.sb-settings-info {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

/* Messages Area */
.sb-chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Messages */
.sb-chat-messages::-webkit-scrollbar {
  width: 5px;
}

.sb-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.sb-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.sb-chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.sb-message {
  display: flex;
  max-width: 85%;
}

.sb-message.user {
  align-self: flex-end;
}

.sb-message.bot {
  align-self: flex-start;
}

.sb-message-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-wrap: break-word;
  font-family: var(--font-body);
}

.sb-message.user .sb-message-bubble {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
}

.sb-message.bot .sb-message-bubble {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  border-bottom-left-radius: 2px;
}

/* Markdown styling inside bubbles */
.sb-message-bubble p {
  color: var(--text-primary);
  margin-bottom: 8px;
}
.sb-message-bubble p:last-child {
  margin-bottom: 0;
}
.sb-message-bubble ul, .sb-message-bubble ol {
  margin-left: 20px;
  margin-bottom: 8px;
}
.sb-message-bubble li {
  margin-bottom: 4px;
}
.sb-message-bubble strong {
  color: var(--color-secondary);
}
.sb-message-bubble code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.8rem;
}

/* Typing Indicator */
.sb-typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 12px;
}

.sb-typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  animation: sb-typing 1.4s infinite both;
}

.sb-typing-indicator span:nth-child(2) {
  animation-delay: .2s;
}

.sb-typing-indicator span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes sb-typing {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Suggestion Chips */
.sb-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  background: rgba(3, 7, 18, 0.4);
}

.sb-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-title);
  outline: none;
}

.sb-chip:hover {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Chat Input Area */
.sb-chat-input-area {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border-card);
  background: rgba(15, 23, 42, 0.9);
  gap: 10px;
}

#sb-chat-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  resize: none;
  padding: 6px 0;
  max-height: 80px;
  line-height: 1.4;
  box-sizing: border-box;
}

#sb-chat-input::placeholder {
  color: var(--text-muted);
}

#sb-chat-send-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  outline: none;
  padding: 0;
  flex-shrink: 0;
}

#sb-chat-send-btn:hover {
  background: var(--color-secondary);
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.4);
  transform: scale(1.05);
}

#sb-chat-send-btn:active {
  transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #sb-chatbot-container {
    bottom: 20px;
    right: 20px;
  }
  #sb-chat-window {
    width: calc(100vw - 40px);
    height: 520px;
    bottom: 70px;
    right: 0;
  }
}

/* ==========================================================================
   Domain Lookup & WHOIS Modal Styling
   ========================================================================== */

.domain-section {
  padding: 5rem 0 2rem 0;
  background: var(--bg-primary);
  position: relative;
}

.domain-search-wrapper {
  padding: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  border-color: rgba(6, 182, 212, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.domain-search-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.domain-search-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.domain-search-form {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.domain-input-group {
  display: flex;
  width: 100%;
  border: 1px solid var(--border-card);
  border-radius: 0.5rem;
  background: var(--bg-tertiary);
  overflow: hidden;
  padding: 5px;
  transition: var(--transition);
}

.domain-input-group:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

#sb-domain-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  color: var(--text-primary);
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
}

#sb-domain-input::placeholder {
  color: var(--text-muted);
}

#sb-domain-tld {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  outline: none;
  padding: 0 15px;
  font-weight: 700;
  font-size: 1rem;
  border-left: 1px solid var(--border-card);
  cursor: pointer;
  font-family: var(--font-title);
  transition: var(--transition);
}

#sb-domain-tld:hover {
  color: var(--text-primary);
}

#sb-domain-tld option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

#sb-domain-search-btn {
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #0891b2 100%);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

#sb-domain-search-btn:hover {
  transform: translateY(0);
  background: linear-gradient(135deg, #0891b2 0%, var(--color-secondary) 100%);
  box-shadow: var(--glow-secondary);
}

.sb-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: sb-spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes sb-spin {
  to { transform: rotate(360deg); }
}

#sb-domain-result-container {
  margin-top: 1.5rem;
  border-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(15, 23, 42, 0.4);
}

.sb-domain-result-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  flex-wrap: wrap;
  gap: 15px;
}

.sb-domain-result-info h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.sb-domain-result-info p {
  font-size: 0.85rem;
  font-weight: 600;
}

.sb-domain-result-info p.status-available {
  color: var(--color-success);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.sb-domain-result-info p.status-taken {
  color: var(--color-bursa);
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}

.sb-domain-result-actions {
  display: flex;
  gap: 12px;
}

/* Modal Overlay */
.sb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

/* Modal Window Content */
.sb-modal-content {
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), var(--glow-primary);
  background: var(--bg-secondary);
  border-radius: 1rem;
}

.sb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-card);
  background: rgba(15, 23, 42, 0.6);
}

.sb-modal-header h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
}

.sb-modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.sb-modal-close-btn:hover {
  color: var(--text-primary);
}

.sb-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 15px;
  box-sizing: border-box;
}

.sb-modal-toolbar {
  display: flex;
  justify-content: flex-end;
}

#sb-whois-raw-text {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-card);
  padding: 18px;
  border-radius: 6px;
  color: #e2e8f0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  overflow-y: auto;
  white-space: pre-wrap;
  height: 380px;
  margin: 0;
}

/* Custom scrollbar for WHOIS pre block */
#sb-whois-raw-text::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#sb-whois-raw-text::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

#sb-whois-raw-text::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

#sb-whois-raw-text::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Media query responsiveness for domain lookup group */
@media (max-width: 600px) {
  .domain-input-group {
    flex-direction: column;
    border: none;
    background: transparent;
    padding: 0;
    gap: 10px;
  }
  #sb-domain-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-card);
    border-radius: 0.5rem;
    padding: 14px 20px;
  }
  #sb-domain-tld {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-card);
    border-radius: 0.5rem;
    padding: 14px 20px;
    border-left: none;
    text-align: center;
  }
  #sb-domain-search-btn {
    padding: 14px 20px;
    border-radius: 0.5rem;
  }
  .sb-domain-result-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .sb-domain-result-actions {
  }
}

/* Billing cycle toggle styles */
.billing-toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  display: flex;
  align-items: center;
  user-select: none;
}

.billing-toggle-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

.billing-toggle-btn:not(.active):hover {
  color: var(--text-primary);
}

/* Alternatives list styling */
.sb-domain-alternative-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  font-size: 0.88rem;
  transition: var(--transition);
}

.sb-domain-alternative-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.sb-domain-alt-name {
  font-weight: 700;
  color: var(--text-primary);
}

.sb-domain-alt-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sb-domain-alt-status.status-available {
  color: var(--color-success);
}

.sb-domain-alt-status.status-taken {
  color: var(--text-muted);
}

.sb-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.sb-status-dot.available {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.sb-status-dot.taken {
  background: #64748b;
}

/* Order modal custom fields */
.sb-package-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-card);
  background: transparent;
  padding: 14px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.sb-package-option.active {
  border-color: var(--color-secondary) !important;
  background: rgba(6, 182, 212, 0.05) !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1) !important;
}

.sb-package-option:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sb-package-option.active:hover {
  background: rgba(6, 182, 212, 0.08) !important;
}

/* WhatsApp Sticky Button */
.sb-whatsapp-sticky {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3), 0 0 15px rgba(37, 211, 102, 0.2);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sb-whatsapp-sticky:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3);
  color: #fff;
}

.sb-whatsapp-sticky:active {
  transform: scale(0.95);
}

/* Light Theme (Soft White / Dark Blue) */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-tertiary: #e2e8f0;
  --bg-card: rgba(255, 255, 255, 0.8);
  --border-card: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(59, 130, 246, 0.12);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --glow-primary: 0 0 20px rgba(59, 130, 246, 0.1);
  --glow-secondary: 0 0 20px rgba(6, 182, 212, 0.1);
}

body.light-theme .gradient-text {
  background: linear-gradient(135deg, #0f172a 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-theme header {
  background: rgba(248, 250, 252, 0.85) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(12px);
}

body.light-theme header a {
  color: #334155 !important;
}

body.light-theme header a:hover,
body.light-theme header a.active {
  color: var(--color-primary) !important;
}

body.light-theme .nav-support-badge {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #334155 !important;
}

body.light-theme .theme-toggle-btn {
  color: #334155 !important;
}

/* Hero section remains light on dark background images */
.logo-link {
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
}

#footer-logo-link {
  color: #ffffff !important;
}

body.light-theme .section-title h2 {
  color: #0f172a !important;
}

body.light-theme .feature-card h3 {
  color: #0f172a !important;
}

body.light-theme .feature-card p {
  color: #475569 !important;
}

body.light-theme input,
body.light-theme textarea,
body.light-theme select {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder {
  color: #94a3b8 !important;
}

body.light-theme .pricing-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .pricing-card.featured {
  background: #ffffff !important;
  border-color: var(--color-primary) !important;
}

body.light-theme .pricing-title,
body.light-theme .pricing-price {
  color: #0f172a !important;
}

body.light-theme .pricing-features li {
  color: #334155 !important;
}

body.light-theme .pricing-features li strong {
  color: #0f172a !important;
}

body.light-theme #sb-chat-window {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

body.light-theme .sb-chat-header {
  background: var(--color-primary) !important;
}

body.light-theme .sb-chat-input-area {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

body.light-theme #sb-chat-input {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-theme .sb-chat-message.bot .sb-chat-message-bubble {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-theme .sb-chat-message.user .sb-chat-message-bubble {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

body.light-theme .sb-modal-content {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #0f172a !important;
}

body.light-theme .sb-modal-header h4 {
  color: #0f172a !important;
}

body.light-theme .sb-modal-body pre {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: rgba(0,0,0,0.08) !important;
}
