/*
Theme Name: CalcPro
Theme URI: https://yoursite.com/calcpro
Author: Your Name
Description: Professional lightweight calculator & tools WordPress theme with Finance, Health, Math and more.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: calcpro
Tags: calculator, tools, finance, health, math, lightweight, professional
*/

:root {
  --color-primary:    #0A192F;
  --color-secondary:  #112240;
  --color-accent:     #00D9FF;
  --color-accent-2:   #7B2FBE;
  --color-accent-3:   #00E5A0;
  --color-bg:         #F0F4F8;
  --color-card:       #FFFFFF;
  --color-border:     #E2E8F0;
  --color-text:       #1A202C;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --cat-finance:      #10B981;
  --cat-health:       #F59E0B;
  --cat-math:         #3B82F6;
  --cat-physics:      #8B5CF6;
  --cat-unit:         #EC4899;
  --cat-other:        #EF4444;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
  --radius-sm:  6px; --radius-md:  12px; --radius-lg:  20px;
  --font-heading: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --transition:   0.25s ease;
  --container-max: 1280px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--color-primary); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; } h5 { font-size: 1.05rem; }
p { margin-bottom: 16px; color: var(--color-text-muted); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; } .section-sm { padding: 40px 0; }
.text-center { text-align: center; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; transition: all var(--transition); }
.btn-primary { background: var(--color-accent); color: var(--color-primary); }
.btn-primary:hover { background: #00bfdd; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-finance  { background: rgba(16,185,129,.12);  color: var(--cat-finance); }
.badge-health   { background: rgba(245,158,11,.12);  color: var(--cat-health); }
.badge-math     { background: rgba(59,130,246,.12);  color: var(--cat-math); }
.badge-physics  { background: rgba(139,92,246,.12);  color: var(--cat-physics); }
.badge-unit     { background: rgba(236,72,153,.12);  color: var(--cat-unit); }
.badge-other    { background: rgba(239,68,68,.12);   color: var(--cat-other); }

.reveal { opacity:0; transform:translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
