:root {
  --bg: #f4f5f7;
  --bg-2: #efeff2;
  --card: rgba(255, 255, 255, 0.70);
  --card-strong: rgba(255, 255, 255, 0.82);
  --muted-card: #ececef;
  --text: #1f1f23;
  --muted: #787b84;
  --line: rgba(0, 0, 0, 0.05);
  --accent: #2fd2f6;
  --accent-2: #14bfe9;
  --accent-3: #7be9ff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --page: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background-image: url('https://static.tildacdn.net/tild3533-6336-4863-b834-386632353533/ChatGPT_Image_8__202.png');
  background-color: rgba(255,255,255,0.16);
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(var(--page), calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 24px 0 56px;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.18;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  left: -70px;
  top: 40px;
  background: rgba(47, 210, 246, 0.44);
}

.orb-2 {
  width: 260px;
  height: 260px;
  right: -30px;
  top: 120px;
  background: rgba(20, 191, 233, 0.34);
  animation-delay: -3s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  right: 12%;
  bottom: -140px;
  background: rgba(123, 233, 255, 0.20);
  animation-delay: -6s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-14px) translateX(8px) scale(1.04); }
}

.topbar-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 18px 0;
}

.topbar {
  width: min(var(--page), calc(100% - 0px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 28px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff, #e8fbff);
  color: var(--accent-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 8px 18px rgba(47, 210, 246, 0.10);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  color: #555962;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.topnav a:hover {
  background: linear-gradient(135deg, rgba(47,210,246,0.18), rgba(20,191,233,0.12));
  color: #1f1f23;
  transform: translateY(-1px);
}

.card,
.service-card,
.feature-card,
.hero-card,
.section-card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card {
  padding: 30px;
  margin-bottom: 22px;
}

.hero {
  padding-top: 8px;
  margin-bottom: 22px;
}

.hero.card {
  min-height: 260px;
  display: flex;
  align-items: center;
}

.hero h1,
.card h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.1px;
  font-weight: 800;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.4px;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.card p {
  margin: 0;
  max-width: 900px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f0f1f4;
  color: #6f727a;
  font-size: 14px;
  width: fit-content;
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(47,210,246,0.45);
}

.grid {
  display: grid;
  gap: 18px;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: block;
  padding: 24px;
  min-height: 170px;
  background: rgba(255,255,255,0.68);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,210,246,0.15), transparent 70%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.07);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #6c7079;
  word-break: break-word;
}

.form-card {
  padding: 30px;
}

.form-card.narrow {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.label {
  display: block;
  margin: 16px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #5c6068;
}

.input,
textarea,
select,
input[type="password"],
input[type="text"],
input[type="number"],
input[type="file"] {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(237, 237, 240, 0.78);
  color: var(--text);
  border-radius: 24px;
  padding: 18px 18px;
  outline: none;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 300px;
  resize: vertical;
}

.input:focus,
textarea:focus,
select:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="file"]:focus {
  border-color: rgba(47,210,246,0.55);
  box-shadow: 0 0 0 4px rgba(47,210,246,0.10);
  background: rgba(255,255,255,0.76);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

button,
.button,
.btn {
  border: 0;
  cursor: pointer;
  min-height: 56px;
  padding: 15px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(47,210,246,0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

button:hover,
.button:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(47,210,246,0.30);
}

button.secondary,
.secondary {
  background: #ececef;
  color: var(--text) !important;
  box-shadow: none;
}

button.danger,
.danger {
  background: linear-gradient(135deg, #ff7f94, #ff5472);
  color: #fff !important;
}

.output,
pre.output {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(26, 38, 66, 0.46);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.62;
  min-height: 64px;
}

.stats-row,
.service-stat,
.admin-block {
  background: rgba(237,237,240,0.74);
  border-radius: 24px;
  padding: 16px 18px;
  margin-top: 14px;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.stats-row span {
  color: #666b74;
}

.service-stat {
  display: grid;
  gap: 8px;
}

.example {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.56);
  color: #646872;
  font-size: 13px;
  line-height: 1.55;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #5f646d;
  font-weight: 600;
}

.service-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.style-card {
  min-height: 180px;
}

.muted {
  color: var(--muted);
}

audio {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .page {
    width: min(100%, calc(100% - 18px));
  }

  .topbar-shell {
    padding: 12px 12px 0;
  }

  .topbar {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
  }

  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .card,
  .service-card {
    border-radius: 28px;
  }

  .hero h1,
  .card h1 {
    font-size: 40px;
  }

  textarea {
    min-height: 240px;
  }
}


.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #e8fbff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 8px 18px rgba(47, 210, 246, 0.10);
  padding: 6px;
}

.site-footer {
  margin-top: 22px;
  text-align: center;
}

.footer-branding {
  display: block;
  max-width: min(100%, 540px);
  margin: 0 auto 16px;
  border-radius: 24px;
}

.footer-text {
  margin: 0;
  color: #7a7d85;
  font-size: 14px;
}

.textarea {
  min-height: 300px;
}


.brand-image-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-image-banner {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(100%, 320px);
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo {
  display: none !important;
}

@media (max-width: 900px) {
  .brand-image-banner {
    height: 48px;
    max-width: 220px;
  }
}


.ai-loading-active {
  overflow: hidden;
}

.ai-loading-active,
.ai-loading-active * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

.ai-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(245, 246, 249, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.ai-loading-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.ai-loading-box {
  width: min(520px, 100%);
  border-radius: 34px;
  padding: 30px 28px 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ai-loading-box::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 210, 246, 0.18), transparent 70%);
  pointer-events: none;
}

.ai-loading-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff, #e8fbff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 24px rgba(47, 210, 246, 0.14);
}

.ai-loading-icon {
  font-size: 38px;
  color: #14bfe9 !important;
  animation: aiLoaderPulse 1.3s ease-in-out infinite;
  font-variation-settings:
    'FILL' 1,
    'wght' 500,
    'GRAD' 0,
    'opsz' 24;
}

.ai-loading-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  color: #1f1f23;
}

.ai-loading-text {
  font-size: 16px;
  line-height: 1.6;
  color: #6f727a;
  margin-bottom: 18px;
}

.ai-loading-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(20, 191, 233, 0.09);
  overflow: hidden;
  position: relative;
}

.ai-loading-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2fd2f6, #14bfe9, #7be9ff);
  box-shadow: 0 0 18px rgba(47, 210, 246, 0.22);
  animation: aiLoaderBar 1.15s ease-in-out infinite;
}

.ai-loading-locked {
  pointer-events: none !important;
  opacity: 0.82;
  filter: saturate(0.92);
}

@keyframes aiLoaderPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.96;
  }
  50% {
    transform: scale(1.08) rotate(6deg);
    opacity: 1;
  }
}

@keyframes aiLoaderBar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(260%);
  }
}
