/* ==========================================================================
   DTEC TECHNOLOGY — FULL LANDING PAGE STYLESHEET (5 SECTORS)
   Theme Palette: Sapphire Midnight (#0B172A), DTEC Orange (#F97316 / #FF5500),
   Electric Cyan (#00D2FF), Sapphire Blue (#2563EB), Crisp White (#FFFFFF).
   ========================================================================== */

:root {
  /* Dark Charcoal Background — Black & Light Gray theme */
  --bg-gradient: radial-gradient(circle at 50% 30%, #3a3a3a 0%, #252525 55%, #141414 100%);
  --bg-card: rgba(70, 70, 70, 0.50);

  /* Official DTEC Brand Colors */
  --dtec-orange: #ff5500;
  --dtec-orange-bright: #f97316;
  --cyan-electric: #00d2ff;
  --cyan-neon: #38bdf8;
  --blue-royal: #2563eb;
  --indigo-glow: #6366f1;
  --blue-soft: #7dd3fc;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --text-code: #38bdf8;

  /* Glassmorphism & Borders */
  --border-cyan: rgba(56, 189, 248, 0.30);
  --border-orange: rgba(255, 85, 0, 0.60);
  --border-subtle: rgba(255, 255, 255, 0.10);

  /* Typography Families */
  --font-display: 'Bebas Neue', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-code: 'Fira Code', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   BACKGROUND MESH & LUMINOUS GLOW ORBS
   ========================================================================== */
.bg-mesh {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-center {
  width: 900px;
  height: 900px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 85, 0, 0.45) 0%, rgba(30, 30, 30, 0.15) 60%, transparent 80%);
  opacity: 1;
}

.orb-top-left {
  width: 700px;
  height: 700px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.80) 0%, rgba(249, 115, 22, 0.40) 55%, transparent 80%);
  opacity: 1;
}

.orb-bottom-right {
  width: 700px;
  height: 700px;
  bottom: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(60, 60, 60, 0.60) 0%, rgba(20, 20, 20, 0.30) 70%, transparent 80%);
  opacity: 1;
}

.orb-orange-flare {
  width: 700px;
  height: 700px;
  top: 30%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.70) 0%, rgba(249, 115, 22, 0.25) 55%, transparent 75%);
  opacity: 1;
}

@keyframes floatOrb {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.1) translate(25px, -20px);
  }

  100% {
    transform: scale(0.95) translate(-20px, 20px);
  }
}

/* ==========================================================================
   LAYOUT STRUCTURE & NAVBAR
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  z-index: 1;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4vw;
  background: rgba(30, 30, 30, 0.80);
  border-bottom: 1px solid rgba(255, 85, 0, 0.45);
  backdrop-filter: blur(20px);
  z-index: 50;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-tag {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.mobile-cta-btn {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 60;
}

.hamburger-bar {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--cyan-electric);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--dtec-orange-bright);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--dtec-orange-bright);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-electric), var(--dtec-orange));
  box-shadow: 0 0 10px var(--cyan-electric);
  border-radius: 2px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  background: rgba(15, 15, 15, 0.80);
  border: 1px solid var(--border-orange);
  color: var(--dtec-orange-bright);
  font-family: var(--font-code);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--dtec-orange);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.6);
  transform: translateY(-3px);
}

.arrow-icon {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.cta-button:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   1. HERO SECTION (#home)
   ========================================================================== */
.hero-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 4vw 3rem;
  min-height: 100vh;
}

.watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 34vw, 38rem);
  font-weight: 900;
  line-height: 0.75;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(243, 243, 243, 0.355);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  filter: drop-shadow(0 0 40px rgba(0, 210, 255, 0.15));
}

.headline-wrapper {
  position: absolute;
  top: 7.5rem;
  width: 100%;
  text-align: center;
  z-index: 25;
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-1 {
  color: #ffffff;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.line-2 {
  background: linear-gradient(180deg, #ffffff 0%, var(--cyan-neon) 50%, var(--dtec-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(249, 115, 22, 0.4));
}

.subject-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 6.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s ease-out;
}

.subject-glow-backdrop {
  position: absolute;
  inset: -20px;
  border-radius: 50px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.35) 0%, rgba(37, 99, 235, 0.25) 55%, transparent 75%);
  filter: blur(45px);
  z-index: 0;
}

.subject-image {
  position: relative;
  max-width: 480px;
  width: 85vw;
  height: auto;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
  mask-image: radial-gradient(circle at 50% 50%, black 72%, transparent 100%), linear-gradient(to bottom, black 82%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 72%, transparent 100%), linear-gradient(to bottom, black 82%, transparent 100%);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: rgba(50, 50, 50, 0.80);
  border: 1px solid rgba(255, 85, 0, 0.45);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 30;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.badge-left {
  top: 25%;
  left: -20%;
  border-color: var(--border-cyan);
}

.badge-right {
  bottom: 12%;
  right: -20%;
  border-color: var(--border-orange);
}

.floating-badge:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 25px 50px rgba(0, 210, 255, 0.35);
}

.badge-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-cyan {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.icon-orange {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.tag-cyan {
  color: var(--cyan-neon);
}

.tag-orange {
  color: var(--dtec-orange-bright);
}

.live-status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--dtec-orange-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--dtec-orange);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-tag {
  font-size: 0.7rem;
  font-family: var(--font-code);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.badge-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.side-annotation {
  position: absolute;
  max-width: 360px;
  z-index: 30;
}

.annotation-left {
  left: 4vw;
  bottom: 10%;
  text-align: left;
}

.annotation-right {
  right: 4vw;
  top: 38%;
  text-align: left;
}

.annotation-card {
  padding: 1.4rem 1.6rem;
  background: rgba(58, 58, 58, 0.70);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transition: all 0.35s ease;
}

.card-cyan {
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.15);
}

.card-orange {
  border: 1px solid rgba(249, 115, 22, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.15);
}

.annotation-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(15, 26, 48, 0.92);
}

.tech-code-prefix {
  display: block;
  font-family: var(--font-code);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cyan-electric);
  margin-bottom: 0.75rem;
}

.prefix-orange {
  color: var(--dtec-orange-bright);
}

.tech-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Continuous Services Ticker Bar */
.services-ticker {
  position: relative;
  width: 100%;
  background: rgba(25, 25, 25, 0.88);
  border-top: 1px solid rgba(255, 85, 0, 0.45);
  border-bottom: 1px solid rgba(255, 85, 0, 0.45);
  padding: 1.35rem 0;
  overflow: hidden;
  backdrop-filter: blur(16px);
  z-index: 20;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: tickerInfinite 22s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  white-space: nowrap;
}

.orange-bullet {
  color: var(--dtec-orange-bright);
}

.cyan-bullet {
  color: var(--cyan-electric);
}

@keyframes tickerInfinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   COMMON LANDING PAGE SECTIONS (.section-container)
   ========================================================================== */
.section-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 4vw;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
}

/* SECTION TAG (Aumentado conforme solicitado) */
.section-tag {
  display: inline-block;
  font-family: var(--font-code);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan-electric);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 14px rgba(0, 210, 255, 0.55);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
}

/* Subtext / Subtitle Styling (Branco Uniforme) */
.section-desc {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.01em;
}

.highlight-subtext {
  color: #e2e8f0;
  font-weight: 400;
}

.highlight-orange {
  color: var(--dtec-orange-bright);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

/* ==========================================================================
   2. SERVIÇOS SECTION (#servicos)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.2rem 2rem;
  background: rgba(58, 58, 58, 0.65);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-8px);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.card-body {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.65;
  font-weight: 400;
}

/* ==========================================================================
   3. SOBRE SECTION (#sobre)
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.split-content .section-title {
  text-align: left;
}

.split-text {
  font-size: 1.08rem;
  color: #e2e8f0;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.metric-card {
  padding: 1.8rem 2rem;
  background: rgba(58, 58, 58, 0.65);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, #ffffff, var(--cyan-electric));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   4. CONTATO SECTION (#contato)
   ========================================================================== */
.contact-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2.5rem;
  background: rgba(58, 58, 58, 0.65);
  border: 1px solid var(--border-cyan);
  border-radius: 24px;
  backdrop-filter: blur(20px);
}

.full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-code);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-electric);
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-input:focus {
  border-color: var(--cyan-electric);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
}

.form-btn {
  grid-column: span 2;
  justify-content: center;
  padding: 1.1rem;
  font-size: 0.95rem;
}

.form-feedback {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-code);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
  transition: all 0.3s ease;
}

.form-feedback.success {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid var(--cyan-electric);
  color: #38bdf8;
}

.form-feedback.error {
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid var(--dtec-orange-bright);
  color: #f97316;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.6rem 1.8rem;
  background: rgba(58, 58, 58, 0.65);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.info-icon {
  font-size: 2rem;
}

.info-title {
  display: block;
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.info-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.info-val:hover {
  color: var(--cyan-electric);
}

/* ==========================================================================
   5. ÁREA DO CLIENTE SECTION (#area-do-cliente)
   ========================================================================== */
.client-portal-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: rgba(48, 48, 48, 0.82);
  border: 1px solid var(--border-orange);
  border-radius: 28px;
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(249, 115, 22, 0.2);
  text-align: center;
}

.portal-header {
  margin-bottom: 2rem;
}

.portal-icon {
  height: 50px;
  margin-bottom: 1rem;
}

.portal-header h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.portal-header p {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-top: 0.5rem;
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.portal-btn {
  justify-content: center;
  padding: 1rem;
  margin-top: 0.5rem;
  width: 100%;
}

.portal-actions {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  font-size: 0.85rem;
}

.portal-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.portal-link:hover {
  color: var(--dtec-orange-bright);
}

.portal-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* SITE FOOTER */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(18, 18, 18, 0.92);
  padding: 2.5rem 4vw;
  z-index: 20;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  height: 36px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #e2e8f0;
}

/* ==========================================================================
   FLOATING BACK TO TOP BUTTON (FAB)
   ========================================================================== */
.floating-back-to-top {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid var(--border-cyan);
  border-radius: 9999px;
  color: var(--cyan-electric);
  font-family: var(--font-code);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 210, 255, 0.25);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-back-to-top:hover {
  background: var(--cyan-electric);
  color: #0b172a;
  border-color: #ffffff;
  box-shadow: 0 0 35px rgba(0, 210, 255, 0.65);
  transform: translateY(-4px);
}

.top-arrow {
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.floating-back-to-top:hover .top-arrow {
  transform: translateY(-3px);
}

/* RESPONSIVE DESIGN FOR SMARTPHONES & TABLETS */
@media (max-width: 1024px) {
  .desktop-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 55;
    padding: 2rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .mobile-cta-btn {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.9rem 1.8rem;
    background: var(--dtec-orange);
    color: #ffffff;
    border-radius: 9999px;
    text-decoration: none;
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.5);
  }

  .split-layout,
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .full-width,
  .form-btn {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .hero-main {
    padding-top: 7rem;
    min-height: auto;
    padding-bottom: 3rem;
    flex-direction: column;
  }

  .headline-wrapper {
    position: relative;
    top: 0;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8.5vw, 3.5rem);
    line-height: 1.05;
  }

  .watermark-bg {
    font-size: clamp(5.5rem, 24vw, 12rem);
    -webkit-text-stroke: 1px rgba(243, 243, 243, 0.2);
    top: 45%;
  }

  .subject-wrapper {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
  }

  .subject-image {
    max-width: 320px;
    width: 78vw;
  }

  .floating-badge {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0.75rem auto;
    width: max-content;
    max-width: 90vw;
  }

  .side-annotation {
    display: block !important;
    position: relative;
    inset: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0;
    transform: none !important;
  }

  .annotation-card {
    width: 100%;
    padding: 1.25rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem 3.5vw;
  }

  .logo-img {
    height: 36px;
  }

  .logo-tag {
    font-size: 0.8rem;
  }

  .section-container {
    padding: 4rem 1.25rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  }

  .contact-form {
    padding: 1.25rem;
  }

  .form-input {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }

  .floating-back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.75rem;
  }
}