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

body {
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.logo-outer, .footer-bg{
  background: #262e39;
}

.logo{
  width: 250px; padding: 30px 15px 20px;
}

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

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

.checkout-header h1 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.checkout-header p {
  color: #666;
}

.package-selection {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  padding: 40px;
  margin-bottom: 40px;
}

.package-selection h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 2em;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.package-card {
  background: #f8f9fa;
  border: 3px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  position: relative;
}

.package-card:hover {
  border-color: #6a39b7;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}

.package-card.selected {
  border-color: #6a39b7;
  background: #f0f4ff;
  box-shadow: 0 6px 12px rgba(102, 126, 234, .3);
}

.package-card.popular {
  border-color: #27ae60;
}

.popular-badge {
  background: #27ae60;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .75em;
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: 10px;
}

.package-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.package-price {
  font-size: 2.2em;
  font-weight: bold;
  color: #6a39b7;
  margin: 15px 0;
}

.package-price-period {
  font-size: .4em;
  color: #777;
  font-weight: normal;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
  font-size: .9em;
}

.package-features li {
  padding: 6px 0;
  color: #555;
}

.package-features li:before {
  content: '✓ ';
  color: #27ae60;
  font-weight: bold;
  margin-right: 5px;
}

.select-button {
  background: #fff;
  color: #222;
  border: none;
  padding: 20px 30px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin: -20px 0 15px;
  transition: background .2s;
}

.select-button a {
  text-decoration: none;
}

.select-button:hover {
  background: #eee;
}

.package-card.selected .select-button {
  background: #27ae60;
}

.package-card.selected .select-button:hover {
  background: #229954;
}

.order-summary {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  overflow: hidden;
  margin-bottom: 40px;
  display: none;
}

.order-summary.active {
  display: block;
}

.order-summary-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
}

.order-summary-header h2 {
  color: white;
  margin-bottom: 15px;
}

.selected-package-name {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
}

.selected-package-details {
  background: rgba(255,255,255,.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.selected-package-details ul {
  list-style: none;
  padding: 0;
}

.selected-package-details li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.selected-package-details li:last-child {
  border-bottom: none;
}

.selected-package-details li:before {
  content: '✓ ';
  margin-right: 8px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3em;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid rgba(255,255,255,.3);
}

.price-total {
  font-size: 2em;
  font-weight: bold;
}

.policy-section {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.policy-section h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.policy-box {
  background: #fff9e6;
  border-left: 4px solid #ffc107;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;               border-bottom: 1px solid #eee;
}

.policy-box h4 {
  color: #2c3e50;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.policy-box ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.policy-box li {
  margin: 8px 0;
  color: #555;
}

.policy-agreement {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #ddd;
  margin-top: 20px;
}

.policy-agreement input[type='checkbox'] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  cursor: pointer;
  margin-top: 2px;
}

.policy-agreement label {
  cursor: pointer;
  color: #333;
  line-height: 1.5;
}

.policy-agreement.required {
  border-color: #e74c3c;
  background: #ffebee;
}

.payment-section {
  padding: 30px;
  background: #f8f9fa;
  text-align: center;              border-bottom: 1px solid #eee;
}

.stripe-button {
  background: #635bff;
  color: white;
  padding: 18px 50px;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  transition: background .2s;
}

.stripe-button:hover:not(:disabled) {
  background: #4f46e5;
}

.stripe-button:disabled {
  background: #95a5a6;
  cursor: not-allowed;
}

.security-note {
  margin-top: 15px;
  color: #666;
  font-size: .9em;
}

.change-selection {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #eee;
}

.change-selection a {
  color: #6a39b7;
  text-decoration: none;
  font-weight: 600;
}

.change-selection a:hover {
  text-decoration: underline;
}

.back-link {
  text-align: center;
  margin-top: 30px;
}

.back-link a {
  color: #6a39b7;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

@media (max-width: 968px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

h1{
  margin: 0; padding: 0 0 30px;            border-bottom: 1px solid #eee;
}

h2{
  margin: 20px 0 15px;
}

.product{
  background: #6f62c3; display: block; width: 100%; max-width: 900px; margin: 0 auto; border-radius: 5px; color: #fff; padding: 2px 15px 0;
}

.product p{
  background: #7a7dd8; padding: 15px; margin: 1px 0; border-radius: 5px; color: #fff;
}

.product p:before {
  content: '✓ ';
  color: #fff;
  font-weight: bold;
  margin-right: 5px;
}

.pbs{
  width: 270px;
}

p.auc{
  margin: -20px 0 20px;
}

.font-price{
  font-size: 50px;
}
