/* 1. CSS RESET & VARIABLES */
:root {
  /* Color Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F8F6;
  --bg-dark: #0A0A0A;
  --bg-darker: #111111;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-tertiary: #777777;
  --text-light: #FFFFFF;
  --accent: #E53E30;
  --accent-hover: #D4380D;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --whatsapp-hover: #1EBE5C;
  --whatsapp-bg: #ECE5DD;
  --gray-light: #F2F2F0;
  --gray-medium: #E8E8E6;
  --border: #E2E2DF;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection {
  background-color: var(--accent);
  color: var(--text-light);
}

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

ul, ol {
  list-style: none;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2. BASE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* 3. CONTAINER */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* 4. UTILITIES */
.section-padding {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }
}

/* 5. .section-title */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}
.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 6 & 7. bg-light & text-center */
.bg-light { background-color: var(--bg-secondary); }
.text-center { text-align: center; }

/* 8. TOP BAR */
.top-bar {
  background-color: var(--bg-darker);
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-date-time {
  color: var(--text-tertiary);
}
.top-label {
  font-weight: 600;
  color: var(--accent);
}
.top-social {
  display: flex;
  gap: 12px;
}
.top-social a.social-icon {
  color: var(--text-tertiary);
}
.top-social a.social-icon:hover {
  color: var(--text-light);
}

/* 9 & 10 & 11. NAVBAR */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
header.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo > a {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -1px;
}
.logo-jk { color: var(--accent); }
.logo-active { color: var(--text-primary); }

nav.nav-links {
  display: flex;
  gap: 24px;
}
nav.nav-links > a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
}
nav.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}
nav.nav-links > a:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* 12. TICKER */
.ticker-wrapper {
  display: flex;
  align-items: center;
  height: 48px;
  background-color: var(--accent);
  color: var(--text-light);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(229, 62, 48, 0.15);
}
.ticker-badge {
  background-color: var(--bg-dark);
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  z-index: 2;
  position: relative;
  box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}
.ticker-badge::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background-color: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  animation: pulse-red 1.5s infinite;
}
.ticker-badge::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 12px solid var(--bg-dark);
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
}
.ticker-scroll {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
}
.ticker-content:hover {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
}
.ticker-item::after {
  content: '✦';
  margin: 0 35px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* 13. HERO */
section.hero {
  background-color: var(--bg-secondary);
  padding: 80px 0;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-content {
  width: 55%;
}
.hero-visual {
  width: 45%;
  position: relative;
}
.hero-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-title {
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 90%;
}
.hero-actions {
  display: flex;
  align-items: center;
}
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a5632 0%, #0d3b1f 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-story-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: var(--text-light);
}
.hero-story-overlay .tag {
  display: inline-block;
  background-color: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-story-overlay h2 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--text-light);
}

/* 14. FEATURED NEWS */
.featured-grid {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 24px;
}
article.featured-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
article.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2b2b2b, #111111);
  z-index: 1;
}
.card-bg.alt-1 { background: linear-gradient(135deg, #0d47a1, #1976d2); }
.card-bg.alt-2 { background: linear-gradient(135deg, #e65100, #f57c00); }
.featured-card.large { min-height: 500px; }
.featured-card.small { min-height: 238px; }
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.featured-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: var(--text-light);
}
.featured-card.small .card-content { padding: 20px; }
.featured-card span.category {
  display: inline-block;
  background-color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.featured-card h3 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.featured-card h4 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.featured-card p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 12px;
}
.featured-card span.timestamp {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* 15. CATEGORIES NAV */
section.categories-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  padding: 20px 0;
}
.categories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  white-space: nowrap;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.cat-pill:hover, .cat-pill.active {
  background-color: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

/* 16. LATEST NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
article.news-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
article.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
}
.card-body { padding: 20px; }
.category-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.news-headline {
  font-size: 1.1rem;
  font-family: var(--font-body);
  line-height: 1.4;
  margin-bottom: 12px;
}
.news-time {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* 17. TRENDING NOW */
.trending-now .container {
  max-width: 1100px;
}
.trending-now .section-title {
  margin-bottom: 30px;
}
.trending-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
a.trending-item {
  background: white;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
a.trending-item:nth-child(1) {
  grid-column: span 2;
  padding: 40px;
  background: linear-gradient(to right, #ffffff, #fdfaf9);
}
a.trending-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: rgba(229, 62, 48, 0.2);
}

.trend-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  opacity: 0.4;
  width: 50px;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  transition: all 0.4s ease;
}
a.trending-item:nth-child(1) .trend-number {
  font-size: 5rem;
  width: 70px;
  -webkit-text-stroke: 2px var(--accent);
}
a.trending-item:hover .trend-number { 
  opacity: 1;
  color: var(--accent);
  -webkit-text-stroke: 0px transparent;
}

.trend-content {
  flex-grow: 1;
}
.trend-content h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-primary);
  transition: color 0.3s;
}
a.trending-item:nth-child(1) .trend-content h4 {
  font-size: 1.8rem;
}
a.trending-item:hover .trend-content h4 {
  color: var(--accent);
}

.trend-meta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s;
}
a.trending-item:hover .trend-meta {
  background: rgba(229, 62, 48, 0.08);
  color: var(--accent);
}

a.trending-item::after {
  content: '→';
  font-size: 2rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
  font-family: sans-serif;
  margin-left: auto;
}
a.trending-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* 18. THREE.JS VISUAL SECTION */
.visual-section {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.visual-container { position: relative; }
#three-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  opacity: 0.7;
  z-index: 1;
}
.visual-overlay {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.visual-title {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 60px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* 19. WHATSAPP SHOWCASE */
.whatsapp-showcase {
  background-color: #050505;
  background-image: radial-gradient(circle at 70% 50%, rgba(37, 211, 102, 0.15) 0%, transparent 60%);
  color: var(--text-light);
  overflow: hidden;
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.showcase-title {
  color: var(--text-light);
  margin-bottom: 20px;
}
.showcase-title span {
  color: var(--whatsapp);
}
.showcase-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  margin-bottom: 40px;
}
.benefits-list {
  margin-bottom: 40px;
}
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.benefits-list svg {
  width: 24px;
  height: 24px;
  stroke: var(--whatsapp);
  fill: none;
  flex-shrink: 0;
}
.showcase-mockup {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* PHONE MOCKUP */
.phone-frame {
  width: 320px;
  height: 640px;
  background-color: #222;
  border-radius: 40px;
  border: 4px solid #333;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(37, 211, 102, 0.2), inset 0 0 10px rgba(0,0,0,0.5);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  position: relative;
}
.phone-frame:hover {
  transform: rotateY(0) rotateX(0);
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background-color: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--whatsapp-bg);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wa-header {
  background-color: var(--whatsapp-dark);
  padding: 40px 15px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-back { width: 20px; height: 20px; fill: #fff; }
.wa-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: white;
  font-size: 14px;
}
.wa-info { flex-grow: 1; }
.wa-name {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wa-followers {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
}
.wa-follow-btn {
  background-color: rgba(255,255,255,0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.wa-chat-bg {
  flex-grow: 1;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="%23ece5dd"/><path d="M10 10h10v10H10z" fill="%23e0d8d0"/></svg>');
  background-size: 100px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.wa-date {
  background-color: rgba(225,242,251,0.9);
  color: #555;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 12px;
  align-self: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.wa-message {
  background-color: #fff;
  border-radius: 8px;
  border-top-left-radius: 0;
  padding: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
  width: 85%;
}
.wa-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border-top: 8px solid #fff;
  border-left: 8px solid transparent;
}
.wa-msg-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 6px;
  margin-bottom: 8px;
}
.wa-msg-text {
  font-size: 0.85rem;
  color: #303030;
  padding: 0 4px;
  line-height: 1.4;
}
.wa-msg-time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: #999;
  padding: 2px 4px 0;
}

/* 20. WHY JKACTIVE */
.why-jkactive { background-color: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }

/* 21. FOOTER */
.site-footer {
  background-color: var(--bg-darker);
  color: var(--text-light);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-about {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  max-width: 90%;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
}
.footer-social a:hover {
  background-color: var(--accent);
}
.footer-links h4, .footer-categories h4, .footer-newsletter h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-links ul li, .footer-categories ul li { margin-bottom: 12px; }
.footer-links a, .footer-categories a {
  color: rgba(255,255,255,0.7);
}
.footer-links a:hover, .footer-categories a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-newsletter p { color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-bottom {
  background-color: #000;
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.5); }

/* 22. MOBILE BOTTOM CTA */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: var(--bg-primary);
  padding: 10px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}
.mobile-wa-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: var(--whatsapp);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 8px;
  width: 100%;
}
.mobile-wa-btn svg { width: 24px; height: 24px; fill: white; }

/* 23. BUTTON STYLES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-weight: 700;
  font-family: var(--font-body);
  transition: var(--transition);
  text-align: center;
}
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  border-radius: 50px;
  padding: 12px 28px;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: white; }
.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}
.btn-massive {
  font-size: 1.25rem;
  padding: 18px 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-green 2s infinite;
}
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* 24. GRADIENT PLACEHOLDERS */
.grad-1 { background: linear-gradient(135deg, #1a5632, #4CAF50); }
.grad-2 { background: linear-gradient(135deg, #1565C0, #42A5F5); }
.grad-3 { background: linear-gradient(135deg, #E65100, #FF9800); }
.grad-4 { background: linear-gradient(135deg, #4A148C, #9C27B0); }
.grad-5 { background: linear-gradient(135deg, #37474F, #78909C); }
.grad-6 { background: linear-gradient(135deg, #BF360C, #FF5722); }

/* 25. ANIMATION CLASSES */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 26. RESPONSIVE */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card.large { min-height: 400px; }
  .featured-side { flex-direction: row; }
  .featured-side > article { flex: 1; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-inner { gap: 30px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 70px; }
  .top-bar { display: none; }
  
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-content, .hero-visual { width: 100%; }
  
  nav.nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  
  .featured-side { flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  
  .showcase-inner { grid-template-columns: 1fr; }
  .showcase-mockup { margin-top: 40px; }
  
  #three-canvas { height: 300px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  
  .mobile-bottom-cta { display: block; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  html { font-size: 14px; }
  .phone-frame { width: 280px; height: 580px; }
}

/* 27. SCROLLBAR */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* 28. PRINT */
@media print {
  .navbar, .ticker-wrapper, .mobile-bottom-cta, .footer-bottom, .btn {
    display: none !important;
  }
  body { color: black; background: white; }
  * { box-shadow: none !important; text-shadow: none !important; }
}

/* 29. IMAGE TAG STYLES FOR PLACEHOLDERS */
.card-thumb, .wa-msg-image {
  position: relative;
  overflow: hidden;
}
.hero-image-placeholder img,
.card-bg img,
.card-thumb img,
.wa-msg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.mobile-menu-toggle { z-index: 2000; }
.nav-links.active { z-index: 1500; }
@media (max-width: 768px) {
  .nav-links.active {
    gap: 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent);
  }
  .nav-links.active a {
    padding: 10px 0;
    font-size: 1.3rem;
  }
}

/* FIX: Footer logo color */
.site-footer .logo-active {
  color: var(--text-light);
}

@media (max-width: 768px) {
  /* Mobile tweaks for Trending Cards */
  .trending-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  a.trending-item {
    padding: 20px 15px;
    gap: 15px;
    align-items: flex-start;
  }
  .trend-number {
    font-size: 3rem;
    width: 40px;
    line-height: 1;
    margin-top: 5px;
  }
  .trend-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  a.trending-item:nth-child(1) {
    grid-column: span 1;
    padding: 24px 20px;
  }
  a.trending-item:nth-child(1) .trend-number {
    font-size: 3.5rem;
    width: 45px;
    -webkit-text-stroke: 1.5px var(--accent);
    margin-top: 0;
  }
  a.trending-item:nth-child(1) .trend-content h4 {
    font-size: 1.3rem;
  }
  
  /* Fix huge button on mobile */
  .btn-massive {
    font-size: 1rem;
    padding: 14px 20px;
    width: 100%;
    text-align: center;
  }
}



@media (max-width: 768px) {
  .card-bg {
    height: 200px; /* Reduce from 250px so it's not too tall on small screens */
  }
}

.feature-icon svg {
  color: var(--accent);
  stroke-width: 1.5px;
}


/* WhatsApp Footer Social Icon Hover */
.footer-social a.wa-social:hover {
  background-color: var(--whatsapp);
}

