/* ==========================================================================
   ZERSOFT TECHNOLOGY - ULTRA-MODERN DARK TECH DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Core Palette (Dark Mode Default) */
  --bg-dark: #07090e;
  --bg-card: rgba(15, 22, 36, 0.75);
  --bg-card-hover: rgba(22, 32, 54, 0.85);
  --border-glow: rgba(0, 242, 254, 0.15);
  --border-glow-hover: rgba(0, 242, 254, 0.4);

  /* Primary Gradients */
  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-accent: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
  --grad-ai: linear-gradient(135deg, #00f2fe 0%, #7f00ff 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(20, 30, 48, 0.6) 0%, rgba(10, 15, 26, 0.8) 100%);

  /* Text Colors */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);

  /* Shadows & Glows */
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-accent: 0 0 25px rgba(127, 0, 255, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-glow: rgba(0, 100, 255, 0.1);
  --border-glow-hover: rgba(2, 132, 199, 0.35);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --grad-primary: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --grad-accent: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%);
  --grad-ai: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
  --grad-dark-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --shadow-neon: 0 10px 30px rgba(2, 132, 199, 0.12);
  --shadow-accent: 0 10px 30px rgba(124, 58, 237, 0.12);
}

/* Light Theme Component Specific Overrides */
[data-theme="light"] body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(124, 58, 237, 0.04) 0%, transparent 40%);
}

[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .brand-logo {
  color: #0f172a;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0284c7;
}

[data-theme="light"] .mobile-toggle {
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .theme-toggle-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f1f5f9;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .lang-switch {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .lang-btn {
  color: #64748b;
}

[data-theme="light"] .lang-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.3);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .btn-outline:hover {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.06);
  color: #0284c7;
}

[data-theme="light"] .btn-ai {
  color: #ffffff;
}

[data-theme="light"] .glass-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .glass-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .feature-icon-wrapper {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284c7;
}

[data-theme="light"] .glass-card:hover .feature-icon-wrapper {
  background: var(--grad-primary);
  color: #ffffff;
}

[data-theme="light"] .feature-link {
  color: #0284c7;
}

[data-theme="light"] .badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

[data-theme="light"] .badge-ai {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
  color: #7c3aed;
}

[data-theme="light"] .hero-slider {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .hero-slider .slide {
  background: #ffffff;
}

[data-theme="light"] .slide-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

[data-theme="light"] .slide-visual img {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .slider-dot {
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .slider-dot.active {
  background: var(--grad-primary);
}

[data-theme="light"] .ai-hero-widget {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .ai-widget-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .chat-bubble.bot {
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.15);
  color: #0f172a;
}

[data-theme="light"] .chat-bubble.user {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #0f172a;
}

[data-theme="light"] .tag {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #475569;
}

[data-theme="light"] .stats-section {
  background: linear-gradient(180deg, rgba(248,250,252,0) 0%, rgba(241,245,249,0.7) 50%, rgba(248,250,252,0) 100%);
  border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .project-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .project-card:hover {
  border-color: #0284c7;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .project-cat {
  color: #0284c7;
}

[data-theme="light"] .form-control {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .form-control:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .contact-icon {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284c7;
}

[data-theme="light"] .footer {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
}

[data-theme="light"] .footer-heading {
  color: #0f172a;
}

[data-theme="light"] .footer-links a {
  color: #64748b;
}

[data-theme="light"] .footer-links a:hover {
  color: #0284c7;
}

[data-theme="light"] .social-icon {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .social-icon:hover {
  background: var(--grad-primary);
  color: #ffffff;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cookie-banner {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px) {
  [data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(127, 0, 255, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-ai {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #040914;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-outline {
  background: rgba(15, 22, 36, 0.6);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: #00f2fe;
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}

.btn-ai {
  background: var(--grad-ai);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(127, 0, 255, 0.3);
}

.btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-glow);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 8px 0;
  background: rgba(7, 9, 14, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.nav-container {
  width: 95%;
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 24px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  max-height: 36px;
  display: block;
}

.logo-dark { display: block; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none !important; }
[data-theme="light"] .logo-light { display: block !important; }

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--grad-ai);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-neon);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-size: clamp(0.82rem, 0.85vw, 0.88rem);
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.01em;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: #00f2fe;
}

.badge-ai {
  background: rgba(127, 0, 255, 0.15);
  border-color: rgba(225, 0, 255, 0.4);
  color: #e100ff;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-neon);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 16px 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px 0;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 20px 0 24px 0;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* AI Demo Widget Box in Hero */
.ai-hero-widget {
  background: var(--grad-dark-card);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), var(--shadow-neon);
  position: relative;
}

.ai-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.ai-status-dot {
  width: 10px;
  height: 10px;
  background: #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f2fe;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

.ai-chat-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  max-width: 90%;
  line-height: 1.5;
}

.chat-bubble.bot {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  align-self: flex-start;
  color: #e2e8f0;
}

.chat-bubble.user {
  background: rgba(127, 0, 255, 0.15);
  border: 1px solid rgba(127, 0, 255, 0.3);
  align-self: flex-end;
  color: #fff;
}

.typing-indicator {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #00f2fe;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* Feature Showcase Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #00f2fe;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.glass-card:hover .feature-icon-wrapper {
  background: var(--grad-primary);
  color: #040914;
  transform: rotate(-5deg) scale(1.05);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #00f2fe;
}

.feature-link i {
  transition: transform 0.2s;
}

.feature-link:hover i {
  transform: translateX(5px);
}

/* AI Solutions Highlight Box */
.ai-solutions-section {
  padding: 100px 0;
  position: relative;
}

.ai-solution-card {
  position: relative;
  overflow: hidden;
}

.ai-solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(127,0,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Stats Counter Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(7,9,14,0) 0%, rgba(15,22,36,0.6) 50%, rgba(7,9,14,0) 100%);
  border-y: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #00f2fe;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), var(--shadow-neon);
}

.project-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #1a233a;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,9,14,0) 0%, rgba(7,9,14,0.9) 100%);
}

.project-info {
  padding: 24px;
}

.project-cat {
  font-size: 0.8rem;
  color: #00f2fe;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f2fe;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(7, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  background: rgba(7, 9, 14, 0.8);
}

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

/* Toast Alert */
.alert-box {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Footer */
.footer {
  background: #04060a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 70px 0 30px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin: 16px 0 24px 0;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--grad-primary);
  color: #040914;
  transform: translateY(-3px);
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: #00f2fe;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: rgba(7, 9, 14, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.1rem;
    padding: 10px 20px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-actions .btn-quote {
    display: none;
  }
}

/* ==========================================
   Header Theme & Language Controls
   ========================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: #00f2fe;
  color: #00f2fe;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2px;
}

.lang-btn {
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 16px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: var(--grad-primary);
  color: #040914;
}

/* ==========================================
   Hero Slider Component
   ========================================== */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 100px;
  margin-bottom: 40px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  padding: 50px 60px;
  background: var(--grad-dark-card);
}

.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  z-index: 2;
}

.slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.slide-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: transform 0.4s ease;
}

.slide-visual img:hover {
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .hero-slider .slide {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  .slide-visual {
    display: none;
  }
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  color: #00f2fe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.slide-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.slide-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--grad-primary);
}

/* ==========================================
   Lightbox Modal & Image Previews
   ========================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 14, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 2;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border: 1px solid var(--border-glow);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-caption {
  margin-top: 15px;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
}

.lightbox-trigger {
  cursor: pointer;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.lightbox-trigger::after {
  content: '🔍 Görseli Büyüt';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 242, 254, 0.4);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.lightbox-trigger:hover::after {
  opacity: 1;
}

/* ==========================================
   Cookie Consent Banner
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow-hover);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  z-index: 999;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.cookie-banner.show {
  bottom: 25px;
}

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.cookie-text i {
  font-size: 1.5rem;
}


/* ==========================================================================
   CONVERGENCE LOGO ANIMATION SYSTEM
   - Page-load: logo slides in from left + fades in
   - Continuous: focal dot pulses gently (cyan glow)  
   - Hover: subtle scale lift on the navbar logo
   - Respects prefers-reduced-motion
   ========================================================================== */

/* ── Entry animation: logo slides in from left on page load ── */
@keyframes logoEntrySlide {
  0% {
    opacity: 0;
    transform: translateX(-18px);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
  }
}

/* ── Focal dot pulse: simulated via drop-shadow ── */
@keyframes logoPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.55))
            drop-shadow(0 0 24px rgba(14, 165, 233, 0.2));
  }
}

/* ── Hover glow boost ── */
@keyframes logoHoverGlow {
  to {
    filter: drop-shadow(0 0 16px rgba(14, 165, 233, 0.7))
            drop-shadow(0 0 32px rgba(14, 165, 233, 0.25));
  }
}

/* Apply to the navbar logo */
.animated-logo {
  /* Entry */
  animation:
    logoEntrySlide 0.75s cubic-bezier(0.22, 1, 0.36, 1) both,
    logoPulse 3.5s ease-in-out 1s infinite;

  /* Smooth hover transition */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, filter;
}

.animated-logo:hover {
  transform: scale(1.04) translateX(2px);
  animation:
    logoEntrySlide 0.75s cubic-bezier(0.22, 1, 0.36, 1) both,
    logoHoverGlow 0.4s ease forwards;
}

/* Footer logo: subtler, no entry animation (already below fold) */
.footer-brand .animated-logo,
.footer-brand img[alt*="Zersoft"] {
  animation: logoPulse 4s ease-in-out 0.5s infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .animated-logo,
  .footer-brand .animated-logo,
  .footer-brand img[alt*="Zersoft"] {
    animation: none;
    transition: none;
  }
}

