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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f0f2f5;
}

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

/* Hero Section */
.hero {
  background: white;
  color: #333;
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-text {
  /* Text content styling */
}

.hero-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1f2937;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 12px;
  opacity: 0.8;
  color: #4b5563;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.7;
  color: #6b7280;
}

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

.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59,130,246,0.3);
  background: #2563eb;
}

.btn-secondary {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
}

/* Extension Mockup */
.extension-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  width: 360px;
  margin: 0 auto;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #ddd;
}

.mockup-header h3 {
  font-size: 18px;
  color: #333;
  margin: 0;
}

.mockup-controls {
  display: flex;
  gap: 8px;
}

.mockup-controls button {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  color: #374151;
}

.mockup-tabs {
  display: flex;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  background: #f8fafc;
}

.mockup-content {
  padding: 16px;
  background: #f9fafb;
  max-height: 300px;
  overflow-y: auto;
}

.exam-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.exam-title {
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exam-info {
  font-size: 13px;
  color: #4b5563;
}

.exam-info div {
  margin-bottom: 4px;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.tag.fe { background: #4CAF50; }
.tag.pe { background: #00BCD4; }
.tag.urgent { background: #ef4444; }
.tag.future { background: #10b981; }
.tag.secondfe { background: #FF9800; }

.mockup-actions {
  padding: 12px;
  background: white;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.export-btn {
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}

.docs-btn {
  background: transparent;
  color: #6b7280;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
}

.mockup-footer {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 8px 12px;
  text-align: center;
}

.mockup-footer p {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1f2937;
}

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

.feature-card {
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #1f2937;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Download Section */
.download {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.download h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #1f2937;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 60px;
}

.version-badge {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.download-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.download-card.featured {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

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

.card-badge-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.version-tag {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.recommended-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.dev-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.download-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #1f2937;
}

.card-description {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.store-badge.available {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 24px;
}

.version-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f4f6;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.version-label {
  color: #6b7280;
  font-size: 0.9rem;
}

.version-number {
  background: #3b82f6;
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.features-list {
  margin: 24px 0;
}

.feature-item {
  color: #10b981;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.install-steps {
  margin: 24px 0;
  padding-left: 0;
  list-style: none;
}

.install-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
}

.step-icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.install-steps code {
  background: #e5e7eb;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
}

.btn-primary.large, .btn-secondary.large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-icon {
  font-size: 1.2rem;
}

.version-highlights {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  text-align: center;
}

.version-highlights h3 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 40px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}

.highlight-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.highlight-content h4 {
  color: #1f2937;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.highlight-content p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Guide Section */
.guide {
  padding: 80px 0;
  background: white;
}

.guide h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1f2937;
}

.guide-steps {
  margin-bottom: 60px;
}

.step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.step-number {
  background: #3b82f6;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1f2937;
}

.step-content p {
  color: #4b5563;
  line-height: 1.6;
}

.step-content code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.guide-note {
  background: #f0f9ff;
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.guide-note h3 {
  color: #1e40af;
  margin-bottom: 16px;
}

.guide-note ul {
  padding-left: 20px;
}

.guide-note li {
  margin-bottom: 8px;
  color: #1e40af;
}

/* ICS Guide Section */
.ics-guide {
  padding: 80px 0;
  background: #f8fafc;
}

.ics-guide h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1f2937;
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ics-methods {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.method-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.method-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.method-card h3 {
  color: #1f2937;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.method-steps {
  line-height: 1.6;
}

.method-steps p {
  color: #4b5563;
  margin-bottom: 12px;
}

.method-steps ol, .method-steps ul {
  margin: 16px 0;
  padding-left: 20px;
}

.method-steps li {
  margin-bottom: 8px;
  color: #374151;
}

.method-steps code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.method-steps a {
  color: #3b82f6;
  text-decoration: none;
}

.method-steps a:hover {
  text-decoration: underline;
}

.ics-tips {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.ics-tips h3 {
  color: #1f2937;
  font-size: 1.8rem;
  margin-bottom: 32px;
  text-align: center;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.tip-card {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.tip-card h4 {
  color: #1f2937;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.tip-card p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #f9fafb;
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1f2937;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.faq-item {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
  color: #1f2937;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.faq-item p {
  color: #4b5563;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-info h3 {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
}

.footer-bottom a {
  color: #3b82f6;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-card {
    padding: 24px;
  }
  
  .download-options {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .download-card {
    padding: 30px 24px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  
  .card-badge-container {
    align-items: center;
  }
  
  .version-highlights {
    padding: 30px 20px;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .extension-mockup {
    width: 100%;
    max-width: 360px;
  }
  
  .method-card {
    padding: 24px;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .ics-guide {
    padding: 60px 0;
  }
  
  .ics-tips {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 60px 0;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .hero-icon {
    font-size: 3rem;
  }
  
  .features,
  .download,
  .guide,
  .faq,
  .ics-guide {
    padding: 50px 0;
  }
  
  .features h2,
  .download h2,
  .guide h2,
  .faq h2,
  .ics-guide h2 {
    font-size: 2rem;
  }
  
  .feature-card,
  .download-card,
  .faq-item {
    padding: 20px;
  }
  
  .download-card h3 {
    font-size: 1.5rem;
  }
  
  .btn-primary.large,
  .btn-secondary.large {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .install-steps li {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .step-icon {
    width: auto;
  }
  
  .extension-mockup {
    max-width: 320px;
  }
  
  .mockup-content {
    max-height: 250px;
  }
  
  .exam-title {
    font-size: 14px;
  }
  
  .version-highlights h3 {
    font-size: 1.5rem;
  }
  
  .highlight-content h4 {
    font-size: 1rem;
  }
  
  .highlight-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .extension-mockup {
    max-width: 280px;
  }
  
  .mockup-header h3 {
    font-size: 16px;
  }
  
  .mockup-controls button {
    padding: 3px 6px;
    font-size: 11px;
  }
  
  .download-card h3 {
    font-size: 1.3rem;
  }
  
  .card-description {
    font-size: 1rem;
  }
}
