/*
Theme Name: AI Swadesh
Theme URI: https://aiswadesh.in
Author: AI Swadesh Team
Author URI: https://aiswadesh.in
Description: India's #1 AI Learning Platform Theme - Premium bilingual AI education theme with courses, PDF guides, projects, and earn-on-completion rewards system.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-swadesh
Tags: education, learning, courses, elearning, ai, technology, india, hindi, responsive, custom-colors, custom-logo
*/

/* ===== CSS VARIABLES ===== */
:root {
  --saffron: #FF6B00;
  --saffron-light: #FF8C3A;
  --saffron-dark: #CC5500;
  --saffron-pale: #FFF3E8;
  --green: #138808;
  --green-light: #1EBF0B;
  --green-pale: #E8F5E6;
  --navy: #050D1A;
  --navy-mid: #0A1628;
  --navy-light: #142240;
  --gold: #F0B429;
  --gold-pale: #FFF8E1;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font-display: 'Clash Display', 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(5,13,26,0.08);
  --shadow-md: 0 8px 32px rgba(5,13,26,0.12);
  --shadow-lg: 0 20px 60px rgba(5,13,26,0.2);
  --shadow-glow: 0 0 40px rgba(255,107,0,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.logo-mark { display: flex; align-items: center; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: white; }
.logo-sub { font-size: 11px; color: var(--saffron-light); letter-spacing: 0.3px; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover, .nav-links a.active { color: var(--saffron-light); }

.nav-admin { color: var(--saffron-light) !important; font-weight: 600 !important; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.btn-ghost-nav {
  padding: 8px 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-ghost-nav:hover { border-color: rgba(255,255,255,0.5); }

.btn-primary-nav {
  padding: 8px 22px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,107,0,0.35);
}
.btn-primary-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,0,0.5); }

.nav-hamburger {
  display: none;
  background: none; border: none;
  color: white; font-size: 22px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px;
  background: rgba(5,13,26,0.98);
}
.mobile-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 100px 0 60px;
}

.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(255,107,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(19,136,8,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 80%, rgba(240,180,41,0.06) 0%, transparent 40%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.pill-dot {
  width: 6px; height: 6px;
  background: var(--saffron);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
  font-weight: 400;
}

.hero-actions {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-main {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  box-shadow: 0 8px 28px rgba(255,107,0,0.45);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-hero-main:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,107,0,0.6); }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); }

.hero-stats {
  display: flex; align-items: center; gap: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hstat { padding: 0 20px; }
.hstat:first-child { padding-left: 0; }
.hstat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hstat-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; font-weight: 500; }
.hstat-div { width: 1px; height: 36px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 360px;
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hcard-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.hcard-chip {
  background: rgba(255,107,0,0.2);
  color: var(--saffron-light);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.hcard-stars { color: var(--gold); font-size: 13px; }

.hcard-thumb {
  height: 156px;
  background: linear-gradient(135deg, #0A1E3D, #081629);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.hcard-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.18), rgba(240,180,41,0.08));
}

.hcard-title { color: white; font-size: 16px; font-weight: 700; margin-bottom: 4px; font-family: var(--font-display); }
.hcard-meta { color: rgba(255,255,255,0.45); font-size: 12px; margin-bottom: 14px; }

.progress-wrap { display: flex; align-items: center; gap: 10px; }
.progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--saffron), var(--gold)); border-radius: 10px; }
.progress-text { font-size: 11px; color: rgba(255,255,255,0.4); white-space: nowrap; }

.float-badge {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  white-space: nowrap;
  font-size: 12px;
}
.float-badge div { display: flex; flex-direction: column; }
.float-badge strong { font-weight: 700; color: var(--gray-900); font-size: 13px; }
.float-badge span { color: var(--gray-500); }
.fb-icon { font-size: 22px; }

.fb-top { top: -20px; right: -40px; animation: floatY 3s ease-in-out infinite; }
.fb-bottom { bottom: 20px; left: -50px; animation: floatY 3s ease-in-out infinite 1.5s; }
.fb-mid { top: 50%; right: -55px; transform: translateY(-50%); animation: floatY 3s ease-in-out infinite 0.8s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fb-mid { animation: floatYMid 3s ease-in-out infinite 0.8s; }
@keyframes floatYMid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

/* ===== SECTIONS ===== */
.section { padding: 88px 0; }
.section-light { background: var(--gray-50); }

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 20px; height: 2px;
  background: var(--saffron); border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,107,0,0.2); }
.feat-card:hover::after { opacity: 1; }

.feat-card.feat-accent {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: rgba(255,107,0,0.3);
  color: white;
}
.feat-card.feat-accent h3 { color: white; }
.feat-card.feat-accent p { color: rgba(255,255,255,0.65); }

.feat-icon-wrap {
  width: 52px; height: 52px;
  background: var(--saffron-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.feat-icon-wrap.accent { background: rgba(255,107,0,0.2); }
.feat-card:hover .feat-icon-wrap { background: var(--saffron); }
.feat-card:hover .feat-icon-wrap.accent { background: rgba(255,107,0,0.35); }
.feat-icon { font-size: 24px; }

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
}

.feat-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--saffron);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== EARN BANNER ===== */
.earn-banner {
  background: linear-gradient(135deg, var(--navy), #0F2040);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.earn-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,107,0,0.15) 0%, transparent 60%);
}

.earn-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.earn-badge {
  display: inline-block;
  background: rgba(255,107,0,0.2);
  border: 1px solid rgba(255,107,0,0.35);
  color: var(--saffron-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.earn-left h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.earn-left h2 span { color: var(--saffron-light); }

.earn-left p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-earn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border-radius: var(--radius);
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}
.btn-earn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,0,0.55); }

.earn-cards {
  display: flex; flex-direction: column; gap: 12px;
}

.earn-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.earn-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,107,0,0.3); }
.earn-card.ec-featured { border-color: rgba(255,107,0,0.4); background: rgba(255,107,0,0.08); }

.ec-level {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 10px;
  border-radius: 100px;
}
.ec-level.beginner { background: var(--green-pale); color: var(--green); }
.ec-level.intermediate { background: var(--gold-pale); color: #8B6000; }
.ec-level.advanced { background: rgba(255,100,100,0.15); color: #FF6B6B; }

.ec-name {
  color: white; font-weight: 600; font-size: 14px;
  flex: 1; text-align: center;
}

.ec-reward {
  font-size: 13px; color: var(--gold); font-weight: 600;
}

/* ===== COURSES ===== */
.courses-filter {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-700);
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--saffron);
  background: var(--saffron-pale);
  color: var(--saffron-dark);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(255,107,0,0.2); }

.course-thumb {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}
.ct-1 { background: linear-gradient(135deg, #060F22, #0F2555); }
.ct-2 { background: linear-gradient(135deg, #042010, #086320); }
.ct-3 { background: linear-gradient(135deg, #1A0E00, #553000); }
.ct-4 { background: linear-gradient(135deg, #120820, #2E1050); }
.ct-5 { background: linear-gradient(135deg, #080F20, #143858); }
.ct-6 { background: linear-gradient(135deg, #1A0808, #4A1010); }

.course-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3) 100%);
}

.course-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
  z-index: 1;
}
.badge-free { background: var(--green); color: white; }
.badge-premium { background: linear-gradient(135deg, var(--saffron), var(--gold)); color: white; }
.badge-new { background: var(--navy); color: var(--saffron-light); border: 1px solid rgba(255,107,0,0.4); }

.course-level {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px; font-weight: 500;
  z-index: 1;
}

.course-body { padding: 20px; }

.course-cat {
  font-size: 11px; font-weight: 700;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.course-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.course-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.course-meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--gray-400);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.course-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.price-free { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--green); }
.price-paid {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--navy);
}
.price-paid span {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.btn-enroll {
  padding: 9px 20px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-enroll:hover { background: var(--saffron); transform: translateY(-1px); }
.btn-buy { background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)) !important; }
.btn-buy:hover { opacity: 0.88; }

.section-more {
  text-align: center;
  margin-top: 44px;
}

.btn-outline-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.btn-outline-lg:hover { border-color: var(--saffron); color: var(--saffron); }

/* ===== PDF GRID ===== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pdf-card {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.pdf-card:hover {
  border-color: rgba(255,107,0,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pdf-thumb {
  width: 48px; height: 48px;
  background: var(--saffron-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.pdf-info h3 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.pdf-info p {
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 14px;
}

.pdf-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
}

.pdf-size { font-size: 11px; color: var(--gray-400); }

.btn-dl {
  padding: 6px 14px;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid rgba(19,136,8,0.2);
  border-radius: 6px;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  display: flex; align-items: center; gap: 4px;
}
.btn-dl:hover { background: var(--green); color: white; border-color: transparent; }

/* ===== PROJECTS ===== */
.reward-notice {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, rgba(255,107,0,0.06), rgba(240,180,41,0.06));
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 14px; color: var(--gray-700); line-height: 1.6;
}
.rn-icon { font-size: 24px; flex-shrink: 0; }
.reward-notice strong { font-weight: 700; color: var(--navy); }

.proj-tabs {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ptab {
  padding: 9px 24px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-700);
  transition: var(--transition);
  font-family: var(--font-body);
}
.ptab.active, .ptab:hover {
  border-color: var(--saffron);
  background: var(--saffron-pale);
  color: var(--saffron-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proj-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-card.proj-featured { border-color: rgba(255,107,0,0.35); }

.proj-preview {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 58px;
  position: relative;
}
.pp-1 { background: linear-gradient(135deg, #060F22, #102040); }
.pp-2 { background: linear-gradient(135deg, #042010, #0A4018); }
.pp-3 { background: linear-gradient(135deg, #120828, #2A1055); }
.pp-4 { background: linear-gradient(135deg, #1A0808, #4A1010); }
.pp-5 { background: linear-gradient(135deg, #0A1A10, #164028); }
.pp-6 { background: linear-gradient(135deg, #1A1000, #4A3000); }

.proj-tags {
  position: absolute; bottom: 14px; left: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.proj-tags span {
  padding: 3px 10px;
  background: rgba(255,255,255,0.14);
  color: white;
  border-radius: 100px;
  font-size: 11px; font-weight: 500;
  backdrop-filter: blur(4px);
}

.proj-body { padding: 20px; }

.proj-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}

.proj-diff {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.diff-beginner { background: var(--green-pale); color: var(--green); }
.diff-intermediate { background: var(--gold-pale); color: #8B6000; }
.diff-advanced { background: rgba(255,100,100,0.12); color: #CC0000; }

.proj-access {
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.access-free { background: var(--green-pale); color: var(--green); }
.access-paid { background: var(--saffron-pale); color: var(--saffron-dark); }

.proj-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.proj-desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 14px;
}

.proj-reward {
  font-size: 13px; font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.reward-free { background: var(--green-pale); color: var(--green); }
.reward-paid { background: var(--gold-pale); color: #7A5C00; }

.proj-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.proj-price { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--navy); }
.proj-price.free { color: var(--green); }

.btn-proj {
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  border: none;
  display: flex; align-items: center; gap: 6px;
}
.btn-proj-free { background: var(--navy); color: white; }
.btn-proj-free:hover { background: var(--saffron); transform: translateY(-1px); }
.btn-proj-paid { background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)); color: white; box-shadow: 0 4px 12px rgba(255,107,0,0.3); }
.btn-proj-paid:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,107,0,0.45); }

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-md); border-color: rgba(255,107,0,0.2); transform: translateY(-2px); }
.testi-card.tc-featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-color: rgba(255,107,0,0.2);
}
.testi-card.tc-featured .testi-stars { color: var(--gold); }
.testi-card.tc-featured p { color: rgba(255,255,255,0.75); }
.testi-card.tc-featured strong { color: white !important; }
.testi-card.tc-featured span { color: rgba(255,255,255,0.45) !important; }

.testi-stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; }

.testi-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
}

.testi-author {
  display: flex; align-items: center; gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  color: white; flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)); }
.av-2 { background: linear-gradient(135deg, var(--green), #0A5C06); }
.av-3 { background: linear-gradient(135deg, var(--navy-light), var(--navy)); }

.testi-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-author span { font-size: 12px; color: var(--gray-500); }

/* ===== CTA ===== */
.cta-section {
  background: var(--navy);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,107,0,0.12) 0%, transparent 70%);
}

.cta-inner { text-align: center; position: relative; z-index: 1; }

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}

.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: #02080F;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}

.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--saffron); transform: translateY(-2px); }

.footer-col h4 {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--saffron-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.25); }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,13,26,0.85);
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: block; }

.modal {
  display: none; position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%; max-width: 480px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.modal.open { display: block; }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--gray-100); border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); }

.modal-icon { font-size: 52px; margin-bottom: 18px; }
.modal h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.modal p { color: var(--gray-500); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }

.modal-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.modal-btn:hover { opacity: 0.9; }
.modal-btn-outline {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  margin-top: 10px;
}
.modal-btn-outline:hover { border-color: var(--saffron); color: var(--saffron); }

/* ===== NOTIFICATION ===== */
.notification {
  position: fixed;
  bottom: 30px; right: 30px;
  background: white;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  z-index: 3000;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--green);
  min-width: 280px;
}
.notification.show { transform: translateX(0); }
.notification.error { border-left-color: #FF4444; }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fb-mid { display: none; }
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-pill { margin: 0 auto 24px; }
  .hero-visual { display: none; }
  .earn-inner { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .courses-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .pdf-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
