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

:root {
  --white: #ffffff;
  --black: #111827;
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --green: #22c55e;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-300: #5eead4;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;

  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 16px 35px rgba(0, 0, 0, 0.12);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.14);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--text-main);
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.hero-section {
  position: relative;
  padding: 64px 16px 80px;
  background: linear-gradient(135deg, #0f1e47 0%, #1E3A8A 50%, #1e2f5e 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  animation: pill-float 4s ease-in-out infinite;
}

.hero-pill span {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-pill svg {
  width: 16px;
  height: 16px;
  color: #F7931E;
  animation: pill-pulse 2.6s ease-in-out infinite;
}

.hero-pill svg:last-child {
  color: #93c5fd;
  animation-delay: 0.5s;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero-title-highlight {
  background: linear-gradient(to right, #F7931E, #FDBA74);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.hero-title-line {
  display: block;
}

.hero-description {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
}

.hero-section::before {
  width: 320px;
  height: 320px;
  background: rgba(247, 147, 30, 0.45);
  top: -120px;
  right: 10%;
}

.hero-section::after {
  width: 420px;
  height: 420px;
  background: rgba(59, 130, 246, 0.45);
  bottom: -200px;
  left: 5%;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

@keyframes pill-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pill-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.pricing-section {
  padding: 48px 16px 80px;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: visible;
}

.plan-card:hover {
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.16);
  transform: translateY(-6px);
  border-color: rgba(15, 23, 42, 0.18);
}

.plan-card.plan-b {
  border-color: rgba(13, 148, 136, 0.22);
}

.plan-card.plan-c {
  background: linear-gradient(to bottom right, var(--amber-50), #ffffff);
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
  transform: translateY(-4px) scale(1.015);
}

.plan-card.plan-c:hover {
  box-shadow: 0 34px 64px rgba(17, 24, 39, 0.24);
  transform: translateY(-8px) scale(1.02);
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(245, 158, 11, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.plan-card:hover::before {
  opacity: 1;
}

.best-badge-wrapper {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.best-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--amber-500), var(--amber-600));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: badge-float 3.5s ease-in-out infinite;
}

.card-header {
  padding: 26px 26px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0) 100%);
}

.plan-c .card-header {
  margin-top: 16px;
  border-bottom-color: rgba(245, 158, 11, 0.18);
}

.term-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  background: linear-gradient(90deg, #0b4fd6 0%, #5aa4ff 55%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.pricing-block {
  padding: 24px 26px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.015);
}

.plan-b .pricing-block {
  background: rgba(240, 253, 250, 0.35);
}

.plan-c .pricing-block {
  border-bottom-color: rgba(245, 158, 11, 0.18);
  background: linear-gradient(to bottom right, rgba(255, 251, 235, 0.5), transparent);
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-title-row h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.plan-a .section-icon {
  color: var(--blue-600);
}

.plan-b .section-icon {
  color: var(--teal-600);
}

.plan-c .section-icon {
  color: var(--amber-600);
}

.price-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
  padding-right: 8px;
}

.price-original {
  font-size: 18px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}

.price-value {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.price-unit {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
}

.save-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin: 6px 0 14px;
}

.plan-b .save-badge {
  background: var(--teal-600);
}

.plan-c .save-badge {
  background: linear-gradient(to right, var(--amber-500), var(--amber-600));
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.22);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  padding: 2px 0;
}

.detail-item .label {
  color: #6b7280;
}

.detail-item .value {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

.detail-item .value.bold {
  font-weight: 800;
}

.detail-item .value.highlight {
  font-weight: 800;
}

.detail-item .value.bold,
.detail-item .value.highlight {
  font-size: 14.5px;
}

.detail-item .label + .value.bold,
.detail-item .label + .value.highlight {
  color: #0f172a;
}

.plan-b .highlight,
.plan-b .value.highlight {
  color: var(--teal-600);
  font-weight: 700;
}

.plan-c .highlight,
.plan-c .value.highlight {
  color: var(--amber-600);
  font-weight: 700;
}

.pricing-note {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.plan-c .pricing-note {
  border-top-color: var(--amber-100);
}

.pricing-note p {
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.accordion-section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.plan-c .accordion-section {
  border-bottom-color: var(--amber-100);
}

.accordion-btn {
  width: 100%;
  border: 0;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: background 0.25s ease, transform 0.25s ease;
}

.plan-a .accordion-btn:hover,
.plan-b .accordion-btn:hover {
  background: #f8fafc;
}

.plan-c .accordion-btn:hover {
  background: rgba(255, 251, 235, 0.6);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accordion-title h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.chevron {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.accordion-btn.active .chevron::before {
  transform: rotate(-135deg) translate(-1px, -1px);
  border-color: #1e3a8a;
}

.accordion-btn:hover .icon {
  transform: translateY(-2px) scale(1.05);
}

.accordion-content {
  display: none;
  padding: 0 26px 24px;
  background: rgba(248, 250, 252, 0.55);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.accordion-content.open {
  display: block;
}

.content-group {
  margin-bottom: 20px;
}

.content-group:last-child {
  margin-bottom: 0;
}

.content-group h5 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.check {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.check.muted {
  color: #9ca3af;
}

.bullet-item span {
  color: #374151;
}

.bullet-item.muted span {
  color: #6b7280;
}

.card-fill {
  flex-grow: 1;
}

.card-footer {
  padding: 22px 26px 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.01);
}

.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.cta-btn:hover::after {
  transform: translateX(120%);
}

.plan-a .cta-btn {
  background: linear-gradient(180deg, #2f6bff 0%, #1d4ed8 100%);
}

.plan-a .cta-btn:hover {
  box-shadow: 0 18px 35px rgba(29, 78, 216, 0.35);
  transform: translateY(-2px);
}

.plan-b .cta-btn {
  background: linear-gradient(180deg, #14b8a6 0%, #0f766e 100%);
}

.plan-b .cta-btn:hover {
  box-shadow: 0 18px 35px rgba(13, 148, 136, 0.32);
  transform: translateY(-2px);
}

.plan-c .cta-btn {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.35);
}

.plan-c .cta-btn:hover {
  box-shadow: 0 24px 46px rgba(217, 119, 6, 0.4);
  transform: translateY(-2px);
}

.comparison-note {
  margin-top: 48px;
  text-align: center;
}

.comparison-note p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.plan-c {
    transform: none;
  }

  .price-value {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 16px 56px;
  }

  .pricing-section {
    padding: 40px 16px 64px;
  }

  .card-header,
  .pricing-block,
  .accordion-btn,
  .accordion-content,
  .card-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .accordion-content {
    padding-bottom: 20px;
  }

  .term-title {
    font-size: 28px;
  }

  .section-title-row h4,
  .accordion-title h4 {
    font-size: 20px;
  }

  .price-value {
    font-size: 48px;
  }

  .price-unit {
    font-size: 22px;
  }

  .price-original {
    font-size: 16px;
  }

  .price-wrap {
    gap: 6px;
  }

  .detail-item {
    font-size: 13.5px;
  }

  .detail-item .label {
    max-width: 62%;
  }

  .detail-item .value {
    max-width: 38%;
  }

  .accordion-content {
    background: rgba(248, 250, 252, 0.75);
  }

  .card-footer {
    padding-bottom: 24px;
  }

  .cta-btn {
    padding: 14px;
    font-size: 15px;
  }
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
