/* Main website styling */
body {
  font-family: 'Roboto Mono', 'Source Code Pro', Menlo, Courier, monospace;
  margin: 0;
  padding: 0;
  background-color: white;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, #ddd 0 1px, transparent 1px 75px),
    repeating-linear-gradient(90deg, #ddd 0 1px, transparent 1px 75px);
  background-size: 75px 75px;
  z-index: 0;

  /* Progressive fade effect */
  mask-image: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 1) 0%,       /* Full opacity */
    rgba(0, 0, 0, 0.8) 15%,    /* Begin fade */
    rgba(0, 0, 0, 0.5) 35%,    /* Mid fade */
    rgba(0, 0, 0, 0.2) 55%,    /* Light fade */
    rgba(0, 0, 0, 0) 75%       /* Complete fade */
  );
  -webkit-mask-image: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 15%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0) 75%
  );

  pointer-events: none;
}

/* Navigation bar */
.navigation-bar {
  width: 75%;
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  background: white;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid black;
  border-radius: 10px;
  z-index: 1000;
}

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

.nav-left-section .brand-title {
  font-size: 42px;
  font-weight: 700;
  text-decoration: none;
  color: black;
  letter-spacing: -0.5px;
}
.brand-title:hover {
  opacity: 0.75;
}

.nav-right-section {
  display: flex;
  gap: 12px;
}

.link-button {
  background: none;
  border: none;
  color: black;
  font-size: 19px;
  cursor: pointer;
  padding: 10px 18px;
  font-weight: 500;
}

.outline-button {
  background: white;
  border: 1px solid black;
  color: black;
  font-size: 17px;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500;
}

.primary-action-btn {
  gap: 14px;
  background: black;
  border: none;
  color: white;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 14px 26px 14px 22px;
  border-radius: 6px;
}

.brand-symbol-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: black;
  border-radius: 50%;
  padding: 6px;
  box-shadow: none;
  overflow: hidden;
}

#primaryGraphic {
  width: 300%;
  height: 300%;
  transform: translate(-33.33%, -33.33%);
  visibility: hidden;
}

@media (max-width: 1024px) {
  .brand-symbol-wrapper {
    width: 75px;
    height: 75px;
    padding: 5px;
  }
  .nav-left-section .brand-title {
    font-size: 34px;
  }

  .link-button,
  .outline-button,
  .primary-action-btn {
    font-size: 17px;
    padding: 8px 16px;
  }
  .primary-action-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .brand-symbol-wrapper {
    display: none;
  }

  .nav-left-section .brand-title {
    font-size: 26px;
  }

  .primary-action-btn {
    display: none;
  }

  .link-button,
  .outline-button {
    font-size: 15px;
    padding: 6px 14px;
  }
}

.content-area {
  position: relative;
  z-index: 1;
  margin-top: 14vh;
}

/* Showcase section */
.showcase-section {
  width: 75%;
  margin: 70px auto 0 auto;
  padding: 50px 0;
}

.showcase-container {
  display: flex;
  gap: 50px;
}

.showcase-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.media-wrapper {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.media-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 25px;
}

.media-container iframe {
  border: 1px solid black;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.media-references p {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: #666;
}

.media-references a {
  font-size: 15px;
  color: black;
  text-decoration: underline;
  margin: 0 6px;
}

.media-references a:hover {
  color: #666;
}

.tech-badge {
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-bottom: 25px;
}

.tech-icon {
  width: 26px;
  height: 26px;
  margin-right: 10px;
}

.tech-highlight {
  background: black;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
}

.showcase-headline {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 25px 0;
  line-height: 1.2;
}

.showcase-text {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 620px;
  color: #333;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-tag {
  background: black;
  color: white;
  font-size: 15px;
  padding: 5px 10px;
  border-radius: 7px;
  white-space: nowrap;
  font-weight: 500;
}

.wave-element, #flux-core {
  fill: none;
}

.showcase-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
}

.action-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.primary-action button {
  background: black;
  color: white;
  border: none;
  padding: 16px 30px 16px 26px;
  font-size: 19px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 6px;
}

.primary-action button,
.secondary-action button,
.primary-action-btn {
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.5s ease, transform 0.2s ease;
}

.primary-action button:hover,
.primary-action-btn:hover {
  background-color: #333;
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.3);
}

.secondary-action button:hover {
  background-color: #f5f5f5;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
}

.primary-action button:active,
.secondary-action button:active,
.primary-action-btn:active {
  transform: scale(0.97);
}

.primary-action button::after,
.secondary-action button::after,
.primary-action-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-100%) rotate(30deg);
  animation: shimmer 7s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  12% {
    transform: translateX(100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.secondary-action button {
  background: white;
  color: black;
  border: 1px solid black;
  padding: 15px 26px;
  font-size: 19px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
}

.btn-icon {
  width: 22px;
  height: 22px;
}

.action-subtitle {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.os-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .showcase-container {
    flex-direction: column;
  }

  .showcase-right {
    order: 1;
  }

  .showcase-left {
    order: 2;
  }

  .showcase-section {
    padding: 35px 0;
  }

  .showcase-headline {
    font-size: 34px;
  }

  .showcase-text {
    font-size: 16px;
  }

  .primary-action button,
  .secondary-action button {
    font-size: 17px;
    padding: 14px 22px;
  }

  .feature-tags {
    gap: 10px;
  }

  .feature-tag {
    font-size: 14px;
    padding: 4px 9px;
  }
}

@media (max-width: 768px) {
  .showcase-section {
    width: 85%;
    padding: 25px 0;
  }

  .showcase-headline {
    font-size: 28px;
  }

  .showcase-text {
    font-size: 15px;
  }

  .primary-action button,
  .secondary-action button {
    font-size: 16px;
    padding: 12px 20px;
  }

  .action-subtitle {
    font-size: 11px;
  }

  .btn-icon {
    width: 20px;
    height: 20px;
  }

  .os-icon {
    width: 16px;
    height: 16px;
  }

  .feature-tags {
    gap: 8px;
  }

  .feature-tag {
    font-size: 13px;
    padding: 4px 8px;
  }

  .media-container {
    padding-top: 56.25%;
  }

  .media-references p, .media-references a {
    font-size: 14px;
  }
}

.voice-catalog {
  width: 75%;
  margin: 90px auto 0 auto;
}

.catalog-header {
  margin-bottom: 35px;
}

.catalog-header h2 {
  font-size: 30px;
  margin: 0 0 12px 0;
  font-weight: 700;
}

.catalog-header p {
  font-size: 15px;
  color: #666;
}

.catalog-header a {
  color: black;
  text-decoration: underline;
}

.catalog-header a:hover {
  color: #666;
}

.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.voice-item {
  display: flex;
  align-items: center;
  padding: 8px 25px 8px 25px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.voice-item:hover {
  box-shadow: 0 5px 16px rgba(0,0,0,0.08);
}

.voice-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.voice-avatar {
  width: 45px;
  height: 45px;
}

.voice-title {
  flex: 2;
  font-size: 17px;
  font-weight: 600;
  padding-left: 25px;
}

.voice-player {
  flex: 1;
  text-align: center;
}

.audio-toggle {
  background: black;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.audio-toggle .player-icon {
  width: 26px;
  height: 26px;
}

.audio-toggle:hover {
  background: #222;
}

.voice-date {
  flex: 1;
  font-size: 15px;
  color: #666;
  text-align: center;
}

.voice-controls {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.install-btn {
  background: black;
  color: white;
  border: none;
  padding: 9px 18px;
  font-size: 15px;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.install-btn:hover {
  background: #333;
}

.info-tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.info-tooltip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #444;
  border: none;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.info-tooltip-wrapper:hover .info-tooltip {
  background: #e0e0e0;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 240px;
  background-color: black;
  color: white;
  text-align: center;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;

  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  z-index: 10;
}

.info-tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 1024px) {
  .voice-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  .voice-item {
    padding: 8px 12px;
    gap: 6px;
  }

  .voice-title {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .voice-date {
    font-size: 13px;
  }

  .install-btn {
    font-size: 13px;
    padding: 7px 12px;
  }

  .audio-toggle {
    width: 26px;
    height: 26px;
  }

  .audio-toggle .player-icon {
    width: 18px;
    height: 18px;
  }

  .info-tooltip {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  .tooltip-text {
    font-size: 12px;
    width: 200px;
  }
}

.catalog-expand {
  width: 100%;
  text-align: center;
  margin: 0 0 0 0;
}

.catalog-expand a {
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  font-size: 19px;
  color: black;
  text-decoration: underline;
  transition: color 0.3s ease;
  font-weight: 500;
}

.catalog-expand a:hover {
  color: #666;
}

/* Site footer */
.site-footer {
  width: 75%;
  margin: 90px auto 50px auto;
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  color: black;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background: black;
  margin-bottom: 45px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-footer-icon {
  width: 32px;
  height: 32px;
}

.brand-footer-text {
  font-family: 'Roboto Mono', 'Source Code Pro', Menlo, Courier, monospace;
  font-size: 26px;
  font-weight: 700;
}

.legal-text {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
  line-height: 1.5;
}

.section-header {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-links a,
.section-links p {
  font-size: 15px;
  color: black;
  text-decoration: none;
  display: block;
}

.section-links a:hover {
  text-decoration: underline;
  color: #666;
}

.usage-disclaimer {
  font-size: 14px;
  color: #777;
  text-align: center;
  margin-top: 45px;
  padding: 0 25px;
  line-height: 1.4;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

/* Privacy consent banner */
.consent-banner {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #fefbf3;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  width: 75%;
  max-width: 950px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  z-index: 1001;
}

.consent-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consent-banner p {
  margin: 0;
  font-size: 15px;
  color: #444;
}

.consent-banner a {
  color: #0066cc;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.consent-actions button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 22px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.consent-actions button:hover {
  background-color: #444;
}

/* Settings modal */
.settings-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1002;
  justify-content: center;
  align-items: center;
}

.settings-modal-content {
  background: white;
  width: 85%;
  max-width: 650px;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
  font-size: 15px;
  color: #333;
}

.settings-options {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.settings-options li {
  margin-bottom: 18px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 12px;
}

.settings-options input {
  margin-top: 10px;
}

.settings-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.settings-modal-actions button {
  background-color: black;
  color: white;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.settings-modal-actions button:hover {
  background-color: #444;
}

.cookie-wrapper {
  max-width: 75%;
  margin: 0 auto;
  padding: 90px 25px 0px 25px;
  background-color: #ffffff;
  border-radius: 10px;
}

.cookie-policy {
  color: #444;
  line-height: 1.7;
}

.cookie-policy h1,
.cookie-policy h2 {
  color: #222;
  margin-top: 1.8em;
}

.cookie-policy ul {
  padding-left: 1.4em;
  margin-top: 0.6em;
}

.cookie-policy li {
  margin-bottom: 0.5em;
}

.cookie-policy code,
.cookie-policy pre {
  background-color: #f8f8f8;
  padding: 0.3em 0.5em;
  border-radius: 5px;
  font-size: 0.9em;
}

.cookie-policy pre {
  padding: 15px;
  overflow-x: auto;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1003;
}

.platform-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 550px;
  background: #fff;
  z-index: 1003;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.15);
}

.modal-container h2 {
  margin-top: 0;
  font-size: 26px;
  font-weight: 700;
}

.modal-container p {
  margin-bottom: 25px;
  color: #777;
}

.modal-container input[type="text"],
.modal-container input[type="email"],
.modal-container select {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.modal-container button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: black;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.privacy-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
}

.privacy-consent a {
  color: black;
  text-decoration: underline;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

#platformAccessScreen {
  position: fixed;
  inset: 0;
  background-color: #000;
  font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  color: white;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 25px;
  z-index: 9999;
}

.access-content {
  text-align: left;
  max-width: 650px;
  width: 100%;
  animation: slideIn 0.4s ease-in-out;
}

.access-branding {
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.access-icon {
  width: 34px;
  height: 34px;
}

.access-brand {
  font-weight: 700;
  font-size: 28px;
  color: #ccc;
}

.access-content h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}

.access-content p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.7;
}

.access-content a {
  color: #9333ea;
  text-decoration: none;
  font-weight: 600;
}

.access-content a:hover {
  text-decoration: underline;
}

.access-notification {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.access-status {
  text-align: right;
}

.status-title {
  font-size: 15px;
  font-weight: 600;
}

.status-subtitle {
  font-size: 13px;
  color: #ddd;
}

.status-indicator {
  width: 45px;
  height: 45px;
  background-color: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  animation: pulse 1.5s infinite ease-in-out;
}

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

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

@media (max-width: 500px) {
  .access-branding {
    font-size: 24px;
    flex-direction: row;
    gap: 10px;
  }
  .access-icon {
    width: 30px;
    height: 30px;
  }
  .access-brand {
    font-size: 24px;
  }
  .access-content h2 {
    font-size: 22px;
  }
  .access-content p {
    font-size: 15px;
  }
}
