/* ============================================================
   RISKAURA — Design System & Core Styles
   Dark Cybersecurity Theme
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors — Base */
  --bg-primary: #060a13;
  --bg-secondary: #0c1120;
  --bg-tertiary: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-card-hover: rgba(22, 33, 62, 0.8);
  --bg-nav: rgba(6, 10, 19, 0.85);

  /* Colors — Accent */
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-purple-glow: rgba(139, 92, 246, 0.3);
  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-green: #10b981;
  --accent-rose: #f43f5e;

  /* Colors — Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: var(--accent-cyan-light);

  /* Colors — Borders */
  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(6, 182, 212, 0.3);
  --border-glow-purple: rgba(139, 92, 246, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  --gradient-hero: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #f59e0b 100%);
  --gradient-card: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  --gradient-section-alt: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Shadows */
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.15);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 650px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

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

section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(6, 10, 19, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-logo span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-4px);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan-light);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.btn-icon {
  font-size: 1.1em;
}

/* --- Hero Section --- */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  top: 10%;
  left: -10%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  bottom: 10%;
  right: -5%;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-amber);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* --- Feature Cards Grid (What is RiskAura) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
}

.feature-icon.cyan { background: rgba(6, 182, 212, 0.1); border: 1px solid rgba(6, 182, 212, 0.2); }
.feature-icon.purple { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.2); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); }
.feature-icon.green { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }

.feature-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Contributions / Member Cards --- */
.contributions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contribution-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
}

.contribution-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
}

.contribution-avatar.c1 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.contribution-avatar.c2 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.contribution-avatar.c3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.contribution-avatar.c4 { background: linear-gradient(135deg, #10b981, #059669); }

.contribution-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contribution-info .member-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.contribution-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contribution-info .btn-sm {
  margin-top: 12px;
}

/* --- Domain Section (Tabs) --- */
.domain-split-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .domain-split-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
}

.domain-sidebar {
  flex: 0 0 260px;
  position: sticky;
  top: 100px;
}

.domain-content-area {
  flex: 1;
  min-width: 0;
}

.domain-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 991px) {
  .domain-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) transparent;
  }
}

.domain-tab {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 991px) {
  .domain-tab {
    white-space: nowrap;
    border-left: 1px solid var(--border-subtle);
    border-bottom: 3px solid transparent;
  }
}

.domain-tab:hover {
  color: var(--text-secondary);
  border-color: rgba(6, 182, 212, 0.3);
  border-left-color: rgba(6, 182, 212, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .domain-tab:hover {
    transform: translateY(-3px);
  }
}

.domain-tab.active {
  color: var(--accent-cyan-light);
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.02) 100%);
  border-color: rgba(6, 182, 212, 0.4);
  border-left: 3px solid var(--accent-cyan);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
  font-weight: 600;
  transform: translateX(8px);
}

@media (max-width: 991px) {
  .domain-tab.active {
    border-left: 1px solid rgba(6, 182, 212, 0.4);
    border-bottom: 3px solid var(--accent-cyan);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.02) 0%, rgba(6, 182, 212, 0.15) 100%);
    transform: translateY(-5px);
  }
}

.domain-content {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.domain-content.active {
  display: block;
}

.domain-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

.domain-content-inner h3 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.domain-content-inner p,
.domain-content-inner li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.domain-content-inner ol {
  list-style: decimal;
  padding-left: 20px;
}

.domain-content-inner ol li {
  margin-bottom: 10px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan-light);
}

/* --- Timeline (Milestones) --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-amber));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 32px;
}

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

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--accent-cyan);
  background: var(--bg-primary);
  z-index: 1;
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(2) .timeline-dot { border-color: var(--accent-purple); }
.timeline-item:nth-child(3) .timeline-dot { border-color: var(--accent-amber); }
.timeline-item:nth-child(4) .timeline-dot { border-color: var(--accent-green); }
.timeline-item:nth-child(5) .timeline-dot { border-color: var(--accent-rose); }

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.timeline-card {
  padding: 24px 28px;
}

.timeline-card .timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.timeline-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.timeline-card .marks-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan-light);
}

/* --- Documents & Presentations Grid --- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.doc-card {
  text-align: center;
  padding: 36px 24px;
}

.doc-card .doc-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.doc-card:hover .doc-icon {
  background: rgba(6, 182, 212, 0.15);
  box-shadow: var(--shadow-glow-cyan);
}

.doc-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.doc-card .btn-sm {
  width: 100%;
  justify-content: center;
}

/* Presentation Cards */
.pres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pres-card {
  padding: 32px;
}

.pres-card .pres-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.pres-card .pres-status.completed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pres-card .pres-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.pres-card h4 {
  margin-bottom: 8px;
}

.pres-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pres-actions {
  display: flex;
  gap: 10px;
}

/* --- About Us — Team Profiles --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
  padding: 36px 20px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--gradient-primary) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.team-avatar-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  position: relative;
}

.team-avatar-inner.t1 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.team-avatar-inner.t2 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.team-avatar-inner.t3 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.team-avatar-inner.t4 { background: linear-gradient(135deg, #10b981, #047857); }

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .team-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.team-card .team-role {
  font-size: 0.82rem;
  color: var(--accent-purple-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card .team-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  word-break: break-all;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.team-social a:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan-light);
}

.team-achievements {
  margin-top: 14px;
  text-align: left;
}

.team-achievements li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.team-achievements li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Supervisors */
.supervisors-section {
  margin-top: 64px;
}

.supervisors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.supervisor-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.supervisor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
}

.supervisor-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.supervisor-info .sup-role {
  font-size: 0.82rem;
  color: var(--accent-cyan-light);
  font-weight: 500;
  margin-bottom: 6px;
}

.supervisor-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.supervisor-info .sup-email {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Contact Section --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 24px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
}

.footer-logo span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover {
  color: var(--accent-cyan-light);
}

/* --- Scroll-to-top Button --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contributions-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .pres-grid {
    grid-template-columns: 1fr;
  }

  .supervisors-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .domain-tabs {
    gap: 6px;
  }

  .domain-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  section {
    padding: 64px 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .contribution-card {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Utility Classes --- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
