/* ============================================
   SmartFix Versicherung — Stylesheet
   Brand: Handywerkstatt/Handyshop Insurance
   Palette: Electric Blue + Neon Cyan + Dark + Accent Green
   Fonts: JetBrains Mono (Headings) + Plus Jakarta Sans (Body)
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  --primary: #2ea3f2;
  --primary-hover: #1a8cd8;
  --cyan: #06b6d4;
  --green: #10b981;
  --bg-dark: #0a0a0a;
  --bg-dark-alt: #0f1118;
  --bg-footer: #1a1a2e;
  --bg-white: #ffffff;
  --bg-light: #f5f5f5;
  --text: #666666;
  --text-dark: #555555;
  --text-heading: #333333;
  --error: #ef4444;
  --success: #22c55e;
  --border: #e5e5e5;
  --content-width: 1080px;
  --section-padding: 56px;
  --radius: 4px;

  /* Typography — keep Open Sans as default for subpages */
  --font-heading: 'Open Sans', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5em;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
  font-family: var(--font-body);
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1rem;
}

/* === LAYOUT === */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background: var(--bg-light);
}

.section--dark {
  background: var(--bg-footer);
  color: #ffffff;
}

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

/* === HEADER / NAVIGATION === */
.header {
  background: #0a0a0a;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(46, 163, 242, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

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

.nav__list {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.nav__link {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__link:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
}

.nav__link--active {
  color: var(--primary);
}

.nav__cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  margin-left: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}

.nav__cta:hover {
  background: var(--primary-hover);
  text-decoration: none;
  box-shadow: 0 0 16px rgba(46, 163, 242, 0.3);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn--white {
  background: #ffffff;
  color: var(--bg-dark);
}

.btn--white:hover {
  background: #f0f0f0;
  color: var(--bg-dark);
}

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

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

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

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
}

/* Product card variant */
.product-card {
  border-left: 4px solid var(--primary);
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1rem 0;
}

.product-card ul {
  margin-bottom: 1.5rem;
}

.product-card li {
  margin-bottom: 0.4rem;
}

/* === TABLES === */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--bg-light);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(46, 163, 242, 0.04);
}

.table--tariff th:nth-child(2),
.table--tariff td:nth-child(2) {
  background: rgba(46, 163, 242, 0.05);
}

.table--tariff th:nth-child(3),
.table--tariff td:nth-child(3) {
  background: rgba(46, 163, 242, 0.1);
}

/* === STEPS / PROCESS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

/* === FAQ / ACCORDION === */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text);
  line-height: 1.7;
}

/* === TESTIMONIALS === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: relative;
}

.testimonial__stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.testimonial blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial__author {
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1a8cd8 100%);
  color: #ffffff;
  text-align: center;
  padding: 56px 24px;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

.section .breadcrumb {
  color: var(--text);
  padding: 0 0 16px;
}

.section .breadcrumb a {
  color: var(--text);
}

.section .breadcrumb a:hover {
  color: var(--primary);
}

/* === ARTICLE CONTENT === */
.article {
  max-width: 780px;
  margin: 0 auto;
}

.article h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article h3 {
  margin-top: 1.5rem;
}

.article ul, .article ol {
  margin-bottom: 1rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: rgba(46, 163, 242, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Key facts box */
.key-facts {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.key-facts h3 { margin-top: 0; }
.key-facts ul { margin-bottom: 0; }

/* Tip box */
.tip-box {
  background: rgba(34, 197, 94, 0.08);
  border-left: 4px solid var(--success);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.tip-box strong { color: var(--text-heading); }

/* Warning box */
.warning-box {
  background: rgba(239, 68, 68, 0.06);
  border-left: 4px solid var(--error);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* Author bio */
.author-bio {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 8px;
  margin-top: 3rem;
  align-items: flex-start;
}

.author-bio__info h4 { margin-bottom: 0.3rem; }
.author-bio__info p { font-size: 0.9rem; margin-bottom: 0; }

/* Table of Contents */
.toc {
  background: var(--bg-light);
  padding: 24px 28px;
  border-radius: 8px;
  margin: 1.5rem 0 2rem;
}

.toc h3 { margin-top: 0; font-size: 1rem; }
.toc ol { margin-bottom: 0; }
.toc li { margin-bottom: 0.3rem; }
.toc a { color: var(--text); font-size: 0.95rem; }
.toc a:hover { color: var(--primary); }

/* === FOOTER === */
.footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer h4, .footer h3 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li { margin-bottom: 0.5rem; }

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer__contact a { color: var(--primary); }
.footer__contact .btn { color: #ffffff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  text-align: center;
}

/* === CONTACT FORM === */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

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

/* === INTERNAL LINKS === */
.related-links {
  background: var(--bg-light);
  padding: 32px 28px;
  border-radius: 8px;
  margin-top: 2rem;
}

.related-links h3 { margin-top: 0; }
.related-links ul { list-style: none; padding: 0; margin: 0; }
.related-links li { margin-bottom: 0.6rem; }
.related-links a { font-weight: 500; }

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.trust-bar__item { text-align: center; }

.trust-bar__stars {
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: #fbbf24;
}

.trust-bar__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --section-padding: 40px;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero__image { display: none; }

  .nav__list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0a0a0a;
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav__list.active { display: flex; }
  .nav__link { padding: 12px 0; display: block; }
  .nav__cta { margin-left: 0; margin-top: 8px; display: inline-block; }
  .nav__toggle { display: block; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .table-wrapper { font-size: 0.85rem; }
  th, td { padding: 8px 12px; }
  .author-bio { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.6rem; }
  .btn--large { padding: 14px 28px; font-size: 16px; }
  .trust-bar { flex-direction: column; gap: 16px; }
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: 3rem;
  }
}


/* ============================================
   HOMEPAGE-SPECIFIC STYLES
   Only active when body.homepage is present
   "Tech Repair Lab" Design
   ============================================ */

/* Override fonts for homepage */
.homepage {
  --font-heading: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  font-family: var(--font-body);
}

.homepage h1, .homepage h2, .homepage h3, .homepage h4 {
  font-family: var(--font-body);
}

/* --- Dark alt section for homepage --- */
.homepage .section--dark-alt {
  background: var(--bg-dark-alt);
  color: #c8ccd4;
}

.homepage .section--dark-alt h2,
.homepage .section--dark-alt h3 {
  color: #ffffff;
}

.homepage .section--dark-alt p {
  color: #a0a6b4;
}

.homepage .section--dark-alt .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(46, 163, 242, 0.1);
  color: #c8ccd4;
}

.homepage .section--dark-alt .card h3 {
  color: #ffffff;
}

.homepage .section--dark-alt .card p {
  color: #a0a6b4;
}

.homepage .section--dark-alt .step::before {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(46, 163, 242, 0.3);
}

.homepage .section--dark-alt .faq-item {
  border-color: rgba(255,255,255,0.08);
}

.homepage .section--dark-alt .faq-question {
  color: #e0e4ec;
}

.homepage .section--dark-alt .faq-answer p {
  color: #a0a6b4;
}

/* --- Hero: Tech Repair Lab --- */
.homepage .hero--tech {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

/* Circuit board pattern overlay */
.homepage .hero--tech::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(46, 163, 242, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 163, 242, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Glowing orbs */
.homepage .hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.homepage .hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 163, 242, 0.15) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation: orbFloat1 12s ease-in-out infinite;
}

.homepage .hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  animation: orbFloat2 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

/* Scanline effect */
.homepage .hero__scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(46, 163, 242, 0.01) 2px,
    rgba(46, 163, 242, 0.01) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.homepage .hero--tech .container {
  position: relative;
  z-index: 1;
}

/* Hero tag */
.homepage .hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  width: fit-content;
}

.homepage .hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: techPulse 2s ease-in-out infinite;
}

@keyframes techPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* Hero title */
.homepage .hero__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.homepage .hero__typed-wrap {
  position: relative;
  display: inline;
}

.homepage .hero__typed {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.homepage .hero__typed-wrap::after {
  content: '_';
  color: var(--primary);
  animation: techBlink 1s step-end infinite;
  -webkit-text-fill-color: var(--primary);
}

@keyframes techBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.homepage .hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.homepage .hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.homepage .hero__bullets li {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  padding-left: 1.8em;
  position: relative;
  color: rgba(255,255,255,0.85);
}

.homepage .hero__bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.homepage .hero__trust {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.homepage .hero__trust-stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.homepage .hero__trust strong {
  color: #fbbf24;
}

.homepage .hero__image img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(46, 163, 242, 0.1);
}

/* Hero grid */
.homepage .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .homepage .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: 4rem;
  }

  .homepage .hero__title {
    font-size: 3.2rem;
  }
}

/* --- Hero fade-up animations --- */
.homepage .tech-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: techFadeUp 0.7s ease forwards;
}

.homepage .tech-delay-1 { animation-delay: 0.12s; }
.homepage .tech-delay-2 { animation-delay: 0.24s; }
.homepage .tech-delay-3 { animation-delay: 0.36s; }

@keyframes techFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Scroll reveal --- */
.homepage .tech-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.homepage .tech-reveal.tech-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Tech Cards: neon border glow on hover --- */
.homepage .tech-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.homepage .tech-card:hover {
  border-color: rgba(46, 163, 242, 0.3);
  box-shadow: 0 0 24px rgba(46, 163, 242, 0.08), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

/* Neon top accent line on hover */
.homepage .tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--green));
  transition: width 0.4s ease;
  border-radius: 6px 6px 0 0;
}

.homepage .tech-card:hover::before {
  width: 100%;
}

/* Dark section cards */
.homepage .section--dark-alt .tech-card {
  border-color: rgba(46, 163, 242, 0.08);
  background: rgba(255,255,255,0.03);
}

.homepage .section--dark-alt .tech-card:hover {
  border-color: rgba(46, 163, 242, 0.25);
  box-shadow: 0 0 30px rgba(46, 163, 242, 0.1), 0 8px 24px rgba(0,0,0,0.2);
}

/* --- Tech Testimonials --- */
.homepage .tech-testimonial {
  border: 1px solid var(--border);
}

.homepage .tech-testimonial:hover {
  border-color: rgba(46, 163, 242, 0.2);
  box-shadow: 0 0 20px rgba(46, 163, 242, 0.06);
}

/* --- Tech Steps: glowing numbered circles --- */
.homepage .tech-steps .step::before {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 20px rgba(46, 163, 242, 0.3);
  font-family: var(--font-heading);
}

/* --- Product cards in dark sections --- */
.homepage .section--dark-alt .product-card {
  border-left-color: var(--primary);
}

.homepage .section--dark-alt .product-card .product-card__price {
  color: var(--cyan);
}

.homepage .section--dark-alt .product-card .btn--outline {
  color: var(--cyan);
  border-color: var(--cyan);
}

.homepage .section--dark-alt .product-card .btn--outline:hover {
  background: var(--cyan);
  color: var(--bg-dark);
}

/* --- Button glow effect --- */
.homepage .btn--glow {
  position: relative;
}

.homepage .btn--glow:hover {
  box-shadow: 0 0 24px rgba(46, 163, 242, 0.35);
}

/* --- CTA Banner: Tech variant --- */
.homepage .cta-banner--tech {
  background: linear-gradient(135deg, #0f1118 0%, #0a1628 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.homepage .cta-banner--tech::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 163, 242, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.homepage .cta-banner--tech h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

/* --- Section heading accent for homepage --- */
.homepage .tech-section h2 {
  position: relative;
}

/* --- FAQ in dark sections --- */
.homepage .section--dark-alt .faq-question::after {
  color: var(--cyan);
}

.homepage .section--dark-alt .faq-question:hover {
  color: var(--cyan);
}

@media (max-width: 768px) {
  .homepage .hero--tech {
    padding: 56px 0 48px;
  }

  .homepage .hero__title {
    font-size: 2rem;
  }

  .homepage .hero__image {
    display: none;
  }

  .homepage .cta-banner--tech h2 {
    font-size: 1.4rem;
  }

  .homepage .hero__tag {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .homepage .hero__title {
    font-size: 1.6rem;
  }
}