/* ============================================================
   REACH US DIRECT — Agntix Style Design System
   Inspired by agntix-next.vercel.app/digital-marketing
   Vibrant Agency Aesthetic: High Contrast, Lime Accents, 
   Space Grotesk Typography & Interactive Micro-Interactions
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --tp-common-white: #ffffff;
  --tp-common-black: #0f1013;
  --tp-grey-1: #f5f6f8;
  --tp-grey-2: #f0f2f5;
  --tp-grey-3: #e5e7eb;
  --tp-text-body: #555860;
  --tp-text-dark: #121316;
  --tp-text-muted: #8c8f9a;

  /* Brand Accents - Agntix Signature Lime & Electric Palette */
  --tp-theme-primary: #b5f212;
  --tp-theme-primary-hover: #cbf932;
  --tp-theme-green: #43e508;
  --tp-theme-yellow: #f7ef33;
  --tp-theme-dark-bg: #0e1015;
  --tp-theme-dark-bg-2: #14161d;
  --tp-theme-dark-bg-3: #1a1d26;
  --tp-border-dark: rgba(255, 255, 255, 0.08);
  --tp-border-light: rgba(15, 16, 19, 0.08);

  /* Typography */
  --tp-ff-grotesk: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --tp-ff-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --tp-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --tp-transition-fast: all 0.15s ease;
  --tp-transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --tp-shadow-sm: 0 2px 8px rgba(15, 16, 19, 0.04);
  --tp-shadow-md: 0 12px 32px rgba(15, 16, 19, 0.08);
  --tp-shadow-lg: 0 20px 50px rgba(15, 16, 19, 0.12);
  --tp-shadow-glow: 0 8px 30px rgba(181, 242, 18, 0.35);

  /* Layout */
  --tp-container-max: 1360px;
  --tp-header-height: 84px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--tp-ff-body);
  background-color: var(--tp-common-white);
  color: var(--tp-text-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--tp-transition);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Selection */
::selection {
  background: var(--tp-theme-primary);
  color: var(--tp-common-black);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tp-ff-grotesk);
  color: var(--tp-text-dark);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.tp-section-title-grotesk {
  font-family: var(--tp-ff-grotesk);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--tp-text-dark);
}

.tp-section-title-grotesk.text-white {
  color: var(--tp-common-white);
}

.tp-section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.tp-section-subtitle.subtitle-black {
  background: rgba(15, 16, 19, 0.06);
  color: var(--tp-text-dark);
}

.tp-section-subtitle.subtitle-green {
  background: rgba(181, 242, 18, 0.2);
  color: #2e8b00;
}

.tp-section-subtitle.subtitle-grey {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tp-common-white);
}

/* Squiggle title highlight */
.p-relative {
  position: relative;
  display: inline-block;
}

.tp-section-title-shape {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}

.tp-section-title-shape svg {
  width: 100%;
  height: 14px;
  display: block;
}

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--tp-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-1430 {
  max-width: 1430px;
}

.container-1230 {
  max-width: 1230px;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}

.pt-120 { padding-top: 120px; }
.pb-120 { padding-bottom: 120px; }
.pt-100 { padding-top: 100px; }
.pb-80  { padding-bottom: 80px; }
.pt-80  { padding-top: 80px; }
.pb-60  { padding-bottom: 60px; }
.pt-60  { padding-top: 60px; }
.mb-60  { margin-bottom: 60px; }
.mb-40  { margin-bottom: 40px; }
.mb-30  { margin-bottom: 30px; }
.mb-20  { margin-bottom: 20px; }

/* Backgrounds */
.grey-bg-1 { background-color: var(--tp-grey-1); }
.grey-bg-2 { background-color: var(--tp-grey-2); }
.white-bg  { background-color: var(--tp-common-white); }
.black-bg-5 { background-color: var(--tp-theme-dark-bg); color: var(--tp-common-white); }
.black-bg-6 { background-color: var(--tp-theme-dark-bg-2); color: var(--tp-common-white); }
.green-regular-bg { background-color: var(--tp-theme-primary); color: var(--tp-common-black); }

/* Utilities */
.text-center { text-align: center; }
.text-white  { color: var(--tp-common-white); }
.text-dark   { color: var(--tp-text-dark); }
.z-index-1   { position: relative; z-index: 1; }
.z-index-2   { position: relative; z-index: 2; }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   MAGIC CURSOR (AGNTIX SIGNATURE)
   ============================================================ */
#magic-cursor {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.3s ease;
}

#ball {
  position: fixed;
  width: 12px;
  height: 12px;
  background-color: var(--tp-theme-primary);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 12px rgba(181, 242, 18, 0.6);
}

#ball.ball-hover {
  width: 54px;
  height: 54px;
  background-color: rgba(181, 242, 18, 0.3);
  backdrop-filter: blur(2px);
  border: 1px solid var(--tp-theme-primary);
}

@media (pointer: coarse) {
  #magic-cursor { display: none !important; }
}

/* ============================================================
   DUAL OPPOSING MARQUEE (AGNTIX BRAND TICKER)
   ============================================================ */
.tp-brand-area {
  padding: 30px 0;
  overflow: hidden;
}

.tp-brand-wrapper {
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.tp-brand-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee-left 25s linear infinite;
}

.tp-brand-track-reverse {
  display: inline-flex;
  gap: 40px;
  animation: marquee-right 25s linear infinite;
}

.tp-brand-wrapper:hover .tp-brand-track,
.tp-brand-wrapper:hover .tp-brand-track-reverse {
  animation-play-state: paused;
}

.tp-brand-title {
  font-family: var(--tp-ff-grotesk);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.tp-brand-title::after {
  content: '✦';
  font-size: 1.1rem;
  opacity: 0.7;
}

@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   FADE & SCROLL REVEAL ANIMATIONS
   ============================================================ */
.tp_fade_anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp_fade_anim.revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-delay=".3"] { transition-delay: 0.15s; }
[data-delay=".5"] { transition-delay: 0.3s; }
[data-delay=".7"] { transition-delay: 0.45s; }
[data-delay=".9"] { transition-delay: 0.6s; }

/* Rotating circular text badge */
.rotating-badge {
  animation: rotate-badge 14s linear infinite;
  transform-origin: center center;
}

@keyframes rotate-badge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Back to Top */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--tp-common-black);
  color: var(--tp-common-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--tp-transition);
  box-shadow: var(--tp-shadow-md);
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--tp-theme-primary);
  color: var(--tp-common-black);
  transform: translateY(-4px);
}
