/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #292524;
  background-color: #f5f5f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(245, 245, 244, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #d6d3d1;
  z-index: 1000;
  padding: 24px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  background: #292524;
  color: #f5f5f4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #292524;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #57534e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #292524;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #292524;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #292524;
  color: #f5f5f4;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  color: #292524;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: #57534e;
}

.hero-description {
  font-size: 20px;
  color: #57534e;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: #292524;
  color: #f5f5f4;
}

.btn-primary:hover:not(:disabled) {
  background: #1c1917;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #292524;
  border: 2px solid #292524;
}

.btn-secondary:hover:not(:disabled) {
  background: #e7e5e4;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 16px 48px;
  font-size: 18px;
}

/* Button spinner animation */
.btn-spinner svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
  border-radius: 16px;
  padding: 48px;
  color: #f5f5f4;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background: rgba(245, 245, 244, 0.1);
  border-radius: 50%;
  filter: blur(32px);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 245, 244, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.hero-card-title span {
  color: #d6d3d1;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hero-service {
  background: rgba(245, 245, 244, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.hero-service span {
  display: block;
  font-size: 12px;
  color: #d6d3d1;
  font-weight: 500;
  margin-top: 8px;
}

.hero-pricing {
  background: rgba(245, 245, 244, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(245, 245, 244, 0.2);
}

.pricing-label {
  font-size: 14px;
  color: #d6d3d1;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 36px;
  font-weight: 700;
  color: #f5f5f4;
}

.pricing-note {
  font-size: 12px;
  color: #a8a29e;
  margin-top: 4px;
}

/* Why Us Section */
.why-us {
  padding: 80px 0;
  background: #e7e5e4;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #292524;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 20px;
  color: #57534e;
  max-width: 800px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: #fafaf9;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px rgba(68, 64, 60, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: #292524;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #f5f5f4;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #292524;
  margin-bottom: 16px;
}

.feature-card p {
  color: #57534e;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f5f5f4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #292524;
}

.service-card.featured {
  background: linear-gradient(135deg, #fef7ed 0%, #fafaf9 100%);
  border: 1px solid #fed7aa;
}

.best-value-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #292524;
  color: #f5f5f4;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 32px 0;
  margin-bottom: 24px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: #292524;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f5f4;
  flex-shrink: 0;
}

.service-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #292524;
}

.service-header p {
  color: #57534e;
  margin-top: 4px;
}

.service-description {
  padding: 0 32px;
  color: #57534e;
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-options {
  padding: 0 32px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #fafaf9;
  border-radius: 8px;
  border: 1px solid #e7e5e4;
  margin-bottom: 16px;
}

.pricing-option.highlighted {
  background: #fef3c7;
  border: 2px solid #fbbf24;
}

.pricing-info h4 {
  font-weight: 600;
  color: #292524;
  margin-bottom: 4px;
}

.pricing-info p {
  font-size: 14px;
  color: #57534e;
}

.pricing-price {
  font-size: 24px;
  font-weight: 700;
  color: #292524;
  flex-shrink: 0;
}

.package-includes {
  padding: 0 32px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.package-includes h4 {
  font-weight: 700;
  color: #292524;
  margin-bottom: 16px;
}

.package-items {
  margin-bottom: 24px;
}

.package-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #1c1917;
}

.package-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

.package-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #fed7aa;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: #292524;
}

.price-savings {
  font-size: 14px;
  color: #78716c;
}

.savings-badge {
  background: #dcfce7;
  color: #166534;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

/* Service Button Container - Fixed positioning */
.service-button-container {
  padding: 0 32px 32px;
  margin-top: auto;
}

.service-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #e7e5e4;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: #1c1917;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #292524;
  box-shadow: 0 0 0 2px rgba(41, 37, 36, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  padding-top: 16px;
}

.form-note {
  font-size: 14px;
  color: #78716c;
  margin-top: 12px;
}

/* Footer */
.footer {
  background: #292524;
  color: #f5f5f4;
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #d6d3d1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #d6d3d1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f5f5f4;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #44403c;
  color: #a8a29e;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e7e5e4;
}

.modal-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  color: #292524;
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #a8a29e;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #57534e;
}

.modal-body {
  padding: 32px;
}

.modal-description {
  text-align: center;
  color: #57534e;
  margin-bottom: 32px;
}

.services-selection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.service-option {
  padding: 12px;
  border: 2px solid #e7e5e4;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.service-option:hover {
  border-color: #a8a29e;
  background: #fafaf9;
}

.service-option.selected {
  border-color: #292524;
  background: #f5f5f4;
}

.service-option.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  background: #292524;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.service-option svg {
  color: #57534e;
  margin-bottom: 8px;
}

.service-option h4 {
  font-weight: 600;
  color: #292524;
  font-size: 14px;
  margin-bottom: 4px;
}

.service-option p {
  font-size: 12px;
  color: #57534e;
  margin-bottom: 8px;
}

.service-option .price {
  font-size: 18px;
  font-weight: 700;
  color: #292524;
}

.website-addons {
  background: #fafaf9;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e7e5e4;
  margin-bottom: 32px;
}

.website-addons h3 {
  font-size: 18px;
  font-weight: 600;
  color: #292524;
  margin-bottom: 12px;
}

.website-addons > p {
  font-size: 14px;
  color: #57534e;
  margin-bottom: 16px;
}

.addons-list {
  margin-bottom: 16px;
}

.addon-item {
  margin-bottom: 12px;
}

.addon-item input[type="checkbox"] {
  margin-right: 12px;
}

.addon-item label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.addon-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}

.addon-name {
  font-weight: 500;
  color: #292524;
}

.addon-price {
  font-weight: 700;
  color: #292524;
}

.addon-description {
  font-size: 14px;
  color: #57534e;
}

.bundle-discount {
  background: #f0fdf4;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.discount-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.discount-price {
  font-weight: 700;
  color: #292524;
}

.savings {
  font-size: 14px;
  color: #16a34a;
}

.total-section {
  background: #f5f5f4;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 32px;
}

.total-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-display span:first-child {
  font-weight: 600;
  color: #292524;
}

.total-price {
  font-size: 24px;
  font-weight: 700;
  color: #292524;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e7e5e4;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #292524;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 3000;
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  background: #dc2626;
}

.toast.success {
  background: #16a34a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-selection {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-header {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-card {
    margin: 0 -16px;
    border-radius: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
