/* SWISS DESIGN / HIGH-END EDITORIAL THEME (TUTORIAL) */
:root {
  --color-bg: #ffffff;
  --color-bg-gray: #f8fafc;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-accent: #0f172a; 
  --color-accent-soft: #f1f5f9;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --transition: all 0.3s ease;
}

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

body { font-family: var(--font-main); background: var(--color-bg); color: var(--color-text-main); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.bg-gray { background: var(--color-bg-gray); }
::selection { background: var(--color-accent); color: #fff; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; color: var(--color-text-main); line-height: 1.2; }
.italic-serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; color: var(--color-text-muted); }
p { color: var(--color-text-muted); }
a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }

.nav-swiss { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 2rem; }
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--color-text-main); text-decoration: none; }
.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a { font-size: 0.95rem; font-weight: 500; color: var(--color-text-muted); }
.nav-menu a:hover { color: var(--color-text-main); }
.nav-menu a.active { color: var(--color-text-main); font-weight: 600; }
.menu-btn { display: none; background: transparent; border: none; cursor: pointer; }
.menu-btn .bar { display: block; width: 22px; height: 2px; background: var(--color-text-main); margin: 5px 0; border-radius: 1px; }

.page-wrapper { padding-top: 100px; min-height: 100vh; }
.section-swiss { padding: 6rem 2rem 8rem; max-width: 900px; margin: 0 auto; }

.section-header { margin-bottom: 5rem; }
.section-header.center { margin: 0 auto 5rem; text-align: center; }
.section-header h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.section-header p { font-size: 1.15rem; }

.badge { display: inline-block; padding: 0.4rem 1rem; background: var(--color-accent-soft); color: var(--color-text-muted); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }

/* Timeline / Steps */
.tutorial-wrapper { display: flex; flex-direction: column; gap: 3rem; }

.step-card {
  display: flex;
  gap: 3rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--color-border);
  line-height: 1;
  min-width: 60px;
}

.step-content { flex-grow: 1; }
.step-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.step-content p { font-size: 1.05rem; margin-bottom: 2.5rem; }

.inline-link { font-weight: 600; border-bottom: 1px solid var(--color-border); padding-bottom: 2px; }
.inline-link:hover { border-bottom-color: var(--color-text-main); }

code { background: var(--color-accent-soft); color: var(--color-text-main); padding: 0.2rem 0.5rem; border-radius: 4px; font-family: monospace; font-size: 0.9em; }

.window-mockup { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03); display: flex; flex-direction: column; }
.window-header { background: var(--color-bg-gray); padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); display: flex; gap: 0.5rem; align-items: center; }
.window-dot { width: 10px; height: 10px; border-radius: 50%; }
.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }
.window-body { padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: var(--color-bg); color: var(--color-text-muted); }
.window-body i { font-size: 2.5rem; color: var(--color-text-main); opacity: 0.8; }
.window-body span { font-family: var(--font-main); font-weight: 500; font-size: 0.95rem; }

.footer-swiss { padding: 6rem 2rem 3rem; background: var(--color-bg); border-top: 1px solid var(--color-border); }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: end; }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a { font-weight: 500; }
.footer-copy { grid-column: 1 / -1; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--color-border); font-size: 0.85rem; color: var(--color-text-muted); }

@media (max-width: 768px) {
  .nav-menu { position: absolute; top: 100%; left: 0; width: 100%; background: var(--color-bg); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--color-border); display: none; }
  .nav-menu.active { display: flex; }
  .menu-btn { display: block; }
  
  .section-header h1 { font-size: 2.5rem; }
  .step-card { flex-direction: column; gap: 2rem; padding: 2rem; }
  .step-number { font-size: 2.5rem; }
  
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
