/* PrintTiler Landing Page - Modern Design */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --dark: #1e293b;
  --dark-light: #334155;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient-start: #6366f1;
  --gradient-end: #0ea5e9;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

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

header nav a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: var(--dark);
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-current:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.12);
}

.language-current .chevron {
  transition: transform 0.2s ease;
}

.language-current[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

.language-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--dark);
  transition: background 0.15s ease;
}

.language-option:hover {
  background: var(--light);
  color: var(--dark);
}

.language-option.active {
  background: var(--primary);
  color: var(--white);
}

.language-option.active:hover {
  background: var(--primary-dark);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0f2fe 50%, #fef3c7 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta a img {
  height: 54px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta a:hover img {
  transform: translateY(-2px);
}

.hero-cta-note {
  font-size: 0.875rem;
  color: var(--gray-light);
  margin-top: 16px;
}

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

.hero-image-wrapper {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.floating-card.top-left {
  top: -20px;
  left: -30px;
}

.floating-card.bottom-right {
  bottom: -20px;
  right: -30px;
}

.floating-card svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* Features Section */
.features {
  padding: 120px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--light);
  border-radius: 20px;
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary) 100%);
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Paper Sizes Section */
.paper-sizes {
  padding: 100px 0;
  background: var(--white);
}

.sizes-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.size-tag {
  background: var(--light);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.size-tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* Use Cases Section */
.use-cases {
  padding: 100px 0;
  background: var(--white);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.use-case-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--light);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.use-case-item:hover {
  background: #f1f5f9;
}

.use-case-item svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.use-case-item span {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--light);
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.faq-view-all {
  text-align: center;
  margin-top: 40px;
}

.faq-view-all-link {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.faq-view-all-link:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* FAQ Page Styles */
.faq-page {
  padding: 140px 0 80px;
  min-height: calc(100vh - 400px);
}

.faq-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-page-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 48px;
}

.faq-category {
  margin-bottom: 48px;
}

.faq-category h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.faq-page .faq-list {
  max-width: 100%;
}

/* Trust Section */
.trust-section {
  padding: 60px 0;
  background: var(--light);
  text-align: center;
}

.trust-line {
  font-size: 1.125rem;
  color: var(--gray);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section .section-description {
  color: var(--gray-light);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-download {
  display: inline-block;
}

.cta-download img {
  height: 60px;
  transition: transform 0.3s ease;
}

.cta-download:hover img {
  transform: scale(1.05);
}

.cta-price-note {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* Footer */
footer {
  padding: 60px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  color: var(--gray);
  font-size: 0.875rem;
}

.footer-follow {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.footer-x-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--white);
  border-radius: 50%;
  color: var(--black);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-x-link:hover {
  background-color: var(--gray);
  transform: scale(1.1);
}

.footer-x-link svg {
  display: block;
}

/* Privacy Pages */
section.privacy-content {
  padding: 140px 0 80px;
  min-height: calc(100vh - 200px);
}

section.privacy-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 40px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 16px;
  display: inline-block;
}

section.privacy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

section.privacy-content p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

section.privacy-content ul,
section.privacy-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

section.privacy-content li {
  margin-bottom: 8px;
  color: var(--gray);
  line-height: 1.7;
}

section.privacy-content hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 40px 0;
}

/* Language links */
.language-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.language-links li {
  margin: 0;
}

.language-links a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--light);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--dark-light);
  transition: all 0.2s ease;
}

.language-links a:hover {
  background: var(--primary);
  color: var(--white);
}

/* 404 page */
.container-404 {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  padding: 180px 24px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container-404 h1 {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.container-404 p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.container-404 a {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.container-404 a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    margin-top: 40px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .features-grid,
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .features-grid-4 {
    grid-template-columns: 1fr;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  header nav {
    display: none;
  }

  footer .wrapper {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.875rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .floating-card {
    display: none;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

/* Guide Pages */
article.guide-content {
  padding: 140px 0 80px;
  min-height: calc(100vh - 400px);
}

article.guide-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

article.guide-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

article.guide-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 32px;
  margin-bottom: 12px;
}

article.guide-content p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

article.guide-content ul,
article.guide-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

article.guide-content li {
  margin-bottom: 10px;
  color: var(--gray);
  line-height: 1.7;
  font-size: 1.05rem;
}

article.guide-content strong {
  color: var(--dark);
  font-weight: 600;
}

/* Guide Intro */
.guide-intro {
  font-size: 1.25rem !important;
  color: var(--dark-light) !important;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0f2fe 100%);
  padding: 24px 28px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  margin-bottom: 32px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gray);
  transition: color 0.2s ease;
}

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

/* Table of Contents */
.guide-toc {
  background: var(--light);
  padding: 24px 28px;
  border-radius: 12px;
  margin: 32px 0;
}

.guide-toc h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
}

.guide-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-toc li {
  margin-bottom: 8px;
}

.guide-toc a {
  color: var(--dark-light);
  font-weight: 500;
}

.guide-toc a:hover {
  color: var(--primary);
}

/* Step Cards */
.step {
  display: flex;
  gap: 24px;
  margin: 32px 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

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

/* Guide Screenshots */
.guide-screenshot {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Screenshot Placeholder (for drafts) */
.screenshot-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed var(--gray-light);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  margin: 20px 0;
  color: var(--gray);
  font-style: italic;
}

/* Mistake & Tip Cards */
.mistake-card,
.tip-card {
  padding: 24px 28px;
  border-radius: 12px;
  margin: 20px 0;
}

.mistake-card {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.mistake-card h3 {
  color: #dc2626;
  margin-top: 0;
}

.tip-card {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.tip-card h3 {
  color: #16a34a;
  margin-top: 0;
}

/* Tool Grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.tool-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid #e2e8f0;
}

.tool-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.tool-card ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.tool-card li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Method Comparison */
.method-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.method {
  background: #fafafa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e5e5e5;
}

.method h4 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1rem;
}

.method ul {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Checklist */
.checklist {
  background: #fffbeb;
  border-radius: 12px;
  padding: 24px 28px;
  border-left: 4px solid #f59e0b;
  margin: 24px 0;
}

.checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: #d97706;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* FAQ */
.faq {
  background: var(--light);
  padding: 24px 28px;
  border-radius: 12px;
  margin: 20px 0;
}

.faq h3 {
  margin-top: 0;
  color: var(--dark);
}

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

/* Guide CTA Section */
.guide-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  text-align: center;
}

.guide-cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.guide-cta p {
  color: var(--gray-light);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.guide-cta .cta-download img {
  height: 54px;
  transition: transform 0.3s ease;
}

.guide-cta .cta-download:hover img {
  transform: scale(1.05);
}

.guide-cta .cta-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--gray);
}

/* Guides Index Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.guide-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.guide-card h2 {
  font-size: 1.25rem;
  color: var(--dark);
  margin: 12px 0;
  border: none;
  padding: 0;
}

.guide-card p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.guide-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.guide-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-card-tags .tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--light);
  color: var(--gray);
}

.guide-card-tags .tag.popular {
  background: #fef3c7;
  color: #d97706;
}

.guide-card-tags .tag.beginner {
  background: #dbeafe;
  color: #2563eb;
}

.guide-card-tags .tag.coming-soon {
  background: #f3f4f6;
  color: #9ca3af;
}

.guide-card-tags .tag.tips {
  background: #dcfce7;
  color: #16a34a;
}

.guide-card-tags .tag.intermediate {
  background: #fae8ff;
  color: #a855f7;
}

/* Guide Subtitle */
.guide-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-top: -16px;
  margin-bottom: 24px;
}

/* Mini CTA in Guides */
.guides-mini-cta {
  background: linear-gradient(135deg, #f0f4ff 0%, #e0f2fe 100%);
  padding: 24px 28px;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
}

.guides-mini-cta p {
  margin: 0 0 12px 0;
  font-size: 1.05rem;
  color: var(--dark);
}

.mini-cta-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}

.mini-cta-link:hover {
  color: var(--primary-dark);
}

/* More Guides Coming */
.more-guides-coming {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
  margin-top: 60px;
}

.more-guides-coming h2 {
  margin-top: 0;
  border: none;
  padding: 0;
}

.more-guides-coming ul {
  margin-bottom: 24px;
}

/* Info Card */
.info-card {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}

.info-card.highlight {
  background: #fef3c7;
  border-left-color: #f59e0b;
}

.info-card h3 {
  margin-top: 0;
  color: #0369a1;
}

.info-card.highlight h3 {
  color: #d97706;
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

/* Option Grid */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.option-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.option-card.highlight {
  background: linear-gradient(135deg, #f0f4ff 0%, #e0f2fe 100%);
  border-color: var(--primary-light);
}

.option-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--dark);
}

.option-card .option-dpi {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.option-card .option-use-case {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

/* Mode Table */
.mode-table {
  margin: 24px 0;
}

.mode-row {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}

.mode-row h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.mode-row p {
  margin-bottom: 12px;
}

.mode-row .mode-tip {
  font-size: 0.9rem;
  background: #f0fdf4;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 0;
  border-left: 3px solid #22c55e;
}

/* Rating Table */
.rating-table {
  margin: 24px 0;
}

.rating-row {
  display: grid;
  grid-template-columns: 100px 80px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.rating-row.blurry {
  background: #fef2f2;
}

.rating-row.fair {
  background: #fffbeb;
}

.rating-row.good {
  background: #f0fdf4;
}

.rating-row.sharp {
  background: #f0f9ff;
}

.rating-range {
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 600;
}

.rating-label {
  font-weight: 600;
}

.rating-row.blurry .rating-label { color: #dc2626; }
.rating-row.fair .rating-label { color: #d97706; }
.rating-row.good .rating-label { color: #16a34a; }
.rating-row.sharp .rating-label { color: #0369a1; }

.rating-desc {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Recommendation Grid */
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.recommendation-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid #e2e8f0;
}

.recommendation-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.recommendation-card .rec-setting {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.recommendation-card p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.comparison-header {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
}

.comparison-header .comparison-col {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:nth-child(odd) {
  background: #f8fafc;
}

.comparison-label {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  background: #f1f5f9;
  border-right: 1px solid #e2e8f0;
}

.comparison-cell {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

/* New Tag */
.guide-card-tags .tag.new {
  background: #dcfce7;
  color: #16a34a;
}

/* Guide Page Responsive */
@media (max-width: 768px) {
  article.guide-content h1 {
    font-size: 2rem;
  }

  article.guide-content h2 {
    font-size: 1.5rem;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-header .comparison-col:first-child,
  .comparison-label {
    display: none;
  }

  .comparison-cell {
    border-bottom: 1px solid #e2e8f0;
  }

  .comparison-cell:last-child {
    border-bottom: none;
  }

  .rating-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .option-grid,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }
}
