/*
Theme Name: 99toolkit Theme
Theme URI: https://99toolkit.com/
Author: 99toolkit
Author URI: https://99toolkit.com/
Description: A modern, lightning-fast SaaS style theme optimized for SEO, tools, and AdSense.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 99toolkit
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Premium Curated Color Palette */
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --secondary-color: #0f172a;
  --accent-color: #06b6d4;
  --accent-secondary: #ec4899;
  
  /* Backgrounds & Surfaces */
  --bg-color: #f8fafc;
  --surface-color: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.9);
  
  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  
  /* Glassmorphism Borders & Shadows */
  --border-color: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.08);
  
  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0b0f19;
    --surface-color: rgba(15, 23, 42, 0.6);
    --surface-hover: rgba(30, 41, 59, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --border-color: rgba(51, 65, 85, 0.6);
  }
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'Outfit', sans-serif; scroll-behavior: smooth; font-size: 16px; }
body { background-color: var(--bg-color); color: var(--text-primary); line-height: 1.6; }
a { color: var(--primary-color); text-decoration: none; transition: all var(--transition-fast); }
a:hover { color: var(--accent-color); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* WP Core Classes */
.aligncenter { display: block; margin: 0 auto; clear: both; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
figure.wp-block-image { margin: 0 0 1em; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Layout Utilities (Extracted & Minified Layouts) */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.75rem; font-weight: 600; border-radius: var(--radius-full);
  cursor: pointer; transition: all var(--transition-normal); border: none; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); color: var(--text-light); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4); color: white; }
.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }

/* Header & Nav */
.header {
  background: var(--surface-color); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 5rem; }
.logo { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 0.75rem; color: var(--text-primary); }
.logo span { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-secondary); transition: var(--transition-fast); }
.nav-links a:hover, .nav-links a.current-menu-item { color: var(--primary-color); }

/* Main Content Structure */
.content-area { padding: 4rem 0; min-height: 60vh; }
.page-title { text-align: center; font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 2rem; }

/* Forms & Tools */
.form-control { width: 100%; padding: 1rem; border: 2px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-color); color: var(--text-primary); font-family: inherit; margin-bottom: 1rem; }
.form-control:focus { outline: none; border-color: var(--primary-color); }

/* WordPress Default Styling for Single Content */
.entry-content p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-secondary); }
.entry-content h2, .entry-content h3 { margin-bottom: 1rem; margin-top: 2rem; color: var(--text-primary); }
.entry-content ul { list-style: disc inside; margin-bottom: 1.5rem; color: var(--text-secondary); }

/* Footer */
.footer { background: var(--surface-color); padding: 4rem 0 2rem; border-top: 1px solid var(--border-color); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-color); padding-top: 2rem; color: var(--text-muted); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn { 
    display: block; 
  }
  
  .header .nav-links { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    text-align: center;
  }
  
  .header .nav-links.active {
    display: flex;
  }
}
