@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #10b981;
  --accent: #f59e0b;
  --background: #ffffff;
  --surface: #f8fafc;
  --surface-dark: #e2e8f0;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

code {
  font-family: "JetBrains Mono", "Courier New", monospace;
  background-color: var(--surface);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: white;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Notice Banner */
.notice-banner {
  background-color: #fef3c7;
  border-top: 3px solid var(--warning);
  border-bottom: 3px solid var(--warning);
  padding: 1.5rem 0;
}

.notice-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notice-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.notice-text {
  color: #92400e;
  line-height: 1.6;
}

.notice-text strong {
  font-weight: 700;
}

/* Sections */
.about-section,
.benefits-section,
.languages-section,
.roadmaps-section,
.tools-section,
.tips-section,
.getting-started-section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Benefits List */
.benefits-section {
  background-color: var(--surface);
}

.benefits-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.benefit-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  flex-shrink: 0;
  width: 80px;
}

.benefit-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.benefit-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Language Cards */
.language-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.language-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.language-icon {
  font-size: 3rem;
}

.language-header h2 {
  font-size: 2rem;
  font-weight: 800;
  flex: 1;
}

.difficulty-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.2);
}

.difficulty-badge.beginner {
  background-color: var(--success);
}

.difficulty-badge.intermediate {
  background-color: var(--warning);
}

.difficulty-badge.advanced {
  background-color: var(--error);
}

.language-content {
  padding: 2.5rem;
}

.language-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.language-content h3:first-child {
  margin-top: 0;
}

.language-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.language-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.language-content li {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.language-content li strong {
  color: var(--text);
  font-weight: 600;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* Roadmap Cards */
.roadmap-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.roadmap-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 2.5rem;
  text-align: center;
}

.roadmap-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.roadmap-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.roadmap-description {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.duration-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-weight: 600;
}

.roadmap-content {
  padding: 2.5rem;
}

.roadmap-phase {
  margin-bottom: 3rem;
}

.roadmap-phase h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.specialization-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roadmap-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background-color: var(--surface);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.roadmap-step:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.time-estimate {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  background-color: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

/* Tips Section */
.tips-section {
  background-color: var(--surface);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tip-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tip-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tip-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.tip-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Tool Cards */
.tool-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-icon {
  font-size: 2.5rem;
}

.category-intro {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.tool-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tool-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tool-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.tool-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tool-badges span {
  padding: 0.375rem 0.875rem;
  border-radius: 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-free {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-recommended {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-essential {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-trial {
  background-color: #e0e7ff;
  color: #3730a3;
}

.tool-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.tool-content h4:first-child {
  margin-top: 0;
}

.tool-content h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.tool-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tool-content ul,
.tool-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.tool-content li {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.tool-content li strong {
  color: var(--text);
  font-weight: 600;
}

.tool-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.tool-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.tool-link:hover {
  background-color: var(--primary-dark);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tool-card-small {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.tool-card-small h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.tool-card-small p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Getting Started Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number-large {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.step-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Footer */
.footer {
  background-color: var(--text);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 73px;
    flex-direction: column;
    background-color: var(--background);
    width: 100%;
    text-align: center;
    transition: left 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .page-header h1 {
    font-size: 2.25rem;
  }

  .benefit-item {
    flex-direction: column;
    gap: 1rem;
  }

  .benefit-number {
    width: auto;
  }

  .language-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .roadmap-header h2 {
    font-size: 1.75rem;
  }

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

  .features-grid,
  .tips-grid,
  .tools-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .btn {
    width: 100%;
  }

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

  .language-content,
  .roadmap-content,
  .tool-card {
    padding: 1.5rem;
  }
}
