@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors - Ice Blue Cloud Theme (Light Theme) */
  --bg-main: #f0f7ff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.9);
  --border-color: rgba(2, 132, 199, 0.12);
  --border-focus: rgba(2, 132, 199, 0.45);
  
  --primary: #0284c7; /* Sky Blue */
  --primary-glow: rgba(2, 132, 199, 0.18);
  --secondary: #0ea5e9; /* Light Sky Blue */
  --secondary-glow: rgba(14, 165, 233, 0.18);
  --accent: #0369a1; /* Accent Deep Blue */
  
  --text-primary: #0f172a; /* Slate 900 for high contrast */
  --text-secondary: #334155; /* Slate 700 */
  --text-muted: #0284c7; /* Sky Blue */
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Effects */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(2, 132, 199, 0.06);
  --shadow-md: 0 10px 30px rgba(2, 132, 199, 0.12);
  --shadow-lg: 0 20px 50px rgba(2, 132, 199, 0.18);
  --blur: blur(12px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  background-image: url('../images/ice_blue_clouds.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Gradient Overlay to soften the background image */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(240, 247, 255, 0.35) 0%, rgba(240, 247, 255, 0.65) 100%);
  z-index: -2;
  pointer-events: none;
}

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

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
}

/* --- Background Cloud & Ladder Decorations --- */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -5;
  pointer-events: none;
}

.bg-item {
  position: absolute;
  opacity: 0.055;
  filter: blur(1px);
  color: var(--primary);
  pointer-events: none;
}

.bg-item svg {
  width: 100%;
  height: 100%;
}

.bg-item.cloud-left-top {
  top: 8%;
  left: 3%;
  width: 320px;
  height: 200px;
  animation: float-slow 24s ease-in-out infinite;
}

.bg-item.ladder-right-mid {
  top: 32%;
  right: 5%;
  width: 160px;
  height: 480px;
  animation: float-reverse 28s ease-in-out infinite;
}

.bg-item.cloud-left-mid {
  top: 55%;
  left: 2%;
  width: 400px;
  height: 250px;
  animation: float-slow 32s ease-in-out infinite;
}

.bg-item.ladder-left-bottom {
  top: 78%;
  left: 8%;
  width: 140px;
  height: 400px;
  animation: float-reverse 26s ease-in-out infinite;
}

.bg-item.cloud-right-bottom {
  top: 85%;
  right: 4%;
  width: 350px;
  height: 220px;
  animation: float-slow 20s ease-in-out infinite;
}

/* Animations */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-25px) scale(1.04) rotate(2deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(25px) scale(0.96) rotate(-2deg); }
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout Utility --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: rgba(2, 132, 199, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
  backdrop-filter: var(--blur);
}

.btn-secondary:hover {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  margin-left: 0.5rem;
}

/* Glassmorphism Panel - White Frosted Glass */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: rgba(2, 132, 199, 0.35);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

/* --- Header / Navbar --- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(21, 37, 54, 0.88); /* Dark slate-blue glass for premium contrast */
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Inline & Enlarged Logo Alignments */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
}

.logo-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.35));
}

/* Brand Name in White Gradient with a hint of blue */
.logo-main {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8; /* Light sky blue */
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 3px;
  text-transform: uppercase;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: center;
  z-index: 101;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  min-height: 90vh;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: pulse-blue 3s infinite;
}

@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.2); }
  50% { box-shadow: 0 0 15px 4px rgba(2, 132, 199, 0.08); }
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.glowing-circle {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 60%);
  animation: float 6s ease-in-out infinite;
  z-index: -1;
}

.visual-box {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0.12) 100%);
}

.visual-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: calc(var(--radius-lg) - 2px);
  backdrop-filter: var(--blur);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Floating SVG inside hero visual */
.cloud-visual-shape {
  width: 170px;
  height: 170px;
  color: var(--primary);
  filter: drop-shadow(0 4px 15px rgba(2, 132, 199, 0.25));
  animation: float 6s ease-in-out infinite;
}

.ladder-visual-shape {
  position: absolute;
  bottom: 8%;
  width: 100px;
  height: 180px;
  color: var(--primary);
  filter: drop-shadow(0 4px 15px rgba(2, 132, 199, 0.25));
  animation: climb-diagonal 6s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.03); }
}

@keyframes climb-diagonal {
  0%, 100% { transform: translateY(0) rotate(2deg) scale(1); }
  50% { transform: translateY(-8px) rotate(-3deg) scale(1.02); }
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  padding: 2.5rem;
  position: relative;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Pricing Section --- */
.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  background: rgba(2, 132, 199, 0.05);
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
}

.switch-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  transition: var(--transition);
}

.switch-label.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.price-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.price-card.popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 247, 255, 0.75) 100%);
  box-shadow: 0 10px 35px rgba(2, 132, 199, 0.15);
}

.popular-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-tier {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.price-value-wrapper {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.price-period {
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.price-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.price-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.price-feature-item.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.55;
}

.price-feature-item.disabled svg {
  color: var(--text-muted);
}

.price-card .btn {
  width: 100%;
}

/* --- FAQ Section --- */
.faq-container {
  max-width: 800px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question-btn:hover {
  background: rgba(2, 132, 199, 0.02);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: rgba(2, 132, 199, 0.35);
}

.faq-item.active .faq-question-btn {
  color: var(--accent);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* --- User Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.review-card {
  padding: 2.5rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border-color);
  border: 2px solid var(--primary);
}

.user-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

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

/* --- Articles section & grid --- */
.articles-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.article-image-box {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(2, 132, 199, 0.05) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.article-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(2, 132, 199, 0.25);
  backdrop-filter: var(--blur);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.article-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.article-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover .article-card-title {
  color: var(--accent);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.read-more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.article-card:hover .read-more-link {
  color: var(--accent);
  gap: 0.5rem;
}

/* --- Individual Article Detail Layout --- */
.article-page-header {
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at top right, rgba(2, 132, 199, 0.05), transparent 50%);
}

.article-header-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.article-breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.article-breadcrumbs a:hover {
  color: var(--primary);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  padding: 4rem 0;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body strong {
  color: var(--text-primary);
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(2, 132, 199, 0.04);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

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

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

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

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-body th, .article-body td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.article-body th {
  background: rgba(2, 132, 199, 0.05);
  font-weight: 600;
  color: var(--text-primary);
}

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

.article-body a {
  color: var(--primary);
  border-bottom: 1px dashed var(--primary);
}

.article-body a:hover {
  color: var(--accent);
  border-bottom-style: solid;
}

/* Sidebar widget / CTA */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-widget {
  padding: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recommend-item-link {
  display: block;
}

.recommend-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.recommend-item-link:hover .recommend-item-title {
  color: var(--primary);
}

.recommend-item-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cta-widget {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-color: rgba(2, 132, 199, 0.2);
  text-align: center;
}

.cta-widget p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
  background: rgba(21, 37, 54, 0.92); /* Cohesive dark footer matching the new header */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}

.footer-links-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

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

.footer-link-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-link-item a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-geo-tags {
  display: flex;
  gap: 1rem;
}

.footer-geo-tags span {
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.75rem;
}

/* --- Responsive Media Queries --- */

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

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero-content {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    height: 70px;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links-wrapper {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #152536;
    flex-direction: column;
    padding: 3rem 0;
    gap: 2rem;
    transform: translateX(100%);
    transition: var(--transition);
    z-index: 99;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .nav-links-wrapper.open {
    transform: translateX(0);
  }
  
  .nav-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .navbar .btn {
    width: 80%;
    max-width: 300px;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .stat-num {
    font-size: 1.7rem;
  }
}
