/* 
   KAAN ELEKTRIK - ULTRA DARK TECH THEME (Cyberpunk / Linear.app style)
   For a jaw-dropping, futuristic presentation.
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Modern Light Palette - SpaceX / Apple Inspired */
  --bg-main: #f8fafc;
  /* Very Light Blue-Gray for main background */
  --bg-card: #ffffff;
  /* Pure White for cards */

  --c-primary: #0f62fe;
  /* IBM/Corporate Trust Blue */
  --c-neon-purple: #1e3a8a;
  /* Deep Blue for gradients */
  --c-neon-cyan: #3b82f6;
  /* Bright Blue */

  --text-main: #0f172a;
  /* Very Dark Slate (almost black) */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-dark: #334155;
  /* Slate 700 */

  --border-light: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(15, 98, 254, 0.3);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Clean, Minimalist Shadows */
  --glow-soft: 0 4px 14px 0 rgba(15, 98, 254, 0.2);
  --glow-intense: 0 6px 20px rgba(15, 98, 254, 0.3);
  --shadow-float: 0 10px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--border-light);

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* -------------------------------- */
/* GLOBAL COMPONENTS                */
/* -------------------------------- */

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--c-neon-cyan) 0%, var(--c-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Transparent to Solid Glass Navbar - Apple/SpaceX Style */
.navbar-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 25px 0;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-glass.scrolled {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-glass .nav-link-custom {
  font-weight: 500;
  color: var(--text-dark) !important;
  font-size: 0.95rem;
  padding: 10px 20px !important;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.navbar-glass.transparent-at-top:not(.scrolled) .nav-link-custom {
  color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-glass .nav-link-custom:hover,
.navbar-glass .nav-link-custom.active,
.navbar-glass.scrolled .nav-link-custom:hover,
.navbar-glass.scrolled .nav-link-custom.active {
  color: var(--c-primary) !important;
  background: rgba(15, 98, 254, 0.08);
  /* IBM Blue tint */
}

.navbar-glass.transparent-at-top:not(.scrolled) .nav-link-custom:hover,
.navbar-glass.transparent-at-top:not(.scrolled) .nav-link-custom.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
}

/* Architectural Corporate Buttons */
.btn-space {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 40px;
  /* Fully rounded modern pill */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-space-primary {
  background: var(--c-primary);
  color: white !important;
  box-shadow: 0 8px 25px rgba(15, 98, 254, 0.25);
  border: 1px solid transparent;
}

.btn-space-primary:hover {
  transform: translateY(-3px);
  background: var(--c-neon-purple);
  /* Slightly darker blue on hover */
  box-shadow: 0 12px 35px rgba(15, 98, 254, 0.35);
}

.btn-space-outline {
  background: transparent;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-space-outline:hover {
  background: white;
  color: var(--text-main) !important;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Removed aggressive global light outline override due to conflicts with dark banners inside light pages.
   Instead, text on light backgrounds should explicitly structure border/color inline or via new dark class. */

/* Subtly animated background shapes - Lightweight Corporate */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-main);
}

.blob-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: floatLight 20s ease-in-out infinite alternate;
}

.blob-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: floatLight 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatLight {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -40px) scale(1.05);
  }
}

/* Very subtle grid for precision feel (optional) */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(to right, rgba(15, 98, 254, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 98, 254, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

/* -------------------------------- */
/* DEEP REDESIGN HOME PAGE ELEMENTS */
/* -------------------------------- */

.hero-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  /* Deep industrial image with strong vignette */
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.4) 0%, rgba(3, 7, 18, 0.8) 100%),
    url('https://images.unsplash.com/photo-1497440001374-f26997328c1b?q=80&w=2662&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 80px;
  color: white;
}

.hero-fullscreen::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-main) 0%, transparent 100%);
  pointer-events: none;
}

.hero-badge-clean {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-title-massive {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  color: white;
}

.hero-p-clean {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.5rem;
  animation: bounceSoft 2s infinite;
  z-index: 10;
  opacity: 0.7;
}

@keyframes bounceSoft {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-15px) translateX(-50%);
  }

  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* Deep Structural Elements - Architectural Float */
.arch-card {
  background: white;
  border-radius: 0;
  /* Sharp corporate look */
  padding: 60px 50px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 3px solid transparent;
  z-index: 1;
}

.arch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: -1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
}

.arch-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--c-primary);
}

.arch-card:hover::before {
  box-shadow: 0 40px 80px rgba(15, 98, 254, 0.1);
}

.arch-card-dark {
  background: var(--text-main) !important;
  border-bottom-color: transparent !important;
}

.arch-card-dark::before {
  background: var(--text-main) !important;
}

.arch-card-dark:hover {
  border-bottom-color: var(--c-primary) !important;
}

.arch-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  color: var(--c-primary);
  font-size: 2rem;
  margin-bottom: 30px;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.arch-card:hover .arch-icon {
  background: var(--c-primary);
  color: white;
  box-shadow: 0 10px 20px rgba(15, 98, 254, 0.3);
}

.arch-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.arch-p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* Image Grids */
.img-corporate {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.img-container {
  overflow: hidden;
  position: relative;
}

.img-container:hover .img-corporate {
  transform: scale(1.05);
}

/* Minimalist Feature Cards - Light Mode */
.feature-minimal {
  padding: 40px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  height: 100%;
}

.feature-minimal:hover {
  box-shadow: var(--shadow-float);
  border-color: rgba(15, 98, 254, 0.2);
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(15, 98, 254, 0.05);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-minimal:hover .feature-icon-wrapper {
  background: var(--c-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(15, 98, 254, 0.3);
}

/* Section Titles */
.section-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
}

.section-title-mega {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

/* Brand Banner - Clean Blue */
.brand-banner {
  background: var(--c-primary);
  background-image: radial-gradient(circle at top right, var(--c-neon-cyan), transparent);
  border-radius: 16px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-soft);
  color: white;
}

/* Animations */
.page-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.page-fade-in-active {
  opacity: 1;
}

/* Sub Pages Hero */
.sub-hero {
  padding: 160px 0 80px;
  position: relative;
}

/* Overlapped Section Pattern */
.overlap-container {
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

@media (max-width: 991px) {
  .hero-title-massive {
    font-size: 3.5rem;
  }

  .section-title-mega {
    font-size: 2.5rem;
  }
}

/* Clean up dark mode overrides if any */
footer {
  background: #ffffff !important;
  border-color: var(--border-light) !important;
}

.bg-white {
  background: #ffffff !important;
}

.bg-light {
  background: #f8fafc !important;
  border: 1px solid var(--border-light) !important;
}