/* ==========================================================================
   ARDEXA - Premium Design System & Stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --bg: #070913;
  --bg-rgb: 7, 9, 19;
  --panel: rgba(13, 16, 32, 0.45);
  --panel2: rgba(17, 21, 42, 0.7);
  --text: #f4f6ff;
  --muted: #9ca5bd;
  --line: rgba(255, 255, 255, 0.08);
  
  --accent: #5273ff;
  --accent-rgb: 82, 115, 255;
  --accent-glow: rgba(82, 115, 255, 0.15);
  --accent2: #87adff;
  --accent-purple: #9d52ff;
  --accent-purple-glow: rgba(157, 82, 255, 0.15);
  
  /* Layout & Details */
  --radius: 28px;
  --radius-sm: 16px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Global Reset & Scrollbar
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

::selection {
  background: rgba(82, 115, 255, 0.25);
  color: #ffffff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* Background Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
  padding: 24px 0;
  transition: padding var(--transition), background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-wrap, .nav, .brand {
  display: flex;
  align-items: center;
}

.nav-wrap {
  justify-content: space-between;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 15px;
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.9;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand span {
  background: linear-gradient(135deg, #ffffff 50%, #9ca5bd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  gap: 32px;
  font-size: 14px;
  color: #c3c8d8;
  font-weight: 500;
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent2);
  transition: var(--transition);
}

.nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav a:hover {
  color: white;
}

.nav-cta {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 860px;
  padding: 165px 0 95px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Grid background pattern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 65px 65px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 30px;
}

.eyebrow, .kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #aeb8d2;
  font-weight: 700;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent), 0 0 30px var(--accent);
  position: relative;
}

.eyebrow span::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 28px 0;
  max-width: 850px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ffffff 10%, #7393ff 60%, #b5caff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}

/* Premium Buttons styling */
.button {
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.button span {
  transition: transform 0.3s ease;
}

.button:hover span {
  transform: translate(3px, -3px);
}

.button.primary {
  background: linear-gradient(135deg, #5273ff, #294dc6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(82, 115, 255, 0.25), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(82, 115, 255, 0.4), 
              inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button.ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-meta {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: max-content;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-meta strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f4f6ff;
}

.hero-meta span {
  color: #727b92;
  font-size: 12px;
  font-weight: 500;
}

/* Hero Right Side - Visuals */
.hero-visual {
  height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 20%, rgba(116, 150, 255, 0.22), rgba(25, 31, 68, 0.75));
  border: 1px solid rgba(136, 161, 255, 0.28);
  box-shadow: 0 0 80px rgba(82, 115, 255, 0.25), 
              inset 0 0 30px rgba(82, 115, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  animation: logo-glow 8s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0% {
    box-shadow: 0 0 60px rgba(82, 115, 255, 0.2), inset 0 0 20px rgba(82, 115, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 90px rgba(82, 115, 255, 0.35), inset 0 0 45px rgba(82, 115, 255, 0.25);
  }
}

.logo-core img {
  width: 130px;
  filter: drop-shadow(0 15px 25px rgba(82, 115, 255, 0.45));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-core:hover img {
  transform: scale(1.05) rotate(5deg);
}

/* Orbit lines and rotation animations */
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(122, 145, 255, 0.14);
  border-radius: 50%;
}

.orbit-1 {
  width: 430px;
  height: 430px;
  animation: rotate-orbit-1 70s linear infinite;
}

.orbit-2 {
  width: 560px;
  height: 340px;
  animation: rotate-orbit-2 90s linear infinite;
}

@keyframes rotate-orbit-1 {
  from {
    transform: translate(-50%, -50%) rotate(-14deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(346deg);
  }
}

@keyframes rotate-orbit-2 {
  from {
    transform: translate(-50%, -50%) rotate(32deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-328deg);
  }
}

/* Floating Data Cards */
.data-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(16, 20, 42, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 
              0 0 30px rgba(82, 115, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  z-index: 3;
}

.data-card:hover {
  border-color: rgba(82, 115, 255, 0.35);
  transform: scale(1.03) !important;
}

.data-card small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #7f8ba7;
  margin-bottom: 8px;
  font-weight: 700;
}

.data-card strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-a {
  top: 78px;
  right: -10px;
  animation: float-a 6s ease-in-out infinite;
}

.card-a i {
  display: block;
  width: 100px;
  height: 24px;
  margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='24'%3E%3Cpath d='M0 20 C15 17 19 3 32 13 S50 18 60 8 75 3 100 4' fill='none' stroke='%236b8bff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.card-b {
  bottom: 82px;
  left: 5px;
  animation: float-b 7s ease-in-out infinite;
}

.card-b span {
  display: block;
  color: #75daaf;
  font-size: 10px;
  margin-top: 7px;
  font-weight: 600;
}

.card-c {
  top: 210px;
  left: -40px;
  animation: float-c 5.5s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes float-c {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* SVG Dotted Connections Animation */
.connections {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(95, 123, 255, 0.25);
  stroke-width: 1.5;
}

.connections path {
  stroke-dasharray: 6 10;
  animation: connection-flow 25s linear infinite;
}

@keyframes connection-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -500;
  }
}

/* Background Glowing blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-one {
  width: 500px;
  height: 500px;
  background: var(--accent);
  right: -200px;
  top: 40px;
}

.glow-two {
  width: 350px;
  height: 350px;
  background: var(--accent-purple);
  left: -250px;
  bottom: 0;
}

/* ==========================================================================
   Marquee Slider
   ========================================================================== */

.marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: #090c18;
}

/* Soft gradients overlaying ends of marquee */
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 26s linear infinite;
  color: #6f7892;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
}

.marquee b {
  color: #5d7cff;
  text-shadow: 0 0 10px rgba(93, 124, 255, 0.3);
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Section Layouts & General
   ========================================================================== */

.section {
  padding: 130px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}

.section-num {
  font-size: 11px;
  font-weight: 700;
  color: #7480a4;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-block;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.02);
}

.section-head .kicker, .stack-copy .kicker, .contact .kicker {
  margin-top: 20px;
  margin-bottom: 0;
}

.section h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 800;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service {
  position: relative;
  min-height: 400px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.005));
  overflow: hidden;
  transition: var(--transition);
}

.service:hover {
  transform: translateY(-8px);
  border-color: rgba(82, 115, 255, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 
              0 0 30px rgba(82, 115, 255, 0.08);
}

.service.featured {
  background: 
    radial-gradient(circle at 85% 15%, rgba(82, 115, 255, 0.18), transparent 45%),
    linear-gradient(145deg, #10142c 0%, #080a15 100%);
  border-color: rgba(82, 115, 255, 0.25);
}

.service.featured:hover {
  border-color: rgba(82, 115, 255, 0.55);
  box-shadow: 0 30px 60px rgba(82, 115, 255, 0.1), 
              0 0 30px rgba(82, 115, 255, 0.15);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #7e89a5;
  font-weight: 700;
}

.service-top b {
  font-size: 13px;
  color: var(--accent2);
}

.service h3 {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 64px 0 16px;
  max-width: 470px;
  font-weight: 800;
  line-height: 1.2;
}

.service p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 530px;
  font-size: 15px;
}

.service ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service li {
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: #b5bdd1;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.service:hover li {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

/* Database icon for featured card */
.service-icon.database {
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 80px;
  height: 80px;
  opacity: 0.12;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 3.8 2 6v12c0 2.2 4.5 4 10 4s10-1.8 10-4V6c0-2.2-4.5-4-10-4zm0 2c4.1 0 8 1.2 8 2s-3.9 2-8 2-8-1.2-8-2 3.9-2 8-2zm0 14c-4.1 0-8-1.2-8-2v-2.2c1.8 1.4 4.8 2.2 8 2.2s6.2-.8 8-2.2V16c0 .8-3.9 2-8 2zm0-5c-4.1 0-8-1.2-8-2v-2.2c1.8 1.4 4.8 2.2 8 2.2s6.2-.8 8-2.2V11c0 .8-3.9 2-8 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 3.8 2 6v12c0 2.2 4.5 4 10 4s10-1.8 10-4V6c0-2.2-4.5-4-10-4zm0 2c4.1 0 8 1.2 8 2s-3.9 2-8 2-8-1.2-8-2 3.9-2 8-2zm0 14c-4.1 0-8-1.2-8-2v-2.2c1.8 1.4 4.8 2.2 8 2.2s6.2-.8 8-2.2V16c0 .8-3.9 2-8 2zm0-5c-4.1 0-8-1.2-8-2v-2.2c1.8 1.4 4.8 2.2 8 2.2s6.2-.8 8-2.2V11c0 .8-3.9 2-8 2z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
}

.service:hover .service-icon.database {
  opacity: 0.35;
  transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   Approach Section (Premium Canvas)
   ========================================================================== */

.approach {
  background: #f8fafc;
  color: #0f172a;
}

.approach .section-num {
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
  background: rgba(15, 23, 42, 0.02);
}

.approach .kicker {
  color: #475569;
}

.steps {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 40px;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 45px 0 45px 0px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: padding var(--transition), background var(--transition);
}

.step:hover {
  background: rgba(82, 115, 255, 0.015);
  padding-left: 20px;
}

.step>span {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.step div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 50px;
}

.step h3 {
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 750;
  color: #0f172a;
  transition: var(--transition);
}

.step:hover h3 {
  color: var(--accent);
}

.step p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
  font-size: 16px;
}

/* ==========================================================================
   Technology Stack
   ========================================================================== */

.stack-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.stack-copy h2 {
  font-size: clamp(34px, 4.5vw, 50px);
  margin: 24px 0;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stack-copy>p:last-child {
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  font-size: 15px;
}

/* Interactive Tech Orbiting Cloud */
.tech-cloud {
  height: 500px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 115, 255, 0.1) 0%, transparent 65%);
}

.tech-cloud::before, .tech-cloud::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(122, 145, 255, 0.08);
  border-radius: 50%;
  inset: 15%;
  pointer-events: none;
}

.tech-cloud::after {
  inset: 32%;
}

.tech {
  position: absolute;
  padding: 12px 18px;
  background: rgba(17, 22, 44, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(135, 173, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: tech-float 5s ease-in-out infinite;
  color: #e4e8f5;
  cursor: default;
}

.tech:hover {
  transform: scale(1.08) translateY(-3px);
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(82, 115, 255, 0.4);
  z-index: 10;
  animation-play-state: paused;
}

@keyframes tech-float {
  0%, 100% {
    margin-top: 0;
  }
  50% {
    margin-top: -6px;
  }
}

/* Fixed absolute positioning coordinates */
.t1  { left: 38%; top: 12%; animation-delay: 0.2s; }
.t2  { right: 6%; top: 34%; animation-delay: 1.5s; }
.t3  { left: 7%;  top: 29%; animation-delay: 0.7s; }
.t4  { left: 34%; bottom: 10%; animation-delay: 2.1s; }
.t5  { left: 45%; top: 43%; animation-delay: 1.1s; }
.t6  { left: 17%; bottom: 24%; animation-delay: 2.8s; }
.t7  { right: 14%; bottom: 22%; animation-delay: 0.4s; }
.t8  { right: 19%; top: 12%; animation-delay: 1.8s; }
.t9  { left: 1%;  top: 52%; animation-delay: 2.3s; }
.t10 { right: 35%; bottom: 35%; animation-delay: 0.9s; }

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  padding-top: 50px;
}

.contact-card {
  min-height: 480px;
  border-radius: var(--radius);
  padding: 60px;
  background: radial-gradient(circle at 100% 0%, rgba(82, 115, 255, 0.15), transparent 50%), 
              linear-gradient(135deg, rgba(24, 33, 76, 0.9), rgba(13, 16, 34, 0.95));
  border: 1px solid rgba(82, 115, 255, 0.25);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-card h2 {
  margin: 25px 0 20px;
}

.contact-card p {
  color: #aeb6ca;
  line-height: 1.75;
  max-width: 650px;
  font-size: 16px;
}

.contact-action {
  text-align: right;
  z-index: 2;
}

.contact-action a {
  display: inline-block;
  font-size: 26px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.contact-action a span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-action a:hover {
  color: var(--accent2);
  border-color: var(--accent2);
  transform: translateX(4px);
}

.contact-action a:hover span {
  transform: translate(4px, -4px);
}

.contact-action small {
  display: block;
  color: #8e98b2;
  margin-top: 16px;
  font-size: 13px;
}

.contact-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.22;
  top: -300px;
  right: -80px;
  pointer-events: none;
}

/* ==========================================================================
   Footer Layout
   ========================================================================== */

footer {
  padding: 60px 0 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.footer-grid .brand {
  align-self: start;
}

.footer-grid p {
  font-size: 13px;
  color: #778099;
  line-height: 1.7;
  margin: 0;
}

.copyright {
  text-align: right;
  font-weight: 500;
}

/* ==========================================================================
   Animations System
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 900px) {
  /* Navigation Mobile drawer */
  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: rgba(16, 20, 38, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .menu-btn {
    display: block;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 10px;
    z-index: 25;
  }
  
  .menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
  }
  
  .menu-btn[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  
  .menu-btn[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  
  .hero {
    padding-top: 130px;
    min-height: auto;
  }
  
  .hero-grid, .stack-grid, .contact-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    height: 510px;
    margin-top: 30px;
  }
  
  .section-head {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 50px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .service {
    min-height: auto;
  }
  
  .step div {
    gap: 20px;
  }
  
  .contact-action {
    text-align: left;
    margin-top: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    padding-top: 30px;
  }
  
  .copyright {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  
  .section {
    padding: 80px 0;
  }
  
  .hero {
    padding-bottom: 60px;
  }
  
  .hero h1 {
    font-size: 42px;
    letter-spacing: -0.04em;
  }
  
  .hero-lead {
    font-size: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .button {
    justify-content: center;
  }
  
  .hero-meta {
    gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  
  .hero-visual {
    height: 380px;
  }
  
  .logo-core {
    width: 170px;
    height: 170px;
  }
  
  .logo-core img {
    width: 108px;
  }
  
  .orbit-1 {
    width: 300px;
    height: 300px;
  }
  
  .orbit-2 {
    width: 360px;
    height: 230px;
  }
  
  .card-a {
    right: 0;
  }
  
  .card-b {
    left: 0;
    bottom: 20px;
  }
  
  .card-c {
    display: none;
  }
  
  .section h2 {
    font-size: 34px;
  }
  
  .service {
    padding: 30px 24px;
  }
  
  .service h3 {
    font-size: 24px;
    margin-top: 48px;
  }
  
  .step {
    grid-template-columns: 36px 1fr;
    padding: 30px 0;
  }
  
  .step div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .step h3 {
    font-size: 22px;
  }
  
  .step p {
    font-size: 15px;
  }
  
  .tech-cloud {
    height: 400px;
  }
  
  .tech {
    font-size: 11px;
    padding: 10px 14px;
  }
  
  .contact-card {
    padding: 40px 24px;
    border-radius: 24px;
  }
  
  .contact-action a {
    font-size: 20px;
  }
}
