/* ===============================
   SnTHostings Homepage Styles
   Conversion-Optimized Orange Theme
   Based on Normal RDP Design
================================= */

:root {
  --cta: #ff6a00;
  --cta-hover: #e35a00;
  --text: #0b1b2b;
  --muted: #5b6b7a;
  --bg-light: #f9fbfc;
  --border: #e6edf3;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 29, 50, 0.08);
  --background-width: 1500px;
  --container: 1200px;
}

/* ========== CONTAINER ========== */
.snt-home-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 20px 40px;
  position: relative;
  z-index: 1;
}

/* Create a wider background layer behind the container */
.snt-home-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--background-width);
  height: 100%;
  transform: translateX(-50%);
  background:
    linear-gradient(to right, #FCFEFF 0%, #ffe8cc 50%, #FCFEFF 100%),
    linear-gradient(to bottom, #ffe3d3 0%, #fff 15%, #fff 100%);
  z-index: -1;
  border-radius: 0 0 60px 60px;
}

.snt-home-container > * {
  position: relative;
  z-index: 1;
}

/* ========== HERO SECTION ========== */
.snt-home-hero {
  text-align: center;
  padding: 20px 20px 50px;
  margin-bottom: 80px;
}

.snt-home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 2px solid var(--cta);
  border-radius: 50px;
  color: var(--cta);
  font-size: 0.85em;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.15);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.02); }
}

.snt-home-hero h1 {
  font-size: 4em;
  margin: 0 0 20px 0;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.snt-home-hero h1 .highlight {
  color: var(--cta);
  position: relative;
  display: inline-block;
}

/* Smooth single-stroke underline */
.snt-home-hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: -2%;
  width: 104%;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 8'%3E%3Cpath d='M2,4 Q125,2 250,4 T498,4' stroke='%23ff8c3c' stroke-width='4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.85;
}

.snt-home-hero-subtitle {
  font-size: 1.3em;
  color: #4a4a4a;
  margin: 0 auto 35px;
  font-weight: 400;
  max-width: 800px;
  line-height: 1.7;
}

/* Hero CTA Buttons */
.snt-home-hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 35px 0;
  flex-wrap: wrap;
}

.snt-btn-primary {
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--cta) 0%, #ff8b1f 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.15em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.25);
}

.snt-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.snt-btn-primary:hover::before {
  left: 100%;
}

.snt-btn-primary:hover {
  background: linear-gradient(135deg, var(--cta-hover) 0%, #e37a00 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.35);
  text-decoration: none;
  color: #fff;
}

.snt-btn-secondary {
  padding: 18px 40px;
  background: #fff;
  color: var(--cta);
  border: 2px solid var(--cta);
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.15em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.1);
}

.snt-btn-secondary:hover {
  background: var(--cta);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.25);
  text-decoration: none;
}

.snt-btn-large {
  padding: 22px 50px;
  font-size: 1.25em;
}

/* Hero Meta Pills */
.snt-home-hero-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.snt-home-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95em;
  font-weight: 600;
  padding: 12px 24px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.snt-home-hero-meta-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.15);
}

.snt-home-hero-meta-icon {
  font-size: 1.3em;
}

/* Urgency Banner */
.snt-home-urgency {
  margin-top: 30px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe0b2 100%);
  border: 2px solid #ffb74d;
  border-radius: 50px;
  color: #e65100;
  font-weight: 700;
  font-size: 1.05em;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.2);
  animation: glow 2s infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 4px 12px rgba(255, 183, 77, 0.2); }
  50% { box-shadow: 0 6px 20px rgba(255, 183, 77, 0.4); }
}

/* ========== SECTION HEADERS ========== */
.snt-home-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.snt-home-section-header h2 {
  font-size: 2.5em;
  color: var(--text);
  margin: 0 0 15px 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.snt-home-section-header p {
  font-size: 1.15em;
  color: #666;
  margin: 0;
  line-height: 1.7;
}

/* ========== POPULAR PRODUCTS SECTION ========== */
.snt-home-products {
  margin: 80px 0;
}

.snt-home-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.snt-home-product-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 2px solid rgba(255, 106, 0, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.snt-home-product-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.snt-home-product-card:hover::before {
  opacity: 1;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.snt-home-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(255, 106, 0, 0.2);
  border-color: var(--cta);
}

.snt-home-featured {
  border: 3px solid var(--cta);
  box-shadow: 0 12px 36px rgba(255, 106, 0, 0.15);
}

.snt-home-product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #4caf50, #43a047);
  color: #fff;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.snt-home-badge-featured {
  background: linear-gradient(135deg, var(--cta), #ff8b1f);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.snt-home-product-icon {
  font-size: 3.5em;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 106, 0, 0.2));
}

.snt-home-product-title {
  font-size: 1.8em;
  color: var(--text);
  margin: 0 0 15px 0;
  font-weight: 800;
}

.snt-home-product-desc {
  font-size: 1em;
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.6;
  min-height: 60px;
}

.snt-home-product-specs {
  margin: 25px 0;
  padding: 20px 0;
  border-top: 2px solid #f5f0e8;
  border-bottom: 2px solid #f5f0e8;
}

.snt-home-spec {
  padding: 8px 0;
  color: var(--text);
  font-size: 0.95em;
  font-weight: 600;
}

.snt-home-product-price {
  text-align: center;
  margin: 30px 0 25px;
}

.snt-home-price-from {
  display: block;
  font-size: 0.85em;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.snt-home-price-amount {
  font-size: 3em;
  color: var(--cta);
  font-weight: 800;
  line-height: 1;
}

.snt-home-price-amount sup {
  font-size: 0.4em;
  font-weight: 700;
  vertical-align: super;
}

.snt-home-price-period {
  font-size: 0.4em;
  color: #999;
  font-weight: 600;
}

.snt-home-btn-order {
  display: block;
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--cta) 0%, #ff8b1f 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.25);
}

.snt-home-btn-order:hover {
  background: linear-gradient(135deg, var(--cta-hover) 0%, #e37a00 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.35);
  text-decoration: none;
  color: #fff;
}

.snt-home-btn-featured {
  background: linear-gradient(135deg, #ff8b1f 0%, var(--cta) 100%);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}

.snt-home-btn-featured:hover {
  background: linear-gradient(135deg, #e37a00 0%, var(--cta-hover) 100%);
  box-shadow: 0 12px 36px rgba(255, 106, 0, 0.4);
}

/* ========== ALL SERVICES SECTION ========== */
.snt-home-all-services {
  margin: 100px 0;
  padding: 60px 0;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe8cc 100%);
  border-radius: 30px;
  position: relative;
}

.snt-home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
  padding: 0 40px;
}

.snt-home-service-card {
  background: #fff;
  border-radius: 18px;
  padding: 35px 25px;
  text-align: center;
  border: 2px solid #ffd699;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.08);
}

.snt-home-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 106, 0, 0.2);
  border-color: var(--cta);
  text-decoration: none;
}

.snt-home-service-icon {
  font-size: 3em;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(255, 106, 0, 0.2));
}

.snt-home-service-card h3 {
  font-size: 1.4em;
  color: var(--text);
  margin: 0 0 12px 0;
  font-weight: 800;
}

.snt-home-service-card p {
  font-size: 0.95em;
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.5;
  min-height: 45px;
}

.snt-home-service-price {
  color: var(--cta);
  font-weight: 700;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

.snt-home-service-card:hover .snt-home-service-price {
  color: var(--cta-hover);
}

.snt-home-service-custom {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-color: #ffb74d;
}

/* ========== WHY CHOOSE US ========== */
.snt-home-why-choose {
  margin: 100px 0;
}

.snt-home-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.snt-home-feature {
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(255, 106, 0, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.snt-home-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 106, 0, 0.15);
  border-color: var(--cta);
}

.snt-home-feature-icon {
  font-size: 3.5em;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(255, 106, 0, 0.2));
}

.snt-home-feature h3 {
  font-size: 1.4em;
  color: var(--text);
  margin: 0 0 15px 0;
  font-weight: 800;
}

.snt-home-feature p {
  font-size: 1em;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ========== STATS SECTION ========== */
.snt-home-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 80px 0;
  padding: 50px;
  background: linear-gradient(135deg, #ffe0b2 0%, #fff3e0 100%);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(255, 183, 77, 0.2);
}

.snt-home-stat {
  text-align: center;
  padding: 20px;
}

.snt-home-stat-number {
  font-size: 3em;
  color: var(--cta);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1;
}

.snt-home-stat-label {
  font-size: 1em;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== TESTIMONIALS ========== */
.snt-home-testimonials {
  margin: 100px 0;
}

.snt-home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.snt-home-testimonial {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  border: 2px solid rgba(255, 106, 0, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.snt-home-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 106, 0, 0.15);
  border-color: var(--cta);
}

.snt-home-testimonial-stars {
  font-size: 1.2em;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(255, 200, 0, 0.3));
}

.snt-home-testimonial p {
  font-size: 1.05em;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0 0 20px 0;
  font-style: italic;
}

.snt-home-testimonial-author {
  font-size: 0.95em;
  color: var(--cta);
  font-weight: 700;
}

/* ========== FINAL CTA ========== */
.snt-home-final-cta {
  text-align: center;
  margin: 100px 0;
  padding: 80px 40px;
  background: linear-gradient(135deg, #fff8f0 0%, #ffe8cc 100%);
  border-radius: 30px;
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
}

.snt-home-final-cta h2 {
  font-size: 3em;
  color: var(--text);
  margin: 0 0 20px 0;
  font-weight: 800;
}

.snt-home-final-cta p {
  font-size: 1.2em;
  color: #666;
  margin: 0 0 40px 0;
  line-height: 1.7;
}

.snt-home-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ========== PAYMENT METHODS ========== */
.snt-home-payment {
  text-align: center;
  margin: 80px 0 60px;
  padding: 50px 40px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.1);
}

.snt-home-payment-title {
  font-size: 1.8em;
  color: var(--text);
  margin: 0 0 30px 0;
  font-weight: 700;
}

.snt-home-payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.snt-home-payment-logos img {
  height: 36px;
  opacity: 0.8;
  filter: grayscale(100%) brightness(0.9);
  transition: all 0.3s ease;
}

.snt-home-payment-logos img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
}

/* ========== MODAL ========== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2em;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  padding: 5px 10px;
}

.modal-close:hover {
  color: var(--cta);
}

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

.modal-header img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.modal-header h3 {
  font-size: 1.8em;
  color: var(--text);
  margin: 0;
  font-weight: 800;
}

.modal-box p {
  text-align: center;
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-box label {
  font-size: 0.9em;
  color: var(--text);
  font-weight: 600;
  margin-bottom: -10px;
}

.modal-box input,
.modal-box textarea {
  padding: 14px 18px;
  border: 2px solid #e6edf3;
  border-radius: 12px;
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s ease;
}

.modal-box input:focus,
.modal-box textarea:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

.modal-box textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-cta-primary {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--cta) 0%, #ff8b1f 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.25);
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, var(--cta-hover) 0%, #e37a00 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.35);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .snt-home-hero h1 {
    font-size: 3em;
  }

  .snt-home-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .snt-home-container {
    padding: 40px 15px 20px;
  }

  .snt-home-hero {
    padding: 20px 10px 40px;
    margin-bottom: 50px;
  }

  .snt-home-hero h1 {
    font-size: 2.2em;
  }

  .snt-home-hero-subtitle {
    font-size: 1.1em;
  }

  .snt-home-hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .snt-btn-primary,
  .snt-btn-secondary {
    width: 100%;
    padding: 16px 30px;
  }

  .snt-home-hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .snt-home-hero-meta-item {
    width: 100%;
    justify-content: center;
  }

  .snt-home-section-header h2 {
    font-size: 2em;
  }

  .snt-home-products-grid,
  .snt-home-services-grid,
  .snt-home-features-grid,
  .snt-home-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .snt-home-all-services {
    padding: 40px 0;
  }

  .snt-home-services-grid {
    padding: 0 20px;
  }

  .snt-home-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 20px;
  }

  .snt-home-stat-number {
    font-size: 2.5em;
  }

  .snt-home-final-cta {
    padding: 50px 25px;
  }

  .snt-home-final-cta h2 {
    font-size: 2em;
  }

  .snt-home-cta-buttons {
    flex-direction: column;
  }

  .modal-box {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .snt-home-hero h1 {
    font-size: 1.8em;
  }

  .snt-home-product-title {
    font-size: 1.5em;
  }

  .snt-home-price-amount {
    font-size: 2.5em;
  }

  .snt-home-stats {
    grid-template-columns: 1fr;
  }

  .snt-home-payment-logos {
    gap: 20px;
  }

  .snt-home-payment-logos img {
    height: 28px;
  }
}

/* ========== SMOOTH SCROLL ========== */
html {
  scroll-behavior: smooth;
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}