/* =====================================================
   CrickAdda - Main Stylesheet
   Developer: Mohd Rijvan Khan Mogia
   Year: 2026
   ===================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary-color: #16a34a;
  --secondary-color: #14532d;
  --accent-color: #fbbf24;
  --text-color: #1e293b;
  --muted-color: #64748b;
  --background-color: #ffffff;
  --light-background: #f0fdf4;
  --border-color: #e2e8f0;
  --font-family: 'Poppins', sans-serif;
  --border-radius: 12px;
  --border-radius-full: 9999px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --transition-base: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  background-color: var(--secondary-color) !important;
  padding: 0.85rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background-color: #0f3d20 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.45rem;
  color: #ffffff !important;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .brand-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.navbar-brand .brand-name span {
  color: var(--accent-color);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.45rem 0.85rem !important;
  border-radius: 6px;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255,255,255,0.12);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a6b3a 40%, var(--primary-color) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(251,191,36,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(251,191,36,0.18);
  border: 1px solid rgba(251,191,36,0.4);
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--border-radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: var(--accent-color);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-tagline strong {
  color: var(--accent-color);
  font-weight: 600;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-color);
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--border-radius-full);
  border: none;
  box-shadow: 0 6px 24px rgba(251,191,36,0.35);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.btn-download:hover {
  background: #f59e0b;
  color: var(--secondary-color);
  box-shadow: 0 8px 30px rgba(251,191,36,0.5);
  transform: translateY(-2px);
}

.btn-download i {
  font-size: 1.2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: var(--border-radius-full);
  backdrop-filter: blur(4px);
}

.stat-badge i {
  color: var(--accent-color);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-mockup {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 28px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  max-width: 280px;
  width: 100%;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(22,163,74,0.3);
}

.phone-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.phone-app-name {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #4ade80;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 1.4s infinite;
}

/* =====================================================
   SCOREBOARD / DEMO SECTION
   ===================================================== */
.scoreboard-section {
  background: var(--light-background);
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-title .accent {
  color: var(--primary-color);
}

.section-subtitle {
  color: var(--muted-color);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.demo-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1.5rem;
}

.match-card {
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  margin-bottom: 1.25rem;
}

.match-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.match-card-header {
  background: linear-gradient(90deg, var(--secondary-color), #1e7d40);
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-tournament {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 500;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--border-radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.live-score-badge {
  animation: pulse-live 1.6s infinite;
}

.upcoming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #0ea5e9;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--border-radius-full);
}

.match-card-body {
  padding: 1rem 1.2rem;
}

.teams-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.team-info {
  flex: 1;
}

.team-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.15rem;
}

.team-score {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.team-overs {
  font-size: 0.75rem;
  color: var(--muted-color);
}

.vs-divider {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-color);
  padding: 0 0.5rem;
  background: var(--light-background);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

.match-status {
  text-align: center;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.team-batting {
  background: rgba(22,163,74,0.06);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
}

.sample-tag {
  display: inline-block;
  font-size: 0.68rem;
  color: #854d0e;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  margin-top: 0.4rem;
  font-style: italic;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.feature-card {
  background: var(--light-background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 20px rgba(22,163,74,0.25);
}

.feature-icon-wrap i {
  font-size: 2rem;
  color: #ffffff;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--muted-color);
  line-height: 1.6;
}

/* =====================================================
   FANTASY TEAM SECTION
   ===================================================== */
.fantasy-section {
  padding: 5rem 0;
  background: var(--light-background);
}

.cricket-field {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.1;
  background: radial-gradient(ellipse at center, #22c55e 0%, #16a34a 40%, #15803d 70%, #14532d 100%);
  border-radius: 50% / 45%;
  border: 6px solid #a3e635;
  box-shadow: 0 0 0 8px rgba(22,163,74,0.15), var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.field-inner-circle {
  position: absolute;
  width: 42%;
  height: 42%;
  border: 2px dashed rgba(255,255,255,0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.field-pitch {
  position: absolute;
  width: 8%;
  height: 30%;
  background: #d4b483;
  border-radius: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.2);
}

.player-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: transform var(--transition-base);
  z-index: 2;
}

.player-marker:hover {
  transform: scale(1.1);
}

.player-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.player-dot.batting { background: #dc2626; }
.player-dot.bowling { background: #2563eb; }
.player-dot.fielding { background: #7c3aed; }
.player-dot.wk { background: #d97706; }

.player-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
  max-width: 70px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Player positions */
.pos-top-center    { top: 6%; left: 50%; transform: translateX(-50%); }
.pos-mid-left      { top: 30%; left: 10%; }
.pos-mid-right     { top: 30%; right: 10%; }
.pos-center-left   { top: 48%; left: 8%; }
.pos-center-right  { top: 48%; right: 8%; }
.pos-bat-crease    { top: 42%; left: 50%; transform: translateX(-50%); }
.pos-bowl-crease   { top: 58%; left: 50%; transform: translateX(-50%); }
.pos-slip          { top: 62%; left: 62%; }
.pos-gully         { top: 62%; left: 33%; }
.pos-fine-leg      { bottom: 8%; left: 30%; }
.pos-third-man     { bottom: 8%; right: 30%; }

.fantasy-demo-label {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted-color);
  font-style: italic;
}

.field-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted-color);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* =====================================================
   CHAT PREVIEW SECTION
   ===================================================== */
.chat-section {
  padding: 5rem 0;
  background: #ffffff;
}

.chat-mockup {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
}

.chat-header {
  background: linear-gradient(90deg, var(--secondary-color), #1e7d40);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary-color);
  font-weight: 700;
  flex-shrink: 0;
}

.chat-group-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.chat-members {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.chat-body {
  padding: 1rem;
  background: #f8fafc;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  display: flex;
  gap: 0.5rem;
  max-width: 80%;
}

.chat-message.own {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  align-self: flex-end;
}

.chat-bubble {
  padding: 0.5rem 0.85rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 220px;
}

.chat-message:not(.own) .chat-bubble {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-bottom-left-radius: 4px;
}

.chat-message.own .chat-bubble {
  background: var(--primary-color);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-sender {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.15rem;
}

.chat-message.own .chat-sender {
  color: rgba(255,255,255,0.75);
  text-align: right;
}

.chat-time {
  font-size: 0.63rem;
  color: var(--muted-color);
  margin-top: 0.15rem;
  align-self: flex-end;
}

.chat-input-bar {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #fff;
}

.chat-input-fake {
  flex: 1;
  background: var(--light-background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted-color);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.chat-send-btn:hover { background: var(--secondary-color); }
.chat-demo-notice {
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted-color);
  font-style: italic;
  margin-top: 0.6rem;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a6b3a 60%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .section-title { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #0b2e16;
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand-icon {
  color: var(--accent-color);
  font-size: 1.4rem;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

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

.footer-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.87rem;
  transition: color var(--transition-base), padding-left var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.65rem;
}

.footer-contact-item i {
  color: var(--accent-color);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2rem 0 1.2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-base);
}

.footer-legal-links a:hover { color: var(--accent-color); }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e7d40 60%, var(--primary-color) 100%);
  padding: 6.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(251,191,36,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
  justify-content: center;
}

.breadcrumb-item a { color: var(--accent-color); }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-section {
  padding: 4rem 0 5rem;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.legal-update-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--light-background);
  border: 1px solid rgba(22,163,74,0.25);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--light-background);
}

.legal-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.legal-card ul, .legal-card ol {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-card li { margin-bottom: 0.35rem; }

.legal-toc {
  background: var(--light-background);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.legal-toc h6 {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-toc a {
  font-size: 0.85rem;
  color: var(--primary-color);
}

.legal-toc a:hover { color: var(--secondary-color); }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-section { padding: 4.5rem 0; }

.about-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: all var(--transition-base);
}

.about-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light-background);
  border: 2px solid rgba(22,163,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-icon-wrap i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.about-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.87rem;
  color: var(--muted-color);
  line-height: 1.7;
}

.team-card {
  text-align: center;
  background: var(--light-background);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(22,163,74,0.15);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(22,163,74,0.3);
}

.team-name { font-weight: 700; color: var(--text-color); margin-bottom: 0.25rem; }
.team-role { font-size: 0.85rem; color: var(--primary-color); font-weight: 500; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-section { padding: 4.5rem 0; }

.contact-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--light-background);
  border: 1px solid rgba(22,163,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Form Styles */
.form-label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 0.9rem;
  color: var(--text-color);
  padding: 0.6rem 0.9rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
  outline: none;
}

.form-control.is-invalid {
  border-color: #dc2626;
}

.invalid-feedback {
  font-size: 0.8rem;
  color: #dc2626;
}

.btn-primary-custom {
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-custom:hover {
  background: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(22,163,74,0.3);
  transform: translateY(-2px);
}

.form-success-msg {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 1rem;
  align-items: center;
  gap: 0.5rem;
}

.form-success-msg.show { display: flex; }

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(22,163,74,0.35);
  z-index: 1000;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTop:hover {
  background: var(--secondary-color);
  box-shadow: 0 6px 22px rgba(22,163,74,0.5);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(220,38,38,0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-content > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* =====================================================
   UTILITIES
   ===================================================== */
.text-primary-custom { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-light-green { background-color: var(--light-background) !important; }
.border-primary-custom { border-color: var(--primary-color) !important; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--light-background);
  border: 1px solid rgba(22,163,74,0.25);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
