/* ============================================
   校园VC 官网 — styles.css
   Visual Design Language: Airy Light
   Brand Color: #2563EB (火种蓝)
   ============================================ */

/* --- CSS Variables (from UI_Design_System.md) --- */
:root {
  /* Canvas */
  --color-bg-primary: #FAFBFE;
  --color-bg-secondary: #F1F5F9;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #0F172A;
  --color-bg-dark-secondary: #1E293B;

  /* Brand */
  --color-brand: #2563EB;
  --color-brand-hover: #3B82F6;
  --color-brand-active: #1D4ED8;
  --color-brand-light: #DBEAFE;

  /* Accent */
  --color-accent-gold: #F59E0B;
  --color-accent-green: #10B981;
  --color-accent-purple: #8B5CF6;

  /* Semantic */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;
  --color-error: #EF4444;

  /* Text */
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-tertiary: #94A3B8;
  --color-text-inverse: #FFFFFF;

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, #2563EB, #7C3AED);
  --gradient-dawn: linear-gradient(180deg, #FAFBFE, #F1F5F9);
  --gradient-dark: linear-gradient(180deg, #0F172A, #1E293B);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.08), 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.12), 0 16px 48px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-sans: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  /* Transition */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

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

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-brand-hover);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utility: Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Utility: Section --- */
.section {
  padding: var(--space-section) 0;
}

.section--alt {
  background-color: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Utility: Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: var(--color-text-inverse);
}

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-brand);
  border: 1px solid var(--color-brand-light);
}

.btn-secondary:hover {
  background: var(--color-brand-light);
  color: var(--color-brand-active);
}

/* --- Utility: Tags --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-brand-light);
  color: var(--color-brand);
}

.tag--gold {
  background: #FEF3C7;
  color: #92400E;
}

.tag--purple {
  background: #EDE9FE;
  color: #6D28D9;
}

.tag--green {
  background: #D1FAE5;
  color: #065F46;
}

/* --- Fade In Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  background: rgba(250, 251, 254, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-brand);
}

.nav__link.active::after {
  width: 100%;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  border-radius: 1px;
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: var(--gradient-dawn);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--color-brand-light);
  color: var(--color-brand);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

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

.hero__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.hero__desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Hero stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brand);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin-top: var(--space-xs);
}

/* --- Video Section --- */
.video-section {
  background: var(--color-bg-secondary);
}

.video__wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg-dark);
}

.video__wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

/* --- About Section --- */
.about__bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.about__card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.about__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: #fff;
}

.about__card-icon--orange {
  background: linear-gradient(135deg, #FB923C, #F97316);
}

.about__card-icon--cyan {
  background: linear-gradient(135deg, #22D3EE, #06B6D4);
}

.about__card-icon--purple {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
}

.about__card-icon--rose {
  background: linear-gradient(135deg, #FB7185, #F43F5E);
}

.about__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

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

/* Pain points */
.pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pain-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pain-card__emoji {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.pain-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

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

/* --- Products Section --- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.03);
}

.product-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__tag {
  margin-bottom: var(--space-md);
}

.product-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.product-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.product-card__stat {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-brand);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-md);
}

.product-card__stat small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
  margin-left: var(--space-xs);
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-brand);
  transition: gap var(--duration-fast) ease;
}

.product-card__cta:hover {
  gap: var(--space-md);
}

/* --- Founder Section --- */
.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.founder-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.founder-card__header {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.founder-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
}

.founder-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card__info {
  flex: 1;
}

.founder-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.founder-card__role {
  font-size: 0.9375rem;
  color: #F43F5E;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.founder-card__bio {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  list-style: disc;
  padding-left: var(--space-lg);
}

.founder-card__bio li + li {
  margin-top: var(--space-xs);
}

/* Book card */
.book-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.book-card__cover {
  width: 240px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.book-card__cover img {
  width: 100%;
  height: auto;
}

.book-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-align: center;
}

.book-card__author {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-md);
}

.book-card__quote {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  padding: var(--space-lg);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-brand);
  font-style: italic;
  margin-bottom: var(--space-xl);
}

.book-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Team Section --- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.team-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out);
}

.team-card:hover .team-card__avatar {
  transform: scale(1.05);
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--color-brand);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.team-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  line-height: 1.5;
}

/* --- Testimonials Section --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card__quote {
  font-size: 1.5rem;
  color: var(--color-brand-light);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand);
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
}

.testimonial-card__school {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

/* --- Gallery Section --- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.gallery__item:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

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

.gallery__item:hover img {
  transform: scale(1.05);
}


/* --- Contact Section --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact__qr-group {
  display: flex;
  gap: var(--space-xl);
}

.contact__qr {
  text-align: center;
}

.contact__qr img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  margin-bottom: var(--space-md);
}

.contact__qr img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.15);
}

.contact__qr-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.contact__qr-desc {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
  margin-top: var(--space-xs);
}

.contact__links-section {
  margin-bottom: var(--space-xl);
}

.contact__links-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-brand);
  font-weight: 500;
  padding: var(--space-sm) 0;
  transition: gap var(--duration-fast) ease;
}

.contact__link:hover {
  gap: var(--space-md);
}

.contact__social {
  display: flex;
  gap: var(--space-md);
}

.contact__social-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--duration-fast) ease;
}

.contact__social-link:hover {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

/* --- Footer --- */
.footer {
  background: var(--gradient-dark);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo {
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 56px;
}

@keyframes breathe {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.footer__logo img {
  animation: breathe 3s ease-in-out infinite;
}

.footer__slogan {
  font-size: 1rem;
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-xl);
}

.footer__nav {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  transition: color var(--duration-fast) ease;
}

.footer__nav a:hover {
  color: var(--color-text-inverse);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer__filing {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__filing a {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

.footer__filing a:hover {
  color: var(--color-text-inverse);
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

/* ============================================
   Responsive Design — Desktop First
   ============================================ */

/* Tablet: <= 1200px */
@media (max-width: 1200px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero__title {
    font-size: 3rem;
  }

  .about__bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  :root {
    --space-section: 56px;
    --nav-height: 60px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-bg-card);
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.1);
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right var(--duration-normal) var(--ease-out);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav__link::after {
    display: none;
  }

  .nav__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 98;
  }

  .nav__overlay.open {
    display: block;
  }

  /* Hero mobile */
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .stat__number {
    font-size: 1.75rem;
  }

  /* About mobile */
  .about__bento {
    grid-template-columns: 1fr;
  }

  .pain-points {
    grid-template-columns: 1fr;
  }

  /* Products mobile */
  .products__grid {
    grid-template-columns: 1fr;
  }

  /* Founder mobile */
  .founder__grid {
    grid-template-columns: 1fr;
  }

  .founder-card__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Team mobile */
  .team__grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials mobile */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Gallery mobile */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact mobile */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__qr-group {
    justify-content: center;
  }

  /* Footer mobile */
  .footer__nav {
    gap: var(--space-md);
  }
}

/* Small mobile: <= 375px */
@media (max-width: 375px) {
  .hero__title {
    font-size: 2rem;
  }

  .stat__number {
    font-size: 1.5rem;
  }

  .hero__stats {
    gap: var(--space-sm);
  }

  .contact__qr-group {
    flex-direction: column;
    align-items: center;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* --- Product card inline icon (for text-only product cards) --- */
.product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: var(--space-md);
}

.product-card__icon--green {
  background: linear-gradient(135deg, #10B981, #059669);
}

.product-card__icon--purple {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
}
