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

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  background-color: #2a2a2a;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 120px;
}

h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

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

.calculator-header {
  text-align: center;
  margin-bottom: 3rem;
}

.calculator-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.calculator-header p {
  font-size: 1.1rem;
  color: #b0b0b0;
}

/* Sections */
section {
  margin-bottom: 2rem;
}

section h2 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-transform: uppercase;
}

/* Instructions Section */
.instructions-section {
  background-color: #3a3a3a;
  border-left: 4px solid #9acd32;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.instructions-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.instructions-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.instructions-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.instructions-section li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

.instructions-note {
  font-style: italic;
  color: #b0b0b0;
  margin-top: 1rem;
}

/* Process Section */
.process-section {
  background-color: #3a3a3a;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.process-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.process-section h2 {
  margin-bottom: 1rem;
}

.process-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.process-section li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

/* Pages Grid */
.pages-section {
  background-color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.page-card {
  background-color: #3a3a3a;
  border: 2px solid #5a5a5a;
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-card:hover {
  border-color: #9acd32;
  transform: translateY(-2px);
}

.page-card.selected {
  border-color: #9acd32;
  background-color: #4a4a4a;
}

.page-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.page-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9acd32;
  position: relative;
}

.page-card.selected .page-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #9acd32;
}

.page-label {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.page-price {
  font-size: 1.2rem;
  font-weight: 300;
  color: #9acd32;
}

/* Domain & Hosting */
.domain-hosting-section {
  background-color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
}

.domain-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.domain-card {
  background-color: #3a3a3a;
  border: 2px solid #5a5a5a;
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.domain-card:hover {
  border-color: #9acd32;
}

.domain-card.selected {
  border-color: #9acd32;
  background-color: #4a4a4a;
}

.domain-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.domain-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9acd32;
  position: relative;
  flex-shrink: 0;
}

.domain-card.selected .domain-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #9acd32;
}

.domain-title {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
}

.domain-description {
  color: #b0b0b0;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.domain-suboptions {
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.domain-suboption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background-color: #4a4a4a;
  border-radius: 4px;
}

.domain-suboption-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.domain-suboption-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #9acd32;
  position: relative;
}

.domain-suboption.selected .domain-suboption-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #9acd32;
}

.domain-suboption-price {
  color: #9acd32;
  font-size: 1rem;
}

/* Required Plugins */
.required-section {
  background-color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
}

.required-description {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

.required-card {
  background-color: #3a3a3a;
  border: 2px solid #9acd32;
  border-radius: 8px;
  padding: 1.5rem;
}

.required-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.required-header h3 {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.required-badge {
  display: inline-block;
  background-color: #9acd32;
  color: #2a2a2a;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 400;
}

.required-price {
  color: #9acd32;
  font-size: 1.2rem;
}

.required-description-text {
  color: #b0b0b0;
  line-height: 1.6;
}

/* Shop Section */
.shop-section {
  background-color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
}

.shop-toggle-card {
  background-color: #3a3a3a;
  border: 2px solid #5a5a5a;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.shop-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-toggle-header h3 {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.shop-toggle-header p {
  color: #b0b0b0;
  font-size: 0.95rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #5a5a5a;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #9acd32;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* E-commerce Dropdown */
.ecommerce-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #3a3a3a;
  border: 2px solid #9acd32;
  border-radius: 8px;
  margin-top: 1rem;
}

.ecommerce-dropdown.active {
  max-height: 2000px;
  padding: 1.5rem;
}

.ecommerce-intro {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.ecommerce-item {
  border-bottom: 1px solid #5a5a5a;
  padding: 1.5rem 0;
}

.ecommerce-item:last-of-type {
  border-bottom: none;
}

.ecommerce-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.ecommerce-item h4 {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
}

.ecommerce-price {
  color: #9acd32;
  font-size: 1.1rem;
}

.ecommerce-item p {
  color: #b0b0b0;
  line-height: 1.6;
}

.ecommerce-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #9acd32;
  font-size: 1.2rem;
  font-weight: 400;
}

.ecommerce-total-price {
  color: #9acd32;
  font-size: 1.4rem;
}

/* Extras Grid */
.extras-section {
  background-color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.extra-card {
  background-color: #3a3a3a;
  border: 2px solid #5a5a5a;
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.extra-card:hover {
  border-color: #9acd32;
  transform: translateY(-2px);
}

.extra-card.selected {
  border-color: #9acd32;
  background-color: #4a4a4a;
}

.extra-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.extra-title-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.extra-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #9acd32;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extra-card.selected .extra-checkbox::after {
  content: '✓';
  color: #9acd32;
  font-size: 1rem;
  font-weight: bold;
}

.extra-title {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
}

.extra-price {
  color: #9acd32;
  font-size: 1.1rem;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.extra-description {
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hourly Rate Services */
.hourly-section {
  background-color: #4a4a4a;
  padding: 2rem;
  border-radius: 8px;
}

.hourly-description {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

.hourly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.hourly-card {
  background-color: #3a3a3a;
  border: 2px solid #6a6a6a;
  border-radius: 8px;
  padding: 1.5rem;
  opacity: 0.8;
  cursor: default;
}

.hourly-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.hourly-title {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
}

.hourly-price {
  color: #9acd32;
  font-size: 1.1rem;
  white-space: nowrap;
}

.hourly-description {
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Breakdown Section */
.breakdown-section {
  background-color: #3a3a3a;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.breakdown-toggle {
  width: 100%;
  background-color: #4a4a4a;
  border: none;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.3s ease;
}

.breakdown-toggle:hover {
  background-color: #5a5a5a;
}

.breakdown-chevron {
  transition: transform 0.3s ease;
  color: #9acd32;
}

.breakdown-section.active .breakdown-chevron {
  transform: rotate(180deg);
}

.breakdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #3a3a3a;
}

.breakdown-section.active .breakdown-content {
  max-height: 1000px;
  padding: 1.5rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #5a5a5a;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-label {
  color: #e0e0e0;
}

.breakdown-price {
  color: #9acd32;
  font-weight: 300;
}

.breakdown-empty {
  color: #b0b0b0;
  text-align: center;
  padding: 1rem;
}

/* Total Summary */
.total-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #3a3a3a;
  border-top: 3px solid #9acd32;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  flex-wrap: wrap;
}

.total-info {
  flex: 1;
  min-width: 150px;
}

.total-label {
  font-size: 0.9rem;
  color: #b0b0b0;
}

.total-items {
  font-size: 0.85rem;
  color: #888;
}

.total-amount {
  flex: 1;
  text-align: center;
  min-width: 150px;
}

.total-price {
  font-size: 2rem;
  font-weight: 300;
  color: #9acd32;
}

.total-annual {
  font-size: 0.9rem;
  color: #b0b0b0;
  margin-top: 0.25rem;
}

.total-actions {
  flex: 1;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  min-width: 200px;
}

.btn-print,
.btn-email {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.btn-print {
  background-color: #5a5a5a;
  color: #ffffff;
}

.btn-print:hover {
  background-color: #6a6a6a;
}

.btn-email {
  background-color: #9acd32;
  color: #2a2a2a;
}

.btn-email:hover {
  background-color: #b0dd50;
}

/* Print Styles */
@media print {
  body {
    background-color: white;
    color: black;
  }
  
  .total-summary,
  .btn-print,
  .btn-email {
    display: none;
  }
  
  .calculator-container {
    padding-bottom: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .calculator-header h1 {
    font-size: 1.8rem;
  }
  
  .pages-grid {
    grid-template-columns: 1fr;
  }
  
  .extras-grid,
  .hourly-grid {
    grid-template-columns: 1fr;
  }
  
  .total-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }
  
  .total-actions {
    justify-content: stretch;
    flex-direction: column;
  }
  
  .btn-print,
  .btn-email {
    width: 100%;
  }
}
