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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: white;
  background: #0f0f0f;
}

a {
  color: #5eb3f6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navigation */
.navbar {
  background: #000;
  border-bottom: 2px solid #0066ff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 24px;
  font-weight: 700;
  color: #0066ff;
  padding: 20px 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 20px 0;
  display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #0066ff;
  text-decoration: none;
}

/* Hero */
.hero {
  background: #000;
  border-bottom: 1px solid #333;
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: #0066ff;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 24px;
  color: white;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-description {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Section */
.section {
  margin-bottom: 80px;
}

.section:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  color: #0066ff;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid #333;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

p {
  color: #ddd;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: #0066ff;
  color: white;
}

.btn-primary:hover {
  background: #0052cc;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
  background: #555;
  color: white;
}

.btn-secondary:hover {
  background: #666;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-coffee {
  background: linear-gradient(135deg, #FFDD00 0%, #FBB034 100%);
  color: #2d1f0f;
  border-color: #f4a300;
}

.btn-coffee:hover {
  background: linear-gradient(135deg, #FBB034 0%, #FFDD00 100%);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 221, 0, 0.4);
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Color Guide */
.color-guide {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px 0;
  padding: 30px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid #333;
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 120px;
}

.color-box {
  font-size: 28px;
  padding: 12px 20px;
  border-radius: 4px;
  background: #0f0f0f;
  font-weight: 600;
  direction: rtl;
}

.color-box.green-underline {
  border-bottom: 3px solid #2d5016;
  color: white;
}

.color-box.orange-underline {
  border-bottom: 3px solid #ff8c00;
  color: white;
}

.color-box.purple-underline {
  border-bottom: 3px solid #9370db;
  color: white;
}

.color-box.red-underline {
  border-bottom: 3px solid #dc3545;
  color: white;
}

.color-box.i1-bg {
  background: #add8e6;
  color: #0f0f0f;
}

.color-box.potentially-i1-bg {
  background: #e6d5f5;
  color: #0f0f0f;
}

.color-item span {
  color: #aaa;
  font-size: 14px;
  text-align: center;
}

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

.feature-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.feature-card:hover {
  border-color: #0066ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
  text-decoration: none;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  color: #0066ff;
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-card p {
  color: #aaa;
  margin: 0;
  font-size: 15px;
}

/* Step Cards */
.step-card {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  padding: 30px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #0066ff;
  color: white;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

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

.step-content ol,
.step-content ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.step-content li {
  margin-bottom: 8px;
  color: #ddd;
}

code {
  background: #272727;
  color: #ff6666;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

/* Info/Warning Boxes */
.info-box,
.warning-box {
  padding: 20px 24px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid;
}

.info-box {
  background: #1a2a3a;
  border-color: #5eb3f6;
}

.info-box h3 {
  color: #5eb3f6;
  margin-top: 0;
}

.warning-box {
  background: #2a1a1a;
  border-color: #ff8c00;
}

.warning-box strong {
  color: #ff8c00;
}

.info-box ol,
.info-box ul {
  margin-left: 20px;
  margin-top: 12px;
}

.info-box li {
  margin-bottom: 8px;
  color: #ddd;
}

/* FAQ Items */
.faq-item {
  padding: 24px;
  margin-bottom: 20px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
}

.faq-item h3 {
  color: #0066ff;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
}

.faq-item ul {
  margin-left: 20px;
  margin-bottom: 0;
}

.faq-item li {
  margin-bottom: 8px;
  color: #ddd;
}

/* Screenshot/Image */
.screenshot {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  border: 2px solid #333;
  margin: 30px 0;
}

.screenshot-caption {
  text-align: center;
  color: #aaa;
  font-size: 14px;
  margin-top: 12px;
  font-style: italic;
}

/* Footer */
.footer {
  background: #000;
  border-top: 2px solid #333;
  padding: 40px 20px;
  text-align: center;
  color: #aaa;
  margin-top: 80px;
}

.footer p {
  color: #aaa;
  margin-bottom: 8px;
}

.footer-links {
  margin-top: 16px;
}

.footer-links a {
  color: #aaa;
  margin: 0 8px;
}

.footer-links a:hover {
  color: #0066ff;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    padding: 10px 20px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
  }

  .nav-menu a {
    padding: 8px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  h2 {
    font-size: 28px;
  }

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

  .step-card {
    flex-direction: column;
  }

  .color-guide {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Page-specific styles */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 30px 0;
  border-radius: 8px;
  border: 2px solid #333;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tip-box {
  background: #1a1a1a;
  border-left: 4px solid #28a745;
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 8px;
}

.tip-box strong {
  color: #28a745;
}

.shortcut-key {
  display: inline-block;
  background: #272727;
  color: #ff6666;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #444;
  margin: 0 4px;
}
