@import url('https://rsms.me/inter/inter.css');

:root {
  --black: #000;
  --white: #fff;
  --gray-100: #f7f7f7;
  --gray-200: #e1e1e1;
  --gray-300: #cfcfcf;
  --gray-400: #999;
  --gray-500: #666;
  --gray-600: #4a4a4a;
  --gray-700: #2d2d2d;
  --gray-800: #1a1a1a;
  --gray-900: #0f0f0f;
  --green: #00ff41;
  --red: #ff073a;
  --yellow: #ffff00;
}

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

html {
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.4;
  font-size: 16px;
  letter-spacing: -0.011em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-800);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-link {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
}

/* Buttons */
.btn {
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gray-200);
}

.btn-outline {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid var(--gray-700);
}

.btn-outline:hover {
  color: var(--white);
  border-color: var(--gray-600);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 32px 60px;
}

.hero-screenshot {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--gray-800);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-right: -200px;
}

.hero-screenshot:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--gray-700);
}

.product-screenshot {
  width: 120%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.chat-header {
  background: var(--gray-800);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-700);
}

.chat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.member-count {
  color: var(--gray-400);
  font-size: 13px;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.chat-messages {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.message {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  flex-shrink: 0;
}

.message-avatar.bot {
  background: var(--green);
  color: var(--black);
}

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

.message-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.message-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.message-time {
  font-size: 12px;
  color: var(--gray-500);
}

.message-text {
  color: var(--gray-200);
  font-size: 14px;
  line-height: 1.5;
}

.taskee-message .message-text {
  padding: 0;
}

.taskee-assignment {
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.assignment-header {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.assignment-details {
  margin-bottom: 4px;
}

.assignment-item {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

.assignee {
  color: var(--green);
  font-weight: 600;
}

.assignment-meta {
  font-size: 12px;
  color: var(--gray-400);
}

.typing-message {
  position: relative;
  display: inline;
}

.typing-cursor {
  color: var(--green);
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Hero Content */
.hero-content {
  padding-left: 80px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--green);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray-400);
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.companies {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.companies-label {
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.company-logos {
  display: flex;
  gap: 16px;
  align-items: center;
}

.company {
  color: var(--gray-400);
  font-size: 15px;
  font-weight: 500;
}

/* Proof Grid */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-800);
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 120px;
}

.proof-item {
  background: var(--black);
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.proof-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.proof-item:hover {
  background: var(--gray-900);
}

.proof-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.proof-text {
  font-size: 14px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Demo Section */
.demo-section {
  padding: 120px 0;
  background: var(--gray-900);
}

.demo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.demo-header {
  text-align: center;
  margin-bottom: 60px;
}

.demo-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.demo-header p {
  font-size: 18px;
  color: var(--gray-400);
}

.demo-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-800);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.demo-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* How Section */
.how-section {
  padding: 120px 0;
  background: var(--gray-900);
}

.how-header {
  text-align: center;
  margin-bottom: 80px;
}

.how-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.how-header p {
  font-size: 18px;
  color: var(--gray-400);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.how-step {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.how-step.revealed {
  opacity: 1;
  transform: translateY(0);
}

.step-marker {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gray-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-weight: 600;
  color: var(--gray-400);
}

.how-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.how-step p {
  color: var(--gray-400);
  line-height: 1.5;
}

/* Testimonial Section */
.testimonial-section {
  padding: 120px 0;
  background: var(--black);
  text-align: center;
}

.testimonial {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
  font-style: normal;
}

.testimonial-author {
  color: var(--gray-400);
  font-size: 16px;
}

/* Pricing Section */
.pricing-section {
  padding: 120px 0;
  background: var(--gray-900);
}

.pricing-header {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pricing-header p {
  font-size: 18px;
  color: var(--gray-400);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.pricing-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card.featured {
  border-color: var(--white);
  transform: scale(1.05);
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.price {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 16px;
  color: var(--gray-400);
  font-weight: 400;
}

.pricing-card p {
  color: var(--gray-400);
  margin-bottom: 32px;
  line-height: 1.5;
}

.pricing-features {
  margin-bottom: 32px;
  text-align: left;
}

.feature {
  color: var(--gray-300);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
  padding: 12px;
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: var(--black);
  border-top: 1px solid var(--gray-800);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand h3,
.footer-logo {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-section a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .how-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 20px 40px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .proof-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 20px;
  }
}

/* Form Styles */
.form-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 32px 60px;
  background: var(--black);
}

.form-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-300);
  opacity: 0.8;
}

.form-logo img {
  opacity: 0.7;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.form-subtitle {
  color: var(--gray-400);
  font-size: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-700);
  border-radius: 6px;
  background: var(--gray-800);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--white);
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-submit {
  width: 100%;
  padding: 12px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.form-submit:hover {
  background: var(--gray-200);
}

.form-submit:disabled {
  opacity: 0.7;
}

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

.form-footer p {
  color: var(--gray-400);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

.form-terms {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.4;
}

.form-help {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-800);
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-800);
}

.divider span {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

/* Google Sign-In Button */
.btn-google {
  width: 100%;
  padding: 12px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-google:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.btn-google svg {
  flex-shrink: 0;
}

/* Animations */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.company {
  transition: all 0.2s ease;
}

.company:hover {
  color: var(--green);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

/* Enhanced button effects */
.btn-primary {
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover::before {
  left: 100%;
}

/* Proof grid enhanced hover */
.proof-item:hover .proof-number {
  color: var(--green);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

/* Hero content transitions */
.hero-content {
  transition: transform 0.3s ease;
}

/* Terminal typing effect enhancement */
.typing {
  position: relative;
}

.cursor {
  display: inline-block;
  width: 2px;
  background: var(--green);
  margin-left: 2px;
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--white));
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Enhanced pricing card focus */
.pricing-card.featured {
  position: relative;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  background: linear-gradient(45deg, var(--green), var(--white), var(--green));
  z-index: -1;
  opacity: 0.3;
}

/* Workspace Layout */
.workspace {
  display: flex;
  height: 100vh;
  background: var(--black);
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.workspace-header {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.workspace-info {
  flex: 1;
}

.workspace-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.workspace-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.compose-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.compose-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.nav-section {
  margin-bottom: 20px;
}

.nav-icon {
  margin-right: 12px;
  font-size: 16px;
}

.unread-badge {
  margin-left: auto;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Section Headers */
.section-header {
  padding: 12px 16px 8px 16px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Channel List */
.channel-item, .dm-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  margin: 0 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
}

.channel-item:hover, .dm-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(3px) scale(1.01);
}

.channel-item.active, .dm-item.active {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.12), rgba(0, 255, 65, 0.08));
  color: var(--white);
  font-weight: 500;
  border: 1px solid rgba(0, 255, 65, 0.15);
  box-shadow: 0 2px 8px rgba(0, 255, 65, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.channel-hash {
  margin-right: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.channel-name, .user-name {
  flex: 1;
  font-size: 14px;
}

/* User Avatars */
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  color: var(--white);
  margin-right: 10px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-avatar.online::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  border: 1.5px solid rgba(10, 10, 10, 0.95);
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.4);
}

.user-avatar.away::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.5px solid rgba(10, 10, 10, 0.95);
}

.user-avatar.bot {
  background: linear-gradient(135deg, var(--green), #00e63b);
  color: var(--black);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
}

/* User Profile */
.user-profile {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.profile-avatar .user-avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
  margin-right: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1px;
}

.profile-status {
  font-size: 12px;
  color: var(--gray-400);
}

.profile-btn {
  background: transparent;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.profile-btn:hover {
  background: var(--gray-700);
  color: var(--white);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--black);
}

/* Chat Header */
.chat-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-title h1 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
}

.channel-members {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
}

.members-icon {
  font-size: 14px;
}

.chat-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  background: transparent;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: var(--gray-700);
  color: var(--white);
}

/* Messages Container */
.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  background: var(--black);
}

.message-group {
  margin-bottom: 12px;
}

.message {
  display: flex;
  gap: 14px;
  padding: 4px 0;
  transition: all 0.15s ease;
}

.message:hover {
  background: rgba(255, 255, 255, 0.025);
  margin: 4px -12px;
  padding: 8px 12px;
  border-radius: 10px;
  transform: translateY(-1px);
}

.message-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.message-avatar .user-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
  margin-right: 0;
  border-radius: 9px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.message-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.message-author {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

.message-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.message-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
}

/* Message Reactions */
.message-reactions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.reaction {
  background: transparent;
  border: 1px solid var(--gray-600);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reaction:hover {
  background: var(--gray-700);
  border-color: var(--gray-500);
}

.reaction-add {
  background: transparent;
  border: 1px dashed var(--gray-600);
  border-radius: 12px;
  padding: 2px 6px;
  font-size: 12px;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reaction-add:hover {
  background: var(--gray-700);
  border-color: var(--gray-500);
  color: var(--gray-300);
}

/* Taskee Card */
.taskee-card {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.09), rgba(0, 255, 65, 0.06));
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 14px;
  padding: 18px;
  margin: 10px 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 255, 65, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.card-icon {
  font-size: 16px;
}

.card-title {
  font-weight: 600;
  color: var(--green);
  font-size: 14px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--gray-200);
  font-size: 14px;
}

.task-item.completed {
  color: var(--gray-400);
  text-decoration: line-through;
}

.task-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--gray-500);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--green);
}

.task-item.completed .task-checkbox {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

.task-due {
  margin-left: auto;
  font-size: 12px;
  color: var(--yellow);
}

/* Typing Indicator */
.message-group.typing .message-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.typing-indicator {
  display: flex;
  gap: 3px;
  padding: 8px 12px;
  background: var(--gray-700);
  border-radius: 16px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: typing 1.5s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Message Input */
.message-input-container {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.input-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  position: relative;
}

.input-wrapper:focus-within {
  border-color: rgba(0, 255, 65, 0.4);
  box-shadow: 0 0 0 4px rgba(0, 255, 65, 0.12), 0 2px 12px rgba(0, 255, 65, 0.15);
  transform: scale(1.002);
}

.input-action {
  background: transparent;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.input-action:hover {
  background: var(--gray-700);
  color: var(--white);
}

.message-input {
  flex: 1;
  min-height: 20px;
  max-height: 120px;
  overflow-y: auto;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  resize: none;
  display: flex;
  align-items: center;
}

.message-input:empty::before {
  content: attr(data-placeholder);
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.attach-btn {
  color: rgba(255, 255, 255, 0.5);
}

.attach-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.input-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}

.send-btn {
  background: var(--green);
  border: none;
  color: var(--black);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  opacity: 0.6;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 255, 65, 0.2);
}

.send-btn.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.02);
}

.send-btn.active:hover {
  background: #00e63b;
  box-shadow: 0 4px 16px rgba(0, 255, 65, 0.4);
}