/* ============================================
   KONTENT MEDIA — HOMEPAGE SPECIFIC STYLES
   Cinematic Upgrade v2
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.home-hero {
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Layered cinematic background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 72% 40%, rgba(0, 161, 155, 0.11) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 15% 90%, rgba(0, 161, 155, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(255,255,255,0.02) 0%, transparent 60%),
    #0a0a0a;
  will-change: transform;
}

/* Fine grid overlay — now full bleed */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Vignette over grid for cinematic depth */
.hero-grid-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(0,0,0,0.7) 100%);
}

/* Left vertical accent line */
.home-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0,161,155,0.4) 30%, rgba(0,161,155,0.4) 70%, transparent);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 240px);
}

/* EYEBROW — now with pill border */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  flex-shrink: 0;
  animation: live-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(0,161,155,0.5);
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,161,155,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(0,161,155,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,161,155,0); }
}

/* HEADLINE — refined line-height and size */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 7.8vw, 108px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
}

.hero-headline .headline-accent {
  -webkit-text-stroke: 2px var(--mint);
  color: transparent;
  display: inline-block;
  position: relative;
  transition: color 0.4s;
}

.hero-headline .headline-accent:hover {
  color: var(--mint);
  -webkit-text-stroke: 0;
}

/* Sub copy */
.hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  max-width: 440px;
  width: 100%;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Micro trust proof — enhanced */
.hero-micro-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}

.hero-micro-proof::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--mint), transparent);
  animation: scroll-line-anim 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scroll-line-anim {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.scroll-indicator span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 282px;
  background: #111;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px;
  box-shadow:
    0 60px 100px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}

/* Phone notch */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  background: #0a0a0a;
  border-radius: 28px;
  overflow: hidden;
  min-height: 500px;
}

.phone-content {
  padding: 36px 20px 20px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.phone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.phone-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

.phone-status {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  margin-top: 1px;
}

.phone-media {
  background: linear-gradient(145deg, #0e1a1a 0%, #001e1e 40%, rgba(0,161,155,0.18) 100%);
  border-radius: 14px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0,161,155,0.15);
}

.phone-media::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.phone-media-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  z-index: 1;
}

.phone-media-inner span {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

.phone-media-inner span:nth-child(2) {
  color: var(--mint);
}

/* Play button overlay */
.phone-play {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  font-size: 12px;
}

.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.phone-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 11px 6px;
  text-align: center;
}

.ps-num {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}

.ps-label {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Engagement bar */
.phone-engagement {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pe-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.pe-bar-wrap {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin: 0 10px;
  overflow: hidden;
}

.pe-bar {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--mint), rgba(0,161,155,0.4));
  border-radius: 4px;
  animation: bar-fill 2s ease-out forwards 1s;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes bar-fill {
  to { transform: scaleX(1); }
}

.pe-percent {
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
}

/* ── FLOATING ANALYTICS CARDS ── */
.analytics-card {
  position: absolute;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.analytics-card--1 {
  top: 8%;
  left: -24px;
  animation: float1 4.5s ease-in-out infinite;
}

.analytics-card--2 {
  top: 44%;
  right: -36px;
  animation: float2 5.5s ease-in-out infinite 0.5s;
}

.analytics-card--3 {
  bottom: 12%;
  left: -14px;
  animation: float1 4s ease-in-out infinite 1.2s;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50%       { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50%       { transform: translateY(-10px) rotate(-0.5deg); }
}

.ac-icon { font-size: 22px; }

.ac-number {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}

.ac-label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ── POSITIONING STRIP ── */
.positioning-strip { background: var(--white); }

.positioning-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.positioning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

/* ── WHY SECTION ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

.why-item { display: flex; flex-direction: column; gap: 16px; }

.why-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
}

.why-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.1;
}

.why-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0,0,0,0.55);
}

/* ── ABOUT PREVIEW ── */
.about-preview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual-box {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 48px 40px;
  overflow: hidden;
}

.avb-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.avb-line {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,0.1);
  line-height: 1.05;
  transition: color 0.5s ease, letter-spacing 0.4s ease;
}

.avb-line.avb-accent {
  color: var(--mint);
  opacity: 0.55;
}

.about-visual-box:hover .avb-line {
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.02em;
}

.about-visual-box:hover .avb-line.avb-accent {
  color: var(--mint);
  opacity: 1;
}

/* ── FINAL CTA ── */
.final-cta-section {
  background: var(--black);
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Mint glow orb */
.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,161,155,0.1) 0%, transparent 65%);
  pointer-events: none;
  animation: cta-glow 4s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.final-cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.final-cta-contact a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
  letter-spacing: 0.04em;
}

.final-cta-contact a:hover { color: var(--mint); }

.cta-divider { color: rgba(255,255,255,0.15); }

/* ── HERO SOCIAL PILLS ── */
.hero-trust-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  background: rgba(255,255,255,0.02);
}

.hero-pill:hover {
  color: var(--mint);
  border-color: rgba(0,161,155,0.4);
  background: rgba(0,161,155,0.05);
}

/* ── HOMEPAGE RESPONSIVE ── */
@media (max-width: 1200px) {
  .hero-inner { gap: 40px; }
}

@media (max-width: 1024px) {
  .home-hero { padding: 120px 0 80px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual { display: none; }

  .positioning-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 100px 0 60px;
    overflow: hidden;
  }

  .hero-headline {
    font-size: clamp(32px, 9vw, 52px);
    line-height: 0.95;
    letter-spacing: -0.025em;
  }

  .hero-sub { font-size: 15px; }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .final-cta-section { padding: 90px 0; }

  .scroll-indicator { display: none; }
}
