/* ==========================================================================
   Nextin - Luxury Gallery-Inspired Accelerator & Tutorial Stylesheet
   Color Palette:
     - Background: #0C1826 (Deep Prussian Night)
     - Text Primary: #F2EDE3 (Ivory)
     - Text Secondary: #8FA3B8 (Muted Steel-Blue)
     - Borders / Hairlines: #22364E
     - Accent Gold: #D9A441 (Antique Gold)
     - Footer Background: #0A1420
   Typography:
     - Headlines: "Marcellus", serif
     - Body & Buttons: "Jost", sans-serif
   ========================================================================== */

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

:root {
  --bg-main: #0C1826;
  --bg-footer: #0A1420;
  --bg-card: rgba(18, 32, 50, 0.65);
  --bg-card-hover: rgba(24, 43, 67, 0.85);
  --text-main: #F2EDE3;
  --text-muted: #8FA3B8;
  --border-line: #22364E;
  --accent-gold: #D9A441;
  --accent-gold-soft: rgba(217, 164, 65, 0.15);
  --accent-gold-border: rgba(217, 164, 65, 0.35);
  --font-serif: 'Marcellus', 'Noto Serif SC', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::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-main);
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4, .serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.3;
}

.gold-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  margin-bottom: 16px;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-wrap h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(12, 24, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.brand-badge {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.25s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  line-height: 1;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #0C1826;
  border: 1px solid var(--accent-gold);
}

.btn-gold:hover {
  background-color: #f0b74b;
  border-color: #f0b74b;
  color: #070e17;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-line);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
}

.btn-outline-gold:hover {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold-soft);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Section Rhythm */
.section-padding {
  padding: 120px 0;
  position: relative;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-line) 20%, var(--border-line) 80%, transparent);
}

.section-divider-gold {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold-border) 25%, var(--accent-gold-border) 75%, transparent);
}

/* Hero Section */
.hero-section {
  padding: 110px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-frame {
  border: 1px solid var(--accent-gold-border);
  padding: 70px 48px;
  background: linear-gradient(180deg, rgba(18, 32, 50, 0.4) 0%, rgba(12, 24, 38, 0.7) 100%);
  position: relative;
}

.hero-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background-color: var(--accent-gold);
}

.hero-frame::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background-color: var(--accent-gold);
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.25;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Museum Gallery Numbered Columns (01, 02, 03) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-column {
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  padding: 44px 32px;
  position: relative;
  transition: all 0.35s ease;
}

.feature-column:hover {
  border-color: var(--accent-gold-border);
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
}

.feature-index {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: block;
  border-bottom: 1px solid var(--border-line);
  padding-bottom: 12px;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Tutorial / Blog Step Section */
.tutorial-section {
  background-color: rgba(10, 20, 32, 0.4);
}

.tutorial-step-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tutorial-step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 40px;
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  transition: border-color 0.3s ease;
}

.tutorial-step-card:hover {
  border-color: var(--accent-gold-border);
}

.step-number-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent-gold);
  line-height: 1;
}

.step-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 8px;
}

.step-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.step-content p:last-child {
  margin-bottom: 0;
}

.step-tip {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--accent-gold-soft);
  border-left: 2px solid var(--accent-gold);
  font-size: 0.86rem;
  color: var(--text-main);
  margin-top: 8px;
}

/* Streaming & AI Cards */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.media-card {
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  padding: 40px;
  transition: all 0.3s ease;
}

.media-card:hover {
  border-color: var(--accent-gold-border);
  transform: translateY(-3px);
}

.media-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.media-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
  padding: 4px 10px;
}

.media-card h3 {
  font-size: 1.45rem;
}

.media-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  font-size: 0.82rem;
  background-color: rgba(34, 54, 78, 0.4);
  color: var(--text-main);
  border: 1px solid var(--border-line);
  padding: 6px 14px;
  letter-spacing: 0.04em;
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card:hover {
  border-color: var(--accent-gold-border);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 1px solid var(--accent-gold);
  background-color: rgba(22, 39, 62, 0.85);
}

.featured-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-gold);
  color: #0C1826;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 2px;
}

.pricing-header {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 28px;
}

.pricing-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px dashed rgba(34, 54, 78, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li strong {
  color: var(--text-main);
}

.pricing-features li::before {
  content: '—';
  color: var(--accent-gold);
}

.pricing-cta {
  margin-top: auto;
}

.pricing-cta .btn {
  width: 100%;
}

/* Testimonials Exhibition */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  padding: 36px 30px;
  position: relative;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.8;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid var(--border-line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.author-role {
  font-size: 0.78rem;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
}

/* FAQ Accordion / Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.faq-item {
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  padding: 32px;
}

.faq-question {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
}

.faq-question::before {
  content: 'Q.';
  color: var(--accent-gold);
  font-family: var(--font-serif);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  padding-left: 28px;
}

/* Final Framed CTA Banner */
.cta-framed-panel {
  border: 1px solid var(--accent-gold-border);
  padding: 80px 48px;
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 32, 50, 0.5) 0%, rgba(10, 20, 32, 0.8) 100%);
  position: relative;
}

.cta-framed-panel h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-framed-panel p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* Site Footer */
.site-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-line);
  padding: 60px 0 40px;
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

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

.footer-meta {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #556c84;
}

/* Article Styles for SEO Pages */
.article-header {
  padding: 70px 0 40px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 50px;
}

.article-breadcrumbs {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.article-title {
  font-size: 2.6rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-meta-row {
  display: flex;
  gap: 24px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.article-body {
  font-size: 1.02rem;
  line-height: 2;
  color: #D3DDE8;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 50px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-line);
  color: var(--text-main);
}

.article-body h3 {
  font-size: 1.35rem;
  margin: 36px 0 16px;
  color: var(--accent-gold);
}

.article-body p {
  margin-bottom: 24px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.article-body blockquote {
  border-left: 2px solid var(--accent-gold);
  background-color: var(--accent-gold-soft);
  padding: 20px 28px;
  margin: 32px 0;
  font-style: normal;
  color: var(--text-main);
}

.article-body a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body a:hover {
  color: #f7cb68;
}

/* Dofollow Outbound Anchor Card in SEO Articles */
.pbn-recommend-box {
  margin: 40px 0;
  border: 1px solid var(--accent-gold-border);
  background: rgba(217, 164, 65, 0.06);
  padding: 28px 32px;
}

.pbn-recommend-box h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.pbn-recommend-box p {
  margin-bottom: 16px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Article List Grid in news-2026.html */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.news-card {
  border: 1px solid var(--border-line);
  background-color: var(--bg-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: var(--accent-gold-border);
  transform: translateY(-3px);
}

.news-date {
  font-size: 0.76rem;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

.news-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
}

.news-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  color: #fff;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .features-grid, .pricing-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 72px;
  }
  
  .site-nav {
    display: none; /* Mobile menu handled cleanly */
  }

  .hero-section {
    padding: 70px 0 60px;
  }

  .hero-frame {
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.88rem;
  }

  .section-padding {
    padding: 70px 0;
  }

  .features-grid, .pricing-grid, .testimonials-grid, .media-grid, .faq-grid, .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tutorial-step-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 20px;
  }

  .step-number-box {
    align-items: flex-start;
  }

  .section-title-wrap h2 {
    font-size: 1.8rem;
  }

  .cta-framed-panel {
    padding: 50px 24px;
  }

  .cta-framed-panel h2 {
    font-size: 1.9rem;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 18px;
  }

  .article-title {
    font-size: 1.85rem;
  }
}
