/* ==========================================================================
   PTA (https://pintia.cn/home) Pixel-Perfect Clone Stylesheet
   ========================================================================== */

:root {
  --font-sans: 'Harmony', 'HarmonyOS Sans SC', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: 'JBMono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --color-primary: hsl(212, 89%, 53%);
  --color-pta: hsl(212, 87%, 30%);
  --text-dark: hsl(0, 0%, 10%);
  --text-normal: hsl(0, 0%, 25%);
  --text-light: hsl(0, 0%, 45%);
  --text-lightest: hsl(0, 0%, 60%);
  --text-white: hsl(0, 0%, 100%);

  --bg-base: hsl(0, 0%, 100%);
  --bg-light: hsl(211, 20%, 97%);
  --bg-normal: hsl(211, 20%, 93%);
  --bg-site: hsl(204, 24%, 95%);

  --border-all: hsla(0, 0%, 0%, 0.06);
  --height-full: 100vh;
  --height-full: 100dvh;

  --transition-fast: 0.15s;
  --transition-normal: 0.2s;
  --transition-slow: 0.4s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: var(--text-normal);
  background-color: var(--bg-site);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
}

/* Top Loading Bar */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #36c3ff, var(--color-primary));
  z-index: 100;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.2s ease;
  pointer-events: none;
}

.loading-bar.active {
  opacity: 1;
}

/* ==========================================================================
   1. Floating Top Header
   ========================================================================== */
.header-wrapper.is-home-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3rem;
  height: 96px;
  background: none;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  line-height: 1;
  transition: opacity var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.92;
}

.pta-brand-svg {
  height: 2rem;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform 0.1s, opacity var(--transition-fast);
}

.pc-button-outline.pc-color-white {
  height: 2rem;
  min-width: 4rem;
  padding: 0 0.9375rem;
  border: 1px solid var(--text-white);
  background: transparent;
  color: var(--text-white);
}

.pc-button-outline.pc-color-white:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.pc-button-outline.pc-color-white:active {
  transform: translateY(0.0625rem);
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  transition: background-color var(--transition-fast), opacity var(--transition-fast), transform 0.1s;
}

.lang-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.lang-toggle-btn:focus:not(:focus-visible),
.pc-button:focus:not(:focus-visible),
.entry-btn:focus:not(:focus-visible),
.indicator-dot:focus:not(:focus-visible) {
  outline: none;
}

.lang-toggle-btn:active {
  transform: translateY(1px);
}

.translate-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* ==========================================================================
   2. Above-the-Fold Main Wrapper (Hero Banner + Promo Carousel)
   ========================================================================== */
.home-page {
  width: 100%;
  position: relative;
}

.main-fold {
  height: calc(var(--height-full) - 8px);
  min-height: 610px;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-site);
}

/* Hero Banner */
.banner.eye-catch {
  position: relative;
  flex-grow: 1;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-white);
  /* Fallback mountain night-blue gradient if image takes a moment to load */
  background: radial-gradient(circle at 50% 44%, #17498c 0%, #0d2b5c 48%, #081736 100%);
  user-select: none;
}

.banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  pointer-events: none;
}

/* Center Calligraphy Logo ("拼题A" + Horizontal Lens Flare) */
.text-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 715px;
  max-width: 92%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* Four Floating Stat Callouts */
.highlight-container {
  position: relative;
  width: 1px;
  height: 1px;
  z-index: 2;
}

.highlight {
  position: absolute;
  font-size: 18px;
  line-height: 1.25;
  white-space: nowrap;
  text-shadow: 0 2px 4px hsla(0, 0%, 0%, 0.5);
  transition: top 0.3s ease, left 0.3s ease;
}

.highlight .count {
  font-size: 50px;
  font-weight: 400;
  vertical-align: middle;
  font-family: 'Harmony', 'Segoe UI', 'Helvetica Neue', Roboto, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.highlight .text {
  margin-left: 10px;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 400;
}

/* Exact coordinates matching 992px..1447px (incl. 1280px & 1440px desktop) */
.highlight-1 {
  top: -7em;
  left: -28em;
}

.highlight-2 {
  top: 4em;
  left: -24em;
}

.highlight-3 {
  top: -8em;
  left: 12em;
}

.highlight-4 {
  top: 6em;
  left: 7em;
}

/* Wider desktop coordinates >= 1448px */
@media (min-width: 1448px) {
  .highlight-1 {
    top: -11em;
    left: -37em;
  }

  .highlight-2 {
    top: 2em;
    left: -32em;
  }

  .highlight-3 {
    top: -14em;
    left: 23em;
  }

  .highlight-4 {
    top: 6em;
    left: 20em;
  }
}

/* Breathing Entry CTA Button */
.entry {
  position: absolute;
  bottom: 17%;
  left: 50%;
  z-index: 3;
  text-align: center;
}

.entry-link {
  display: inline-block;
  text-decoration: none;
}

.entry-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 9.375rem;
  padding: 0.375rem 0.75rem;
  margin-left: -4.6875rem;
  border: 0;
  border-radius: 100px;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.1875rem;
  color: var(--text-white);
  background: #0992ee;
  opacity: 0.9;
  cursor: pointer;
  transition: background 0.4s ease, opacity 0.2s ease, transform 0.12s ease;
}

.entry-btn.is-copied {
  animation: breathe 1s ease-in-out 6 alternate-reverse;
}

.entry-btn::after {
  content: '';
  position: absolute;
  top: -1.5rem;
  bottom: -1.5rem;
  left: -1.5rem;
  right: -1.5rem;
  border-radius: 100px;
}

.entry-btn:hover {
  background: #36c3ff;
  opacity: 1;
}

.entry-btn:active {
  transform: translateY(1px);
}

@keyframes breathe {
  0% {
    box-shadow: 0 0.125rem 2.5rem 0 rgba(255, 255, 255, 0.7);
  }
  100% {
    box-shadow: 0 0.3125rem 40.25rem 0 rgba(9, 36, 81, 0.5);
  }
}

/* Stealth blind-typing input: zero visible pixels */
.stealth-prompt-input {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  resize: none;
  overflow: hidden;
  opacity: 0;
  color: transparent;
  caret-color: transparent;
  background: transparent;
  pointer-events: none;
  z-index: -1;
}

/* Hero Bottom Notification Sub-bar */
.notification-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 46px;
  padding: 0 150px;
  background: hsla(0, 0%, 0%, 0.5);
  z-index: 4;
}

.notifications {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.notifications li {
  position: relative;
}

.notifications li + li::before {
  content: '';
  position: absolute;
  width: 1px;
  top: 15px;
  bottom: 15px;
  left: -1px;
  background: var(--text-white);
}

.notification-link {
  display: inline-block;
  padding: 0 0.9375rem;
  font-size: 0.875rem;
  line-height: 2.875rem;
  color: var(--text-white);
  background: transparent;
  border: none;
  cursor: pointer;
}

.notification-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   3. Horizontal Partner / Promo Carousel
   ========================================================================== */
.pc-slider.ads {
  width: 100%;
  min-height: 136px;
  margin-top: 20px;
  flex-shrink: 0;
  overflow: hidden;
  user-select: none;
  background-color: var(--bg-site);
}

.pc-slider-viewport {
  width: 100%;
  overflow: hidden;
}

.pc-slider-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pc-slider-container.no-transition {
  transition: none !important;
}

.ad-slide {
  flex: none;
  width: 35.6rem;
  height: 6.25rem;
  display: block;
  overflow: hidden;
  background-color: #dbe4ee;
  transition: opacity 0.2s ease;
}

.ad-slide:hover {
  opacity: 0.94;
}

.ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-slider-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.625rem 0 1rem;
}

.indicator-dot {
  width: 0.75rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  background-color: hsla(0, 0%, 0%, 0.08);
  cursor: pointer;
  transition: width 0.15s linear, background-color 0.15s linear;
}

.indicator-dot:hover {
  background-color: hsla(0, 0%, 0%, 0.22);
}

.indicator-dot.active {
  width: 1.5rem;
  background-color: var(--text-lightest);
}

/* ==========================================================================
   4. PTA Introduction & Feature Showcase
   ========================================================================== */
.pta-introduction {
  background-color: var(--bg-base);
  overflow-x: clip;
}

.todo-outer-wrap {
  background-color: var(--bg-base);
  border-top: 8px solid var(--color-primary);
  padding: 2rem 2rem 0;
}

.linear-wrap {
  background: linear-gradient(rgba(10, 58, 156, 0.15), transparent);
  border-radius: 1.2rem;
  padding: 2px;
}

.todo-wrap {
  padding-top: 4rem;
  border-radius: 1.2rem;
  background-color: var(--bg-base);
}

.title-wrap {
  position: relative;
  padding: 0 3rem;
}

.logo-img {
  position: absolute;
  top: 0;
  left: -1.2rem;
  width: 3.75rem;
  height: 3.5rem;
  object-fit: contain;
}

.title-img {
  width: 30rem;
  max-width: 100%;
  height: auto;
}

.todo-cards-wrap {
  padding-top: 9rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.todo-card {
  position: relative;
  padding: 0 15.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.todo-card.is-reverse {
  flex-direction: row-reverse;
}

.clear-img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  object-fit: contain;
  position: relative;
  z-index: 10;
}

.text-wrap {
  position: relative;
  z-index: 10;
  margin: 0 5rem;
  flex: 1;
}

.title-size {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 900;
  color: var(--color-pta);
}

.content-size {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2.5rem;
  color: #808080;
}

.blur-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36.25rem;
  height: 36.25rem;
  object-fit: contain;
  filter: blur(12px);
  opacity: 0.1;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

.blur-right {
  right: 1rem;
}

.blur-left {
  left: 1rem;
}

.line-img {
  padding: 0 20rem;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  position: relative;
  z-index: 8;
}

/* ==========================================================================
   5. Closing Description & Pricing CTA Section
   ========================================================================== */
.description-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(to bottom, #ffffff, rgba(51, 122, 193, 0.2));
  padding: 12.5rem 2rem 7rem;
}

.name-img {
  width: 37.5rem;
  max-width: 92%;
  height: auto;
}

.desc-text-wrap {
  text-align: center;
  padding: 3rem 0 5rem;
  max-width: 1120px;
}

.desc-line {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  line-height: 2.5rem;
  color: #808080;
}

.price-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16.5rem;
  height: 5rem;
  border-radius: 9999px;
  background-color: var(--color-pta);
  color: var(--text-white);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter var(--transition-fast), transform 0.12s ease;
}

.price-cta-btn:hover {
  filter: brightness(0.86);
}

.price-cta-btn:active {
  transform: translateY(1px);
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid #e1e8f2;
  background-color: #f7f9fc;
  color: var(--text-normal);
  font-size: 16px;
  line-height: 1.65;
  padding: 3.5rem 0;
}

.footer-columns {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr 1fr;
  gap: 2rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.pat-logo-link {
  display: inline-block;
  max-width: 185px;
}

.pat-logo-svg {
  width: 185px;
  height: auto;
  display: block;
}

.legal-info {
  padding-top: 2rem;
  font-size: 13px;
  line-height: 1.6;
  display: grid;
  gap: 0.5rem;
  color: var(--text-normal);
}

.legal-info p {
  margin: 0;
}

.legal-info a {
  transition: color var(--transition-normal);
}

.legal-info a:hover {
  color: var(--color-primary);
}

.footer-col {
  border-left: 1px solid #e1e8f2;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-group h2 {
  margin: 0 0 0.75rem;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

.footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-group a {
  transition: color var(--transition-normal);
}

.footer-group a:hover {
  color: var(--color-primary);
}

.qr-figure {
  margin: 0.75rem 0 0;
}

.qr-figure figcaption {
  margin-bottom: 0.5rem;
  color: var(--text-normal);
}

.qr-box {
  width: 112px;
  height: 112px;
  padding: 6px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   7. Left-Edge Floating Feedback Button
   ========================================================================== */
.floating-feedback-tab {
  position: fixed;
  bottom: 4rem;
  left: -1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.55rem;
  background-color: var(--bg-base);
  color: var(--text-dark);
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
  z-index: 20;
  transition: left var(--transition-normal), opacity var(--transition-normal), padding-left var(--transition-normal);
}

.floating-feedback-tab:hover {
  left: 0;
  padding-left: 0;
  opacity: 1;
}

/* ==========================================================================
   8. Modal Overlay (FAQ / Program Samples / Compilers Version / Login)
   ========================================================================== */
.pc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast) ease;
  padding: 1.5rem;
}

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

.pc-modal-container {
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background: var(--bg-base);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform var(--transition-fast) ease;
}

.pc-modal-container.is-login {
  max-width: 420px;
}

.pc-modal-overlay.open .pc-modal-container {
  transform: translateY(0);
}

.pc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9eef4;
  background-color: #fafcfe;
}

.pc-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pc-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.pc-modal-close:hover {
  background-color: #eef3f8;
  color: var(--text-dark);
}

.pc-modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-normal);
}

/* Modal Content Helpers */
.modal-section-title {
  margin: 1.25rem 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-pta);
}

.modal-section-title:first-child {
  margin-top: 0;
}

.pta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.pta-table th,
.pta-table td {
  border: 1px solid #e3e9f0;
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.pta-table th {
  background-color: #f4f7fb;
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
}

.pta-table tr:nth-child(even) td {
  background-color: #fafcfe;
}

.status-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.status-ac { background: #e6f7ed; color: #1a7f37; }
.status-wa { background: #fdecec; color: #cf222e; }
.status-warn { background: #fff4e5; color: #b54708; }
.status-info { background: #e8f3ff; color: #0969da; }

.sample-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.sample-tab {
  padding: 0.35rem 0.75rem;
  border: 1px solid #d9e2ec;
  border-radius: 4px;
  background: #f8fafc;
  color: var(--text-normal);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sample-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.sample-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.code-block {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: 6px;
  background: #141d2b;
  color: #e6edf3;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-x: auto;
}

.faq-list {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
}

.faq-list li {
  margin-bottom: 0.45rem;
}

/* Login Modal Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.login-field input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #d5dde7;
  border-radius: 4px;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.login-field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 133, 243, 0.14);
}

.login-submit-btn {
  height: 2.5rem;
  border: none;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter var(--transition-fast);
}

.login-submit-btn:hover {
  filter: brightness(0.92);
}

.login-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.login-footer-row a {
  color: var(--color-primary);
}

.login-footer-row a:hover {
  text-decoration: underline;
}

.login-feedback-msg {
  padding: 0.65rem 0.8rem;
  border-radius: 4px;
  background: #edf6ff;
  color: var(--color-pta);
  font-size: 0.84rem;
  display: none;
}

.login-feedback-msg.show {
  display: block;
}

/* ==========================================================================
   9. Responsive Breakpoints (matching live pintia.cn/home)
   ========================================================================== */
@media (max-width: 1400px) {
  .title-img {
    width: 25.6rem;
  }

  .todo-cards-wrap {
    padding-top: 6rem;
  }

  .todo-card {
    padding: 0 9rem;
  }

  .clear-img {
    width: 5.75rem;
    height: 5.75rem;
  }

  .blur-img {
    width: 24rem;
    height: 24rem;
  }

  .text-wrap {
    margin: 0 3.5rem;
  }

  .title-size {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .content-size {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .line-img {
    padding: 0 14rem;
  }

  .description-wrap {
    padding: 8rem 2rem 5rem;
  }

  .name-img {
    width: 28rem;
  }

  .desc-line {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .price-cta-btn {
    width: 11rem;
    height: 3.2rem;
    font-size: 1.125rem;
  }
}

@media (max-width: 1180px) {
  .todo-card {
    padding: 0 4rem;
  }
  .line-img {
    padding: 0 8rem;
  }
}

@media (max-width: 991px) {
  .main-fold {
    height: auto;
    min-height: 100dvh;
  }

  .banner.eye-catch {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 96px;
    gap: 1.5rem;
  }

  .text-image {
    position: static;
    transform: none;
    width: 480px;
    max-width: 88%;
    margin-top: 1.5rem;
  }

  .highlight-container {
    width: 100%;
    max-width: 560px;
    height: auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }

  .highlight {
    position: static;
    text-align: center;
    white-space: normal;
  }

  .highlight .count {
    font-size: 28px;
    display: block;
  }

  .highlight .text {
    margin-left: 0;
    font-size: 14px;
  }

  .entry {
    position: static;
    margin: 0.5rem 0 1.5rem;
  }

  .entry-btn {
    margin-left: 0;
  }

  .notification-bar {
    position: static;
    margin-top: auto;
    padding: 0 75px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
  }

  .footer-col:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.25rem;
    height: 68px;
  }

  .pta-brand-svg {
    height: 1.65rem;
  }

  .todo-outer-wrap {
    padding: 1rem 1rem 0;
  }

  .todo-wrap {
    padding-top: 2.5rem;
  }

  .title-wrap {
    padding: 0 1.5rem;
  }

  .logo-img {
    width: 2.5rem;
    height: 2.3rem;
    left: -0.6rem;
  }

  .todo-cards-wrap {
    padding-top: 3.5rem;
    gap: 3rem;
  }

  .todo-card,
  .todo-card.is-reverse {
    flex-direction: column;
    padding: 0 1.5rem;
    text-align: center;
    gap: 1.25rem;
  }

  .text-wrap {
    margin: 0;
  }

  .blur-img,
  .line-img {
    display: none;
  }

  .ad-slide {
    width: 22rem;
    height: 4rem;
  }

  .pc-slider.ads {
    min-height: 104px;
  }
}

@media (max-width: 576px) {
  .notification-bar {
    padding: 0 25px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .footer-col {
    border-left: none;
    border-top: 1px solid #e1e8f2;
    padding-left: 0;
    padding-top: 1.5rem;
  }
}
