@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* Design Tokens & Theme Variables */
:root {
  --primary-1: #02D0FA;
  --primary-2: #0AA8CC;
  --accent: #FABC11;
  --accent-rgb: 250, 188, 17;
  --bg: #0B1220;
  --surface: #141F32;
  --surface-hover: #1D2C44;
  --border: rgba(2, 208, 250, 0.12);
  --border-hover: rgba(2, 208, 250, 0.3);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px -4px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(2, 208, 250, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-1);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--surface);
  border: 2px solid var(--bg);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-2);
}

/* Header / Glassmorphism Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--bg);
  font-size: 1.25rem;
  box-shadow: 0 0 10px rgba(2, 208, 250, 0.4);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #FFF, var(--primary-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text span {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-1);
  background: rgba(2, 208, 250, 0.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--bg) !important;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.25rem;
  box-shadow: 0 4px 15px rgba(2, 208, 250, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 208, 250, 0.4);
  color: var(--bg) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Main Content Layout */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Page Section Titles */
.section-header {
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  text-wrap: pretty;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(2, 208, 250, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(250, 188, 17, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(2, 208, 250, 0.04) 0%, transparent 40%);
  padding: 6.5rem 1.5rem 7.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.hero-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  background: rgba(250, 188, 17, 0.1);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(250, 188, 17, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.75rem;
  line-height: 1.65;
  max-width: 720px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(2, 208, 250, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 208, 250, 0.5);
  color: var(--bg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Hero Portrait Frame */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(2, 208, 250, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(135deg, rgba(2, 208, 250, 0.2), rgba(250, 188, 17, 0.2));
  box-shadow: var(--shadow-lg);
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-inner {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--surface);
  overflow: hidden;
  position: relative;
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portrait-inner:hover .portrait-image {
  transform: scale(1.05);
}

.portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.9), transparent);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portrait-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
}

.portrait-title {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* Category Grid */
.categories-section {
  padding: 5rem 0;
  background: var(--bg);
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 208, 250, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(2, 208, 250, 0.06);
  border: 1px solid rgba(2, 208, 250, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-1);
  transition: var(--transition);
  flex-shrink: 0;
}

.category-card:hover .card-icon {
  background: var(--primary-1);
  color: var(--bg);
  box-shadow: 0 0 15px rgba(2, 208, 250, 0.4);
  transform: scale(1.05);
}

.category-card.accent-card:hover .card-icon {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 15px rgba(250, 188, 17, 0.4);
  border-color: rgba(250, 188, 17, 0.15);
}

.card-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #FFF;
  transition: var(--transition);
}

.category-card:hover .card-header h3 {
  color: var(--primary-1);
}

.category-card.accent-card:hover .card-header h3 {
  color: var(--accent);
}

.card-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-1);
  margin-top: 1rem;
}

.category-card.accent-card .card-action {
  color: var(--accent);
}

.card-action svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.category-card:hover .card-action svg {
  transform: translateX(4px);
}

/* Utility Tools Styling (FD & Gold pages) */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.tool-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #FFF;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.input-wrapper:focus-within {
  border-color: var(--primary-1);
  box-shadow: 0 0 10px rgba(2, 208, 250, 0.15);
}

.input-wrapper input {
  width: 100%;
  font-weight: 600;
  font-size: 1.1rem;
}

.input-wrapper .suffix {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.range-slider {
  width: 100%;
  height: 6px;
  background: var(--surface-hover);
  border-radius: 5px;
  outline: none;
  margin-top: 0.75rem;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(250, 188, 17, 0.5);
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.btn-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
}

.radio-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.radio-btn:hover {
  border-color: var(--border-hover);
}

.radio-btn.active {
  background: rgba(2, 208, 250, 0.08);
  border-color: var(--primary-1);
  color: var(--primary-1);
}

.results-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.summary-card {
  background: linear-gradient(135deg, rgba(2, 208, 250, 0.05), rgba(250, 188, 17, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.summary-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.summary-stat.large {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFF;
}

.summary-stat.large .stat-val {
  font-size: 2rem;
  color: var(--primary-1);
}

.summary-stat.large .stat-val span {
  font-size: 1.2rem;
  color: var(--accent);
}

/* Tables styling */
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background: rgba(0, 0, 0, 0.15);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-primary);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

.bank-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bank-logo-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--accent));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.interest-rate {
  font-weight: 700;
  color: var(--primary-1);
}

/* Dividends & Reports Search Interface */
.search-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 280px;
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-input-wrapper input {
  width: 100%;
  font-size: 1rem;
}

.search-input-wrapper svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.filter-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:hover {
  border-color: var(--border-hover);
}

/* Loading Spinner */
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  gap: 1.5rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(2, 208, 250, 0.1);
  border-top-color: var(--primary-1);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

.loader-text {
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dividend details card layout */
.dividend-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.dividend-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.dividend-detail-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card-badge {
  display: inline-block;
  background: rgba(2, 208, 250, 0.08);
  border: 1px solid rgba(2, 208, 250, 0.2);
  color: var(--primary-1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}

.card-title-group h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-top: 0.5rem;
}

.card-title-group p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.dividend-rate {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
}

.dividend-dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.date-box {
  display: flex;
  flex-direction: column;
}

.date-box span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.date-box strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Tutorials Typography & Page Design */
.tutorial-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.tutorial-sidebar {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.tutorial-sidebar h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.tutorial-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tutorial-nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}

.tutorial-nav-link:hover {
  color: var(--primary-1);
  background: rgba(2, 208, 250, 0.03);
}

.tutorial-nav-link.active {
  color: var(--primary-1);
  border-left-color: var(--primary-1);
  background: rgba(2, 208, 250, 0.05);
  font-weight: 600;
}

.tutorial-article {
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.tutorial-article h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #FFF;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.tutorial-article h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #FFF;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.tutorial-article h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFF;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.tutorial-article p {
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.tutorial-article ul, .tutorial-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.tutorial-article li {
  margin-bottom: 0.5rem;
}

.tutorial-article li strong {
  color: #FFF;
}

.alert-box {
  background: rgba(250, 188, 17, 0.06);
  border: 1px solid rgba(250, 188, 17, 0.2);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  font-size: 1rem;
}

.alert-box strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}

.alert-box p {
  margin: 0;
  color: var(--text-secondary);
}

.tutorial-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.tutorial-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Channels & Groups Grid styling */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.channel-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.channel-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(2, 208, 250, 0.25);
  overflow: hidden;
}

.channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.25rem;
}

.channel-handle {
  font-size: 0.85rem;
  color: var(--primary-1);
  font-weight: 600;
  margin-bottom: 1rem;
}

.channel-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
  flex-grow: 1;
}

.channel-join-btn {
  background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(2, 208, 250, 0.2);
}

.channel-card.whatsapp-card .channel-avatar {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.channel-card.whatsapp-card .channel-handle {
  color: #25D366;
}

.channel-card.whatsapp-card .channel-join-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.channel-join-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--bg);
}

/* Footer Section */
.site-footer {
  background: #070B14;
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
}

.footer-brand-text span {
  color: var(--accent);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links-col h4 {
  color: #FFF;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--primary-1);
  transform: translateX(2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Utility layout components */
.reports-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.report-item:hover {
  border-color: var(--border-hover);
  transform: scale(1.005);
}

.report-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 0.25rem;
}

.report-info span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.report-download-btn {
  background: rgba(2, 208, 250, 0.06);
  border: 1px solid rgba(2, 208, 250, 0.2);
  color: var(--primary-1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.report-download-btn:hover {
  background: var(--primary-1);
  color: var(--bg);
  box-shadow: 0 0 10px rgba(2, 208, 250, 0.25);
}

/* Contact form custom page styling */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .tool-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tutorial-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tutorial-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .grid-2x2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.show {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tutorial-article h1 {
    font-size: 2.25rem;
  }
}
