/*
Theme Name: U Z LMS
Theme URI: https://uzlms.com/
Author: U Z LMS
Author URI: https://uzlms.com/
Description: Premium WordPress theme for U Z LMS — the #1 white-label LMS and virtual classroom platform. AI-ready, GEO-optimized, SEO-first, Elementor/Bricks/Gutenberg compatible. No Node.js, no build step, no external APIs. PHP 8.2+, WordPress 6.0+, Hostinger Business Shared Hosting ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.2
License: Proprietary
Text Domain: uzlms
Tags: education, lms, virtual-classroom, white-label, ai-ready, geo-optimized, seo-optimized, performance, responsive, dark
*/

/* =========================================================================
   U Z LMS — Custom Theme
   - Zero build step (no npm, no Node.js)
   - Self-hosted assets, no CDNs required
   - WordPress 6.0+ / PHP 8.2+
   - Hostinger Business Shared Hosting compatible
   ========================================================================= */

:root {
  --uz-red: #ef4444;
  --uz-red-600: #dc2626;
  --uz-red-700: #b91c1c;
  --uz-emerald: #10b981;
  --uz-indigo: #6366f1;
  --uz-ink-950: #05050a;
  --uz-ink-900: #0a0a12;
  --uz-ink-800: #0f0f1a;
  --uz-zinc-400: #a1a1aa;
  --uz-zinc-500: #71717a;
  --uz-zinc-600: #52525b;
  --uz-zinc-700: #3f3f46;
  --uz-zinc-800: #27272a;
  --uz-white: #ffffff;

  --uz-font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --uz-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --uz-radius: 1.25rem;
  --uz-radius-sm: 0.75rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--uz-font-body);
  background: var(--uz-ink-950);
  color: var(--uz-white);
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--uz-font-display);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.1;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p { margin: 0 0 1rem; color: var(--uz-zinc-400); }

a {
  color: var(--uz-red);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #f87171; }

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

img[loading="lazy"] { opacity: 0; transition: opacity 0.4s; }
img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) { opacity: 1; }

/* ===== Layout ===== */
.uz-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) {
  .uz-container { padding: 0 2rem; }
}

.uz-section {
  padding: 5rem 0;
  position: relative;
}
@media (max-width: 768px) {
  .uz-section { padding: 3rem 0; }
}

/* ===== Buttons ===== */
.uz-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}
.uz-btn-primary {
  background: linear-gradient(135deg, var(--uz-red), var(--uz-red-600));
  color: var(--uz-white);
  box-shadow: 0 10px 30px -8px rgba(239, 68, 68, 0.6);
}
.uz-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(239, 68, 68, 0.7);
  color: var(--uz-white);
}
.uz-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--uz-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.uz-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--uz-white);
}

/* ===== Glass Card ===== */
.uz-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--uz-radius);
}

/* ===== Gradients ===== */
.uz-text-gradient {
  background: linear-gradient(135deg, var(--uz-white) 0%, #fca5a5 50%, var(--uz-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.uz-text-gradient-brand {
  background: linear-gradient(135deg, #f87171 0%, var(--uz-red) 50%, var(--uz-red-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Header ===== */
.uz-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: all 0.3s;
}
.uz-header.scrolled {
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.uz-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.uz-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--uz-white);
}
.uz-logo img { width: 40px; height: 40px; border-radius: 9999px; }
.uz-logo-text { font-family: var(--uz-font-display); font-weight: 700; }
.uz-logo-text .red { color: var(--uz-red); }

.uz-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .uz-nav { display: flex; }
}
.uz-nav a {
  color: var(--uz-zinc-400);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}
.uz-nav a:hover, .uz-nav a.current { color: var(--uz-white); }

.uz-mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--uz-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 1024px) {
  .uz-mobile-toggle { display: none; }
}

/* ===== Hero ===== */
.uz-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.uz-hero h1 { margin-bottom: 1.5rem; }
.uz-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--uz-zinc-400);
  max-width: 48rem;
  margin: 0 auto 2rem;
}
.uz-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.uz-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: #d4d4d8;
}

/* ===== Footer ===== */
.uz-footer {
  margin-top: 5rem;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--uz-ink-950);
}
.uz-footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .uz-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}
.uz-footer h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--uz-zinc-500);
  margin-bottom: 1rem;
}
.uz-footer a { color: var(--uz-zinc-400); display: block; padding: 0.25rem 0; }
.uz-footer a:hover { color: var(--uz-white); }

.uz-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.uz-keyword-cloud span {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--uz-zinc-400);
}

.uz-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--uz-zinc-500);
}
@media (min-width: 768px) {
  .uz-footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ===== WhatsApp Float ===== */
.uz-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #34d399, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--uz-white);
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(16, 185, 129, 0.6);
  transition: transform 0.2s;
}
.uz-whatsapp:hover { transform: scale(1.1); color: var(--uz-white); }
@media (min-width: 768px) {
  .uz-whatsapp { width: 64px; height: 64px; bottom: 1.5rem; right: 1.5rem; }
}

/* ===== Card Grid ===== */
.uz-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .uz-card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .uz-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .uz-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.uz-card {
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--uz-radius);
  transition: border-color 0.3s;
}
.uz-card:hover { border-color: rgba(239, 68, 68, 0.3); }
.uz-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.uz-card p { margin: 0; }

/* ===== Stats ===== */
.uz-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .uz-stats { grid-template-columns: repeat(4, 1fr); }
}
.uz-stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--uz-radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.uz-stat-value {
  font-family: var(--uz-font-display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #f87171, var(--uz-red), var(--uz-red-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.uz-stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--uz-zinc-500);
  margin-top: 0.5rem;
}

/* ===== FAQ ===== */
.uz-faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}
.uz-faq-item[open] {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.4);
}
.uz-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--uz-white);
  font-size: 1.0625rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.uz-faq-item summary::-webkit-details-marker { display: none; }
.uz-faq-item summary::after {
  content: "+";
  color: var(--uz-red);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}
.uz-faq-item[open] summary::after { transform: rotate(45deg); }
.uz-faq-item > div {
  padding-top: 0.875rem;
  color: var(--uz-zinc-400);
  line-height: 1.7;
}

/* ===== Form ===== */
.uz-form { display: grid; gap: 1.25rem; }
.uz-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .uz-form-row-2 { grid-template-columns: 1fr 1fr; }
}
.uz-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--uz-zinc-300);
  margin-bottom: 0.375rem;
}
.uz-field input,
.uz-field select,
.uz-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--uz-white);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s;
}
.uz-field input:focus,
.uz-field select:focus,
.uz-field textarea:focus {
  outline: none;
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.uz-field input::placeholder,
.uz-field textarea::placeholder { color: var(--uz-zinc-600); }

.uz-form-msg {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.uz-form-msg.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.uz-form-msg.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ===== Comparison Table ===== */
.uz-table-wrap {
  overflow-x: auto;
  border-radius: var(--uz-radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.uz-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.uz-table th, .uz-table td { padding: 1rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.uz-table th { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--uz-zinc-500); font-weight: 600; }
.uz-table td:first-child, .uz-table th:first-child { text-align: left; color: var(--uz-white); font-weight: 500; }
.uz-table .uz-yes {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9999px;
  background: rgba(16, 185, 129, 0.2); color: #6ee7b7;
}
.uz-table .uz-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05); color: var(--uz-zinc-500);
}

/* ===== Pricing Cards ===== */
.uz-pricing-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--uz-radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 2px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.uz-pricing-card.featured {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.15);
}
.uz-pricing-card .uz-price {
  font-family: var(--uz-font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--uz-white);
  margin: 1rem 0 0.5rem;
}
.uz-pricing-card .uz-price-period {
  font-size: 0.875rem;
  color: var(--uz-zinc-500);
  margin-left: 0.25rem;
}
.uz-pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex: 1;
}
.uz-pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: #d4d4d8;
}
.uz-pricing-features li::before {
  content: "✓";
  color: var(--uz-emerald);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Accessibility ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--uz-red);
  outline-offset: 2px;
}

/* ===== Page-specific anchors ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--uz-red);
  color: var(--uz-white);
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== Animation ===== */
@keyframes uz-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.uz-fade-up { animation: uz-fade-up 0.7s ease forwards; }

/* ===== Print ===== */
@media print {
  body { background: white; color: black; }
  .uz-header, .uz-footer, .uz-whatsapp { display: none; }
}