/* ==========================================================================
   ZEFTY STUDIO - CORE STYLESHEET
   Theme: Dark Checker Grid + Liquid Glass Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg-base: #070a11;
  --bg-card: rgba(13, 18, 30, 0.65);
  --bg-card-hover: rgba(19, 27, 46, 0.80);
  --bg-card-glow: rgba(0, 242, 254, 0.12);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --border-active: rgba(0, 242, 254, 0.4);

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-pink: #e100ff;
  --accent-emerald: #10b981;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --grid-line: rgba(255, 255, 255, 0.035);
  --grid-size: 36px;
  
  --liquid-blur: blur(20px) saturate(180%);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Modern Reset & Scrollbar
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   3. Clean Checker Grid Background + Vignette Ambient Lighting
   -------------------------------------------------------------------------- */
.bg-checker-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg-base);
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center center;
}

/* Radial Vignette Mask for depth */
.bg-checker-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, transparent 20%, var(--bg-base) 85%);
  pointer-events-none: none;
}

/* Ambient Backdrop Glows */
.ambient-glow-1 {
  position: fixed;
  top: -10%;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(127, 0, 255, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   4. Liquid Glass Card System
   -------------------------------------------------------------------------- */
.liquid-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
  overflow: hidden;
}

/* Liquid Sheen Top-Edge Highlight */
.liquid-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: var(--transition-smooth);
}

.liquid-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.7),
    0 0 30px var(--bg-card-glow),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.liquid-card:hover::before {
  left: 0%;
}

/* Accent Card Variants */
.liquid-card-cyan:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
}

.liquid-card-purple:hover {
  border-color: rgba(127, 0, 255, 0.4);
  box-shadow: 0 20px 40px rgba(127, 0, 255, 0.15);
}

.liquid-card-pink:hover {
  border-color: rgba(225, 0, 255, 0.4);
  box-shadow: 0 20px 40px rgba(225, 0, 255, 0.15);
}

/* --------------------------------------------------------------------------
   5. Typography & Gradient Text Effects
   -------------------------------------------------------------------------- */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a855f7 0%, #e100ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   6. Navigation Tabs & Currency Selector Controls
   -------------------------------------------------------------------------- */
/* Currency Selector Pills */
.currency-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 4px;
  border-radius: 9999px;
  gap: 4px;
}

.currency-btn {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.currency-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.currency-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Service Category Navigation Tabs (Video vs Graphic Design) */
.category-tab-btn {
  position: relative;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.category-tab-btn:hover {
  color: #fff;
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.07);
}

.category-tab-btn.active {
  color: #fff;
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

/* --------------------------------------------------------------------------
   7. Badge & Tag Styling
   -------------------------------------------------------------------------- */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.badge-purple {
  background: rgba(127, 0, 255, 0.12);
  color: #c084fc;
  border: 1px solid rgba(127, 0, 255, 0.25);
}

.badge-pink {
  background: rgba(225, 0, 255, 0.12);
  color: #f472b6;
  border: 1px solid rgba(225, 0, 255, 0.25);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* --------------------------------------------------------------------------
   8. Form Inputs & Interactive Calculator
   -------------------------------------------------------------------------- */
.custom-input, .custom-select {
  width: 100%;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-smooth);
}

.custom-input:focus, .custom-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* --------------------------------------------------------------------------
   9. Custom Animations
   -------------------------------------------------------------------------- */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.animate-glow {
  animation: glowPulse 6s ease-in-out infinite;
}

/* Fade-in Tab Transition */
.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}