:root {
  --bg-surface: #f5f8fd;
  --surface: #ffffff;
  --surface-strong: #f8fbff;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --border: #dbe4f0;
  --radius: 28px;
}

.ap-page {
  background: var(--bg-surface);
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-primary);
}

.ap-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}

.ap-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.ap-breadcrumb a:hover {
  text-decoration: underline;
}

.ap-bc-sep {
  color: #cbd5e1;
}

.ap-bc-current {
  color: #1e293b;
  font-weight: 600;
}

.ap-hero {
  margin-top: 32px;
  gap: 32px;
  margin: 32px 0 36px;
  padding: 44px 40px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.12);
}

.ap-hero-copy {
  display: grid;
  gap: 22px;
}

.ap-hero-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}

.ap-hero-title {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  margin: 0;
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text-primary);
}

.ap-hero-text {
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1rem;
  max-width: 760px;
}

.ap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 24px;
}

.ap-tab-button {
  border: 1px solid transparent;
  background: #f3f7ff;
  color: var(--text-primary);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ap-tab-button:hover {
  background: #e9f0ff;
}

.ap-tab-button--active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.2);
}

.ap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ap-btn:hover {
  transform: translateY(-1px);
}

.ap-btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(37, 99, 235, 0.22);
}

.ap-btn-secondary {
  background: #f3f7ff;
  color: var(--text-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.ap-hero-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  background: #ffffff;
  padding: 44px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
  align-items: flex-start;
}

.ap-hero-simple .ap-hero-copy {
  flex: 1.3;
}

.ap-price-tag {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  margin-top: 4px;
}

.ap-hero-summary {
  flex: 0.9;
  min-width: 280px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 24px;
}

.ap-hero-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ap-hero-summary li {
  position: relative;
  padding-left: 32px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.ap-hero-summary li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0.25rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.ap-details {
  padding: 0 20px 0;
  margin-bottom: 32px;
}

.ap-features-section {
  background: #f8fbff;
  padding: 40px 0;
  border-radius: 24px;
}

.ap-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ap-feature-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ap-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.12);
}

.ap-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.ap-feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.ap-feature-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ap-action-card {
  display: grid;
  gap: 18px;
  background: var(--accent);
  color: #ffffff;
  padding: 34px 30px;
  border-radius: 24px;
  margin-top: 40px;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.14);
}

.ap-action-card h3 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
}

.ap-action-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.ap-btn.ap-btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
}

.ap-action-card .ap-btn {
  width: fit-content;
}

@media (max-width: 960px) {
  .ap-hero-simple {
    flex-direction: column;
  }

  .ap-hero-summary {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .ap-feature-grid {
    grid-template-columns: 1fr;
  }
}

.ap-tab-button:hover {
  background: #e9f0ff;
  transform: translateY(-1px);
}

.ap-tab-button--active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.2);
}

.ap-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.ap-card-highlight {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ap-card-highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
}

.ap-card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eff7ff;
  font-size: 1.35rem;
}

.ap-card-highlight h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ap-card-highlight p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.ap-comparison {
  margin: 0 auto;
  padding: 0 20px 16px;
}

.ap-section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.05;
  color: var(--text-primary);
}

.ap-section-header p {
  margin: 18px 0 32px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.ap-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ap-plan-card {
  position: relative;
  background: var(--surface);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ap-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.16);
}

.ap-plan-card-featured {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 26px 70px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.ap-plan-card-featured:hover {
  transform: translateY(-10px);
}

.ap-plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: #e7f0ff;
  color: #1d4ed8;
  margin-bottom: 18px;
}

.ap-plan-badge--primary {
  background: var(--accent);
  color: #ffffff;
}

.ap-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ap-plan-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-primary);
  text-align: right;
}

.ap-plan-price {
  font-size: clamp(2.8rem, 4vw, 3.4rem);
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--text-primary);
  line-height: 1;
}

.ap-plan-subtext {
  margin: 18px 0 24px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.ap-plan-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.ap-plan-card ul li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ap-plan-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.ap-plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ap-plan-link:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

@media (max-width: 1140px) {
  .ap-hero {
    grid-template-columns: 1fr;
  }

  .ap-hero-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .ap-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ap-page {
    padding: 0 16px 32px;
  }

  .ap-hero {
    padding: 30px 24px;
  }

  .ap-hero-actions {
    gap: 10px;
  }

  .ap-plan-card {
    padding: 26px;
  }

  .ap-plan-grid {
    grid-template-columns: 1fr;
  }
}


.ap-plan-link:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

@media (max-width: 1140px) {
  .ap-hero {
    grid-template-columns: 1fr;
  }

  .ap-hero-cards {
    grid-template-columns: 1fr;
  }

  .ap-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .ap-breadcrumb,
  .ap-hero,
  .ap-comparison {
    padding: 24px 20px;
  }

  .ap-hero-actions {
    gap: 10px;
  }

  .ap-plan-grid {
    grid-template-columns: 1fr;
  }

  .ap-tab-button {
    flex: 1 1 45%;
    min-width: 130px;
  }

  .ap-hero-title {
    font-size: 2.2rem;
  }
}
