/* 
 * 阿达西机场 (Adaxi Airport) - Warm Hand-Drawn Whiteboard Design System
 * Primary Domain: adaxijc.my
 * Theme: Warm Paper Beige (#fcfbf7), Rough Sketchy Borders, Pastel Watercolor Highlights (#ffd28b, #c2a5b0, #61425e)
 */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Kalam:wght@400;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-paper: #fcfbf7;
  --bg-card: #fffdf9;
  --bg-subtle: #f6f3eb;
  
  --border-ink: #2e2633;
  --text-dark: #2a222e;
  --text-muted: #5e5463;
  
  --accent-yellow: #ffd28b;
  --accent-yellow-light: #fff3db;
  --accent-lavender: #c2a5b0;
  --accent-lavender-light: #f2e9f0;
  --accent-plum: #61425e;
  --accent-plum-light: #eadce7;
  --accent-mint: #bde8d9;
  --accent-peach: #ffc4b3;
  --accent-blue: #bfe3f7;
  
  --shadow-hand: 4px 4px 0px #2e2633;
  --shadow-hand-lg: 6px 6px 0px #2e2633;
  --shadow-hand-hover: 8px 8px 0px #2e2633;
  --shadow-double: 4px 4px 0px #2e2633, 8px 8px 0px rgba(97, 66, 94, 0.2);
  
  --font-hand: 'Caveat', 'Kalam', cursive, sans-serif;
  --font-marker: 'Kalam', 'Caveat', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --radius-sketch-1: 225px 15px 225px 15px/15px 225px 15px 225px;
  --radius-sketch-2: 18px 26px 20px 25px;
  --radius-sketch-3: 25px 18px 24px 19px;
  --radius-pill: 999px;
  
  --transition-sketch: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Resets & Paper Texture */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-paper);
  background-image: 
    radial-gradient(#e6e1d5 0.75px, transparent 0.75px), 
    radial-gradient(#e6e1d5 0.75px, var(--bg-paper) 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Handwritten Typography Utilities */
.font-hand {
  font-family: var(--font-hand);
}

.font-marker {
  font-family: var(--font-marker);
  letter-spacing: -0.5px;
}

h1, h2, h3, h4 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* Hand-drawn Sketch Card Styling */
.sketch-card {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-ink);
  border-radius: var(--radius-sketch-2);
  box-shadow: var(--shadow-hand);
  transition: var(--transition-sketch);
  position: relative;
  overflow: hidden;
}

.sketch-card:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: var(--shadow-hand-hover);
}

.sketch-card-alt {
  border-radius: var(--radius-sketch-3);
}

/* Rough watercolor highlight overlays */
.highlight-yellow {
  background-color: var(--accent-yellow);
  padding: 0.1em 0.4em;
  border-radius: 12px 2px 15px 3px;
  display: inline-block;
  color: var(--text-dark);
}

.highlight-lavender {
  background-color: var(--accent-lavender);
  padding: 0.1em 0.4em;
  border-radius: 4px 15px 3px 12px;
  display: inline-block;
  color: #ffffff;
}

.highlight-plum {
  background-color: var(--accent-plum);
  padding: 0.15em 0.5em;
  border-radius: 14px 4px 12px 5px;
  display: inline-block;
  color: #ffffff;
}

/* Hand-drawn Sketch Buttons */
.btn-sketch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  background-color: var(--accent-yellow);
  border: 2.5px solid var(--border-ink);
  border-radius: 16px 22px 18px 24px;
  box-shadow: var(--shadow-hand);
  cursor: pointer;
  transition: var(--transition-sketch);
  user-select: none;
}

.btn-sketch:hover {
  transform: translate(-3px, -3px) rotate(0.8deg);
  box-shadow: var(--shadow-hand-hover);
  background-color: #ffc970;
}

.btn-sketch:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border-ink);
}

.btn-sketch-primary {
  background-color: var(--accent-plum);
  color: #ffffff;
}

.btn-sketch-primary:hover {
  background-color: #51364e;
  color: #ffffff;
}

.btn-sketch-lavender {
  background-color: var(--accent-lavender);
  color: #ffffff;
}

.btn-sketch-lavender:hover {
  background-color: #b393a0;
  color: #ffffff;
}

.btn-sketch-outline {
  background-color: var(--bg-card);
  color: var(--text-dark);
}

/* Wobble Frame Animation */
@keyframes sketch-wobble {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  25% { transform: rotate(0.8deg) translate(1px, -1px); }
  50% { transform: rotate(-0.6deg) translate(-1px, 1px); }
  75% { transform: rotate(0.4deg) translate(0.5px, 0.5px); }
}

.animate-wobble-hover:hover {
  animation: sketch-wobble 0.6s ease-in-out infinite alternate;
}

/* Hand-drawn Badge / Tag */
.sketch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-family: var(--font-marker);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid var(--border-ink);
  border-radius: 20px 8px 18px 10px;
  background-color: var(--accent-yellow-light);
  color: var(--text-dark);
  box-shadow: 2.5px 2.5px 0px var(--border-ink);
}

.sketch-badge-plum {
  background-color: var(--accent-plum-light);
  color: var(--accent-plum);
}

.sketch-badge-lavender {
  background-color: var(--accent-lavender-light);
  color: var(--accent-plum);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 1.25rem;
  z-index: 1000;
  margin-bottom: 2rem;
}

.nav-container {
  background-color: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  border: 2.5px solid var(--border-ink);
  border-radius: 24px;
  box-shadow: var(--shadow-hand);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-marker);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-plum);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--accent-yellow);
  border: 2px solid var(--border-ink);
  border-radius: 12px 16px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--border-ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.3rem 0.2rem;
  transition: var(--transition-sketch);
}

.nav-link:hover {
  color: var(--accent-plum);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
  transition: width 0.25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border-ink);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-title-tag {
  margin-bottom: 1rem;
}

.hero-heading {
  margin-bottom: 1.25rem;
}

.hero-subheading {
  font-size: 1.18rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Whiteboard Hero Visual Box */
.hero-visual-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 3px solid var(--border-ink);
  border-radius: 28px 18px 30px 22px;
  box-shadow: var(--shadow-double);
}

.doodle-arrow {
  position: absolute;
  top: -30px;
  left: -40px;
  width: 80px;
  pointer-events: none;
}

.doodle-cloud {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 70px;
  pointer-events: none;
}

.speed-meter-box {
  background-color: #fdfaf3;
  border: 2px dashed var(--border-ink);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1.25rem;
}

.speed-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.speed-bar-outer {
  width: 100%;
  height: 16px;
  background-color: #eee9dc;
  border: 2px solid var(--border-ink);
  border-radius: 12px;
  overflow: hidden;
}

.speed-bar-inner {
  height: 100%;
  width: 96%;
  background: linear-gradient(90deg, var(--accent-yellow), #ffa726);
  border-radius: 8px;
  position: relative;
}

.protocol-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.protocol-chip {
  background-color: var(--accent-lavender-light);
  border: 1.5px solid var(--border-ink);
  border-radius: 12px;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-marker);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-plum);
}

/* Core Advantages Grid */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
}

.adv-card {
  padding: 1.8rem;
}

.adv-icon-wrap {
  width: 54px;
  height: 54px;
  border: 2px solid var(--border-ink);
  border-radius: 16px 10px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 3px 3px 0px var(--border-ink);
}

.adv-card h3 {
  margin-bottom: 0.6rem;
}

/* Pricing Section - Match Reference Image 1 */
.pricing-notice-box {
  background-color: #f4efe2;
  border: 2px solid var(--border-ink);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: 3px 3px 0px var(--border-ink);
}

.pricing-notice-box p {
  font-weight: 600;
  color: var(--text-dark);
}

.pricing-notice-box a {
  color: #3b82f6;
  text-decoration: underline;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-ink);
  border-radius: 20px;
  box-shadow: var(--shadow-hand);
  padding: 2.2rem 1.8rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  transition: var(--transition-sketch);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hand-hover);
}

.pricing-card.popular {
  border-color: var(--border-ink);
  box-shadow: var(--shadow-double);
  background-color: #fffdf8;
}

.popular-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-plum);
  color: #ffffff;
  font-family: var(--font-marker);
  padding: 0.2rem 1.2rem;
  border: 2px solid var(--border-ink);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 2px 2px 0px var(--border-ink);
}

.plan-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.plan-price {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent-plum);
  margin-bottom: 1.8rem;
  line-height: 1;
}

.plan-price span {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 0.2rem;
  color: var(--text-dark);
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px dashed #ede8dc;
}

.check-icon {
  color: var(--accent-plum);
  font-weight: 900;
  font-size: 1.1rem;
}

.btn-plan {
  width: 100%;
  padding: 0.9rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  border: 2.5px solid var(--border-ink);
  box-shadow: 3px 3px 0px var(--border-ink);
  cursor: pointer;
  transition: var(--transition-sketch);
}

.btn-plan:hover {
  background-color: #ffc869;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--border-ink);
}

.pricing-card.popular .btn-plan {
  background-color: var(--accent-plum);
  color: #ffffff;
}

.pricing-card.popular .btn-plan:hover {
  background-color: #51364e;
  color: #ffffff;
}

/* Previous / Next Article Navigation Block (Image 4 requirement) */
.article-nav-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

.article-nav-card {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-ink);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-hand);
  transition: var(--transition-sketch);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-nav-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hand-hover);
  background-color: var(--accent-yellow-light);
}

.article-nav-card.next {
  text-align: right;
}

.article-nav-label {
  font-family: var(--font-marker);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-plum);
  margin-bottom: 0.4rem;
}

.article-nav-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .article-nav-box {
    grid-template-columns: 1fr;
  }
}

/* Brand Quote Section - Match Reference Image 2 */
.brand-quote-card {
  background: #111827;
  color: #f3f4f6;
  border: 3px solid var(--border-ink);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-double);
  position: relative;
  margin-top: 2rem;
}

.brand-quote-card p {
  color: #e5e7eb;
  font-size: 1.12rem;
  line-height: 1.85;
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* Target Users Grid */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.target-card {
  padding: 2rem;
}

/* SEO Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card-item {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.article-title {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
}

.article-excerpt {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--accent-plum);
}

/* Testimonials Carousel (Show 3 Cards at a Time) */
.testimonials-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0.5rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  box-sizing: border-box;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-ink);
  border-radius: 22px;
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-double);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-sketch);
}

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

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.user-avatar-sketch {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-ink);
  border-radius: 50%;
  background-color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 2px 2px 0px var(--border-ink);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--border-ink);
  border-radius: 50%;
  background-color: var(--bg-card);
  box-shadow: 3px 3px 0px var(--border-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-sketch);
}

.carousel-btn:hover {
  background-color: var(--accent-yellow);
  transform: translate(-2px, -2px);
}

.carousel-dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--border-ink);
  border-radius: 50%;
  background-color: #d1cbd4;
  cursor: pointer;
  transition: var(--transition-sketch);
}

.dot.active {
  background-color: var(--accent-plum);
  width: 28px;
  border-radius: 12px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-ink);
  border-radius: 18px;
  box-shadow: var(--shadow-hand);
  overflow: hidden;
}

.faq-question {
  padding: 1.4rem 1.8rem;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  padding: 0 1.8rem 1.4rem 1.8rem;
  display: none;
  border-top: 1.5px dashed var(--bg-subtle);
}

.faq-item.active .faq-answer {
  display: block;
  margin-top: 0.8rem;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

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

/* Footer Styling */
.site-footer {
  background-color: #1e1924;
  color: #e5e0eb;
  border-top: 3.5px solid var(--border-ink);
  padding: 4.5rem 0 2rem 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--accent-yellow);
  font-family: var(--font-marker);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #b0a6ba;
  font-size: 0.95rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
}

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

.footer-links a {
  color: #c7becf;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  cursor: pointer;
}

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

.footer-bottom {
  border-top: 1px solid #362e40;
  padding-top: 2rem;
  text-align: center;
  color: #92879c;
  font-size: 0.9rem;
}

/* Modal Popup Styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(30, 25, 36, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--bg-card);
  border: 3px solid var(--border-ink);
  border-radius: 24px;
  box-shadow: var(--shadow-double);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border: 2px solid var(--border-ink);
  border-radius: 50%;
  background-color: var(--accent-yellow);
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Article Template Specific Styles */
.article-header {
  padding: 3rem 0 2rem 0;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-ink);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-double);
}

.article-body h2 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px dashed #e2dbce;
}

.article-body h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--accent-plum);
}

.article-body p {
  margin-bottom: 1.4rem;
  line-height: 1.85;
  color: #38303d;
  font-size: 1.05rem;
}

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

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.tech-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border: 2px solid var(--border-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 3px 3px 0px var(--border-ink);
}

.tech-table th, .tech-table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid #e6e0d3;
}

.tech-table th {
  background-color: var(--accent-yellow-light);
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-ink);
}

.code-box {
  background-color: #221c26;
  color: #f3effa;
  border: 2px solid var(--border-ink);
  border-radius: 16px;
  padding: 1.25rem;
  font-family: monospace;
  font-size: 0.92rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  box-shadow: 3px 3px 0px var(--border-ink);
}

.article-faq-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 3px dashed var(--accent-lavender);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border: 2.5px solid var(--border-ink);
    border-radius: 18px;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-double);
    margin-top: 0.5rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .article-content {
    padding: 1.8rem 1.4rem;
  }
}
