/* ===== ZZAI Premium Landing Page ===== */

:root {
  --black: #000000;
  --gray-950: #0a0a0b;
  --gray-900: #111113;
  --gray-800: #1a1a1d;
  --gray-700: #2a2a2e;
  --gray-600: #3f3f46;
  --gray-500: #52525b;
  --gray-400: #71717a;
  --gray-300: #a1a1aa;
  --gray-200: #d4d4d8;
  --gray-100: #f4f4f5;
  --white: #ffffff;
  
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent-cyan: #22d3ee;
  --accent-orange: #fb923c;
  --accent-purple: #a78bfa;
  
  --gradient-primary: linear-gradient(135deg, #22d3ee 0%, #6366f1 50%, #a78bfa 100%);
  --gradient-text: linear-gradient(90deg, #22d3ee 0%, #6366f1 40%, #a78bfa 100%);
  
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
}

/* ===== Typography ===== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.btn-ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.btn-white {
  background: var(--white);
  color: var(--gray-900);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* ===== Header ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--gray-900);
}

.header-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  padding: 0.5rem 1rem;
  background: var(--gray-100);
  border-radius: 6px;
  transition: all 0.2s;
}

.header-cta:hover {
  background: var(--gray-200);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 20%, rgba(34, 211, 238, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse 50% 30% at 20% 60%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: glow-float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 30%;
  right: 15%;
  animation-delay: -2s;
}

.hero-glow-3 {
  width: 350px;
  height: 350px;
  background: var(--accent-purple);
  bottom: 20%;
  left: 30%;
  animation-delay: -4s;
}

@keyframes glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.hero-metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-metric-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

/* ===== Trusted ===== */

.trusted {
  padding: 4rem 2rem;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-100);
}

.trusted-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trusted-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trusted-logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: 0.5rem 1.5rem;
  background: var(--white);
  border-radius: 6px;
}

/* ===== Sections ===== */

.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-highlight {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.section-dark {
  background: var(--gray-950);
}

.section-dark .section-title,
.section-header-light .section-title {
  color: var(--white);
}

.section-dark .section-desc,
.section-header-light .section-desc {
  color: var(--gray-400);
}

.section-dark .section-label,
.section-header-light .section-label {
  color: var(--accent-cyan);
}

/* ===== Capabilities ===== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.capability-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.capability-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.capability-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  color: var(--gray-700);
}

.capability-icon svg {
  width: 24px;
  height: 24px;
}

.capability-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.capability-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Hiring Solution ===== */

.hiring-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hiring-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.hiring-content .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.hiring-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hiring-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hiring-feature {
  display: flex;
  gap: 1rem;
}

.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-top: 2px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
}

.hiring-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.hiring-feature p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.hiring-visual {
  position: relative;
  height: 500px;
}

.hiring-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: card-float 6s ease-in-out infinite;
}

.hiring-card-1 {
  width: 280px;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.hiring-card-2 {
  width: 260px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: -2s;
}

.hiring-card-3 {
  width: 300px;
  bottom: 0;
  left: 10%;
  animation-delay: -4s;
}

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

.hiring-card-2 {
  animation-name: card-float-2;
}

@keyframes card-float-2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.card-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.card-dot-processing {
  background: var(--accent-orange);
  animation: pulse 1.5s ease-in-out infinite;
}

.card-dot-success {
  background: #22c55e;
}

.card-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}

.card-body {
  padding: 1rem;
}

.card-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}

.card-row:last-child {
  border-bottom: none;
}

.card-row span:first-child {
  color: var(--gray-500);
}

.card-row span:last-child {
  color: var(--gray-900);
  font-weight: 500;
}

.match-score {
  color: var(--primary) !important;
}

.interview-progress {
  text-align: center;
}

.progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.progress-fill {
  width: 60%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.interview-progress span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.evaluation {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eval-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eval-item span {
  flex-shrink: 0;
  width: 60px;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.eval-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.eval-bar div {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* ===== Platform Features ===== */

.platform-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.platform-feature {
  padding: 2rem;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}

.platform-feature:hover {
  border-color: var(--gray-700);
  background: var(--gray-800);
}

.platform-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.platform-feature h4 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.platform-feature p {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== About ===== */

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: 10px;
}

.value-card h4 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== CTA ===== */

.cta {
  padding: 6rem 2rem;
  background: var(--gradient-primary);
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-email {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ===== Footer ===== */

.footer {
  padding: 4rem 2rem 2rem;
  background: var(--gray-950);
  color: var(--gray-400);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-800);
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-nav {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hiring-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hiring-visual {
    display: none;
  }
  
  .platform-features {
    grid-template-columns: 1fr;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 1rem;
  }
  
  .nav {
    display: none;
  }
  
  .hero {
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
  }
  
  .hero-desc br {
    display: none;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-metrics {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-metric-divider {
    width: 60px;
    height: 1px;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .footer-main {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    gap: 2rem;
  }
}
