/* ==========================================================================
   styles.css | AWWWARDS LEVEL DIGITAL AGENCY THEME
   ========================================================================== */

:root {
  /* Color Palette - Premium Dark Agency Theme */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --bg-glass: rgba(10, 10, 10, 0.6);

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #555555;

  /* Accents based on high-tech/space vibe */
  --accent-cyan: #00f0ff;
  --accent-purple: #7000ff;
  --accent-glow: rgba(0, 240, 255, 0.3);

  --border-light: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;

  /* Sizing & Spacing */
  --container-width: 1400px;
  --padding-x: 5vw;
  --section-pad-y: 150px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-slow: 0.8s var(--ease-out-expo);
  --transition-fast: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Orbitron:wght@400;500;700;900&display=swap");

html {
  font-size: 16px;
  scroll-behavior: initial; /* Handled by GSAP/Custom JS if needed, smooth CSS fallback */
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Custom cursor */
}

/* Noise Overlay for Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

::selection {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none; /* Handled by custom cursor */
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-cyan);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

/* Hover state classes added via JS */
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(2px);
}

/* ==========================================================================
   Typography & Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

.text-reveal-wrap {
  overflow: hidden;
  display: block;
}
.text-reveal-inner {
  display: inline-block;
  transform: translateY(100%);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.section-label::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-glow);
}

.heading-xl {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
}
.heading-lg {
  font-size: clamp(2.5rem, 5vw, 5rem);
}
.heading-md {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  background: transparent;
  color: var(--text-primary);
}

.btn::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform 0.6s var(--ease-out-expo);
  z-index: 0;
}

.btn:hover::before {
  transform: translateY(-100%) scale(1.5);
  border-radius: 0;
}

.btn .btn-text {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.btn:hover .btn-text {
  color: var(--bg-primary);
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border: none;
}
.btn-primary::before {
  background: var(--text-primary);
}
.btn-primary:hover .btn-text {
  color: var(--bg-primary);
}

/* Circular Button for Footer */
.btn-circular {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--border-light);
}
.btn-circular:hover {
  border-color: var(--accent-cyan);
}
.btn-circular .arrow {
  width: 20px;
  height: 20px;
  margin-top: 10px;
  fill: currentColor;
  transition: transform 0.3s;
}
.btn-circular:hover .arrow {
  transform: translate(5px, -5px);
}

/* ==========================================================================
   UNIVERSAL HEADER (Strictly consistent)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 25px 0;
  transition:
    padding 0.4s ease,
    background 0.4s ease;
}

.site-header.scrolled {
  padding: 15px 0;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: block;
  position: relative;
  z-index: 1001;
}

.logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1); /* Ensure visibility on dark theme if original is black */
}

.nav-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1001;
}

.header-actions .btn {
  display: none;
}
@media (min-width: 768px) {
  .header-actions .btn {
    display: inline-flex;
    padding: 12px 24px;
    font-size: 0.8rem;
  }
}

.menu-toggle {
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: border-color 0.3s;
}

.menu-toggle:hover {
  border-color: var(--accent-cyan);
}

.burger-line {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at top right);
  transition: clip-path 0.8s var(--ease-out-expo);
}

.mobile-nav-overlay.active {
  clip-path: circle(150% at top right);
}

.mobile-nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav-link {
  font-size: 3rem;
  font-family: var(--font-heading);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}

.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-overlay.active li:nth-child(1) .mobile-nav-link {
  transition-delay: 0.2s;
}
.mobile-nav-overlay.active li:nth-child(2) .mobile-nav-link {
  transition-delay: 0.3s;
}
.mobile-nav-overlay.active li:nth-child(3) .mobile-nav-link {
  transition-delay: 0.4s;
}
.mobile-nav-overlay.active li:nth-child(4) .mobile-nav-link {
  transition-delay: 0.5s;
}

/* Menu open state toggle */
.menu-open .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-open .burger-line:nth-child(2) {
  opacity: 0;
}
.menu-open .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   UNIVERSAL FOOTER (Strictly consistent)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-tertiary);
  padding-top: 150px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

/* Footer Background Glow */
.site-footer::before {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 100px;
}
@media (min-width: 1024px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-mega-text h2 {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  background: linear-gradient(180deg, #fff 0%, #666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-light);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col.brand-col p {
  color: var(--text-secondary);
  max-width: 300px;
  margin-top: 20px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-col a {
  color: var(--text-secondary);
  transition: color 0.3s;
  font-size: 1rem;
}
.footer-col a:hover {
  color: var(--accent-cyan);
}

.contact-detail {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   PAGE: INDEX (HOME) - 10 Sections
   ========================================================================== */

/* Section 1: Hero */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Abstract CSS 3D Shapes Background */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  perspective: 1000px;
}
.shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.shape-1 {
  width: 60vw;
  height: 60vw;
  top: -10%;
  right: -10%;
  box-shadow: inset 0 0 100px var(--accent-glow);
  animation: rotate 30s linear infinite;
}
.shape-2 {
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  left: -5%;
  border-color: rgba(112, 0, 255, 0.1);
  animation: rotate 40s linear infinite reverse;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin-bottom: 30px;
  display: block;
  letter-spacing: 0.2em;
}

.hero-title {
  margin-bottom: 40px;
}
.hero-title .outline-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-primary);
}

/* Section 2: Infinite Marquee */
.marquee-section {
  padding: 50px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.marquee-inner {
  display: inline-flex;
  animation: scrollMarquee 20s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 40px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 20px;
}
.marquee-item span {
  color: var(--accent-cyan);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Section 3: About / Intro */
.about-section {
  padding: var(--section-pad-y) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.about-text p {
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.5;
  color: var(--text-secondary);
}
.about-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}
.stat-box {
  border-left: 1px solid var(--accent-cyan);
  padding-left: 20px;
}
.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section 4: Services (Interactive Cards) */
.services-section {
  padding: var(--section-pad-y) 0;
  background: var(--bg-secondary);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  cursor: pointer;
  transition: background 0.4s;
}
@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 100px 1fr auto;
    align-items: center;
  }
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.service-num {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 1.5rem;
}
.service-name {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin: 20px 0;
}
@media (min-width: 768px) {
  .service-name {
    margin: 0;
  }
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-slow);
}
.service-row:hover .service-icon-wrap {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: rotate(45deg);
}

/* Hover Image Reveal for Services */
.service-hover-img {
  position: fixed;
  width: 350px;
  height: 250px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    opacity 0.4s,
    transform 0.4s;
  z-index: 100;
  border-radius: 10px;
  overflow: hidden;
}
.service-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-row:hover ~ .service-hover-img-container .service-hover-img.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Section 5: Interactive ROI Calculator */
.calculator-section {
  padding: var(--section-pad-y) 0;
}
.calc-wrapper {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 5vw;
  display: grid;
  gap: 50px;
}
@media (min-width: 1024px) {
  .calc-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-input-group {
  margin-bottom: 30px;
}
.calc-input-group label {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 10px var(--accent-glow);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-light);
  border-radius: 2px;
}
.range-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-top: 10px;
  color: var(--accent-cyan);
}

.calc-results {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.result-box {
  margin-bottom: 30px;
}
.result-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}
.result-value {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Section 6: Industry Expertise (Grid) */
.industry-section {
  padding: var(--section-pad-y) 0;
  background: var(--bg-secondary);
}
.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 60px;
}
@media (min-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ind-card {
  background: var(--bg-primary);
  padding: 50px 30px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.ind-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, var(--accent-glow));
  opacity: 0;
  transition: opacity 0.4s;
}
.ind-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-cyan);
}
.ind-card:hover::before {
  opacity: 1;
}
.ind-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-purple);
}
.ind-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}
.ind-desc {
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

/* Section 7: Process (Vertical Timeline) */
.process-section {
  padding: var(--section-pad-y) 0;
}
.process-wrapper {
  position: relative;
  max-width: 800px;
  margin: 80px auto 0;
}
.process-line {
  position: absolute;
  left: 20px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border-light);
}
.process-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: 80px;
}
.step-dot {
  position: absolute;
  left: 11px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-light);
  transform: translateX(-50%);
  transition:
    border-color 0.4s,
    background 0.4s;
}
.process-step.active .step-dot {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.step-num {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: block;
}
.step-title {
  font-size: 2rem;
  margin-bottom: 15px;
}
.step-desc {
  color: var(--text-secondary);
}

/* Section 8: Testimonials */
.test-section {
  padding: var(--section-pad-y) 0;
  background: var(--bg-secondary);
  overflow: hidden;
}
.test-slider-wrap {
  display: flex;
  width: max-content;
  gap: 40px;
  margin-top: 60px;
  padding-left: var(--padding-x);
}
.test-card {
  width: 400px;
  background: var(--bg-tertiary);
  padding: 50px;
  border: 1px solid var(--border-light);
  border-radius: 15px;
}
.quote-icon {
  color: var(--accent-purple);
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: serif;
  line-height: 1;
}
.test-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.author-info h5 {
  font-size: 1.1rem;
  margin: 0;
}
.author-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Section 9: Pre-Footer CTA */
.cta-section {
  padding: var(--section-pad-y) 0;
  text-align: center;
}
.cta-box {
  background: linear-gradient(
    135deg,
    var(--bg-tertiary) 0%,
    rgba(112, 0, 255, 0.1) 100%
  );
  padding: 100px 20px;
  border-radius: 30px;
  border: 1px solid rgba(112, 0, 255, 0.2);
}
.cta-box h2 {
  font-size: clamp(2rem, 5vw, 5rem);
  margin-bottom: 30px;
}

/* ==========================================================================
   PAGE: CONTACT
   ========================================================================== */
.page-header {
  padding: 250px 0 100px;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(
    circle at center top,
    var(--bg-tertiary),
    var(--bg-primary)
  );
}
.page-title {
  font-size: clamp(3rem, 6vw, 6rem);
  margin-bottom: 20px;
}
.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  padding: var(--section-pad-y) 0;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Form Premium Styling */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.form-row {
  display: grid;
  gap: 40px;
}
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group {
  position: relative;
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 15px 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: border-color 0.3s;
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--accent-cyan);
}
.input-group label {
  position: absolute;
  top: 15px;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.3s ease all;
}
.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
  top: -20px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}
.input-group select {
  appearance: none;
  color: var(--text-muted);
  cursor: pointer;
}
.input-group select option {
  background: var(--bg-primary);
  color: #fff;
}

.contact-info-panel {
  background: var(--bg-secondary);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}
.info-block {
  margin-bottom: 40px;
}
.info-block h4 {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
}
.info-block p {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

/* ==========================================================================
   PAGES: LEGAL (Privacy, Terms, Disclaimer)
   ========================================================================== */
.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 0;
}
.legal-content-wrapper h2 {
  font-size: 2rem;
  margin: 60px 0 20px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}
.legal-content-wrapper p {
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}
.legal-content-wrapper ul {
  margin-bottom: 25px;
  padding-left: 20px;
  color: var(--text-secondary);
}
.legal-content-wrapper li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}
.legal-content-wrapper li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}
.legal-content-wrapper strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 500;
}
