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

body {
  font-family:
    "Gravity",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: #151515;
  color: #e0e0e0;
  line-height: 1.6;
}

/* ===== BACKGROUND CODE ===== */
#code-background {
  position: fixed;
  top: 10rem;
  left: 2rem;
  width: auto;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  padding: 0;
  overflow: hidden;
  max-width: 50%;
  max-height: 50%;
}

.code-display {
  position: relative;
  width: auto;
  height: auto;
}

#code-text {
  color: #2d5a3d;
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  line-height: 1.4;
  white-space: pre;
  text-align: left;
  transition: opacity 0.5s ease;
  padding: 0;
  margin: 0;
}

.cursor {
  display: inline-block;
  width: 0.8rem;
  height: 2rem;
  background-color: #547c55;
  margin-left: 0.2rem;
  animation: blink 1s infinite;
  vertical-align: middle;
  opacity: 0.7;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

header,
.main-content,
footer {
  position: relative;
  z-index: 1;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-top: 1rem;
  padding: 2rem 5rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 8rem 0;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.pricing-container {
  max-width: 120rem;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 5rem;
}

.pricing-header h2 {
  font-size: 3.5rem;
  color: #ffffed;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.pricing-subtitle {
  font-size: 1.5rem;
  color: #e0e0e0;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 70rem;
  margin: 0 auto;
}

/* ===== PRICING GRID ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 120rem;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  border-radius: 1.2rem;
  padding: 3rem 2.5rem;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.pricing-card-basic {
  background-color: #3a3a3a;
}
.pricing-card-recommended {
  background-color: #637a7f;
  border: 2px solid #a0c7cf;
}
.pricing-card-enterprise {
  background-color: #3a3a3a;
}

.pricing-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.3);
}

.pricing-card-basic:hover {
  background-color: #444;
}
.pricing-card-recommended:hover {
  background-color: #769399;
}
.pricing-card-enterprise:hover {
  background-color: #444;
}

.pricing-badge {
  display: inline-block;
  background-color: rgba(160, 199, 207, 0.15);
  color: #a0c7cf;
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  width: fit-content;
  border: 1px solid rgba(160, 199, 207, 0.3);
}

.pricing-badge-recommended {
  background-color: #a0c7cf;
  color: #151515;
  font-weight: 400;
  border-color: #a0c7cf;
}

.pricing-title {
  font-size: 2.2rem;
  color: #ffffed;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pricing-description {
  font-size: 1.4rem;
  color: #e0e0e0;
  line-height: 1.5;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-amount {
  font-size: 3rem;
  color: #ffffed;
  font-weight: 400;
}

.price-period {
  font-size: 1.2rem;
  color: #e0e0e0;
  opacity: 0.8;
  font-weight: 300;
}

.pricing-volume {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.8rem;
  font-weight: 300;
}

.pricing-volume strong {
  color: #ffffed;
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 1.4rem;
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 3.5rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  font-weight: 300;
}

.pricing-features .check-icon {
  position: absolute;
  left: 0;
  top: 0;
  color: #a0c7cf;
  font-size: 1.8rem;
  font-weight: bold;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-support {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 300;
}

.pricing-support strong {
  color: #ffffed;
  font-weight: 400;
}

.pricing-btn {
  width: 100%;
  padding: 1.4rem 2rem;
  border-radius: 0.8rem;
  border: none;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffed;
  background-color: #456377;
  font-family:
    "Gravity",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

.pricing-btn:hover {
  background-color: #5a7a8f;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.5rem 1.5rem rgba(69, 99, 119, 0.3);
}

.pricing-btn-recommended {
  background-color: #a0c7cf;
  color: #151515;
}

.pricing-btn-recommended:hover {
  background-color: #6b8ea3;
  color: #ffffed;
}

.pricing-btn-enterprise {
  background-color: #a0c7cf;
  color: #151515;
}

.pricing-btn-enterprise:hover {
  background-color: #6b8ea3;
  color: #ffffed;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  padding: 8rem 0;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.comparison-container {
  max-width: 120rem;
  margin: 0 auto;
}

.comparison-header {
  text-align: center;
  margin-bottom: 5rem;
}

.comparison-header h2 {
  font-size: 3.5rem;
  color: #ffffed;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.comparison-header p {
  font-size: 1.5rem;
  color: #e0e0e0;
  font-weight: 300;
  opacity: 0.8;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 1.2rem;
  overflow: hidden;
}

.comparison-table th {
  padding: 2rem 2.5rem;
  font-size: 1.6rem;
  font-weight: 400;
  color: #ffffed;
  text-align: center;
  font-family:
    "Gravity",
    -apple-system,
    sans-serif;
}

.comparison-table th:first-child {
  text-align: left;
}
.comparison-table th.th-basic {
  background-color: #3a3a3a;
}
.comparison-table th.th-recommended {
  background-color: #637a7f;
  color: #a0c7cf;
}
.comparison-table th.th-enterprise {
  background-color: #3a3a3a;
}
.comparison-table th.th-feature {
  background-color: #2a2a2a;
  font-size: 1.4rem;
  color: #e0e0e0;
}

.comparison-table td {
  padding: 1.5rem 2.5rem;
  font-size: 1.4rem;
  color: #e0e0e0;
  font-weight: 300;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table td:first-child {
  text-align: left;
  color: #e0e0e0;
}

.comparison-table tr:nth-child(odd) td {
  background-color: rgba(255, 255, 255, 0.02);
}
.comparison-table tr:nth-child(even) td {
  background-color: rgba(0, 0, 0, 0.1);
}
.comparison-table tr:nth-child(odd) td:nth-child(3) {
  background-color: rgba(99, 122, 127, 0.15);
}
.comparison-table tr:nth-child(even) td:nth-child(3) {
  background-color: rgba(99, 122, 127, 0.1);
}

.check-yes {
  color: #a0c7cf;
  font-size: 1.8rem;
  font-weight: bold;
}
.check-no {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.8rem;
}
.check-partial {
  color: #e0a060;
  font-size: 1.4rem;
  font-weight: 300;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 8rem 0;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.faq-container {
  max-width: 90rem;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 5rem;
}

.faq-header h2 {
  font-size: 3.5rem;
  color: #ffffed;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.faq-header p {
  font-size: 1.5rem;
  color: #e0e0e0;
  font-weight: 300;
  opacity: 0.8;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #3a3a3a;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:nth-child(even) {
  background-color: #2f4a50;
}

.faq-question {
  width: 100%;
  padding: 2rem 2.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family:
    "Gravity",
    -apple-system,
    sans-serif;
  font-size: 1.6rem;
  color: #ffffed;
  font-weight: 400;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #a0c7cf;
}

.faq-icon {
  font-size: 2rem;
  color: #a0c7cf;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
  padding: 0 2.5rem;
}

.faq-item.open .faq-answer {
  max-height: 20rem;
  padding: 0 2.5rem 2rem 2.5rem;
}

.faq-answer p {
  font-size: 1.4rem;
  color: #e0e0e0;
  line-height: 1.8;
  font-weight: 300;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 6rem 2rem;
  margin-top: 8rem;
  background: linear-gradient(135deg, #2f4a50 0%, #3a3a3a 50%, #456377 100%);
  border-radius: 1.5rem;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(160, 199, 207, 0.2);
}

.cta-container {
  max-width: 100rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-size: 2.5rem;
  color: #ffffed;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-description {
  font-size: 1.4rem;
  color: #e0e0e0;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
  padding: 1.4rem 2.5rem;
  border-radius: 0.8rem;
  border: none;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family:
    "Gravity",
    -apple-system,
    sans-serif;
}

.cta-btn-primary {
  background-color: #a0c7cf;
  color: #151515;
}

.cta-btn-primary:hover {
  background-color: #6b8ea3;
  color: #ffffed;
  box-shadow: 0 0.5rem 1.5rem rgba(69, 99, 119, 0.3);
  transform: translateY(-0.2rem);
}

.cta-btn-secondary {
  background-color: transparent;
  color: #ffffed;
  border: 2px solid #a0c7cf;
}

.cta-btn-secondary:hover {
  background-color: #a0c7cf;
  color: #151515;
  box-shadow: 0 0.5rem 1.5rem rgba(69, 99, 119, 0.3);
  transform: translateY(-0.2rem);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 5rem;
  right: 5rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pricing-card-recommended {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 2rem 2rem;
  }

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

  .pricing-card-recommended {
    grid-column: 1;
    max-width: 100%;
  }

  .pricing-header h2,
  .comparison-header h2,
  .faq-header h2 {
    font-size: 2.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
  .cta-section {
    padding: 4rem 1.5rem;
    margin-top: 4rem;
  }
  .cta-title {
    font-size: 2rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem 1rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 1.5rem;
  }

  .pricing-header h2,
  .comparison-header h2,
  .faq-header h2 {
    font-size: 2rem;
  }

  .price-amount {
    font-size: 2.4rem;
  }
}
