@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Syne:wght@500;700;800&display=swap');

/* --- CSS Variables & Design System --- */
:root {
  --bg-primary: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-secondary: #F4F4F5;
  --text-primary: #09090B;
  --text-secondary: #52525B;
  --text-tertiary: #A1A1AA;
  --accent: #EC4899;
  --accent-hover: #DB2777;
  --accent-rgb: 236, 72, 153;
  --border: #E4E4E7;
  --border-focus: #18181B;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --font-heading: 'Syne', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background-color: #09090B;
  color: #FAFAFA;
}

.section-dark .section-subtitle {
  color: var(--accent);
}

.section-dark .section-desc {
  color: #A1A1AA;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-header {
  max-width: 680px;
  margin-bottom: 72px;
  text-align: left;
}

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* --- Floating Navigation Bar --- */
.navbar {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 72px;
  background: rgba(250, 250, 250, 0.75);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(228, 228, 228, 0.6);
  border-radius: var(--radius-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 12px;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #F472B6 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-cta {
  background-color: var(--text-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(24, 24, 27, 0.02) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.15);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title span {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

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

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-primary);
  transform: translateY(-2px);
}

.download-app-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #09090B;
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  border: 1px solid #18181b;
  box-shadow: var(--shadow-md);
}

.download-app-store:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25);
}

.download-app-store svg {
  width: 24px;
  height: 24px;
}

.download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.download-text span {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #A1A1AA;
}

.download-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-size: 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.stat-lbl {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- CSS Device Mockup --- */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-frame {
  width: 320px;
  height: 640px;
  background: #000000;
  border-radius: 40px;
  padding: 11px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
              inset 0 4px 20px rgba(255, 255, 255, 0.2),
              0 0 0 4px #1F2937;
  position: relative;
  overflow: hidden;
  user-select: none;
}

/* Speaker Notch */
.iphone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #000000;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 100;
}

/* Dynamic Island/Speaker inside Notch */
.iphone-speaker {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #1F2937;
  border-radius: 2px;
  z-index: 101;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

/* iPhone App UI Styling */
.app-status-bar {
  height: 36px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 11px;
  z-index: 99;
}

.app-header {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: white;
}

.app-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
}

.app-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.app-exam-card {
  border-left: 4px solid var(--accent);
}

.app-exam-tag {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(236, 72, 153, 0.08);
  border-radius: 4px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-exam-name {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 2px;
}

.app-exam-meta {
  color: var(--text-secondary);
  font-size: 10px;
  margin-bottom: 8px;
}

.app-exam-btn {
  background: var(--text-primary);
  color: white;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 10px;
}

.app-news-card {
  display: flex;
  gap: 8px;
}

.app-news-img {
  width: 50px;
  height: 50px;
  background: #E4E4E7;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717A;
}

.app-news-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-news-title {
  font-weight: 600;
  line-height: 1.3;
}

.app-news-date {
  font-size: 9px;
  color: var(--text-tertiary);
}

.app-nav-bar {
  height: 52px;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: 4px;
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-tertiary);
  font-size: 9px;
}

.app-nav-item.active {
  color: var(--accent);
}

.app-nav-item svg {
  width: 18px;
  height: 18px;
}

/* Home Indicator for iPhone */
.iphone-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: #000000;
  border-radius: 2px;
  z-index: 100;
}

/* Floating Decorative Elements */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.15;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -50px;
  right: -50px;
}

.circle-2 {
  width: 400px;
  height: 400px;
  background: #A78BFA;
  bottom: -100px;
  left: -150px;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #F472B6 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: var(--border-focus);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent);
  color: white;
}

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

.feature-card-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Core Concept Section (考评分离) --- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.concept-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.visual-node {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.visual-node:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.visual-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--text-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.visual-node:hover .visual-number {
  background-color: var(--accent);
}

.visual-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.visual-text p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.visual-arrow {
  display: flex;
  justify-content: center;
  color: var(--text-tertiary);
}

.visual-arrow svg {
  width: 20px;
  height: 20px;
}

/* --- Screenshot Showcase Section --- */
.showcase-slider-container {
  margin-top: 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-mockup {
  width: 100%;
  max-width: 250px;
  background: #000000;
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #1F2937;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.showcase-mockup:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-premium);
}

.showcase-screen {
  background: white;
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.1);
  position: relative;
}

.showcase-caption {
  margin-top: 20px;
  text-align: center;
}

.showcase-caption h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.showcase-caption p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Inner App Mockup Screen designs */
.screen-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  font-size: 11px;
}

.screen-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.screen-title-bar span {
  font-size: 12px;
}

/* Screen 1: Home Feed */
.screen-feed-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  gap: 8px;
}
.screen-feed-img {
  width: 40px;
  height: 40px;
  background: #A78BFA;
  border-radius: 4px;
}
.screen-feed-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Screen 2: Exam Lobby */
.screen-lobby-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  border-left: 3px solid var(--accent);
}

/* Screen 3: Video Recording */
.screen-camera {
  flex: 1;
  background: #18181B;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.screen-camera-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  animation: pulse 1s infinite alternate;
}
.screen-camera-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 4px solid rgba(255,255,255,0.4);
  position: absolute;
  bottom: 12px;
}

/* Screen 4: Diagnostic Review */
.screen-diag-card {
  background: #FDF2F8;
  border: 1px solid rgba(236,72,153,0.2);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.screen-diag-score {
  font-size: 20px;
  font-family: var(--font-heading);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 4px;
}

/* Animations */
@keyframes pulse {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* --- Support & Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--text-primary);
  color: white;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.form-submit-btn:hover {
  background-color: var(--accent);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

/* --- Static Documents Header/Footer Style (Privacy, Terms) --- */
.doc-layout {
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.doc-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.doc-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.doc-meta {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.doc-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.doc-body h2 {
  font-size: 1.5rem;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.doc-body p {
  margin-bottom: 16px;
}

.doc-body ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}

.doc-body li {
  margin-bottom: 8px;
}

/* --- Footer --- */
.footer {
  background-color: #09090B;
  color: #FAFAFA;
  padding: 80px 0 48px 0;
  border-top: 1px solid #18181B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: white;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.875rem;
  color: #71717A;
  line-height: 1.6;
}

.footer-links-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.875rem;
  color: #A1A1AA;
}

.footer-link:hover {
  color: white;
}

.footer-meta {
  border-top: 1px solid #18181B;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #71717A;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: 0.8125rem;
  color: #71717A;
}

.footer-legal-link:hover {
  color: white;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .footer-grid > *:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .navbar {
    padding: 0 20px;
  }
  .nav-links {
    display: none; /* Hide standard navigation links on mobile for simplicity */
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid > *:last-child {
    grid-column: span 1;
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- Abstract UI Mockups styling --- */
.abstract-screen {
  width: 100%;
  height: 100%;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
  font-family: var(--font-body);
}

.abstract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}

.abstract-logo {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.85rem;
  letter-spacing: -0.01em;
}

.abstract-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.abstract-badge {
  display: inline-flex;
  padding: 2px 6px;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 4px;
  align-self: flex-start;
}

.badge-pink {
  background: rgba(236, 72, 153, 0.08);
  color: var(--accent);
}

.badge-green {
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
}

.badge-blue {
  background: rgba(59, 130, 246, 0.08);
  color: #3B82F6;
}

.skeleton-title {
  height: 10px;
  background: linear-gradient(90deg, #E4E4E7 25%, #F4F4F5 50%, #E4E4E7 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite;
  border-radius: 5px;
  width: 75%;
}

.skeleton-text {
  height: 6px;
  background: #E4E4E7;
  border-radius: 3px;
  width: 90%;
}

.skeleton-text-short {
  height: 6px;
  background: #E4E4E7;
  border-radius: 3px;
  width: 50%;
}

@keyframes loading-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.abstract-list-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.abstract-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, #F472B6 100%);
  flex-shrink: 0;
}

.abstract-thumb-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

.abstract-thumb-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}

.abstract-thumb-green {
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

/* Audio wave animation */
.abstract-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.abstract-wave-bar {
  width: 3px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave-pulse 1.2s infinite ease-in-out;
}

.abstract-wave-bar:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.abstract-wave-bar:nth-child(3) { height: 22px; animation-delay: 0.3s; }
.abstract-wave-bar:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.abstract-wave-bar:nth-child(5) { height: 18px; animation-delay: 0.6s; }
.abstract-wave-bar:nth-child(6) { height: 8px; animation-delay: 0.75s; }

@keyframes wave-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* Camera Layout */
.abstract-camera-view {
  background: #09090B;
  flex: 1;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #27272A;
  color: white;
  padding: 10px;
}

.camera-focus-box {
  width: 90%;
  height: 65%;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}

.camera-shutter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
  margin-top: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.camera-shutter:hover {
  transform: scale(0.95);
  background: var(--accent);
}

/* Diagnostic Score Ring */
.abstract-score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  position: relative;
}

.abstract-score-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid var(--border);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.abstract-score-labels {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.abstract-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
}

.abstract-bar-bg {
  width: 70px;
  height: 5px;
  background: var(--border);
  border-radius: 2.5px;
  overflow: hidden;
}

.abstract-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2.5px;
}
