/*
Theme Name: CodeSoft Pro
Theme URI: https://codesoft.pro
Author: Antigravity AI Team
Author URI: https://codesoft.pro
Description: Ultra-Premium, Elite Software & App Catalog WordPress Theme. Features Glassmorphic Dark/Light Mode, Instant Live AJAX Search, Quick View Modals, System Specs Box, Virus Scan Badges, Multi-Mirror Download System with Password Copy, and Software Request System.
Version: 2.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: software-catalog, dark-mode, glassmorphism, downloads, responsive-layout, custom-post-type, grid-layout
Text Domain: codesoft
*/

/* Core Global Variables & Design System */
:root {
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Radiant Luminous Dark Palette (Dark ya Kuwaka na Mwanga Safi) */
  --bg-primary: #121829;
  --bg-secondary: #1a2238;
  --bg-card: rgba(30, 42, 69, 0.88);
  --bg-card-hover: rgba(42, 58, 94, 0.96);
  --bg-header: rgba(18, 24, 41, 0.94);
  
  --border-color: rgba(255, 255, 255, 0.14);
  --border-hover: rgba(99, 102, 241, 0.7);
  
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  
  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-secondary: #38bdf8;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-glow: 0 0 35px rgba(99, 102, 241, 0.5);
  
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #3b82f6;
  
  --badge-latest-bg: rgba(16, 185, 129, 0.15);
  --badge-latest-color: #34d399;
  --badge-featured-bg: rgba(245, 158, 11, 0.15);
  --badge-featured-color: #fbbf24;
  --badge-torrent-bg: rgba(168, 85, 247, 0.15);
  --badge-torrent-color: #c084fc;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
  
  --glass-backdrop: blur(16px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables Toggle */
[data-theme="light"] {
  --bg-primary: #f1f5f9;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.9);
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(99, 102, 241, 0.5);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}
