@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #06b6d4, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero glow background blob */
.glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #06b6d4, #818cf8);
  color: #fff;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #0891b2;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-1px);
}
html.dark .btn-secondary {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.4);
}

/* Theme toggle button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  color: #6b7280;
  background: transparent;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle-btn:hover {
  color: #0891b2;
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.06);
}
html.dark .theme-toggle-btn {
  color: #9ca3af;
  border-color: #374151;
}
html.dark .theme-toggle-btn:hover {
  color: #22d3ee;
  border-color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
}

/* Service cards — light */
.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  border-color: #06b6d4;
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.1);
  transform: translateY(-3px);
}
/* Service cards — dark */
html.dark .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
html.dark .service-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.04);
  box-shadow: none;
}

.service-card--accent {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.04);
}
html.dark .service-card--accent {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.05);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
html.dark .service-icon {
  color: #22d3ee;
}

.service-icon--accent {
  background: rgba(6, 182, 212, 0.15);
  color: #0891b2;
}
html.dark .service-icon--accent {
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
}

/* Why us icons */
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 50%;
}
html.dark .why-icon {
  background: rgba(129, 140, 248, 0.1);
  color: #818cf8;
}

/* Contact cards — light */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover {
  border-color: #06b6d4;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.1);
  transform: translateY(-2px);
}
/* Contact cards — dark */
html.dark .contact-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
html.dark .contact-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.04);
  box-shadow: none;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
html.dark .contact-icon {
  color: #22d3ee;
}

/* Social buttons — light */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  color: #6b7280;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.social-btn:hover {
  color: #0891b2;
  border-color: #06b6d4;
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-2px);
}
/* Price tables */
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: auto;
}

/* Pin the price/value column to minimum width — service name gets the rest */
.price-table th:nth-child(2),
.price-table td:nth-child(2) {
  width: 1%;
  white-space: nowrap;
  padding-left: 1.25rem;
}

.price-table thead tr {
  border-bottom: 2px solid #e5e7eb;
}
html.dark .price-table thead tr {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.price-table th {
  padding: 0.625rem 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.price-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}
.price-table tbody tr:last-child {
  border-bottom: none;
}
.price-table tbody tr:hover {
  background: rgba(6, 182, 212, 0.04);
}
html.dark .price-table tbody tr {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
html.dark .price-table tbody tr:hover {
  background: rgba(34, 211, 238, 0.04);
}

.price-table td {
  padding: 0.75rem 0.75rem;
  color: #374151;
  vertical-align: middle;
}
html.dark .price-table td {
  color: #d1d5db;
}

.price-cell {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  color: #0891b2 !important;
}
html.dark .price-cell {
  color: #22d3ee !important;
}

.price-offer {
  color: #6366f1 !important;
  font-weight: 700;
}
html.dark .price-offer {
  color: #818cf8 !important;
}

.note-cell {
  color: #6b7280 !important;
  font-size: 0.8rem;
}
html.dark .note-cell {
  color: #9ca3af !important;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .price-table {
    font-size: 0.83rem;
  }
  .price-table th,
  .price-table td {
    padding: 0.6rem 0.4rem;
  }
  .price-table th:nth-child(2),
  .price-table td:nth-child(2) {
    padding-left: 0.75rem;
  }
}

/* Social buttons — dark */
html.dark .social-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #9ca3af;
}
html.dark .social-btn:hover {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}
