/* Kaan İlbey Studio - Ultra Modern SaaS & Creative Agency Styling (SaaS King & Softox CRM Aesthetic) */

:root {
  --color-bg: #08080d;
  --color-card: #101118;
  --color-card-elevated: #161722;
  --color-primary: #a855f7;        /* Electric Neon Purple */
  --color-primary-light: #c084fc;  /* Bright Lilac / Glow */
  --color-primary-dark: #8532f9;   /* SaaS King Vivid Violet */
  --color-primary-glow: rgba(168, 85, 247, 0.45);
  --color-accent-pink: #d946ef;    /* Fuchsia accent */
  --color-accent-cyan: #06b6d4;    /* Tech Cyan accent */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(168, 85, 247, 0.55);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Aliases for legacy lime classes to smoothly convert all to Purple */
  --color-lime: #a855f7;
  --color-lime-hover: #9333ea;
  --color-lime-glow: rgba(168, 85, 247, 0.45);
}

body {
  background-color: var(--color-bg);
  color: #f3f4f6;
  font-family: var(--font-sans);
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    radial-gradient(circle at 15% 20%, rgba(133, 50, 249, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(192, 132, 252, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(217, 70, 239, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  background-size: 80px 80px, 80px 80px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #08080d;
}
::-webkit-scrollbar-thumb {
  background: #232536;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* Typography & Gradient Headings */
.text-gradient-purple {
  background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-vivid {
  background: linear-gradient(92.62deg, #ffffff 0%, #c084fc 50%, #8532f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Color Utility Classes */
.text-purple-neon { color: var(--color-primary-light); }
.bg-purple-neon { background-color: var(--color-primary); color: #ffffff; }
.border-purple-neon { border-color: var(--color-primary); }

/* Compatibility aliases for -lime classes */
.text-lime { color: var(--color-primary-light) !important; }
.bg-lime { background-color: var(--color-primary) !important; color: #ffffff !important; }
.border-lime { border-color: var(--color-primary) !important; }
.glow-lime { box-shadow: 0 0 30px var(--color-primary-glow) !important; }
.glow-lime-sm { box-shadow: 0 0 16px rgba(168, 85, 247, 0.35) !important; }
.glow-purple { box-shadow: 0 0 30px var(--color-primary-glow); }
.glow-purple-sm { box-shadow: 0 0 16px rgba(168, 85, 247, 0.35); }

/* Modern SaaS Buttons */
.btn-primary, .btn-purple, .btn-lime {
  background: linear-gradient(135deg, #8532f9 0%, #a855f7 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(133, 50, 249, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover, .btn-purple:hover, .btn-lime:hover {
  background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
  box-shadow: 0 0 35px rgba(192, 132, 252, 0.65), 0 8px 20px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.btn-outline-purple, .btn-outline-lime {
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(168, 85, 247, 0.05);
}
.btn-outline-purple:hover, .btn-outline-lime:hover {
  border-color: var(--color-primary-light);
  color: #ffffff;
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

/* Glassmorphism & SaaS King Card Hover */
.glass-panel {
  background: rgba(16, 17, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.2);
}

/* Rotating Stamp Badge Animation */
@keyframes spinBadge {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spin-slow {
  animation: spinBadge 18s linear infinite;
}

/* Tilted Continuous Marquee Ribbon (SaaS King style) */
.ribbon-tilted {
  transform: rotate(-1.2deg) scale(1.02);
  background: linear-gradient(90deg, #121020 0%, #1a1630 50%, #121020 100%);
  border-top: 1px solid rgba(168, 85, 247, 0.35);
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 35px rgba(133, 50, 249, 0.2);
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-inner {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}

.marquee-inner:hover {
  animation-play-state: paused;
}

/* Smooth Floating Animations (SaaS King Hero Badges) */
@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-1.5deg); }
}

@keyframes floatBadge3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

.float-badge-1 {
  animation: floatBadge1 4s ease-in-out infinite;
}

.float-badge-2 {
  animation: floatBadge2 4.5s ease-in-out infinite 0.5s;
}

.float-badge-3 {
  animation: floatBadge3 5s ease-in-out infinite 1s;
}

/* Pulsing Beacon Dot */
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}
.pulse-beacon {
  animation: pulseDot 2s infinite;
}

/* Form controls */
.input-dark {
  background-color: #151620;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.2s ease;
}
.input-dark:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
  background-color: #1a1b28;
}
.input-dark::placeholder {
  color: #6b7280;
}

/* Portfolio Filter Tab Pill */
.filter-btn {
  transition: all 0.2s ease;
}
.filter-btn.active {
  background: linear-gradient(135deg, #8532f9 0%, #a855f7 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
}

/* Rich text blog typography styles */
.blog-content h2, .blog-content h3 {
  color: #ffffff;
  font-weight: 800;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.25rem; }
.blog-content p {
  color: #9ca3af;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.blog-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  color: #d1d5db;
  margin-bottom: 1.25rem;
}
.blog-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
  font-style: italic;
  color: #f3f4f6;
  margin: 1.5rem 0;
  background: rgba(168, 85, 247, 0.05);
  padding: 1rem;
  border-radius: 0.5rem;
}
.blog-content img {
  border-radius: 1rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
}

/* ======================================================== */
/* SAASKING & SOFTOX CRM ADVANCED VISUAL EXTENSIONS          */
/* ======================================================== */

/* Glowing Gradient Borders (SaaS King Bento Style) */
.sk-card-gradient-border {
  position: relative;
  background: #11121d;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.sk-card-gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a855f7, #c084fc, transparent);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.sk-card-gradient-border:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(133, 50, 249, 0.25);
  transform: translateY(-5px);
}
.sk-card-gradient-border:hover::before {
  opacity: 1;
}

/* SaasKing Central Hero Dashboard Mockup */
.sk-hero-dashboard-frame {
  background: linear-gradient(180deg, #161726 0%, #0c0d16 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 1.75rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 50px rgba(133, 50, 249, 0.2);
  position: relative;
  overflow: hidden;
}

.sk-traffic-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Dot Matrix Grid Pattern */
.sk-dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Process Step Number Large Outline / Gradient */
.sk-step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #a855f7 0%, rgba(133, 50, 249, 0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Softox CRM Rating Badge */
.sk-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #c084fc;
  font-size: 0.75rem;
  font-weight: 700;
}

/* FAQ Accordion Transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #c084fc;
}
.faq-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Pulse Glow Keyframe */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
  }
  50% {
    box-shadow: 0 0 45px rgba(192, 132, 252, 0.75);
  }
}
.glow-pulse-active {
  animation: glowPulse 3s infinite;
}

