/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --bg-color: #0B1310;
  --bg-darker: #060B09;
  --card-bg: #121F1A;
  --primary: #0E5E4E;
  --primary-light: #1D9774;
  --primary-dark: #083B31;
  --accent-mint: #42D7A6;
  
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #AA7C11;
  --gold-glow: rgba(212, 175, 55, 0.15);
  
  --text-primary: #FFFFFF;
  --text-secondary: #A9C4BC;
  --text-muted: #688E83;
  --text-gold: #F3E5AB;
  
  --glass-white: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(29, 151, 116, 0.15);
  --glass-border-gold: rgba(212, 175, 55, 0.25);
  
  --shadow-premium: 0 8px 30px rgba(212, 175, 55, 0.08);
  --shadow-primary: 0 10px 40px rgba(14, 94, 78, 0.2);
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Badges */
.badge-gold {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--glass-border-gold);
  border-radius: 50px;
  color: var(--text-gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-mint);
  color: var(--bg-darker);
  box-shadow: 0 4px 14px rgba(66, 215, 166, 0.3);
}

.btn-primary:hover {
  background-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.95rem;
}

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

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background-color: rgba(11, 19, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 42px;
  width: 42px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--accent-mint);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--bg-color);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--glass-border);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-drawer nav ul {
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.mobile-nav-drawer nav a {
  font-size: 1.25rem;
  width: 100%;
  text-align: center;
  display: block;
  padding: 10px;
}

/* Hero Section */
#hero {
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(14, 94, 78, 0.15) 0%, transparent 50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

#hero-title {
  font-size: 3.25rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

#hero-title span {
  color: var(--accent-mint);
  background: linear-gradient(135deg, var(--accent-mint), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 580px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 8px 16px;
  height: 52px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.store-badge:hover {
  border-color: var(--accent-mint);
  background-color: rgba(66, 215, 166, 0.05);
  transform: translateY(-2px);
}

.store-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-primary);
}

.store-badge.google-play .store-icon {
  color: #42D7A6;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.store-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.store-main {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-title);
}

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

.glow-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(66, 215, 166, 0.2) 0%, transparent 70%);
  z-index: 1;
}

.mockup-frame {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
  border: 10px solid #1a2c26;
  border-radius: 36px;
  background-color: var(--bg-darker);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.mockup-frame:hover {
  transform: scale(1.02) rotate(1deg);
}

.mockup-img {
  width: 85%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* AI Demo Section */
#ai-demo {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.demo-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.demo-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.demo-intro p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.sample-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.question-btn {
  background-color: var(--card-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
  padding: 16px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.question-btn:hover {
  border-color: var(--accent-mint);
  background-color: rgba(66, 215, 166, 0.04);
  color: var(--text-primary);
  transform: translateX(4px);
}

.question-btn.active {
  border-color: var(--gold);
  background-color: rgba(212, 175, 55, 0.06);
  color: var(--text-gold);
}

/* Chat Simulator Widget */
.demo-chat-box {
  background-color: var(--bg-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.chat-header {
  padding: 16px 24px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar {
  font-size: 1.5rem;
  background-color: rgba(66, 215, 166, 0.12);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(66, 215, 166, 0.25);
}

.chat-title-info h3 {
  font-size: 1rem;
  font-weight: 600;
}

.chat-title-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-status {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-mint);
}

.chat-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(circle at center, rgba(14, 94, 78, 0.04) 0%, transparent 100%);
}

.chat-msg {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: msgFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chat-msg.user {
  background-color: var(--card-bg);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  border: 1px solid var(--glass-border);
}

.chat-msg.ai {
  background-color: rgba(14, 94, 78, 0.18);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(29, 151, 116, 0.25);
}

.chat-msg.ai strong {
  color: var(--text-gold);
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

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

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

/* Features Section */
#features {
  padding: 100px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-mint);
  box-shadow: 0 12px 35px rgba(14, 94, 78, 0.15);
}

.feat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-ai { background-color: rgba(66, 215, 166, 0.12); color: var(--accent-mint); border: 1px solid rgba(66, 215, 166, 0.2); }
.icon-times { background-color: rgba(30, 58, 138, 0.2); border: 1px solid rgba(59, 130, 246, 0.2); }
.icon-kaza { background-color: rgba(212, 175, 55, 0.1); border: 1px solid var(--glass-border-gold); }
.icon-zikir { background-color: rgba(66, 215, 166, 0.1); border: 1px solid rgba(66, 215, 166, 0.15); }
.icon-zekat { background-color: rgba(212, 175, 55, 0.1); border: 1px solid var(--glass-border-gold); }
.icon-qibla { background-color: rgba(30, 58, 138, 0.2); border: 1px solid rgba(59, 130, 246, 0.2); }

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

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

/* FAQ Section */
#faq {
  padding: 100px 0;
  background-color: var(--bg-darker);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: var(--glass-border-gold);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-title);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-mint);
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
}

.faq-content p {
  color: var(--text-secondary);
  padding-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Open State of Accordion */
.faq-item.active {
  border-color: var(--gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--gold);
}

/* Download CTA Section */
#download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-color) 40%, rgba(14, 94, 78, 0.25) 100%);
}

.download-container {
  background-color: var(--card-bg);
  border: 1px solid var(--glass-border-gold);
  border-radius: 28px;
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.download-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 580px;
  font-weight: 300;
}

.footer-app-logo {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Footer Styles */
#app-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-branding h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-branding p {
  color: var(--text-secondary);
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text-gold);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Media Queries (Responsive Design) */
@media (max-width: 1024px) {
  #hero-title {
    font-size: 2.75rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  #btn-header-download {
    display: none;
  }
  
  .mobile-nav-drawer {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Menu Hamburger Animation */
  .mobile-menu-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  #desktop-nav {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-desc {
    margin: 0 auto 30px auto;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .demo-container {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .download-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }
  
  .download-content p {
    max-width: 100%;
  }
}

/* Social Flow Demo Section */
#social-demo {
  padding: 100px 0;
  background-color: var(--bg-color);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.social-demo-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.social-demo-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.social-demo-intro p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.social-agenda-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agenda-tab {
  background-color: var(--card-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.agenda-tab:hover {
  border-color: var(--accent-mint);
  color: var(--text-primary);
  background-color: rgba(66, 215, 166, 0.04);
}

.agenda-tab.active {
  background-color: var(--primary);
  border-color: var(--accent-mint);
  color: var(--text-primary);
}

/* Social Feed Box */
.social-feed-container {
  background-color: var(--bg-darker);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.feed-header {
  padding: 16px 24px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feed-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.feed-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.feed-posts {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Post Cards */
.post-card {
  background-color: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: msgFadeIn 0.35s ease forwards;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  border-color: rgba(66, 215, 166, 0.3);
  transform: translateY(-2px);
}

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

.post-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.web-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(66, 215, 166, 0.1);
  border: 1px solid var(--accent-mint);
  color: var(--accent-mint);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.post-username {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.post-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
  text-align: left;
}

.post-agenda-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-mint);
  background-color: rgba(66, 215, 166, 0.08);
  border: 1px solid rgba(66, 215, 166, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  margin-top: 4px;
}

.post-interaction-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.post-interaction-btn:hover {
  color: #ff4757;
}

.post-interaction-btn.liked {
  color: #ff4757;
  font-weight: bold;
}

.post-share-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.post-share-btn:hover {
  color: var(--accent-mint);
}

/* Modal styling for web */
.web-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.web-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.web-modal-card {
  background-color: var(--bg-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  width: 90%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.web-modal-overlay.open .web-modal-card {
  transform: translateY(0);
}

.web-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.web-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.web-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.web-modal-close:hover {
  color: var(--text-primary);
}

.web-modal-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
  text-align: left;
}

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

.web-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.web-form-group input {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.web-form-group input:focus {
  outline: none;
  border-color: var(--accent-mint);
}

/* Composer Modal specifically */
.web-composer-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.web-composer-username {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

#web-textarea-post {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: none;
  margin-bottom: 16px;
}

#web-textarea-post:focus {
  outline: none;
  border-color: var(--accent-mint);
}

.web-composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.web-char-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.web-char-counter.warning {
  color: #ff4757;
}

/* Loading Overlay */
.web-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 19, 16, 0.9);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.web-loading-overlay p {
  color: var(--text-primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.web-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(66, 215, 166, 0.1);
  border-top-color: var(--accent-mint);
  border-radius: 50%;
  animation: web-spin 1s linear infinite;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .social-demo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

