/*
Theme Name: StoriesTalk
Theme URI: https://stories-talk-verse.lovable.app
Description: Anime and superhero stories single-page theme with dark mode, neon accents, and glassmorphism UI.
Version: 1.0
Author: Saksham
Author URI: https://stories-talk-verse.lovable.app
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: storiestalk
*/

/* ===== CSS Variables ===== */
:root {
  --background: 240 10% 4%;
  --foreground: 220 20% 92%;
  --card: 240 8% 8%;
  --card-foreground: 220 20% 92%;
  --popover: 240 8% 8%;
  --popover-foreground: 220 20% 92%;
  --primary: 217 100% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 270 80% 60%;
  --secondary-foreground: 0 0% 100%;
  --muted: 240 6% 14%;
  --muted-foreground: 220 10% 55%;
  --accent: 270 80% 60%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 85% 55%;
  --destructive-foreground: 0 0% 100%;
  --border: 240 6% 18%;
  --input: 240 6% 18%;
  --ring: 217 100% 60%;
  --radius: 0.75rem;
  --neon-blue: 217 100% 60%;
  --neon-purple: 270 80% 60%;
  --neon-crimson: 0 85% 55%;
  --neon-cyan: 185 100% 55%;
  --glass-bg: 240 10% 10%;
  --glass-border: 240 10% 25%;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Exo 2', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.2;
}

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

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: hsl(var(--background)); }
::-webkit-scrollbar-thumb { background: hsl(var(--neon-blue) / 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--neon-blue) / 0.6); }

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.font-accent {
  font-family: 'Rajdhani', sans-serif;
}

.gradient-text {
  background-image: linear-gradient(135deg, hsl(var(--neon-blue)), hsl(var(--neon-purple)), hsl(var(--neon-crimson)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-hero {
  background: linear-gradient(135deg, hsl(var(--neon-blue)), hsl(var(--neon-purple)));
}

.glass {
  background: hsl(var(--glass-bg) / 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--glass-border) / 0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.glass-card {
  background: hsl(var(--glass-bg) / 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--glass-border) / 0.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.neon-glow-blue {
  box-shadow: 0 0 15px hsl(var(--neon-blue) / 0.4),
              0 0 45px hsl(var(--neon-blue) / 0.15),
              inset 0 0 15px hsl(var(--neon-blue) / 0.05);
}

.neon-glow-purple {
  box-shadow: 0 0 15px hsl(var(--neon-purple) / 0.4),
              0 0 45px hsl(var(--neon-purple) / 0.15),
              inset 0 0 15px hsl(var(--neon-purple) / 0.05);
}

.neon-glow-crimson {
  box-shadow: 0 0 15px hsl(var(--neon-crimson) / 0.4),
              0 0 45px hsl(var(--neon-crimson) / 0.15),
              inset 0 0 15px hsl(var(--neon-crimson) / 0.05);
}

.neon-text-blue {
  text-shadow: 0 0 10px hsl(var(--neon-blue) / 0.8),
               0 0 30px hsl(var(--neon-blue) / 0.4),
               0 0 60px hsl(var(--neon-blue) / 0.2);
}

.neon-text-purple {
  text-shadow: 0 0 10px hsl(var(--neon-purple) / 0.8),
               0 0 30px hsl(var(--neon-purple) / 0.4),
               0 0 60px hsl(var(--neon-purple) / 0.2);
}

.neon-text-crimson {
  text-shadow: 0 0 10px hsl(var(--neon-crimson) / 0.8),
               0 0 30px hsl(var(--neon-crimson) / 0.4);
}

.section-padding {
  padding: 5rem 1rem;
}

.hover-scale {
  transition: transform 0.2s;
}
.hover-scale:hover {
  transform: scale(1.05);
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-neon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-neon { animation: pulse-neon 2s ease-in-out infinite; }
.animate-shimmer { background-size: 200% 100%; animation: shimmer 3s linear infinite; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* IntersectionObserver reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--glass-border) / 0.2);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 1rem;
}

.site-header .logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: hsl(var(--primary));
}

.site-header nav a.active {
  text-shadow: 0 0 10px hsl(var(--neon-blue) / 0.8),
               0 0 30px hsl(var(--neon-blue) / 0.4);
}

.join-btn {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  color: hsl(var(--primary-foreground));
  transition: transform 0.2s;
}
.join-btn:hover { transform: scale(1.05); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
  border-top: 1px solid hsl(var(--glass-border) / 0.2);
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  padding: 0.5rem 0;
}
.mobile-nav a.active { color: hsl(var(--primary)); }

.mobile-nav .join-btn {
  text-align: center;
}

@media (max-width: 768px) {
  .site-header nav { display: none; }
  .site-header .join-btn-desktop { display: none; }
  .hamburger { display: block; }
}

/* ===== Footer ===== */
.site-footer {
  background: hsl(var(--muted) / 0.3);
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-grid h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

.footer-grid a:hover { color: hsl(var(--primary)); }

.footer-social {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
}

.footer-social a {
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
}

.hero-section .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    hsl(var(--background) / 0.7),
    hsl(var(--background) / 0.5),
    hsl(var(--background)));
}

.hero-section .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section .hero-sub {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

.hero-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--glass-border) / 0.3);
  color: hsl(var(--foreground));
}
.hero-form input::placeholder { color: hsl(var(--muted-foreground)); }
.hero-form input:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5); }

.hero-form button {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  color: hsl(var(--primary-foreground));
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.hero-form button:hover { transform: scale(1.05); }

@media (min-width: 640px) {
  .hero-form { flex-direction: row; }
  .hero-section h1 { font-size: 4.5rem; }
}

/* ===== About / Vision ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 1rem;
  width: 100%;
}
.about-img-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.6), transparent);
  border-radius: 1rem;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .about-text h2 { font-size: 2.5rem; }
}

/* ===== Category Grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  overflow: hidden;
  cursor: pointer;
}
.cat-card .cat-img {
  height: 12rem;
  overflow: hidden;
}
.cat-card .cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.cat-card:hover .cat-img img { transform: scale(1.1); }

.cat-card .cat-body {
  padding: 1.25rem;
}
.cat-card .cat-body h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}
.cat-card .cat-body p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ===== Featured Stories ===== */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .stories-grid { grid-template-columns: repeat(3, 1fr); } }

.story-card {
  overflow: hidden;
  cursor: pointer;
}
.story-card .story-img {
  height: 16rem;
  overflow: hidden;
  position: relative;
}
.story-card .story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.story-card:hover .story-img img { transform: scale(1.05); }

.story-card .story-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary-foreground));
}

.story-card .story-body {
  padding: 1.25rem;
}
.story-card .story-body h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  transition: color 0.3s;
}
.story-card:hover .story-body h3 { color: hsl(var(--primary)); }

.read-now-btn {
  margin-top: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: gap 0.3s;
}
.read-now-btn:hover { gap: 0.5rem; }

/* ===== USP Section ===== */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }

.usp-card {
  padding: 2rem;
  text-align: center;
}
.usp-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.usp-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
.usp-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.cta-center {
  text-align: center;
}
.cta-center a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  color: hsl(var(--primary-foreground));
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s;
}
.cta-center a:hover { transform: scale(1.05); }

/* ===== Section Helpers ===== */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.bg-muted-20 {
  background: hsl(var(--muted) / 0.2);
}

/* ===== Services Page ===== */
.services-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.services-hero .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.6);
}
.services-hero .hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}
.services-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--secondary));
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .services-hero h1 { font-size: 3.75rem; } }

/* Zigzag */
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) { .zigzag-item { grid-template-columns: 1fr 1fr; } }
.zigzag-item + .zigzag-item { margin-top: 5rem; }

.zigzag-item img {
  border-radius: 1rem;
  width: 100%;
}
.zigzag-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.zigzag-item p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .zigzag-item.reverse .zigzag-img { order: 2; }
  .zigzag-item.reverse .zigzag-text { order: 1; }
}

/* Creator Program */
.creator-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .creator-steps { grid-template-columns: repeat(3, 1fr); } }

.creator-step {
  padding: 1.5rem;
  text-align: center;
}
.creator-step .step-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.creator-step h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.creator-step p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Membership Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .tiers-grid { grid-template-columns: 1fr 1fr; } }

.tier-card {
  padding: 2rem;
  border: 1px solid hsl(var(--border));
}
.tier-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.tier-card .price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}
.tier-card .price span {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.875rem;
}

.tier-card.premium {
  border: 2px solid hsl(var(--primary));
  position: relative;
}
.tier-card.premium h3 { color: hsl(var(--primary)); }
.tier-card.premium .price { color: hsl(var(--foreground)); }
.tier-card.premium .price span { color: hsl(var(--muted-foreground)); }

.tier-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  color: hsl(var(--primary-foreground));
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.375rem 0;
}
.tier-features .icon-check { color: hsl(var(--primary)); }
.tier-features .icon-x { color: hsl(var(--muted-foreground) / 0.4); }
.tier-features .text-dim { color: hsl(var(--muted-foreground) / 0.5); }

.tier-btn {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.tier-btn-outline {
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: transparent;
}
.tier-btn-outline:hover { background: hsl(var(--muted)); }

.tier-btn-primary {
  color: hsl(var(--primary-foreground));
  border: none;
}
.tier-btn-primary:hover { transform: scale(1.02); }

/* ===== Blog Page ===== */
.blog-featured {
  padding-top: 5rem;
}
.blog-featured-inner {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.blog-featured-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured-inner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background)), hsl(var(--background) / 0.6), transparent);
}
.blog-featured-inner .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  max-width: 48rem;
}
@media (min-width: 768px) {
  .blog-featured-inner .content { padding: 4rem; }
}

.blog-featured .tag-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
}

.blog-featured h1 {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .blog-featured h1 { font-size: 3rem; } }

.blog-featured .meta {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
.blog-featured .meta .author { color: hsl(var(--primary)); }

/* Filters */
.filters-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .filters-bar { flex-direction: row; } }

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 28rem;
}
.search-wrap .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
}
.search-wrap input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border-radius: var(--radius);
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--glass-border) / 0.3);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}
.search-wrap input::placeholder { color: hsl(var(--muted-foreground)); }
.search-wrap input:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5); }

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border: none;
}
.filter-pill:hover { color: hsl(var(--foreground)); }
.filter-pill.active {
  color: hsl(var(--primary-foreground));
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  overflow: hidden;
  cursor: pointer;
}
.blog-card .blog-card-img {
  height: 13rem;
  overflow: hidden;
  position: relative;
}
.blog-card .blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card .card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: hsl(var(--background) / 0.7);
  backdrop-filter: blur(8px);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.3);
}

.blog-card .blog-card-body {
  padding: 1.25rem;
}
.blog-card .blog-card-body h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  transition: color 0.3s;
  margin-bottom: 0.5rem;
}
.blog-card:hover .blog-card-body h3 { color: hsl(var(--primary)); }

.blog-card .blog-card-body .excerpt {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border: none;
}
.page-btn:hover { color: hsl(var(--foreground)); }
.page-btn.active {
  color: hsl(var(--primary-foreground));
}

/* Newsletter */
.newsletter-section {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.newsletter-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .newsletter-section h2 { font-size: 2rem; } }

.newsletter-section p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--glass-border) / 0.3);
  color: hsl(var(--foreground));
}
.newsletter-form input::placeholder { color: hsl(var(--muted-foreground)); }
.newsletter-form input:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5); }

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  color: hsl(var(--primary-foreground));
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.newsletter-form button:hover { transform: scale(1.05); }

/* ===== Contact Page ===== */
.contact-hero {
  padding-top: 5rem;
}
.contact-hero-inner {
  text-align: center;
  padding: 5rem 1rem;
}
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .contact-hero h1 { font-size: 4.5rem; } }

.contact-hero p {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-form {
  padding: 2rem;
}
.contact-form h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--glass-border) / 0.3);
  color: hsl(var(--foreground));
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: hsl(var(--muted-foreground)); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { box-shadow: 0 0 0 2px hsl(var(--primary) / 0.5); }

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea { resize: none; }

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: hsl(var(--primary-foreground));
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s;
  border: none;
}
.submit-btn:hover { transform: scale(1.02); }

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-item .ci-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.contact-item .ci-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}
.contact-item a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.125rem;
  transition: text-decoration 0.3s;
}
.contact-item a:hover { text-decoration: underline; }

.contact-note {
  margin-top: 3rem;
  padding: 1.5rem;
}
.contact-note p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.75;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}
.faq-question .chevron {
  color: hsl(var(--primary));
  transition: transform 0.3s;
  font-size: 1.125rem;
}
.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.25rem 1.25rem;
}
.faq-answer p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.75;
}

/* Social Blocks */
.social-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .social-blocks { grid-template-columns: 1fr 1fr; } }

.social-block {
  padding: 1.5rem;
  text-align: center;
  display: block;
}
.social-block .emoji { font-size: 1.875rem; margin-bottom: 0.5rem; }
.social-block h3 {
  font-size: 0.875rem;
  font-weight: 700;
}
.social-block p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

/* ===== Page Navigation (single-page sections) ===== */
.page-section {
  display: none;
}
.page-section.active {
  display: block;
}

/* ===== SVG Icons inline ===== */
.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
