/* Modern Professional Theme for Red Team LTD */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --brand-purple: #a430c4;
  --brand-purple-light: #c955e8;
  --brand-purple-dark: #7d1f96;

  /* Modern Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(164, 48, 196, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-100);
  background: #000;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Particle Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(135deg, #000000 0%, #0a0a0f 25%, #1a0a1f 50%, #0a0a0f 75%, #000000 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Main Content Container */
.content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

/* Glass Morphism Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(164, 48, 196, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Header/Hero Section */
.header {
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  border: none;
  border-radius: 20px;
  padding: var(--spacing-2xl) var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.header table {
  width: 100%;
  border: none;
  margin: 0;
  position: relative;
  z-index: 1;
}

.header tr,
.header td {
  border: none;
  padding: 0;
  background: transparent;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--spacing-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Section Styling */
.section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-base);
}

.section:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(164, 48, 196, 0.2);
  transform: translateY(-2px);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple), transparent);
  border-radius: 2px;
}

.section p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-200);
  margin-bottom: var(--spacing-md);
}

.section p:last-child {
  margin-bottom: 0;
}

/* Infrastructure List */
.infra-list {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border-left: 4px solid var(--brand-purple);
}

.infra-list strong {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--spacing-sm);
  font-size: 1.0625rem;
}

.infra-list br + span {
  display: block;
  padding: var(--spacing-xs) 0;
  color: var(--gray-200);
}

/* Call-to-Action Box */
.cta-box {
  background: linear-gradient(135deg, rgba(164, 48, 196, 0.15), rgba(164, 48, 196, 0.05));
  border: 1px solid rgba(164, 48, 196, 0.3);
  border-left: 4px solid var(--brand-purple);
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(164, 48, 196, 0.1) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.cta-box strong {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  border: none;
  border-radius: 16px;
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.contact-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

.contact-section h2::after {
  display: none;
}

.contact-section p {
  margin: var(--spacing-xs) 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
}

.contact-section strong {
  font-weight: 600;
  color: #fff;
}

.contact-section a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all var(--transition-fast);
}

.contact-section a:hover {
  text-decoration-thickness: 2px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md);
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Links */
a {
  color: var(--brand-purple-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content {
    padding: var(--spacing-md);
  }

  .glass-card,
  .section {
    padding: var(--spacing-lg);
  }

  .header {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .content {
    padding: var(--spacing-sm);
  }

  .glass-card,
  .section {
    padding: var(--spacing-md);
    border-radius: 12px;
  }

  .header {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 12px;
  }

  .section p {
    font-size: 1rem;
  }
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}
