/* Custom Properties / Design Tokens */
:root {
  /* Colors */
  --bg-color: #0b0f19;
  --bg-color-light: #151a2a;
  --bg-card: rgba(25, 30, 46, 0.6);
  --text-main: #f0f2f8;
  --text-muted: #94a3b8;
  
  --primary: #007BFF;
  --primary-hover: #005ED6;
  --accent: #00E5FF;
  --accent-glow: rgba(0, 229, 255, 0.3);
  
  --unifi-blue: #0076FF;
  --success: #10b981;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Utilities */
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0052cc);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  color: var(--text-main);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  color: var(--accent);
}

.btn-secondary i {
  transition: var(--transition);
}

.btn-secondary:hover i {
  transform: translateX(4px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn-primary) {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:not(.btn-primary):hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.4;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.shape-2 {
  bottom: 10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Glass Card */
.glass-card {
  background: rgba(25, 30, 46, 0.4);
  backdrop-filter: blur(20px);
  border: var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.glass-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: var(--glass-border);
}

.dots {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dots .red { background: #ff5f56; }
.dots .yellow { background: #ffbd2e; }
.dots .green { background: #27c93f; }

.glass-header .title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-muted);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.status-item:last-child {
  margin-bottom: 0;
}

.status-item i {
  font-size: 1.5rem;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.75rem;
  border-radius: 12px;
}

.status-item div {
  display: flex;
  flex-direction: column;
}

.status-item .label {
  font-weight: 500;
  font-size: 1.05rem;
}

.status-item .value {
  font-size: 0.875rem;
  font-weight: 600;
}

.status-item .value.success {
  color: var(--success);
}

/* Services */
.services {
  padding: 8rem 0;
  background: var(--bg-color-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Tech */
.tech {
  padding: 8rem 0;
  overflow: hidden;
}

.tech-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.unifi-text {
  color: var(--unifi-blue);
  font-weight: 800;
}

.tech-content p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.tech-list i {
  color: var(--unifi-blue);
  font-size: 1.25rem;
}

/* Orbit Animation */
.tech-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.tech-circle-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-card);
  border: var(--glass-border);
}

.circle.center {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--unifi-blue);
  box-shadow: 0 0 30px rgba(0, 96, 214, 0.4);
  z-index: 10;
}

.circle.orbit {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  color: var(--text-main);
  animation: spin-reverse 30s linear infinite;
}

.orbit.o-1 { top: -30px; left: 120px; }
.orbit.o-2 { bottom: -30px; left: 120px; }
.orbit.o-3 { top: 120px; left: -30px; }
.orbit.o-4 { top: 120px; right: -30px; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }

/* Footer */
.footer {
  background: var(--bg-color-light);
  border-top: var(--glass-border);
  padding-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 250px;
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links address, .footer-links ul {
  color: var(--text-muted);
  font-style: normal;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.contact-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: var(--glass-border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container, .tech-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 { font-size: 2.75rem; }
  .hero p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
}
