﻿/* Check Point Enterprise Cyber Security Inspired Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Check Point Cyber Security Palette */
  --cp-pink: #EA0054;
  --cp-pink-hover: #C70047;
  --cp-pink-light: #FFF0F5;
  --cp-dark: #0A0E1A;
  --cp-darker: #05070D;
  --cp-surface: #111827;
  --cp-slate: #1E293B;
  
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-elevated: #F1F5F9;
  
  --border-subtle: #E2E8F0;
  --border-card: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-glow: rgba(234, 0, 84, 0.25);
  
  --primary: #EA0054;
  --primary-hover: #C70047;
  --primary-glow: rgba(234, 0, 84, 0.15);
  
  --secondary: #0A0E1A;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  color: var(--text-main);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Background Gradients & Grid Patterns */
.bg-grid-subtle {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-grid-dark {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-dot-pattern {
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-radial-glow {
  background: radial-gradient(circle at 50% 0%, rgba(234, 0, 84, 0.09) 0%, rgba(10, 14, 26, 0.03) 50%, transparent 80%);
}

.hero-dark-glow {
  background: radial-gradient(circle at 50% 20%, rgba(234, 0, 84, 0.18) 0%, rgba(14, 165, 233, 0.05) 45%, transparent 75%);
}

/* Check Point Style Buttons */
.btn-cp-pink {
  background-color: var(--cp-pink);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(234, 0, 84, 0.35);
}
.btn-cp-pink:hover {
  background-color: var(--cp-pink-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(234, 0, 84, 0.45);
}

.btn-cp-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  background-color: transparent;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.btn-cp-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.btn-cp-dark-outline {
  border: 1px solid #CBD5E1;
  color: #0F172A;
  background-color: #FFFFFF;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.btn-cp-dark-outline:hover {
  border-color: #0F172A;
  background-color: #F8FAFC;
}

/* Check Point Style Pillar Cards */
.pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}
.pillar-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.pillar-card:hover::before {
  background: var(--cp-pink);
}

/* Check Point Tab Navigation */
.cp-tab-btn {
  position: relative;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  color: #64748B;
}
.cp-tab-btn.active {
  color: #0F172A;
  background-color: #F1F5F9;
  font-weight: 700;
}
.cp-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  background-color: var(--cp-pink);
}

/* Modern Clean Cards */
.card-modern {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-modern:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-elevated {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.card-elevated:hover {
  background: #FFFFFF;
  border-color: #94A3B8;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Modern Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 50%, #4338CA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-sky {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Tags */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.813rem;
  font-weight: 600;
  border: 1px solid #BAE6FD;
  background: #F0F9FF;
  color: #0284C7;
}

.badge-pill-emerald {
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #059669;
}

.badge-pill-indigo {
  border-color: #C7D2FE;
  background: #EEF2FF;
  color: #4F46E5;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0284C7;
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #0369A1;
  box-shadow: 0 6px 20px 0 rgba(2, 132, 199, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: #1E293B;
  padding: 12px 24px;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
  transform: translateY(-1px);
}

.btn-indigo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4F46E5;
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-indigo:hover {
  background: #4338CA;
  transform: translateY(-1px);
}

/* Nav Dropdown & Header Rules */
#mainNav nav > a,
#mainNav nav > button,
#mainNav nav > div > button,
#mainNav .btn-primary,
#mainNav .btn-secondary {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-dropdown {
  position: relative;
  flex-shrink: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
  min-width: 620px;
  max-width: 90vw;
  white-space: normal;
}

.nav-dropdown-menu a,
.nav-dropdown-menu p,
.nav-dropdown-menu span,
.nav-dropdown-menu div {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Product Image Preview Boxes with Shadow */
.product-showcase-img {
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  background-color: #FFFFFF;
}

.product-showcase-img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
}

/* Interactive Tabs */
.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #64748B;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab-btn .tab-img-white {
  display: none !important;
}

.tab-btn .tab-img-black {
  display: inline-block !important;
}

.tab-btn:hover {
  color: #0F172A;
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.tab-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.4);
}

.tab-btn.active .tab-img-black {
  display: none !important;
}

.tab-btn.active .tab-img-white {
  display: inline-block !important;
}

/* Forms */
.form-control {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.875rem;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
}

.form-control::placeholder {
  color: #94A3B8;
}

.form-control:focus {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Code Block & Technical Boxes */
.code-block {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.813rem;
  line-height: 1.6;
  border: 1px solid #1E293B;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}

/* Toast Notifications */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  transform: translateY(150%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast.show {
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ==========================================================================
   HERO BIG SLIDER & PRODUCT DOCK NAVIGATION (ornek.PNG Inspired)
   ========================================================================== */

.hero-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 60%, #F1F5F9 100%);
  min-height: 640px;
}

@media (min-width: 1024px) {
  .hero-slider-container {
    min-height: 700px;
  }
}

.hero-slider-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
}

@media (min-width: 1024px) {
  .hero-slider-stage {
    min-height: 580px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px) scale(0.99);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 10;
}

/* Animated Content on Active */
.hero-slide.active .slide-title-anim {
  animation: slideTextUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .slide-desc-anim {
  animation: slideTextUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-slide.active .slide-cta-anim {
  animation: slideTextUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-slide.active .slide-visual-anim {
  animation: slideVisualPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes slideTextUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideVisualPop {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Hero Bottom Products Dock Bar */
.hero-dock-wrapper {
  position: relative;
  z-index: 25;
  width: 100%;
  padding-bottom: 24px;
}

.hero-dock-bar {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.hero-dock-bar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 768px) {
  .hero-dock-bar {
    border-radius: 20px;
    padding: 8px 10px;
    gap: 8px;
  }
}

.hero-dock-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 9999px;
  color: #CBD5E1;
  font-size: 0.813rem;
  font-weight: 500;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}

.hero-dock-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.hero-dock-item.active {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.hero-dock-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-dock-item.active .hero-dock-icon {
  background: #FFFFFF;
  color: #0F172A;
  transform: scale(1.08);
}

.hero-dock-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Controls (Prev/Next Arrows) */
.slider-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.slider-arrow-btn:hover {
  background: #FFFFFF;
  color: #0284C7;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.2);
}

/* Slider Progress Bar */
.slider-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(226, 232, 240, 0.6);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 30;
}

.slider-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284C7, #4F46E5);
  width: 0%;
  transition: width 0.1s linear;
}

/* Product Showcase Frame in Slider */
.hero-product-showcase {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8));
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  padding: 18px;
  backdrop-filter: blur(10px);
}

.hero-product-showcase .device-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
  border-radius: 32px;
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
