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

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --surface: #fdfdff;
  --text: #0e1a2b;
  --muted: #5b6b82;
  --primary: #5b6dff;
  --primary-dark: #3f54ff;
  --accent: #dbe0ff;
  --border: #e6eaf3;
  --shadow: 0 18px 50px rgba(14, 26, 43, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #eaecef;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

@property --orb-r { syntax: "<number>"; initial-value: 45; inherits: false; }
@property --orb-g { syntax: "<number>"; initial-value: 65; inherits: false; }
@property --orb-b { syntax: "<number>"; initial-value: 140; inherits: false; }
@property --orb-r2 { syntax: "<number>"; initial-value: 60; inherits: false; }
@property --orb-g2 { syntax: "<number>"; initial-value: 90; inherits: false; }
@property --orb-b2 { syntax: "<number>"; initial-value: 180; inherits: false; }

.header-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.7);
}

.ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  will-change: transform, opacity;
  --orb-r: 45;
  --orb-g: 65;
  --orb-b: 140;
  --orb-r2: 60;
  --orb-g2: 90;
  --orb-b2: 180;
  background: radial-gradient(
    circle,
    rgba(var(--orb-r), var(--orb-g), var(--orb-b), 0.6) 0%,
    rgba(var(--orb-r2), var(--orb-g2), var(--orb-b2), 0.35) 50%,
    transparent 75%
  );
}

.ambient-orb--1 {
  width: min(85vw, 560px);
  height: min(85vw, 560px);
  top: -10%;
  left: -5%;
  animation: ambient-float-1 36s ease-in-out infinite, ambient-color 14s ease-in-out infinite, ambient-pulse 5s ease-in-out infinite;
}

.ambient-orb--2 {
  width: min(65vw, 420px);
  height: min(65vw, 420px);
  top: 40%;
  right: -10%;
  animation: ambient-float-2 44s ease-in-out infinite, ambient-color 14s ease-in-out infinite 4.5s, ambient-pulse 5.5s ease-in-out infinite 1s;
}

.ambient-orb--3 {
  width: min(55vw, 360px);
  height: min(55vw, 360px);
  bottom: -5%;
  left: 30%;
  animation: ambient-float-3 40s ease-in-out infinite, ambient-color 14s ease-in-out infinite 9s, ambient-pulse 6s ease-in-out infinite 2s;
}

@keyframes ambient-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

@keyframes ambient-color {
  0%, 100% {
    --orb-r: 45;
    --orb-g: 65;
    --orb-b: 140;
    --orb-r2: 60;
    --orb-g2: 90;
    --orb-b2: 180;
  }
  33% {
    --orb-r: 120;
    --orb-g: 65;
    --orb-b: 150;
    --orb-r2: 150;
    --orb-g2: 75;
    --orb-b2: 180;
  }
  66% {
    --orb-r: 200;
    --orb-g: 55;
    --orb-b: 70;
    --orb-r2: 220;
    --orb-g2: 60;
    --orb-b2: 85;
  }
}

@keyframes ambient-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  18% { transform: translate(55vw, 25vh) scale(1.06); }
  35% { transform: translate(15vw, 65vh) scale(0.94); }
  52% { transform: translate(75vw, 45vh) scale(1.08); }
  70% { transform: translate(35vw, 10vh) scale(0.96); }
  85% { transform: translate(90vw, 55vh) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes ambient-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  22% { transform: translate(-70vw, -15vh) scale(1.04); }
  45% { transform: translate(-25vw, 50vh) scale(0.92); }
  62% { transform: translate(-85vw, 20vh) scale(1.1); }
  78% { transform: translate(-45vw, -35vh) scale(0.98); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes ambient-float-3 {
  0% { transform: translate(0, 0) scale(1); }
  15% { transform: translate(45vw, -55vh) scale(1.07); }
  38% { transform: translate(80vw, -25vh) scale(0.93); }
  55% { transform: translate(20vw, -75vh) scale(1.05); }
  72% { transform: translate(60vw, -45vh) scale(0.97); }
  88% { transform: translate(5vw, -60vh) scale(1.03); }
  100% { transform: translate(0, 0) scale(1); }
}

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

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

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.nav,
.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 251, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  height: 28px;
  width: auto;
}

.brand span {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(91, 109, 255, 0.25);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.button.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.nav-chrome-icon {
  display: block;
  flex-shrink: 0;
}

.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(280px, 1fr);
  align-items: center;
  gap: 56px;
}

@media (max-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-title-word {
  display: inline;
  white-space: nowrap;
}

.hero-typed-text {
  display: inline;
}

.hero-typed-cursor {
  display: inline;
  color: var(--primary);
  font-weight: 400;
  animation: hero-cursor-blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card img {
  border-radius: 16px;
  border: 1px solid var(--border);
}

/* Library mockup (extension-style, light theme) */
.library-mockup {
  padding: 0;
  max-width: 720px;
}

.library-mockup-inner {
  display: flex;
  height: 620px;
  min-height: 620px;
}

.library-sidebar {
  width: 160px;
  flex-shrink: 0;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.library-sidebar-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 12px 0 6px;
  padding: 0 8px;
}

.library-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease;
}

.library-menu-item:hover {
  background: var(--bg);
}

.library-menu-item--active {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 500;
}

.library-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.library-dot--green {
  background: #ef4444;
}

.library-folder {
  justify-content: space-between;
}

.library-folder--active {
  background: var(--primary);
  color: #fff;
}

.library-folder--active:hover {
  background: var(--primary-dark);
}

.library-folder--sub {
  margin-left: 12px;
  background: #c44d7a;
  color: #fff;
}

.library-folder--sub:hover {
  background: #a83d65;
}

.library-folder--sub--active {
  background: #a83d65;
  color: #fff;
}

.library-folder--sub--active:hover {
  background: #8e3456;
}

.library-menu-dots {
  font-size: 1rem;
  opacity: 0.7;
  cursor: pointer;
}

.library-add-folder {
  margin-top: 8px;
  width: 100%;
  min-height: 44px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.library-add-folder:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.library-add-folder-icon {
  font-size: 1.25rem;
  font-weight: 300;
}

.library-main {
  flex: 1;
  height: 620px;
  min-height: 620px;
  max-height: 620px;
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  overflow: hidden;
}

.library-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.library-search-icon {
  color: var(--muted);
  font-size: 1rem;
}

.library-search {
  flex: 1;
  border: none;
  background: none;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

.library-search::placeholder {
  color: var(--muted);
}

.library-cards {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 12px;
  overflow-y: auto;
  align-content: start;
  border-radius: var(--radius-md);
}

.library-cards[data-filter-active="all"] {
  grid-auto-rows: minmax(155px, auto);
}

.library-cards[data-filter-active="all"] .library-card {
  min-height: 0;
  max-height: 155px;
  height: 155px;
}

.library-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.library-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(91, 109, 255, 0.12);
}

.library-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.library-card-star {
  font-size: 0.9rem;
  opacity: 0.8;
}

.library-card-star--favorite {
  color: #d4a800;
  opacity: 1;
}

.library-card-header span:nth-child(2) {
  flex: 1;
}

.library-card-dots {
  font-size: 1rem;
  opacity: 0.7;
  cursor: pointer;
}

.library-card-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  visibility: visible;
}

.library-card-icon {
  align-self: flex-end;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}

.library-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  overflow-y: auto;
  align-content: start;
  padding: 0;
}

.library-thumbnails[hidden] {
  display: none;
}

.library-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.stat {
  background: var(--bg-2);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.section {
  padding: 60px 0;
}

.section--ambient {
  overflow: hidden;
}

.cta-section.header-section {
  border-bottom: none;
  box-shadow: none;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 0;
}

.cta-section + .footer {
  margin-top: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 64px 0 48px;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.cta-btn--filled {
  background: linear-gradient(135deg, var(--primary) 0%, #7c5cff 100%);
  color: #fff;
  border: none;
}

.cta-btn--filled:hover {
  opacity: 0.95;
}

.cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

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

@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.feature-card .feature-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.feature-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.feature-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.coming-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e67e22;
  background: rgba(230, 126, 34, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(14, 26, 43, 0.06);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
}

.card ul {
  margin: 16px 0 0 20px;
  color: var(--muted);
}

.pricing-toggle {
  display: inline-flex;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  margin: 24px auto 0;
}

.pricing-toggle button {
  background: none;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
}

.pricing-toggle button.active {
  background: var(--primary);
  color: #fff;
}

.pricing-card--annual {
  position: relative;
  overflow: visible;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.pricing-card--popular {
  position: relative;
  overflow: visible;
}

.pricing-card--popular::before {
  --gradient-angle: 0deg;
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  padding: 3px;
  opacity: 0;
  background: conic-gradient(
    from var(--gradient-angle),
    var(--primary),
    #c44d7a,
    var(--primary)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-card--popular.animate-border::before {
  animation: pricing-gradient-flow 3s ease-in-out 1 forwards;
}

@keyframes pricing-gradient-flow {
  0% {
    opacity: 0;
    --gradient-angle: 0deg;
  }
  20% {
    opacity: 1;
    --gradient-angle: 0deg;
  }
  80% {
    opacity: 1;
    --gradient-angle: 360deg;
  }
  100% {
    opacity: 0;
    --gradient-angle: 360deg;
  }
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 0;
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(14, 26, 43, 0.06);
  text-align: center;
}

.pricing-card--popular {
  border-color: rgba(91, 109, 255, 0.35);
  box-shadow: 0 16px 40px rgba(91, 109, 255, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #7c5cff 100%);
  white-space: nowrap;
}

.pricing-badge--save {
  background: #c44d7a;
}

.pricing-card h3 {
  margin: 8px 0 6px;
  font-size: 1.35rem;
  color: var(--text);
}

.pricing-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 20px;
}

.pricing-price-wrap {
  position: relative;
  margin-bottom: 20px;
}

.price-only {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #8a5d00;
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  white-space: nowrap;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.price-symbol {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

.price-period {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: center;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  background: linear-gradient(135deg, var(--primary) 0%, #7c5cff 100%);
  color: #fff;
  border: none;
  text-decoration: none;
}

.pricing-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.pricing-cta--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.pricing-cta--outline:hover {
  background: rgba(91, 109, 255, 0.06);
}

.pricing-cards .card,
.grid-4 .card {
  background: #ffffff;
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin-bottom: 12px;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  font-weight: 500;
}

input {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 109, 255, 0.15);
}

.helper {
  font-size: 0.9rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.footer {
  padding: 48px 0 24px;
  margin-top: 60px;
  background: #1a1f2e;
  color: rgba(255, 255, 255, 0.85);
}

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

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo-img {
  display: block;
  flex-shrink: 0;
  height: 24px;
  width: auto;
}

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

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.notice {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #fef7e6;
  color: #8a5d00;
  border: 1px solid #f4d99c;
  margin: 18px 0;
  font-size: 0.95rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.status.active {
  color: #1b7f3b;
  background: #e9f8ef;
  border-color: #c7edd5;
}

.status.inactive {
  color: #9a2e2e;
  background: #fdeced;
  border-color: #f4c2c6;
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

/* FAQ section */
.faq-list {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  list-style: none;
  transition: background 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: rgba(91, 109, 255, 0.04);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 50%;
  font-weight: 600;
  font-size: 1rem;
}

.faq-question span:nth-child(2) {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px 66px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .faq-answer {
    padding-left: 20px;
  }
}

/* Testimonials section */
.testimonials-section {
  background: var(--bg);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 800px) {
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-avatar--purple {
  background: linear-gradient(135deg, #7c5cff 0%, #9b7dff 100%);
}

.testimonial-avatar--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.testimonial-avatar--green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.testimonial-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-size: 1rem;
  color: var(--text);
}

.testimonial-title {
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonial-stars {
  flex-shrink: 0;
  color: #d4a800;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonial-quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.testimonial-quote::before {
  content: "“";
}

.testimonial-quote::after {
  content: """;
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
