/* ============================================\n   SECTION: global-reset\n   Berkaitan: Imports, CSS variables (:root), reset, base typography, .container\n   Baris: ~1-58\n   ============================================ */
/* ===== ROR Academy AI - Modern Clean CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #3D73FF;
  --primary-light: #608DFF;
  --primary-dark: #2B5CD9;
  --accent: #00C6FF;
  --dark: #0f172a;
  --dark-card: #1e293b;
  --dark-border: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dark: #1e293b;
  --text-body: #475569;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --gradient: linear-gradient(135deg, #3D73FF 0%, #608DFF 50%, #00C6FF 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================\n   SECTION: header-navigation\n   Berkaitan: .site-header, .nav-inner, .nav-logo, .nav-links, .nav-cta, .mobile-toggle, @keyframes ctaPulse/ctaShine\n   Baris: ~60-219\n   ============================================ */
/* ===== Header & Nav (Modern Designer Grade) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 19, 38, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.03);
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(0, 198, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.25);
  transition: all 0.3s ease;
}

.nav-logo:hover img {
  border-color: rgba(0, 198, 255, 0.8);
  box-shadow: 0 0 22px rgba(0, 198, 255, 0.5);
}

.nav-logo span {
  background: linear-gradient(135deg, #ffffff 30%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.3rem 0.5rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-links a {
  color: #94a3b8;
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-links a.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.35), rgba(0, 204, 255, 0.35)) !important;
  border: 1px solid rgba(0, 204, 255, 0.5) !important;
  box-shadow: 0 0 18px rgba(0, 153, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg, #0066ff 0%, #00c6ff 100%) !important;
  color: #ffffff !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.45), 0 4px 15px rgba(0, 102, 255, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  animation: ctaPulse 4s ease-in-out infinite;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(30deg);
  pointer-events: none;
  animation: ctaShine 3.5s ease-in-out infinite;
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.7), 0 8px 25px rgba(0, 102, 255, 0.5) !important;
  color: #ffffff !important;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 198, 255, 0.45), 0 4px 15px rgba(0, 102, 255, 0.35); }
  50% { box-shadow: 0 0 28px rgba(0, 198, 255, 0.65), 0 6px 20px rgba(0, 102, 255, 0.5); }
}

@keyframes ctaShine {
  0% { left: -60%; }
  35%, 100% { left: 140%; }
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  transition: all 0.2s;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================\n   SECTION: hero-section\n   Berkaitan: .hero, .hero-inner, .hero-badge, .hero-content, typewriter, .hero-actions, .hero-pills, .hero-visual, .hero-card-wrapper, .hero-main-card, .floating-chip, @keyframes float/floatReverse/pulseGlow\n   Baris: ~221-489\n   ============================================ */
/* ===== Hero ===== */
.hero {
  background: var(--gradient-dark);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(61,115,255,0.2) 0%, rgba(0,198,255,0.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(96,141,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: pulseGlow 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-content { flex: 1.1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(61,115,255,0.15);
  color: var(--primary-light);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(61,115,255,0.35);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e676;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero h1 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
}

.typewriter-container {
  display: inline-block;
  min-height: 1.3em;
}

.typewriter-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  margin-left: 2px;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  transition: all 0.3s;
}

.hero-pill:hover {
  background: rgba(61,115,255,0.15);
  border-color: var(--primary-light);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ===== Hero Visual Column (Right Side) ===== */
.hero-visual {
  flex: 0.9;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-main-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}

.hero-main-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, transparent 100%);
  color: white;
}

.hero-card-overlay h4 {
  color: white;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.hero-card-overlay p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* Floating Badges */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(61,115,255,0.4);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 2;
}

.floating-chip-1 {
  top: -15px;
  right: -20px;
  animation: float 5s ease-in-out infinite 0.5s;
}

.floating-chip-2 {
  bottom: 25px;
  left: -25px;
  animation: floatReverse 6s ease-in-out infinite 1s;
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.chip-text {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chip-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(12px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.1); }
}

/* ============================================\n   SECTION: buttons\n   Berkaitan: .btn, .btn-primary, .btn-outline\n   Baris: ~491-526\n   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(61,115,255,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,115,255,0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--dark-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ============================================\n   SECTION: sections-base\n   Berkaitan: .section, .section-dark, .section-light, .section-header\n   Baris: ~528-568\n   ============================================ */
/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: var(--dark);
  color: var(--text-primary);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-primary);
}

.section-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ============================================\n   SECTION: cards-grid\n   Berkaitan: .cards-grid, .card, .card-img, .card-body, .card-category, .card-meta, dark variant cards\n   Baris: ~570-649\n   ============================================ */
/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}

.card-body {
  padding: 1.25rem 1.5rem;
}

.card-category {
  display: inline-block;
  background: rgba(61,115,255,0.1);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-body h3 a { color: var(--text-dark); }
.card-body h3 a:hover { color: var(--primary); }

.card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

/* Dark variant */
.section-dark .card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.section-dark .card-body h3 a { color: var(--text-primary); }
.section-dark .card-body p { color: var(--text-secondary); }

/* ============================================\n   SECTION: stats-logos\n   Berkaitan: .stats-row, .stat-num, .stat-label, .logos-row\n   Baris: ~651-696\n   ============================================ */
/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 2rem 0;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ===== Logos Ticker ===== */
.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.logos-row img {
  height: 40px;
  opacity: 0.6;
  transition: opacity 0.3s;
  filter: grayscale(100%);
}

.logos-row img:hover {
  opacity: 1;
  filter: none;
}

/* ============================================\n   SECTION: features-grid\n   Berkaitan: .features-grid, .feature-card, .feature-icon (About page)\n   Baris: ~698-731\n   ============================================ */
/* ===== Feature list (About page) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  background: var(--bg-white);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(61,115,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card h3 { font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* ============================================\n   SECTION: page-hero-content\n   Berkaitan: .page-hero, .page-content (subpages/single posts)\n   Baris: ~733-891\n   ============================================ */
/* ===== Page Hero (Subpages / Single Posts) ===== */
.page-hero {
  background: var(--gradient-dark);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61,115,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0,198,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseGlow 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(61,115,255,0.15);
  border: 1px solid rgba(61,115,255,0.3);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.page-hero h1 {
  color: var(--text-primary);
  max-width: 850px;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.page-hero .meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-content h2 { margin-top: 2rem; }
.page-content h3 { margin-top: 1.5rem; }

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 1.5rem auto;
  display: block;
  box-shadow: var(--shadow-md);
  object-fit: contain;
}

.page-content ul, .page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li { margin-bottom: 0.3rem; }

.page-content figure {
  margin: 1.5rem 0;
}

.page-content figure img {
  margin: 0;
}

.page-content figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.5rem;
}

.page-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a.btn,
.page-content .btn {
  text-decoration: none !important;
  display: inline-flex !important;
}

.page-content a.btn-primary,
.page-content .btn-primary {
  color: #ffffff !important;
  background: var(--gradient) !important;
}

.page-content a.btn-secondary,
.page-content .btn-secondary,
.page-content a.btn-outline,
.page-content .btn-outline {
  color: #1e293b !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

.page-content a.btn-secondary:hover,
.page-content .btn-secondary:hover,
.page-content a.btn-outline:hover,
.page-content .btn-outline:hover {
  background: #e2e8f0 !important;
  color: var(--primary) !important;
}

.page-content .content-section {
  margin: 1rem 0;
}

/* ============================================\n   SECTION: profile-page\n   Berkaitan: .profile-intro-grid, .profile-img-card, .gallery-card, animations (Sir Syah page)\n   Baris: ~892-1076\n   ============================================ */
/* ===== Profile Page Layout (Sir Syah) with Dynamic Movements ===== */
.profile-intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
  margin: 1rem 0 3rem;
}

.profile-img-card {
  background: var(--bg-white);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: profileFloat 6s ease-in-out infinite alternate;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.profile-img-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.22);
}

.profile-img-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.profile-img-card:hover::after {
  opacity: 1;
  animation: shineSweep 1.2s ease-in-out;
}

.profile-img-card img {
  width: 100% !important;
  max-height: 380px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  margin: 0 0 0.5rem 0 !important;
  transition: transform 0.4s ease;
}

.profile-img-card:hover img {
  transform: scale(1.03);
}

.profile-img-card figcaption {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0.35rem 0 0 0;
}

/* Photo Gallery Grid for Equal Sized Images with Staggered Floating */
.profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0;
}

.gallery-card {
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: galleryFloatOdd 7s ease-in-out infinite alternate;
  will-change: transform;
}

.gallery-card:nth-child(even) {
  animation: galleryFloatEven 8s ease-in-out infinite alternate;
  animation-delay: -3.5s;
}

.gallery-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 35px rgba(0, 102, 255, 0.16);
  border-color: var(--primary-light);
}

.gallery-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(35deg);
  opacity: 0;
  pointer-events: none;
}

.gallery-card:hover::after {
  opacity: 1;
  animation: shineSweep 1.3s ease-in-out;
}

.gallery-card img {
  width: 100% !important;
  height: 340px !important;
  object-fit: contain !important;
  background: #f8fafc !important;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 0.75rem !important;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  background: #ffffff;
  flex-grow: 1;
  border-top: 1px solid #f1f5f9;
}

/* Animations Keyframes */
@keyframes profileFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(0.6deg); }
  100% { transform: translateY(-4px) rotate(-0.4deg); }
}

@keyframes galleryFloatOdd {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(-2px); }
}

@keyframes galleryFloatEven {
  0% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(-1px); }
}

@keyframes shineSweep {
  0% { left: -70%; }
  100% { left: 150%; }
}

.profile-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .profile-intro-grid {
    grid-template-columns: 1fr;
  }
  .profile-img-card {
    max-width: 300px;
    margin: 0 auto 2rem;
    order: -1;
  }
}

/* ============================================\n   SECTION: cta-section\n   Berkaitan: .cta-section, .btn-white\n   Baris: ~1078-1107\n   ============================================ */
/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 600;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================\n   SECTION: footer\n   Berkaitan: .site-footer, .footer-inner, .footer-brand, .footer-col, .footer-bottom\n   Baris: ~1109-1157\n   ============================================ */
/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: var(--text-secondary);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--dark-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-brand .nav-logo { margin-bottom: 1rem; }

.footer-col h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================\n   SECTION: responsive\n   Berkaitan: @media queries for 768px and 480px\n   Baris: ~1159-1201\n   ============================================ */
/* ===== Responsive ===== */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--dark-border);
  }

  .nav-links.open { display: flex; }

  .nav-links a { padding: 0.75rem 1rem; width: 100%; }

  .hero-inner { flex-direction: column; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p { margin: 0 auto; }
  .footer-brand .nav-logo { justify-content: center; }

  .cards-grid { grid-template-columns: 1fr; }

  .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================\n   SECTION: logo-marquee\n   Berkaitan: .logo-marquee, .logo-marquee-track, @keyframes marqueeScroll\n   Baris: ~1203-1263\n   ============================================ */
/* ===== Logo Marquee (Animated Moving Logos) ===== */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 1.75rem 0;
  margin: 2.5rem 0;
  background: rgba(241, 245, 249, 0.6);
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.logo-marquee-track:hover {
  animation-play-state: paused;
}

.logo-marquee-track img {
  height: 42px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  filter: grayscale(40%) opacity(0.85);
  transition: all 0.3s ease;
  box-shadow: none !important;
  margin: 0 !important;
  display: inline-block !important;
  border-radius: 0 !important;
}

.logo-marquee-track img:hover {
  filter: grayscale(0%) opacity(1) !important;
  transform: scale(1.12);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Any standalone logo images in content */
.page-content img[src*="Logo-"],
.page-content figure img[src*="Logo-"] {
  max-height: 55px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin: 0.75rem !important;
  box-shadow: none !important;
  border-radius: 4px !important;
  vertical-align: middle;
}

/* ============================================\n   SECTION: content-section-grid\n   Berkaitan: .page-content .content-section (course/article cards)\n   Baris: ~1265-1324\n   ============================================ */
/* ===== Content Section Grid (Course/Article Cards) ===== */
.page-content .content-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.page-content .content-section article {
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.page-content .content-section article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.page-content .content-section article img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  margin: 0 0 1rem 0 !important;
}

.page-content .content-section article h2 {
  font-size: 1rem !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.4 !important;
}

.page-content .content-section article h2 a {
  color: var(--text-dark);
  text-decoration: none;
}

.page-content .content-section article h2 a:hover {
  color: var(--primary);
}

.page-content .content-section article > a {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  padding: 0.4rem 0;
}

.content-btn-wrap {
  margin: 2rem 0;
}

/* ============================================\n   SECTION: utilities\n   Berkaitan: .text-center, .mt-*, .mb-*, .my-*\n   Baris: ~1326-1338\n   ============================================ */
/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.my-3 { margin-top: 1.5rem; margin-bottom: 1.5rem; }


/* v2 */
