/*
Theme Name: Innovation Theme
Theme URI: https://example.com/innovation-theme
Author: SBI Cilacap
Author URI: https://example.com
Description: Innovation Theme (Enterprise Edition) — Hybrid SPA frontend for Innovation Engine V3.2. Routes under /app/* are handled by AppRouter and do not use standard WP templates.
Version: 3.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.3
Text Domain: innovation-theme
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options
*/

/* =========================================================
   Enterprise Design Tokens (CSS Variables)
   ========================================================= */
:root{
  /* Brand */
  --primary: #6366f1;          /* Indigo */
  --secondary: #ec4899;        /* Pink */

  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;

  /* Surfaces */
  --bg-app: #f3f4f6;
  --glass: rgba(255, 255, 255, 0.7);

  /* Neutral palette */
  --text: #0f172a;             /* slate-900 */
  --muted: #64748b;            /* slate-500 */
  --border: rgba(15, 23, 42, 0.12);

  /* Radius & shadow */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.10);
  --shadow-md: 0 12px 34px rgba(15, 23, 42, 0.14);

  /* Glass effects */
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur: 12px;

  /* Focus ring */
  --ring: 0 0 0 3px rgba(99, 102, 241, 0.28);

  /* Layout */
  --container: 1120px;
  --gutter: 16px;

  /* Transitions */
  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: 150ms var(--ease);
  --t-med: 260ms var(--ease);
}

/* =========================================================
   Modern CSS Reset (lightweight)
   ========================================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body{
  margin: 0;
  min-height: 100%;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-app);
  line-height: 1.5;
}

img, picture, video, canvas, svg{
  display: block;
  max-width: 100%;
}

input, button, textarea, select{
  font: inherit;
  color: inherit;
}

button{
  cursor: pointer;
  border: 0;
  background: transparent;
}

a{
  color: inherit;
  text-decoration: none;
}

p, h1, h2, h3, h4, h5, h6{
  margin: 0;
}

ul, ol{
  margin: 0;
  padding: 0;
  list-style: none;
}

table{
  border-collapse: collapse;
  border-spacing: 0;
}

::selection{
  background: rgba(99, 102, 241, 0.22);
}

/* =========================================================
   Base helpers (minimal; core utilities live in unicorn-core.css)
   ========================================================= */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hr{
  height: 1px;
  background: var(--border);
  border: 0;
}

.glass{
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
}

.hidden{
  display: none !important;
}

/* Accessibility */
:focus-visible{
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; animation: none !important; }
}
