:root {
  color-scheme: light;
  --text: #152536;
  --muted: #607386;
  --line: rgba(255, 255, 255, 0.55);
  --glass: rgba(255, 255, 255, 0.48);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --accent: #3a8fc7;
  --accent-dark: #246c9f;
  --shadow: 0 24px 70px rgba(33, 103, 151, 0.17);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(132, 205, 242, 0.56), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(218, 240, 255, 0.9), transparent 32%),
    linear-gradient(135deg, #e7f6ff 0%, #f5fbff 48%, #dff1ff 100%);
  overflow-x: hidden;
}

.cloud {
  position: fixed;
  z-index: -1;
  width: 210px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  filter: blur(0.2px);
  box-shadow: 0 24px 70px rgba(91, 153, 196, 0.14);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  width: 92px;
  height: 92px;
  left: 28px;
  top: -38px;
}

.cloud::after {
  width: 116px;
  height: 116px;
  right: 24px;
  top: -54px;
}

.cloud-one {
  top: 90px;
  left: -64px;
}

.cloud-two {
  top: 210px;
  right: -72px;
  transform: scale(0.82);
}

.cloud-three {
  bottom: 74px;
  left: 14%;
  transform: scale(0.62);
  opacity: 0.72;
}

button,
input,
textarea {
  font: inherit;
}

.app-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 22px 16px 32px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #2477ad;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 0.95;
}

.subtitle {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.status-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #2477ad;
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 700;
}

.glass-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.76), rgba(232,247,255,0.42));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field > span {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.icon-button,
.submit-button {
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.icon-button {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 94px;
  padding: 12px 8px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 30px rgba(34, 64, 82, 0.08), inset 0 1px 0 rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.icon-button:active {
  transform: scale(0.98);
}

.icon-button.active {
  border-color: rgba(47, 111, 115, 0.42);
  color: #15537c;
  background: rgba(221, 243, 255, 0.86);
}

.app-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  color: #15537c;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(218,240,255,0.74));
  box-shadow: 0 10px 24px rgba(34, 64, 82, 0.12), inset 0 1px 0 rgba(255,255,255,0.92);
  font-size: 25px;
  line-height: 1;
}

.icon-button span:last-child {
  display: block;
  min-height: 32px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.74);
  outline: none;
}

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

input:focus,
textarea:focus {
  border-color: rgba(47, 111, 115, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 111, 115, 0.12);
}

.upload-card {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 4px 0 16px;
  border: 1px dashed rgba(47, 111, 115, 0.4);
  border-radius: 18px;
  padding: 18px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  text-align: center;
}

.upload-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 28px rgba(30, 85, 89, 0.22);
  font-size: 26px;
}

.upload-title {
  color: var(--text);
  font-weight: 800;
}

.upload-text {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.35;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -4px 0 16px;
}

.preview-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 14px;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.55);
}

.preview-item img,
.preview-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  border-radius: 999px;
  padding: 4px 7px;
  color: white;
  background: rgba(23, 32, 42, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  min-height: 56px;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 36px rgba(30, 85, 89, 0.28);
  font-weight: 800;
}

.submit-button:active {
  transform: translateY(1px);
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 640px) {
  .hero {
    display: block;
  }

  .status-pill {
    display: inline-flex;
    margin-top: 16px;
  }

  .glass-panel {
    border-radius: 20px;
    padding: 14px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .icon-button {
    min-height: 88px;
  }

  .app-icon {
    width: 42px;
    height: 42px;
  }
}
