/*
Theme Name: via the BigSchool
Theme URI: https://viathebigschool.com
Author: via the BigSchool Team
Author URI: https://viathebigschool.com
Description: Premium AI-first Tech Academy Theme — Learn Everything. Build Anything. Scale Anywhere.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viathebigschool
Tags: education, lms, courses, premium, dark, gold, academy, tech
*/

/* =============================================
   DESIGN SYSTEM — via the BigSchool
   Brand: Gold + Clean White + Premium Light
============================================= */

:root {
  /* Brand Colors */
  --gold: #E6A800;
  --gold-light: #FFB800;
  --gold-dark: #CC9400;
  --gold-glow: rgba(230, 168, 0, 0.12);

  /* Light Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-elevated: #F1F5F9;

  /* Borders */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-gold: rgba(230, 168, 0, 0.35);

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  /* Semantic */
  --success: #16A34A;
  --error: #DC2626;
  --warning: #D97706;
  --info: #2563EB;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;
  --container-padding: 0 24px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-gold: 0 0 40px rgba(230, 168, 0, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
}

/* =============================================
   GLOBAL RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p { color: var(--text-secondary); line-height: 1.8; }

.text-gold { color: var(--gold) !important; }
.text-white { color: var(--text-primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}
.section { padding: var(--section-padding); }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }

/* =============================================
   SECTION HEADER
============================================= */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-glow); border: 1px solid var(--border-gold);
  color: var(--gold); padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-title { margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: var(--transition); border: none; cursor: pointer;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.5);
  color: #000;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--gold);
}
.btn-ghost {
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.08);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); color: #fff; }

/* =============================================
   CARDS
============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
}

/* =============================================
   BADGES
============================================= */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
}
.badge-gold { background: var(--gold-glow); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-green { background: rgba(34, 197, 94, 0.1); color: #22C55E; }
.badge-blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.badge-red { background: rgba(239, 68, 68, 0.1); color: #EF4444; }

/* =============================================
   FORMS
============================================= */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 14px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-size: 0.95rem; font-family: var(--font-body);
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* =============================================
   DIVIDERS
============================================= */
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.divider-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 480px) {
  :root { --section-padding: 48px 0; }
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 24px; font-size: 0.9rem; }
}
