/* ==========================================================================
   TideTales - Coastal Forum, Stories & Community Discussions
   Aesthetic Sea, Ocean & Sand Color Palette
   ========================================================================== */

:root {
  /* Ocean & Sea Colors */
  --ocean-dark: #0a2540;
  --ocean-deep: #03045e;
  --ocean-navy: #023e8a;
  --ocean-blue: #0077b6;
  --ocean-wave: #0096c7;
  --sea-cyan: #00b4d8;
  --sea-foam: #48cae4;
  --sea-mist: #caf0f8;
  --sea-teal: #2ec4b6;
  --sea-algae: #80ed99;

  /* Golden Sand Palette */
  --sand-sunlit: #fefae0;
  --sand-cream: #faedcd;
  --sand-golden: #e9c46a;
  --sand-warm: #f4a261;
  --sand-dune: #d4a373;
  --coral-sunset: #e76f51;

  /* Neutrals & Glass */
  --bg-shore: #f4f9fc;
  --surface-card: #ffffff;
  --text-dark: #0a2540;
  --text-muted: #52796f;
  --text-soft: #6c757d;
  --border-light: rgba(0, 119, 182, 0.16);
  --border-gold: rgba(233, 196, 106, 0.4);
  --shadow-coastal: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-hover: 0 18px 40px rgba(0, 119, 182, 0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-shore);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(72, 202, 228, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(233, 196, 106, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(46, 196, 182, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animations */
@keyframes waveBob {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 180, 216, 0.4); }
  50% { box-shadow: 0 0 28px rgba(0, 180, 216, 0.8); }
}

@keyframes sandShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Top Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ocean-dark);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--ocean-blue), var(--sea-teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
  animation: waveBob 6s infinite ease-in-out;
}

.brand-text h1 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(120deg, var(--ocean-dark), var(--ocean-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-wave));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

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

.btn-sand {
  background: linear-gradient(135deg, var(--sand-golden), var(--sand-warm));
  color: var(--ocean-dark);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(233, 196, 106, 0.4);
}

.btn-sand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ocean-blue);
  color: var(--ocean-blue);
}

.btn-outline:hover {
  background: var(--ocean-blue);
  color: #ffffff;
}

.btn-anon {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-navy));
  color: var(--sea-cyan);
  border: 1px solid var(--sea-cyan);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.4);
}

.btn-anon:hover {
  transform: translateY(-2px);
  background: var(--ocean-deep);
  color: #ffffff;
}

.lang-select {
  padding: 7px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--ocean-dark);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0a2540 0%, #0077b6 60%, #2ec4b6 100%);
  color: #ffffff;
  padding: 48px 24px 40px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 15px 40px rgba(10, 37, 64, 0.2);
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 250, 224, 0.18);
  border: 1px solid rgba(254, 250, 224, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sand-sunlit);
  margin-bottom: 14px;
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-title span {
  color: var(--sand-golden);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sea-mist);
  margin-bottom: 24px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.buyer-demo-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 37, 64, 0.45);
  border: 1px dashed rgba(233, 196, 106, 0.6);
  padding: 10px 16px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.buyer-demo-strip span {
  font-size: 12px;
  color: var(--sand-sunlit);
  font-weight: 700;
}

.hero-character-card {
  width: 280px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.character-display {
  width: 170px;
  height: 170px;
  margin: 0 auto 12px;
  animation: waveBob 5s infinite ease-in-out;
}

.character-display img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.character-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--sand-golden);
}

.character-role {
  font-size: 12px;
  color: var(--sea-mist);
  margin-bottom: 12px;
}

.character-quote {
  font-size: 12px;
  font-style: italic;
  color: #ffffff;
  background: rgba(10, 37, 64, 0.35);
  padding: 8px 12px;
  border-radius: 10px;
}

/* Interactive Mascot Switcher Bar */
.mascot-switcher {
  max-width: 1200px;
  margin: -24px auto 28px;
  padding: 12px 20px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-coastal);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10;
  position: relative;
}

.switcher-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ocean-dark);
}

.switcher-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.mascot-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-shore);
  border: 1.5px solid transparent;
  border-radius: 24px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ocean-dark);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mascot-pill img {
  width: 24px;
  height: 24px;
}

.mascot-pill:hover, .mascot-pill.active {
  background: rgba(0, 119, 182, 0.1);
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
  transform: translateY(-2px);
}

/* Main Container & Layout */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
}

/* Sidebar Categories & Controls */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-coastal);
}

.sidebar-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ocean-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--ocean-dark);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.cat-btn:hover, .cat-btn.active {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.12), rgba(46, 196, 182, 0.12));
  color: var(--ocean-blue);
  font-weight: 800;
}

.cat-badge {
  background: var(--bg-shore);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.cat-btn.active .cat-badge {
  background: var(--ocean-blue);
  color: #ffffff;
}

/* Privacy & Blindness Info Card */
.privacy-hub-card {
  background: linear-gradient(135deg, #0a2540, #0077b6);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.15);
}

.privacy-hub-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--sand-golden);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.privacy-hub-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--sea-mist);
}

/* Feed & Stories */
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feed-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--ocean-dark);
}

.story-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-coastal);
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.story-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 119, 182, 0.3);
}

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

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ocean-blue);
  overflow: hidden;
  background: var(--bg-shore);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-meta h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ocean-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.author-meta span {
  font-size: 11.5px;
  color: var(--text-soft);
}

/* Anonymous Voyager Badge */
.incognito-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-navy));
  color: var(--sea-cyan);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid var(--sea-cyan);
}

.category-tag {
  background: rgba(0, 119, 182, 0.1);
  color: var(--ocean-blue);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.story-body {
  padding: 20px;
}

.story-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ocean-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.story-image-wrap {
  width: 100%;
  height: 280px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ocean-dark);
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-pill {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Story Action Bar: Likes, Dislikes, Comments, Chat */
.story-footer {
  padding: 12px 20px;
  background: var(--bg-shore);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vote-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
}

.vote-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ocean-dark);
}

.vote-btn.like-btn:hover, .vote-btn.like-btn.active {
  background: rgba(46, 196, 182, 0.15);
  color: var(--sea-teal);
}

.vote-btn.dislike-btn:hover, .vote-btn.dislike-btn.active {
  background: rgba(231, 111, 81, 0.15);
  color: var(--coral-sunset);
}

.vote-score {
  font-size: 12px;
  font-weight: 800;
  padding: 0 4px;
  color: var(--ocean-dark);
}

.comment-toggle-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ocean-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.comment-toggle-btn:hover {
  background: var(--ocean-blue);
  color: #ffffff;
  border-color: var(--ocean-blue);
}

/* Threaded Comments Section */
.comments-section {
  padding: 16px 20px;
  background: #fafcfe;
  border-top: 1px solid rgba(0, 119, 182, 0.08);
  display: none;
}

.comments-section.open {
  display: block;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0, 119, 182, 0.12);
}

.comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--ocean-blue);
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
}

.comment-content-wrap {
  flex: 1;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-author-row strong {
  font-size: 13px;
  color: var(--ocean-dark);
}

.comment-author-row span {
  font-size: 11px;
  color: var(--text-soft);
}

.comment-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 6px;
}

.comment-votes-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}

.comment-vote-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  color: var(--text-soft);
}

.comment-vote-btn:hover {
  color: var(--ocean-blue);
}

/* Add Comment Form */
.add-comment-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.add-comment-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  font-size: 13.5px;
  resize: vertical;
  min-height: 50px;
  outline: none;
}

.add-comment-input:focus {
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

.comment-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.identity-toggle-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ocean-dark);
  cursor: pointer;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(10, 37, 64, 0.35);
  border: 1px solid var(--border-light);
  position: relative;
  animation: gentleFloat 0.3s ease-out;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ocean-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-soft);
}

.modal-body {
  padding: 24px;
}

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

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ocean-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}

/* Identity Selector Component */
.identity-selector-box {
  background: var(--bg-shore);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.identity-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.identity-card {
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.identity-card:hover, .identity-card.active {
  border-color: var(--ocean-blue);
  background: rgba(0, 119, 182, 0.08);
}

.identity-card.anon-card.active {
  border-color: var(--sea-cyan);
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.9), rgba(0, 119, 182, 0.9));
  color: #ffffff;
}

/* Marine Chat Drawer Modal */
.chat-modal-box {
  max-width: 700px;
  height: 580px;
  display: flex;
  flex-direction: column;
}

.chat-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  flex: 1;
  overflow: hidden;
}

.contacts-list {
  background: var(--bg-shore);
  border-right: 1px solid var(--border-light);
  overflow-y: auto;
}

.contact-item {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.contact-item:hover, .contact-item.active {
  background: rgba(0, 119, 182, 0.1);
}

.contact-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.contact-avatar img {
  width: 100%;
  height: 100%;
}

.contact-info strong {
  font-size: 13px;
  display: block;
  color: var(--ocean-dark);
}

.contact-info span {
  font-size: 11px;
  color: var(--text-soft);
}

.chat-messages-wrap {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.messages-stream {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.4;
}

.chat-bubble.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-wave));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.theirs {
  align-self: flex-start;
  background: var(--bg-shore);
  border: 1px solid var(--border-light);
  color: var(--ocean-dark);
  border-bottom-left-radius: 4px;
}

.chat-input-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

/* Footer */
.footer {
  margin-top: auto;
  background: var(--ocean-dark);
  color: var(--sea-mist);
  padding: 30px 24px;
  text-align: center;
  font-size: 13px;
  border-top: 3px solid var(--sand-golden);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 24px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .buyer-demo-strip {
    justify-content: center;
  }
  .main-container {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 10px 14px;
  }
  .brand-text h1 {
    font-size: 18px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-character-card {
    width: 100%;
  }
  .mascot-switcher {
    flex-direction: column;
    align-items: flex-start;
  }
  .chat-grid {
    grid-template-columns: 1fr;
  }
  .contacts-list {
    max-height: 140px;
  }
  .identity-options {
    grid-template-columns: 1fr;
  }
  .story-image-wrap {
    height: 180px;
  }
}
