:root {
  --color-primary: #EF3333;
  --color-primary-dark: #cc2929;
  --color-dark: #111111;
  --color-dark-lighter: #1a1a1a;
  --color-light: #f4f4f4;
  --color-white: #ffffff;
  --color-text-main: #333333;
  --color-text-light: #888888;
  --font-main: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 4px;
  /* Slight roundness */
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 51, 51, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.text-red {
  color: var(--color-primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -1px;
}

.logo span {
  color: var(--color-primary);
}

.desktop-nav .nav-list {
  display: flex;
  gap: 30px;
}

.desktop-nav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  position: relative;
}

.desktop-nav .nav-link:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-icon {
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  background-color: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-image: radial-gradient(circle at 20% 50%, #333 0%, transparent 50%),
    linear-gradient(45deg, #000 0%, #1a1a1a 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Split layout like ValinzTech */
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Unified Platform Section (Simulation of the Circular Diagram) */
.platform-section {
  padding: 80px 0;
  background-color: var(--color-white);
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.platform-visual {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #fff 40%, #f9f9f9 70%);
}

.center-hub {
  width: 200px;
  height: 200px;
  background: var(--color-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.center-hub h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.orbit-item {
  position: absolute;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  transition: var(--transition);
  cursor: pointer;
  border-bottom: 3px solid var(--color-primary);
}

.orbit-item:hover {
  transform: scale(1.1);
  background: var(--color-primary);
  color: white;
  border-bottom: 3px solid var(--color-dark);
}

/* Positioning orbit items */
.orbit-item:nth-child(2) {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Top */
.orbit-item:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

/* Bottom */
.orbit-item:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

/* Left */
.orbit-item:nth-child(5) {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}

/* Right */

/* Services Tabs Section */
.services-section {
  padding: 100px 0;
  background-color: var(--color-light);
}

.services-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.services-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
}

.tab-btn {
  padding: 20px;
  text-align: left;
  background: none;
  border: none;
  border-left: 4px solid transparent;
  font-weight: 600;
  font-size: 1.1rem;
  color: #777;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background-color: #f9f9f9;
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.tab-content {
  padding: 20px;
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-inner h3 {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 15px;
}

.content-inner p {
  color: #555;
  margin-bottom: 25px;
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-top {
  padding: 60px 0;
  border-bottom: 1px solid #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-bottom {
  background-color: var(--color-primary);
  /* Red Bar */
  padding: 15px 0;
  color: white;
  font-weight: 500;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links a {
  margin-left: 20px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 30px;
  }

  .platform-visual {
    width: 350px;
    height: 350px;
  }

  .center-hub {
    width: 120px;
    height: 120px;
  }

  .center-hub h3 {
    font-size: 1rem;
  }

  .orbit-item {
    width: 90px;
    height: 90px;
    font-size: 0.7rem;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .tab-btn {
    border-left: none;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
  }

  .tab-btn:hover,
  .tab-btn.active {
    border-left-color: transparent;
    border-bottom-color: var(--color-primary);
  }
}