:root {
  --primary-color: #4285f4; /* Google Blue */
  --primary-light: #e8f0fe;
  --primary-dark: #1a73e8;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --card-background: #ffffff;
  --card-border: rgba(0, 0, 0, 0.1);
  --shadow-light: rgba(0, 0, 0, 0.04);
  --shadow-medium: rgba(0, 0, 0, 0.12);
}

.plan-container {
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.header {
  text-align: center;
  margin-bottom: 50px;
}

.header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.header p {
  font-size: 21px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.38;
}

.plan-cards-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.plan-card {
  background: var(--card-background);
  border-radius: 18px;
  padding: 48px 40px;
  width: 100%;
  max-width: 360px;
  min-height: 580px;
  box-shadow: 0 4px 16px var(--shadow-light), 0 8px 32px var(--shadow-medium);
  border: 1px solid var(--card-border);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-medium), 0 24px 64px rgba(0, 0, 0, 0.08);
}

.plan-card.featured {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(66, 133, 244, 0.25),
    0 16px 64px rgba(66, 133, 244, 0.15);
}

.plan-card.featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(66, 133, 244, 0.35),
    0 32px 80px rgba(66, 133, 244, 0.2);
}

.plan-header {
  margin-bottom: 10px;
}

.plan-name {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.plan-card.featured .plan-name {
  color: white;
}

.plan-description {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
}

.plan-card.featured .plan-description {
  color: rgba(255, 255, 255, 0.8);
}

.price-section {
  margin-bottom: 48px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.currency {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
}

.plan-card.featured .currency {
  color: white;
}

.price {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
}

.plan-card.featured .price {
  color: white;
}

.price-period {
  font-size: 21px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 8px;
}

.plan-card.featured .price-period {
  color: rgba(255, 255, 255, 0.8);
}

.features-section {
  flex-grow: 1;
  margin-bottom: 40px;
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.47;
  color: var(--text-primary);
}

.plan-card.featured .features-list li {
  color: white;
}

.checkmark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card.featured .checkmark {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.checkmark svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.purchase-btn {
  width: 100%;
  padding: 17px 24px;
  border: none;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: -0.01em;
  background: var(--primary-color);
  color: white;
  margin-top: auto;
}

.purchase-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.4);
}

.purchase-btn:active {
  transform: translateY(0);
}

.plan-card.featured .purchase-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.plan-card.featured .purchase-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.footer-cta {
  text-align: center;
  margin-top: 40px;
}

.footer-cta p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 10px;
  font-weight: 400;
}

.footer-cta a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: all 0.3s ease;
}

.footer-cta a:hover {
  color: var(--primary-dark);
}

@media (max-width: 1024px) {
  .plan-cards-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .plan-card {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .header {
    margin-bottom: 60px;
  }

  .plan-card {
    padding: 40px 32px;
    min-height: auto;
    max-height: 600px;
  }

  .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-light), 0 16px 48px rgba(0, 0, 0, 0.08);
  }

  .footer-cta {
    margin-top: 60px;
  }
}

/* Invoice-card-section */

.invoice-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto 40px;
  width: 100%;
  /* box-shadow: 0 4px 16px var(--shadow-light), 0 8px 32px var(--shadow-medium); */
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.invoice-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.3);
}

.icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.title {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 17px;
  color: #86868b;
  line-height: 1.47;
  margin-bottom: 32px;
  font-weight: 400;
}

.button-group {
  display: flex;
  gap: 12px;
  flex-direction: column;
  max-width: 450px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  min-height: 52px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  );
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.btn:active::before {
  transform: translate(-50%, -50%) scale(1.5);
}

.btn-primary {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: #007aff;
  border: 1px solid rgba(0, 122, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.7);
}

.btn-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

@media (min-width: 480px) {
  .button-group {
    flex-direction: row;
  }

  .btn {
    flex: 1;
  }
}

@media (max-width: 479px) {
  .invoice-container {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 16px;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
