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

:root {
  /* Color Palette */
  --bg-deep: #07060e;
  --bg-dark: #0d0b1a;
  --bg-glass: rgba(13, 11, 26, 0.65);
  --bg-glass-hover: rgba(25, 22, 49, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);

  --primary-cyan: #00f2fe;
  --primary-violet: #a154ff;
  --primary-amber: #ffaa00;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #4b5563;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Parallax */
  --parallax-offset: 0;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #030107 0%, #0a0417 50%, #0d0520 100%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Parallax Background Layers - Starfield */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    /* Large bright stars */
    radial-gradient(2.5px 2.5px at 10px 15px, #ffffff, rgba(255,255,255,0.8) 50%, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 25px, #00f2fe, rgba(0,242,254,0.6) 50%, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 120px 40px, #ffffff, rgba(255,255,255,0.7) 50%, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 180px 60px, #a154ff, rgba(161,84,255,0.5) 50%, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 220px 10px, #ffffff, rgba(255,255,255,0.8) 50%, rgba(0,0,0,0)),

    /* Medium stars */
    radial-gradient(1.5px 1.5px at 30px 50px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 75px 90px, rgba(0,242,254,0.7), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 140px 100px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 200px 140px, rgba(161,84,255,0.6), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 20px 150px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 160px 180px, rgba(0,242,254,0.5), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 100px 200px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 240px 170px, rgba(161,84,255,0.4), rgba(0,0,0,0)),

    /* Small stars */
    radial-gradient(1px 1px at 60px 10px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 110px 45px, rgba(0,242,254,0.8), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 170px 110px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 200px, rgba(161,84,255,0.7), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 210px 50px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 90px 160px, rgba(0,242,254,0.6), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 230px 120px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 20px 90px, rgba(161,84,255,0.5), rgba(0,0,0,0));
  background-size: 250px 250px;
  background-attachment: fixed;
  background-color: #030107;
  opacity: 0.8;
  z-index: -2;
  animation: starRotate 240s linear infinite;
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  background:
    /* Deep space gradient */
    radial-gradient(ellipse at 80% 20%, rgba(161, 84, 255, 0.25) 0%, transparent 40%),
    radial-gradient(ellipse at 10% 80%, rgba(0, 242, 258, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(161, 84, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 70%, rgba(0, 242, 258, 0.15) 0%, transparent 50%),
    /* Nebula effects */
    radial-gradient(circle at 30% 30%, rgba(161, 84, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(255, 100, 150, 0.1) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  transform: translateY(calc(var(--parallax-offset) * 0.6));
}

@keyframes starRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 70%, var(--primary-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-violet));
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.85rem 2rem;
  background: rgba(7, 6, 14, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px rgba(161, 84, 255, 0.4);
}

.logo span {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

/* Language Toggle Button */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-muted);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
  color: #fff;
}

.lang-toggle a {
  color: inherit;
  text-shadow: none;
}

.lang-toggle a.active-lang {
  color: var(--primary-cyan);
  font-weight: 700;
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Layout Main Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: calc(100vh - 84px - 150px); /* Adjust based on header/footer heights */
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 4rem 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-violet);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Custom Interactive Visual */
.cosmic-orb {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(161,84,255,0.2) 0%, rgba(0,242,254,0.1) 70%, transparent 100%);
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.cosmic-orb::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(0, 242, 254, 0.4);
  border-radius: 50%;
  animation: rotateClockwise 20s linear infinite;
}

.cosmic-orb::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(161, 84, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(161, 84, 255, 0.2);
  animation: rotateCounterClockwise 15s linear infinite;
}

.cat-constellation {
  font-size: 4.5rem;
  position: relative;
  z-index: 10;
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.8));
  animation: pulse 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 25px rgba(0, 242, 254, 1)); }
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Glassmorphism Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-violet));
  opacity: 0;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.2rem;
  color: var(--primary-cyan);
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-violet));
  color: #000;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
  color: #000;
  text-shadow: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
}

.button-group {
  display: flex;
  gap: 1rem;
}

/* Table Style (Corporate Profile) */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-glass);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.profile-table tr {
  border-bottom: 1px solid var(--border-glass);
}

.profile-table tr:last-child {
  border-bottom: none;
}

.profile-table th, 
.profile-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.profile-table th {
  background: rgba(255, 255, 255, 0.02);
  width: 30%;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-heading);
  border-right: 1px solid var(--border-glass);
}

.profile-table td {
  color: var(--text-muted);
}

/* Products Section Specifics */
.coming-soon-badge {
  background: rgba(255, 170, 0, 0.1);
  border: 1px solid rgba(255, 170, 0, 0.3);
  color: var(--primary-amber);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Privacy Page Specifics */
.legal-content {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 3rem 2.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  color: #fff;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 2rem;
  background: var(--bg-deep);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.footer-links a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Responsive CSS - Tablet */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  header {
    padding: 1rem 1.5rem;
  }

  header.scrolled {
    padding: 0.75rem 1.5rem;
  }

  .nav-container {
    gap: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  main {
    padding: 3rem 1.5rem;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2.5rem;
    padding: 2rem 0;
  }

  .hero-visual {
    margin-bottom: 1rem;
  }

  .cosmic-orb {
    width: 240px;
    height: 240px;
  }

  .cosmic-orb::before {
    width: 140px;
    height: 140px;
  }

  .cosmic-orb::after {
    width: 90px;
    height: 90px;
  }

  .cat-constellation {
    font-size: 3.5rem;
  }

  .button-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .mobile-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 6, 14, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    gap: 1rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .card-grid {
    gap: 1.5rem;
  }

  .profile-table {
    font-size: 0.9rem;
  }

  .profile-table th,
  .profile-table td {
    padding: 0.85rem 0.75rem;
  }

  .profile-table th {
    width: 40%;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

/* Responsive CSS - Mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  header {
    padding: 0.85rem 1rem;
  }

  header.scrolled {
    padding: 0.65rem 1rem;
  }

  .nav-container {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1rem;
    gap: 0.5rem;
  }

  main {
    padding: 2rem 1rem;
    min-height: calc(100vh - 60px);
  }

  .hero {
    padding: 1.5rem 0;
    gap: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cosmic-orb {
    width: 180px;
    height: 180px;
  }

  .cosmic-orb::before {
    width: 110px;
    height: 110px;
  }

  .cosmic-orb::after {
    width: 70px;
    height: 70px;
  }

  .cat-constellation {
    font-size: 2.5rem;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  nav {
    padding: 1rem;
    gap: 0.75rem;
    top: calc(100% - 2px);
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  .profile-table {
    font-size: 0.85rem;
  }

  .profile-table th,
  .profile-table td {
    padding: 0.75rem 0.5rem;
    word-break: break-word;
  }

  .profile-table th {
    width: 45%;
  }

  .lang-toggle {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-links {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.75rem;
  }

  .legal-content {
    padding: 1.5rem 1.25rem;
  }

  .legal-content h3 {
    margin-top: 1.5rem;
  }
}
