/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
  /* Colors - Dark Theme (Enterprise) */
  --clr-dark-bg: #0B1220;
  --clr-dark-card: #0F172A;
  --clr-dark-border: rgba(229, 231, 235, 0.1);

  /* Colors - Light Theme */
  --clr-light-bg: #F7F9FC;
  --clr-light-main: #0A2540;
  --clr-light-content: #ffffff;

  /* Colors - Accents & Brand */
  --clr-primary: #3B82F6;
  /* Dark theme primary */
  --clr-secondary: #22D3EE;
  /* Dark theme secondary */
  --clr-accent-blue: #1E88E5;
  /* Light theme secondary */
  --clr-accent-teal: #2EC4B6;
  /* Light theme accent */

  /* Text Colors */
  --clr-text-light: #E5E7EB;
  --clr-text-muted: #9CA3AF;
  --clr-text-dark: #0A2540;
  --clr-text-dark-muted: #4B5563;

  /* Typography */
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;

  /* Spacing & Layout */
  --container-max: 1280px;
  --section-py: 120px;

  /* Transtions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* ==========================================================================
     Reset & Global
     ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--clr-dark-bg);
  color: var(--clr-text-light);
  overflow-x: hidden;
}

::selection {
  background: var(--clr-primary);
  color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}


/* ==========================================================================
     Theme Classes
     ========================================================================== */
.dark-section {
  background-color: var(--clr-dark-bg);
  color: var(--clr-text-light);
}

.light-section {
  background-color: var(--clr-light-bg);
  color: var(--clr-text-dark);
}

/* ==========================================================================
     Components
     ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: 100px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.btn span {
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), #2563EB);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--clr-text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Text Highlights */
.text-gradient {
  background: linear-gradient(to right, var(--clr-secondary), var(--clr-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  color: var(--clr-accent-blue);
}

/* ==========================================================================
     Navigation
     ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo-tekno {
  color: var(--clr-text-light);
}

.logo-nova {
  color: var(--clr-secondary);
}

.navbar.light-theme .logo-tekno {
  color: var(--clr-text-dark);
}

.navbar.light-theme .logo-nova {
  color: var(--clr-accent-blue);
}

.navbar.light-theme.scrolled {
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid rgba(10, 37, 64, 0.05);
}

.navbar.light-theme .nav-link {
  color: var(--clr-text-dark);
  font-weight: 500;
}

.navbar.light-theme .nav-link::after {
  background-color: var(--clr-accent-blue);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--clr-text-light);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* ==========================================================================
     Hero Section
     ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 8rem;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.blob {
  position: absolute;
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 20s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--clr-primary);
}

.blob-2 {
  bottom: 20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--clr-secondary);
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 100px) scale(1.2);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--clr-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5.5rem);
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--clr-text-muted);
  max-width: 700px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
     Corporate Section (Light)
     ========================================================================== */
.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--clr-text-dark-muted);
  margin-bottom: 3rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clr-accent-teal);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.visual-card {
  background: var(--clr-light-content);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(10, 37, 64, 0.05);
  position: relative;
}

.visual-card-inner {
  background: var(--clr-light-bg);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.visual-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--clr-light-main);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 1rem;
  color: var(--clr-text-dark-muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

.visual-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  height: 150px;
  width: 100%;
  justify-content: center;
}

.bar {
  width: 40px;
  background: var(--clr-accent-blue);
  border-radius: 8px 8px 0 0;
  transition: height 1s var(--ease-out-expo);
}

.bar:nth-child(4) {
  background: var(--clr-accent-teal);
}

/* ==========================================================================
     Services Section (Light)
     ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--clr-light-content);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(10, 37, 64, 0.03);
  transition: all 0.4s var(--ease-out-expo);
  border: 1px solid rgba(10, 37, 64, 0.03);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-accent-blue), var(--clr-accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(30, 136, 229, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--clr-accent-blue);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--clr-light-main);
}

.card-desc {
  color: var(--clr-text-dark-muted);
  margin-bottom: 2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--clr-accent-blue);
  font-size: 1rem;
  transition: gap 0.3s ease;
}

.service-card:hover .card-link {
  gap: 1rem;
}

/* ==========================================================================
     AI Section (Dark)
     ========================================================================== */
.ai-section {
  position: relative;
  background: #0B1220;
  overflow: hidden;
}

.ai-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.container-ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.ai-badge {
  color: var(--clr-secondary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.ai-section .section-desc {
  color: var(--clr-text-muted);
}

.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.ai-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.ai-feature p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* Glowing Sphere Visual */
.ai-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  position: relative;
}

.sphere-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--clr-secondary), var(--clr-primary));
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.4);
  animation: pulse-sphere 4s infinite alternate ease-in-out;
}

.sphere-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.3);
  animation: rotate-ring 10s linear infinite;
}

.sphere-ring.delay {
  width: 130%;
  height: 130%;
  border: 1px dashed rgba(59, 130, 246, 0.4);
  animation: rotate-ring 15s linear infinite reverse;
}

@keyframes pulse-sphere {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.3);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 80px rgba(34, 211, 238, 0.6);
  }
}

@keyframes rotate-ring {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ==========================================================================
     Footer
     ========================================================================== */
.footer {
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--clr-dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--clr-text-muted);
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a,
.footer-contact p {
  color: var(--clr-text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--clr-secondary);
}

.footer-contact p {
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-dark-border);
  color: var(--clr-text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
     Animations (Reveal Classes)
     ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {

  .corporate-grid,
  .container-ai {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Mobile menu needed for production */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cursor-dot,
  .cursor-outline {
    display: none;
  }

  body {
    cursor: auto;
  }

  a {
    cursor: pointer;
  }
}