/* =============================================
   RESET & VARIABLES
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fecaca;
  --bg: #ffffff;
  --bg-section: #fef2f2;
  --bg-card: #f9fafb;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.header__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main {
  padding: 4rem 0;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

/* =============================================
   INTRO SECTION
   ============================================= */
.intro {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =============================================
   OBJECTIVES SECTION
   ============================================= */
.objectives {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.objectives__list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.objectives__list li {
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.objectives__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* =============================================
   SCREENSHOTS SECTION
   ============================================= */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.screenshot-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.screenshot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.screenshot-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-img img {
  transform: scale(1.05);
}

.screenshot-info {
  padding: 1.5rem;
}

.screenshot-info h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.screenshot-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.screenshot-info code {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

/* =============================================
   COMMANDS SECTION
   ============================================= */
.commands {
  background: var(--bg-section);
  padding: 3rem 2rem;
  border-radius: 12px;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.command-card {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.command-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.command-card code {
  display: block;
  background: var(--text);
  color: var(--primary-light);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.command-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--primary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .header {
    padding: 3rem 0;
  }

  .main {
    padding: 2rem 0;
  }

  section {
    margin-bottom: 2.5rem;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .commands-grid {
    grid-template-columns: 1fr;
  }

  .intro,
  .objectives,
  .commands {
    padding: 1.5rem;
  }
}
