* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark-bg: #0f0e17;
  --purple: #a855f7;
  --purple-dark: #9333ea;
  --text-light: #ffffff;
  --text-secondary: #b0b0b0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Binary rain canvas — fixed overlay, pointer-events off so clicks pass through */
#binary-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(15, 14, 23, 0.95);
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  color: var(--purple);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.logo img { height: 36px; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--purple); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 50px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(15, 14, 23, 0) 50%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float { 0%,100% { transform: translateY(0px);} 50% { transform: translateY(30px);} }

.hero-content { max-width: 800px; z-index: 1; text-align: center; }

.hero-content h1 {
  font-size: 72px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--purple), var(--text-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p { font-size: 20px; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.8; }

.cta-button {
  display: inline-block;
  padding: 15px 50px;
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.4s;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--purple);
  z-index: -1;
  transition: left 0.4s;
}

.cta-button:hover { color: var(--text-light); box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }
.cta-button:hover::before { left: 0; }

/* Features Section */
.features { padding: 100px 50px; background: linear-gradient(135deg, rgba(15, 14, 23, 1), rgba(30, 20, 50, 1)); }
.section-title { font-size: 48px; margin-bottom: 80px; text-align: center; position: relative; padding-bottom: 20px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background: linear-gradient(90deg, transparent, var(--purple), transparent); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto; }

.feature-card { padding: 40px; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 4px; background: rgba(168, 85, 247, 0.02); transition: all 0.4s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--purple); transform: scaleY(0); transform-origin: top; transition: transform 0.4s; }
.feature-card:hover { border-color: var(--purple); box-shadow: 0 0 30px rgba(168, 85, 247, 0.2); background: rgba(168, 85, 247, 0.05); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-icon { width: 60px; height: 60px; background: rgba(168, 85, 247, 0.1); border: 2px solid var(--purple); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 32px; }
.feature-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--purple); }
.feature-card p { color: var(--text-secondary); line-height: 1.8; }

/* Contact Section */
.contact { padding: 100px 50px; text-align: center; background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(15, 14, 23, 0) 100%); }
.contact-content { max-width: 600px; margin: 0 auto; }
.contact-content h2 { font-size: 48px; margin-bottom: 30px; }
.contact-content p { font-size: 18px; color: var(--text-secondary); margin-bottom: 50px; }

/* Contact Info */
.contact-info { margin: 30px 0; }
.contact-info p { margin: 12px 0; font-size: 18px; }
.contact-info a { color: var(--purple); text-decoration: none; transition: 0.3s; }
.contact-info a:hover { text-decoration: underline; text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }

/* Footer */
footer { padding: 60px 50px 40px; border-top: 1px solid rgba(168, 85, 247, 0.1); color: var(--text-secondary); background: rgba(15, 14, 23, 0.9); }

.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 40px; }

.footer-section h4 { color: var(--purple); margin-bottom: 15px; font-size: 18px; }
.footer-section p { margin: 10px 0; line-height: 1.8; }
.footer-section a { color: var(--purple); text-decoration: none; transition: 0.3s; }
.footer-section a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 20px; margin-top: 15px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--purple); border-radius: 4px; color: var(--purple); transition: all 0.3s; }
.social-links a:hover { background: var(--purple); color: var(--dark-bg); box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(168, 85, 247, 0.1); }

/* Pricing Section */
.pricing { padding: 100px 50px; background: linear-gradient(135deg, rgba(15, 14, 23, 1), rgba(30, 20, 50, 1)); }

.pricing-intro { text-align: center; max-width: 600px; margin: 0 auto 60px; font-size: 18px; color: var(--text-secondary); }

.pricing-category { margin-bottom: 80px; }

.category-title { font-size: 32px; margin-bottom: 40px; text-align: center; color: var(--text-light); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }

.pricing-card { padding: 30px; border: 2px solid rgba(168, 85, 247, 0.2); border-radius: 8px; background: rgba(168, 85, 247, 0.03); transition: all 0.3s; position: relative; display: flex; flex-direction: column; }

.pricing-card:hover { border-color: var(--purple); box-shadow: 0 0 30px rgba(168, 85, 247, 0.3); transform: translateY(-5px); }

.pricing-card.featured { border: 2px solid var(--purple); background: rgba(168, 85, 247, 0.1); box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }

.badge { position: absolute; top: -12px; right: 20px; background: var(--purple); color: white; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; }

.pricing-card h4 { font-size: 22px; margin-bottom: 12px; color: var(--text-light); }

.price { font-size: 36px; font-weight: 700; color: var(--purple); margin-bottom: 8px; }
.price span { font-size: 18px; }

.features-list { list-style: none; margin: 20px 0 30px 0; flex-grow: 1; }
.features-list li { padding: 10px 0; color: var(--text-secondary); border-bottom: 1px solid rgba(168, 85, 247, 0.1); }
.features-list li:before { content: "✓ "; color: var(--purple); font-weight: bold; margin-right: 8px; }

.stripe-btn { padding: 12px 30px; background: var(--purple); border: none; color: white; border-radius: 6px; font-weight: 600; cursor: pointer; transition: all 0.3s; width: 100%; font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; }

.stripe-btn:hover { background: var(--purple-dark); box-shadow: 0 0 15px rgba(168, 85, 247, 0.5); transform: scale(1.02); }

.pricing-note { text-align: center; margin-top: 60px; padding: 30px; background: rgba(168, 85, 247, 0.05); border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px; max-width: 600px; margin-left: auto; margin-right: auto; }

.pricing-note p { font-size: 16px; margin: 0; }
.pricing-note a { color: var(--purple); text-decoration: none; font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* About Section */
.about { padding: 100px 50px; background: linear-gradient(135deg, rgba(15, 14, 23, 1), rgba(30, 20, 50, 1)); }
.about-content { max-width: 900px; margin: 0 auto; }
.about-text h2 { font-size: 48px; margin-bottom: 30px; color: var(--text-light); }
.about-text p { font-size: 18px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.8; }
.about-text strong { color: var(--purple); }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.stat { text-align: center; padding: 30px; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px; }
.stat h3 { font-size: 36px; color: var(--purple); margin-bottom: 10px; }
.stat p { color: var(--text-secondary); font-size: 16px; }

/* Testimonials Section */
.testimonials { padding: 100px 50px; background: linear-gradient(135deg, rgba(30, 20, 50, 1), rgba(15, 14, 23, 1)); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto 50px; }

.testimonial-card { padding: 30px; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px; background: rgba(168, 85, 247, 0.03); transition: all 0.3s; }
.testimonial-card:hover { border-color: var(--purple); background: rgba(168, 85, 247, 0.08); box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }

.stars { font-size: 20px; color: var(--purple); margin-bottom: 15px; letter-spacing: 2px; }
.testimonial-text { font-size: 16px; color: var(--text-secondary); margin-bottom: 15px; line-height: 1.8; font-style: italic; }
.testimonial-author { color: var(--purple); font-weight: 600; font-size: 14px; }

.cta-section { text-align: center; margin-top: 50px; }
.cta-section p { font-size: 18px; color: var(--text-secondary); }
.link-btn { color: var(--purple); text-decoration: none; font-weight: 600; transition: 0.3s; }
.link-btn:hover { text-decoration: underline; text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }

/* FAQ Section */
.faq { padding: 100px 50px; background: linear-gradient(135deg, rgba(15, 14, 23, 1), rgba(30, 20, 50, 1)); }
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item { margin-bottom: 15px; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; padding: 20px; background: rgba(168, 85, 247, 0.05); border: none; color: var(--text-light); font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.faq-question:hover { background: rgba(168, 85, 247, 0.1); }
.faq-question.active { background: rgba(168, 85, 247, 0.2); }

.faq-icon { font-weight: 700; color: var(--purple); transition: 0.3s; }
.faq-question.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.show { max-height: 500px; }
.faq-answer p { padding: 20px; color: var(--text-secondary); background: rgba(168, 85, 247, 0.02); line-height: 1.8; }

/* Contact Form Section */
.contact-section { padding: 100px 50px; background: linear-gradient(135deg, rgba(30, 20, 50, 1), rgba(15, 14, 23, 1)); }
.form-container { max-width: 600px; margin: 0 auto; }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 16px; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; padding: 12px; border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 6px; background: rgba(168, 85, 247, 0.05); color: var(--text-light); font-family: inherit; font-size: 14px; transition: all 0.3s; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--purple); background: rgba(168, 85, 247, 0.1); box-shadow: 0 0 10px rgba(168, 85, 247, 0.2); }

.form-group textarea { resize: vertical; }

.contact-section .cta-button { margin-top: 10px; }

/* Residential tech support callout — secondary, understated */
.also-available {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 22px 30px;
  border: 1px dashed rgba(168, 85, 247, 0.25);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.03);
  flex-wrap: wrap;
}

.also-icon { font-size: 28px; flex-shrink: 0; }

.also-text {
  flex: 1;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  min-width: 200px;
}

.also-text strong { color: var(--text-light); }

.also-link {
  color: var(--purple);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
}

.also-link:hover { text-decoration: underline; text-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }

/* Two-column pricing grid for base packages */
.pricing-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  justify-content: center;
}

/* Add-ons section */
.addon-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.addon-card {
  padding: 25px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.03);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.addon-card:hover {
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  transform: translateY(-3px);
}

.addon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.addon-icon { font-size: 26px; }

.addon-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
}

.addon-card h4 {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.addon-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 18px;
}

/* Active nav link (scroll-driven) */
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after { width: 100%; }

/* Inline form success state */
.form-success {
  padding: 50px 30px;
  text-align: center;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.06);
  animation: fadeIn 0.4s ease;
}
.form-success h3 { font-size: 28px; color: var(--purple); margin-bottom: 15px; }
.form-success p { color: var(--text-secondary); font-size: 16px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 768px) {
  nav { flex-direction: column; gap: 20px; padding: 20px; }
  .nav-links { flex-direction: column; gap: 15px; text-align: center; }
  .hero-content h1 { font-size: 48px; }
  .section-title { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 80px 20px; }
  .features { padding: 60px 20px; }
  .contact { padding: 60px 20px; }
  .about { padding: 60px 20px; }
  .about-stats { grid-template-columns: 1fr; }
  .testimonials { padding: 60px 20px; }
  .faq { padding: 60px 20px; }
  .contact-section { padding: 60px 20px; }
  .pricing { padding: 60px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: 14px; padding: 15px; }
}
