:root {
  --bg-color: #020617; /* deep indigo background */
  --bg-gradient-start: #020617;
  --bg-gradient-end: #0b1120;
  --surface-color: #020617;
  --surface-alt: #0b1120;
  --surface-card: rgba(15, 23, 42, 0.96);
  --surface-hover: rgba(15, 23, 42, 1);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-light: #6b7280;
  --primary-color: #f9fafb;
  --accent-color: #4f46e5;
  --accent-secondary: #06b6d4;
  --accent-hover: #38bdf8;
  --border-color: rgba(148, 163, 184, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 18px 45px rgba(15, 23, 42, 0.55);
  --shadow-md: 0 28px 80px rgba(15, 23, 42, 0.9);
  --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.3);
  --container-width: 1120px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.3), transparent 55%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.22), transparent 55%),
    linear-gradient(160deg, var(--bg-gradient-start), var(--bg-gradient-end));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Graphic Elements */
.bg-graphic {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  mask-image: radial-gradient(circle at top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(circle at top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.glow-orb-1 {
  top: -140px;
  left: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.85), transparent 60%);
}

.glow-orb-2 {
  top: 55%;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.75), transparent 60%);
  opacity: 0.18;
}

/* Typography Enhancements */
.text-gradient {
  background: linear-gradient(135deg, #e5e7eb 0%, #a5b4fc 40%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

a {
  color: var(--accent-hover);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #f9fafb;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.9)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background: conic-gradient(from 160deg, var(--accent-color), var(--accent-secondary), #22c55e, var(--accent-color));
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-shadow: none;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Main Content */
.main-content {
  flex: 1;
}

/* Hero Section */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background:
    radial-gradient(circle at top, rgba(79, 70, 229, 0.55), transparent 60%),
    radial-gradient(circle at bottom, rgba(56, 189, 248, 0.35), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

.section-bg-dark {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* Cards */
.card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: opacity 0.3s ease;
  opacity: 0.5;
}

.card:hover {
  transform: translateY(-5px);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.98));
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--accent-hover);
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-tag.development {
  background-color: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.2);
}

/* Contact Info */
.info-list {
  list-style: none;
}

.info-item {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
}

.info-label {
  font-weight: 600;
  color: var(--text-main);
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.info-value {
  color: var(--text-muted);
}

/* Document / Legal Pages */
.document-page {
  padding: 64px 0 100px;
}

.document-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.document-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.document-meta {
  color: var(--text-light);
  font-size: 0.95rem;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.document-content {
  max-width: 768px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.document-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 48px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.document-content h2::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.document-content h2:first-child {
  margin-top: 0;
}

.document-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.document-content ul {
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-left: 24px;
}

.document-content li {
  margin-bottom: 12px;
}

.document-content strong {
  color: var(--text-main);
}

/* Footer */
.site-footer {
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 48px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-icon {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .card {
    padding: 32px;
  }

  .document-content {
    padding: 32px 24px;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .info-label {
    width: auto;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
}
