/* High-Fidelity fun & illustrative Bento-Style Landing Page for 简力 (Jianli) */

/* General Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Floating Glassmorphism Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height var(--transition-normal);
}

.main-header.scrolled .header-container {
  height: 80px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 118, 254, 0.15));
}

.logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.main-header.scrolled .logo-img {
  height: 64px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-mi {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: lowercase;
  margin-right: 1px;
  font-size: 1.1em;
  letter-spacing: -1.5px;
  display: inline-block;
}

.logo-dot {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-item:hover {
  color: var(--primary-color);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-item:hover::after {
  width: 100%;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-ghost {
  color: var(--text-muted);
  background-color: transparent;
}

.btn-ghost:hover {
  color: var(--text-main);
  background-color: var(--primary-light);
}

.btn-primary {
  color: var(--text-white);
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--text-muted);
  background-color: var(--bg-white);
  border-color: var(--border-color);
}

.btn-outline:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  background-color: var(--bg-light);
}

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-glow {
  box-shadow: 0 10px 25px -5px var(--btn-glow-shadow);
}

.btn-glow:hover {
  box-shadow: 0 12px 30px -3px var(--btn-glow-hover-shadow);
}

/* ==========================================================================
   Hero Section: Centered & Fun Identity Selection Grid
   ========================================================================== */
.hero-section {
  padding-block: 6rem 7rem;
  background: radial-gradient(circle at 50% 0%, rgba(0, 118, 254, 0.05) 0%, rgba(13, 148, 136, 0.02) 50%, rgba(255, 255, 255, 0) 100%);
  text-align: center;
  overflow: hidden;
}



.hero-title-centered {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.25;
  margin-block-end: 1.5rem;
  letter-spacing: -1.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-centered {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-block-end: 4rem;
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Identity Cards Grid */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-block-end: 4rem;
  width: 100%;
}

.identity-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card-image-wrapper {
  aspect-ratio: 1.1 / 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color var(--transition-normal);
}

.card-graduate .card-image-wrapper { background-color: #f5f3ff; } /* Soft purple tint */
.card-junior .card-image-wrapper { background-color: #ecfdf5; }    /* Soft teal tint */
.card-veteran .card-image-wrapper { background-color: #f8fafc; }   /* Soft slate tint */
.card-freelancer .card-image-wrapper { background-color: #fff1f2; }/* Soft rose tint */

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card-info {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-block-end: 0.5rem;
  transition: color var(--transition-fast);
}

.card-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-block-end: 1.5rem;
  flex-grow: 1;
}

.card-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-fast);
}

.card-freelancer .card-action { color: #be123c; }
.card-junior .card-action { color: #0d9488; }

/* Card Hover Effects */
.identity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 10px 20px -8px var(--primary-glow);
  border-color: rgba(0, 118, 254, 0.2);
}

.identity-card:hover .card-img {
  transform: scale(1.05);
}

.identity-card:hover .card-title {
  color: var(--primary-color);
}

.card-freelancer:hover { border-color: rgba(190, 18, 60, 0.2); }
.card-freelancer:hover .card-title { color: #be123c; }

.identity-card:hover .card-action {
  gap: 0.5rem;
}

.hero-actions-centered {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.stats-bar::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 118, 254, 0.1) 0%, rgba(0, 118, 254, 0) 70%);
  transform: rotate(-10deg);
  pointer-events: none;
}

.stats-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num-wrapper {
  display: inline-flex;
  align-items: baseline;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.stat-plus {
  font-size: 2rem;
  font-weight: 700;
  margin-left: 2px;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-label-large {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.stat-label-sub {
  font-size: 0.825rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* ==========================================================================
   Bento Grid Section (The core layout with fun elements integrated)
   ========================================================================== */
.bento-section {
  padding-block: 7rem;
  background-color: var(--bg-white);
}

.bento-header,
.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-block-end: 4.5rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-block-end: 1rem;
}

.bento-header h2,
.section-header h2 {
  font-size: 2.25rem;
  margin-block-end: 1rem;
  font-weight: 800;
  letter-spacing: -0.75px;
}

.bento-header p,
.section-header p {
  color: var(--text-muted);
}

/* Bento Grid System - Strictly Configured to prevent misalignment */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  min-height: 300px;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 118, 254, 0.25);
  box-shadow: var(--shadow-md);
}

.col-span-2 {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
}

.col-span-4 {
  grid-column: span 4;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
}

.row-span-2 {
  grid-row: span 2;
}

.bento-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-grow: 1;
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 4px;
  text-transform: uppercase;
  margin-block-end: 0.75rem;
}

.card-badge.bg-accent {
  background-color: var(--accent-light);
  color: var(--accent-color);
}

.card-badge.bg-slate {
  background-color: #f1f5f9;
  color: #475569;
}

.bento-card-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-block-end: 0.5rem;
  letter-spacing: -0.5px;
}

.bento-card-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Bento 1: Layout Engine - decorator avatar */
.visual-avatar-decorator {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decorator-avatar-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.mini-canvas-sheet {
  position: absolute;
  top: 15px;
  right: -5px;
  width: 70px;
  height: 90px;
  background-color: var(--bg-white);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: rotate(8deg);
}

.mini-row {
  height: 5px;
  background-color: var(--bg-light);
  border-radius: 1px;
}

.mini-row.short { width: 60%; }

/* Bento 2: AI terminals - custom mini avatar */
.bento-ai-polish {
  flex-direction: column;
}

.bento-ai-polish .bento-card-visual {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terminal-shell {
  background-color: var(--bg-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  overflow: hidden;
  text-align: left;
}

.term-head {
  background-color: var(--bg-dark-card);
  padding: 0.5rem 0.875rem;
  display: flex;
  gap: 5px;
}

.term-head .t-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: #475569;
}

.term-body {
  padding: 1rem;
  font-family: monospace;
  font-size: 0.725rem;
  line-height: 1.5;
}

.line-in {
  color: var(--text-light);
  margin-block-end: 0.35rem;
}

.line-out {
  color: var(--accent-color);
  margin-block-end: 0.25rem;
}

.line-suggestion {
  color: var(--text-white);
  background-color: rgba(255,255,255,0.05);
  padding: 0.5rem;
  border-radius: 4px;
  border-left: 2px solid var(--accent-color);
}

.visual-avatar-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
}

.mini-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.chat-bubble {
  background-color: var(--accent-light);
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 0 12px 12px 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Bento 3: Shield icon */
.bento-security .bento-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 8px 12px rgba(13, 148, 136, 0.15));
  animation: floatShield 3s infinite ease-in-out;
}

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

/* Bento 4: Versions Manager - veteran manager decoration */
.versions-decorator-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.versions-decorator-wrapper .decorator-avatar-img {
  width: 70px;
  height: 70px;
  border-width: 3px;
}

.branch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-grow: 1;
}

.branch-node {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.branch-node.main {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
  position: relative;
  z-index: 2;
}

.branch-lines {
  height: 25px;
  width: 100px;
  position: relative;
}

.branch-path {
  position: absolute;
  top: 0;
  width: 50px;
  height: 25px;
  border-top: 2px solid var(--text-light);
}

.branch-path:first-child {
  left: 0;
  border-right: 2px solid var(--text-light);
  border-radius: 0 6px 0 0;
}

.branch-path:last-child {
  right: 0;
  border-left: 2px solid var(--text-light);
  border-radius: 6px 0 0 0;
}

.branch-sub-nodes {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
}

.branch-node.sub {
  background-color: var(--bg-white);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  font-size: 0.65rem;
}

/* ==========================================================================
   Interactive Tabbed Toolbox Section
   ========================================================================== */
.interactive-toolbox-section {
  padding-block: 7rem;
}

.toolbox-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-block-end: 3.5rem;
}

.toolbox-tabs {
  display: inline-flex;
  background-color: var(--bg-white);
  padding: 0.375rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.toolbox-tab-btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.toolbox-tab-btn:hover {
  color: var(--primary-color);
}

.toolbox-tab-btn.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

/* Grid panels swap */
.toolbox-content-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  animation: fadeIn 0.4s ease forwards;
}

.toolbox-content-grid.show {
  display: grid;
}

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

.toolbox-panel-card {
  background-color: var(--bg-white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: left;
}

.toolbox-panel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 118, 254, 0.2);
  box-shadow: var(--shadow-md), 0 10px 20px -8px var(--primary-glow);
}

.panel-icon {
  font-size: 2.25rem;
  margin-block-end: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary-color);
}

.panel-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.toolbox-panel-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-block-end: 0.5rem;
  color: var(--text-main);
}

.toolbox-panel-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Templates Marquee Section (Seamless carousel slider)
   ========================================================================== */
.templates-marquee-section {
  padding-block: 7rem;
  background-color: var(--bg-white);
  overflow: hidden;
}

.marquee-track-container {
  width: 100%;
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-scroll-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
  animation: marqueeScroll 25s linear infinite;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee-track-container:hover .marquee-group {
  animation-play-state: paused;
}

.template-preview-card {
  width: 280px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.card-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  border-radius: 4px;
}

.card-thumb {
  height: 280px;
  background-color: var(--bg-white);
  border-radius: 4px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.template-preview-card:hover .card-thumb {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 118, 254, 0.2);
}

.card-thumb.classic { background-image: url('../assets/preview_classic_v2.png'); }
.card-thumb.sidebar { background-image: url('../assets/preview_sidebar_v2.png'); }
.card-thumb.timeline { background-image: url('../assets/preview_timeline_v2.png'); }
.card-thumb.wavy { background-image: url('../assets/preview_wavy_v2.png'); }
.card-thumb.gradient { background-image: url('../assets/preview_gradient_v2.png'); }
.card-thumb.morandi { background-image: url('../assets/preview_morandi_v2.png'); }
.card-thumb.orient { background-image: url('../assets/preview_orient_v2.png'); }
.card-thumb.cyberpunk { background-image: url('../assets/preview_cyberpunk_v2.png'); }
.card-thumb.bauhaus { background-image: url('../assets/preview_bauhaus_v2.png'); }
.card-thumb.botanical { background-image: url('../assets/preview_botanical_v2.png'); }
.card-thumb.editorial { background-image: url('../assets/preview_editorial_v2.png'); }
.card-thumb.tech { background-image: url('../assets/preview_tech_v2.png'); }
.card-thumb.gucci { background-image: url('../assets/preview_gucci_v2.png'); }
.card-thumb.hermes { background-image: url('../assets/preview_hermes_v2.png'); }
.card-thumb.industrial { background-image: url('../assets/preview_industrial_v2.png'); }
.card-thumb.neonRetro { background-image: url('../assets/preview_neonRetro_v2.png'); }
.card-thumb.japanese { background-image: url('../assets/preview_japanese_v2.png'); }
.card-thumb.swiss { background-image: url('../assets/preview_swiss_v2.png'); }
.card-thumb.nordic { background-image: url('../assets/preview_nordic_v2.png'); }
.card-thumb.academic { background-image: url('../assets/preview_academic_v2.png'); }
.card-thumb.editorialDark { background-image: url('../assets/preview_editorialDark_v2.png'); }
.card-thumb.aurora { background-image: url('../assets/preview_aurora_v2.png'); }

.template-preview-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.template-preview-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.bottom-cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e1b4b 100%);
  color: var(--text-white);
  padding-block: 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bottom-cta-section::before {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.bottom-cta-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 118, 254, 0.12) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.cta-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--text-white);
  margin-block-end: 1rem;
  letter-spacing: -0.75px;
  font-weight: 800;
}

.cta-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-block-end: 3rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.btn-outline-dark {
  color: var(--text-white);
  background-color: transparent;
  border-color: rgba(255,255,255,0.25);
}

.btn-outline-dark:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: var(--text-white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-block: 5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-block-end: 3rem;
  text-align: center;
}

.footer-info {
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-info .logo-area {
  color: var(--text-white);
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(1.15) contrast(1.05);
  mix-blend-mode: screen;
  transition: all var(--transition-normal);
}

html[data-theme="dark"] .footer-logo-img {
  filter: invert(1) hue-rotate(-10deg) brightness(1.15) contrast(1.05);
}

.footer-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-light);
  opacity: 0.85;
  text-align: center;
}

.footer-links-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6rem;
  width: 100%;
}

.footer-col-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-col-inline h4 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  opacity: 0.95;
}

.footer-col-inline .inline-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.footer-col-inline a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer-sep {
  color: var(--text-light);
  opacity: 0.35;
  font-weight: bold;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.825rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Responsive Overrides - Strict Layout Maintenance */
@media (max-width: 1024px) {
  .identity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2,
  .col-span-4 {
    grid-column: span 1;
    flex-direction: column-reverse;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .row-span-2 {
    grid-row: span 1;
  }
  
  .versions-decorator-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .header-container {
    height: 70px;
  }
  .nav-links {
    display: none;
  }
  .stats-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  #login-btn,
  #register-btn-header {
    display: none !important;
  }
  
  .auth-buttons {
    gap: 0 !important;
  }
  
  #start-make-btn {
    padding: 0.35rem 0.85rem !important;
    font-size: 0.75rem !important;
  }

  .hero-section {
    padding-block: 3.5rem 4rem;
  }
  .identity-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions-centered {
    flex-direction: column;
    gap: 1rem;
    padding-inline: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    padding-inline: 1rem;
  }
  .btn-lg {
    width: 100%;
  }
  .footer-links-group {
    gap: 2.5rem;
  }
  
  .bento-card {
    padding: 1.75rem;
  }
  .visual-avatar-decorator,
  .versions-decorator-wrapper {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

/* ==========================================================================
   Pricing Section Styles - Premium Bento & Glassmorphism
   ========================================================================== */
.pricing-section {
  padding-block: 6rem 7rem;
  background: radial-gradient(circle at 50% 0%, rgba(0, 118, 254, 0.03) 0%, transparent 70%);
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.pricing-header-center .section-title {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.75px;
}

.pricing-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.free-plan:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary-color) !important;
}

.pricing-card.pro-plan:hover {
  box-shadow: 0 30px 60px -15px rgba(251, 191, 36, 0.45) !important;
  transform: translateY(-10px) scale(1.02) !important;
}

.btn-full {
  display: inline-flex;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

/* 黄金卡片微粒子发光呼吸动画 */
@keyframes goldGlow {
  0% {
    box-shadow: 0 4px 14px 0 rgba(251, 191, 36, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px 8px rgba(251, 191, 36, 0.55);
  }
  100% {
    box-shadow: 0 4px 14px 0 rgba(251, 191, 36, 0.3);
  }
}

.btn-gold-glow {
  animation: goldGlow 3s infinite ease-in-out;
}

/* Lifetime plan layout elements */
.lifetime-plan {
  background: linear-gradient(145deg, #1e1b4b 0%, #03001e 100%);
  border: 2.5px solid #fbbf24;
  color: #ffffff;
  box-shadow: 0 15px 35px -10px rgba(251, 191, 36, 0.35);
  --lifetime-accent: #fbbf24;
  --lifetime-accent-dark: #d97706;
  --lifetime-bg-badge-text: #1e1b4b;
}

.lifetime-badge {
  background: linear-gradient(135deg, var(--lifetime-accent) 0%, var(--lifetime-accent-dark) 100%);
  color: var(--lifetime-bg-badge-text);
  border: 1px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-lifetime {
  background: linear-gradient(135deg, var(--lifetime-accent) 0%, var(--lifetime-accent-dark) 100%);
  border: none;
  color: var(--lifetime-bg-badge-text);
  transition: all var(--transition-normal);
}

.btn-lifetime:hover {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  color: var(--lifetime-bg-badge-text);
  transform: translateY(-1px);
}


/* Modal Popups on Landing Page (Glassmorphism & Scales) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-card {
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  animation: modalScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  from {
    transform: scale(0.95) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Premium Dark Mode overrides for Landing Page */
html[data-theme="dark"] .hero-title-centered {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .main-header {
  background-color: rgba(28, 25, 23, 0.85); /* Warm Stone charcoal */
  border-bottom: 1px solid rgba(46, 42, 36, 0.8);
}

html[data-theme="dark"] .main-header.scrolled {
  background-color: rgba(12, 10, 9, 0.95); /* Stone 950 */
}

html[data-theme="dark"] .card-badge.bg-slate {
  background-color: #2e2a24;
  color: #a8a29e;
}

html[data-theme="dark"] .card-graduate .card-image-wrapper { background-color: #2e1065; }
html[data-theme="dark"] .card-junior .card-image-wrapper { background-color: #064e3b; }
html[data-theme="dark"] .card-veteran .card-image-wrapper { background-color: #2e2a24; }
html[data-theme="dark"] .card-freelancer .card-image-wrapper { background-color: #4c0519; }

html[data-theme="dark"] .lifetime-plan {
  background: linear-gradient(145deg, #2a1b0c 0%, #0c0804 100%);
  border-color: var(--primary-color);
  color: #f5f5f4;
  box-shadow: 0 15px 35px -10px rgba(255, 122, 0, 0.25);
  --lifetime-accent: #ff9d42;
  --lifetime-accent-dark: #ff7a00;
  --lifetime-bg-badge-text: #0c0a09;
}

html[data-theme="dark"] .lifetime-badge {
  border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .btn-lifetime {
  color: #0c0a09;
}

html[data-theme="dark"] .btn-lifetime:hover {
  background: linear-gradient(135deg, #ffb066 0%, #ea580c 100%);
  color: #0c0a09;
}

html[data-theme="dark"] .bottom-cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1c1917 100%);
}

html[data-theme="dark"] .bottom-cta-section::after {
  background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.bento-word-templates {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%) !important;
  border: 1px solid var(--border-color) !important;
}

