/* ============================================
   TITANTOP ROOFING — HOME PAGE STYLES
   ============================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
  padding: 8rem var(--container-pad) 4rem;
}
.hero__blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  flex: 1;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.dot {
  width: 6px; height: 6px;
  background: var(--acid);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.5vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero__title-line {
  display: block;
  color: var(--text-primary);
  transition: transform 0.1s linear;
}
.hero__title-line--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--acid);
  text-stroke: 2px var(--acid);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero__stats {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-primary);
  line-height: 1;
}
.stat__num sup {
  font-size: 1rem;
  color: var(--acid);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── HERO VISUAL ── */
.hero__visual {
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
  width: 280px;
}
.hero__card {
  padding: 1.4rem;
  border-radius: 4px;
  animation: cardFloat 6s ease-in-out infinite;
}
.hero__card--main { animation-delay: 0s; }
.hero__card--secondary { animation-delay: -2s; }
.hero__card--tertiary { animation-delay: -4s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--acid);
  margin-bottom: 0.8rem;
}
.card__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}
.card__bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.card__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--acid));
  border-radius: 2px;
  animation: barGrow 2s cubic-bezier(0.23,1,0.32,1) forwards;
}
@keyframes barGrow {
  from { width: 0 !important; }
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.card__icon {
  font-size: 2rem;
  color: var(--indigo-glow);
  margin-bottom: 0.5rem;
}
.hero__card--secondary .card__value { color: var(--acid); }
.hero__card--tertiary .card__value {
  font-size: 2.5rem;
  color: var(--acid);
}

/* ── SCROLL INDICATOR ── */
.hero__scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}
.hero__scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── SERVICES BENTO ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-card {
  padding: 2.5rem 2rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1);
  border: 1px solid var(--glass-border);
}
.bento-card:hover {
  border-color: var(--acid);
  background: rgba(223,225,4,0.04);
  transform: translate(-3px,-3px);
  box-shadow: 6px 6px 0 var(--acid);
}
.bento-card--large { grid-column: 1 / 2; grid-row: 1 / 3; }
.bento-card--wide { grid-column: 2 / 4; }
.bento-card__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--acid);
  margin-bottom: 1.5rem;
}
.bento-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.bento-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.bento-card__arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.bento-card:hover .bento-card__arrow {
  color: var(--acid);
  transform: translate(4px, -4px);
}
.bento-card__bg-icon {
  position: absolute;
  bottom: -20px; right: -10px;
  font-size: 8rem;
  opacity: 0.04;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bento-card:hover .bento-card__bg-icon { opacity: 0.08; }
.services-bento__cta { text-align: center; margin-top: 3rem; }

/* ── Why TITANTOP ── */
.why-TITANTOP {
  background: var(--bg-1);
  overflow: hidden;
}
.why-TitanTop__bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: 30vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: 0.1em;
  white-space: nowrap;
  z-index: 0;
}
.why-TITANTOP .container { position: relative; z-index: 1; }
.why-TitanTop__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
.why-TitanTop__body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-top: 2rem;
}
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1);
}
.feature-item:hover {
  border-color: var(--indigo-glow);
  transform: translateX(4px);
}
.feature-item__icon {
  font-size: 1.5rem;
  color: var(--acid);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.feature-item__content h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.feature-item__content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── PROCESS ── */
.process { background: var(--bg-0); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--indigo-dim), var(--acid), var(--indigo-dim), transparent);
  z-index: 0;
}
.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.process__step-num {
  width: 5rem; height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--acid);
  border: 1px solid var(--acid);
  transition: all 0.25s ease;
}
.process__step:hover .process__step-num {
  background: var(--acid);
  color: #000;
  box-shadow: 4px 4px 0 rgba(223,225,4,0.3);
  transform: translate(-2px,-2px);
}
.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.process__step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg-2); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  padding: 2.5rem;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.23,1,0.32,1);
}
.testimonial:hover {
  border-color: var(--indigo-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(79,70,229,0.2);
}
.testimonial__stars {
  color: var(--acid);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.testimonial__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}
.testimonial__author { display: flex; align-items: center; gap: 1rem; }
.testimonial__avatar {
  width: 44px; height: 44px;
  background: var(--indigo-dim);
  border: 1px solid var(--indigo-glow);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--indigo-glow);
}
.testimonial__name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--bg-1);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-strip__blob {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(60px);
}
.cta-strip__content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}
.cta-strip__actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}
.cta-strip__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero__visual { display: none; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--large { grid-column: 1; grid-row: auto; }
  .bento-card--wide { grid-column: 1 / -1; }
  .why-TitanTop__layout { grid-template-columns: 1fr; gap: 3rem; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--large, .bento-card--wide { grid-column: 1; grid-row: auto; }
  .process__steps { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .cta-strip__content { flex-direction: column; align-items: flex-start; }
}

