:root {
  /* Design Tokens */
  --font-sans: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Color Palette */
  --color-bg: #090b11;
  --color-primary-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --color-glow-1: #4f46e5;
  --color-glow-2: #db2777;
  
  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  /* Glassmorphism */
  --glass-bg: rgba(15, 17, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glass-blur: blur(24px) saturate(180%);
  
  /* Dimensions & Spacing */
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 12px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

html {
  background-color: var(--color-bg);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Mesh Glow Elements */
.mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  opacity: 0.18;
  pointer-events: none;
}

.mesh-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--color-glow-1);
  top: -100px;
  right: -100px;
}

.mesh-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--color-glow-2);
  bottom: 100px;
  left: -100px;
}

/* Glass Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary-grad);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Header */
.team-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  z-index: 100;
  padding: 10px 24px;
  border-radius: var(--radius-md);
}

.team-header.animate-fade-in {
  animation: headerFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

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

.team-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-symbol {
  font-size: 1.6rem;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #a5b4fc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Main Layout */
.team-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.team-hero {
  padding-top: 180px;
  padding-bottom: 80px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c084fc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 8px #c084fc;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--color-primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* Terminal Mockup */
.terminal-mockup {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  border-color: rgba(255, 255, 255, 0.08);
}

.terminal-header {
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 14px;
  position: relative;
}

.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  display: inline-block;
}

.term-dot.close { background: #ef4444; }
.term-dot.minimize { background: #f59e0b; }
.term-dot.maximize { background: #10b981; }

.terminal-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 24px;
  background: #06070a;
}

.font-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
}

.code-line {
  color: #f8f8f2;
}

.indent-1 {
  padding-left: 20px;
}

.code-keyword { color: #ff79c6; }
.code-var { color: #f8f8f2; }
.code-key { color: #50fa7b; }
.code-val { color: #f1fa8c; }
.code-comment { color: #6272a4; }
.code-method { color: #8be9fd; }

.code-output {
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
  margin-top: 12px;
}

/* About Section */
.about-section {
  padding: 60px 0;
}

.about-card {
  padding: 48px;
  text-align: left;
}

.about-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Principles Section */
.principles-section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
}

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

.principle-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.principle-card:hover {
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-4px);
}

.principle-num {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--color-primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.principle-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* Products Section */
.products-section {
  padding: 80px 0;
}

.product-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 20px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 48px;
  gap: 48px;
  align-items: center;
}

.showcase-visual {
  perspective: 1000px;
}

.mock-browser {
  overflow: hidden;
  border-radius: var(--radius-md);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transform: rotateX(4deg) rotateY(4deg);
  transition: var(--transition);
}

.showcase-card:hover .mock-browser {
  transform: none;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.browser-bar {
  height: 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.bar-circle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-screen {
  background: #111;
  line-height: 0;
}

.browser-img {
  width: 100%;
  height: auto;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.showcase-badge {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(219, 39, 119, 0.15);
  border: 1px solid rgba(219, 39, 119, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  color: #f472b6;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.product-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 24px;
}

.product-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.product-tech-pills span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.showcase-cta {
  display: inline-flex;
  gap: 8px;
}

.cta-arrow {
  transition: var(--transition);
}

.showcase-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* Contact Section */
.contact-section {
  padding: 60px 0 100px 0;
}

.contact-card {
  padding: 64px 48px;
}

.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-card h2 {
  font-size: 2rem;
}

.contact-card p {
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
  font-weight: 300;
}

/* Footer */
.team-footer-section {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  animation: scaleUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-ctas {
    justify-content: center;
    width: 100%;
  }
  
  .showcase-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }
  
  .mock-browser {
    transform: none !important;
  }
  
  .team-header {
    width: calc(100% - 20px);
    top: 10px;
  }
  
  .team-nav {
    display: none;
  }
}

/* Language Selector styling */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}

.lang-select:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.lang-select option {
  background: #090b11;
  color: #cbd5e1;
}

