/**
 * Premium Implementations
 * Typography, depth, motion, micro-interactions, section dividers
 */

/* ========== 1. TYPOGRAPHY ========== */
:root {
  --font-display: 'Syne', 'Plus Jakarta Sans', sans-serif;
}

body.premium-site {
  line-height: 1.65;
}

h1, h2, h3, .title, .sectionTitle, .aboutTitle, .aboutIntroTitle {
  letter-spacing: -0.03em;
}

.title,
.heroLeft .title,
.sectionTitle {
  font-family: var(--font-display);
  font-weight: 700;
}

.aboutTitle {
  font-family: var(--font-display);
}

/* Header value prop: subtle bar (desktop only) */
.headerValueProp {
  display: none;
  margin: 0;
  padding: 6px 24px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--corp-text-muted, rgba(255,255,255,0.6));
  text-align: center;
  border-bottom: 1px solid var(--corp-border, rgba(255,255,255,0.08));
  background: rgba(0,0,0,0.2);
}

@media (min-width: 1025px) {
  .headerValueProp {
    display: block;
  }
  .header {
    display: flex;
    flex-direction: column;
  }
  .header .headerContent {
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) {
  .headerValueProp {
    display: none !important;
  }
}

/* ========== 2. VISUAL DEPTH: NOISE OVERLAY ========== */
body.premium-site {
  position: relative;
}

body.premium-site::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
  position: relative;
  z-index: 1;
}

/* ========== 3. SECTION DIVIDERS (gradient lines) ========== */
.sectionDivider {
  height: 1px;
  margin: 0 auto;
  max-width: 1200px;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 116, 144, 0.35) 20%, rgba(14, 116, 144, 0.5) 50%, rgba(14, 116, 144, 0.35) 80%, transparent 100%);
  opacity: 0.8;
}

.section + .sectionDivider,
section + .sectionDivider,
.aboutIntro + .sectionDivider {
  margin-top: 0;
  margin-bottom: 0;
}

/* ========== 4. MOTION: STAGGERED HERO REVEAL ========== */
.reveal-hero .heroBadge,
.reveal-hero .title,
.reveal-hero .subtitle,
.reveal-hero .heroStats,
.reveal-hero .heroCtaWrap,
.reveal-hero .heroRight > * {
  opacity: 0;
  transform: translateY(24px);
  animation: premiumReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.reveal-hero .heroBadge { animation-delay: 0.1s; }
.reveal-hero .title { animation-delay: 0.2s; }
.reveal-hero .subtitle { animation-delay: 0.35s; }
.reveal-hero .heroStats { animation-delay: 0.5s; }
.reveal-hero .heroCtaWrap { animation-delay: 0.65s; }
.reveal-hero .heroRight > * { animation-delay: 0.5s; }

@keyframes premiumReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .reveal-hero .heroBadge,
  .reveal-hero .title,
  .reveal-hero .subtitle,
  .reveal-hero .heroStats,
  .reveal-hero .heroCtaWrap,
  .reveal-hero .heroRight > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Staggered card reveal on scroll (optional: add .reveal-cards to section) */
.reveal-cards .industryCard,
.reveal-cards .serviceCard,
.reveal-cards .aboutValueCard {
  opacity: 0;
  transform: translateY(20px);
  animation: premiumReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.reveal-cards .industryCard:nth-child(1),
.reveal-cards .serviceCard:nth-child(1),
.reveal-cards .aboutValueCard:nth-child(1) { animation-delay: 0.05s; }
.reveal-cards .industryCard:nth-child(2),
.reveal-cards .serviceCard:nth-child(2),
.reveal-cards .aboutValueCard:nth-child(2) { animation-delay: 0.1s; }
.reveal-cards .industryCard:nth-child(3),
.reveal-cards .serviceCard:nth-child(3),
.reveal-cards .aboutValueCard:nth-child(3) { animation-delay: 0.15s; }
.reveal-cards .industryCard:nth-child(4),
.reveal-cards .serviceCard:nth-child(4),
.reveal-cards .aboutValueCard:nth-child(4) { animation-delay: 0.2s; }
.reveal-cards .industryCard:nth-child(5),
.reveal-cards .serviceCard:nth-child(5),
.reveal-cards .aboutValueCard:nth-child(5) { animation-delay: 0.25s; }
.reveal-cards .industryCard:nth-child(6),
.reveal-cards .serviceCard:nth-child(6),
.reveal-cards .aboutValueCard:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-cards .industryCard,
  .reveal-cards .serviceCard,
  .reveal-cards .aboutValueCard {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Smooth scroll (reinforce) */
html {
  scroll-behavior: smooth;
}

/* ========== 5. MICRO-INTERACTIONS ========== */
/* Button active pulse */
.contactButton:active,
.ctaButton:active,
.formButton.primary:active,
.enquiryButton:active {
  animation: premiumBtnPulse 0.4s ease;
}

@keyframes premiumBtnPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* Form focus ring */
.formInput:focus,
.formSelect:focus,
.formTextarea:focus,
.newsletterInput:focus,
.verificationInput:focus,
.exitIntentForm input:focus,
.exitIntentForm textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.35);
}

/* Footer link hover (complement existing styles) */
.footerLink {
  transition: color 0.2s ease;
}

/* ========== 6. CLIENT LOGO STRIP ========== */
.clientsStrip {
  padding: 2.5rem 24px;
  background: var(--corp-bg-elevated, #14141c);
  border-top: 1px solid var(--corp-border, rgba(255,255,255,0.08));
  border-bottom: 1px solid var(--corp-border, rgba(255,255,255,0.08));
}

.clientsStripInner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.clientsStripLabel {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--corp-text-muted, #9ca3af);
  margin-bottom: 1.25rem;
}

.clientsStripLogos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
}

.clientsStripLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  color: var(--corp-text-muted, #9ca3af);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.25s ease, color 0.25s ease;
}

.clientsStripLogo:hover {
  filter: grayscale(0) opacity(1);
  color: var(--corp-text, #f5f5f7);
}

.clientsStripLogo img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .clientsStrip {
    padding: 1.75rem 20px;
  }
  .clientsStripLogos {
    gap: 1.5rem;
  }
  .clientsStripLogo {
    height: 28px;
    font-size: 0.9rem;
  }
}

/* ========== 7. TESTIMONIAL BLOCK ========== */
.testimonialBlock {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 24px;
  text-align: center;
}

.testimonialQuote {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--corp-text, #f5f5f7);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonialQuote::before {
  content: '"';
}
.testimonialQuote::after {
  content: '"';
}

.testimonialAuthor {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--corp-text, #f5f5f7);
  margin-bottom: 0.25rem;
}

.testimonialRole {
  font-size: 0.8125rem;
  color: var(--corp-text-muted, #9ca3af);
}

@media (max-width: 768px) {
  .testimonialBlock {
    padding: 3rem 20px;
  }
  .testimonialQuote {
    font-size: 1.15rem;
  }
}
