/* ============================================================
   Gonik · 倉易 — styles.css
   ============================================================ */

:root {
  --ink: #0B1220;
  --ink-2: #1a2333;
  --ink-3: #4a5568;
  --ink-4: #6b7280;
  --paper: #F7F8FC;
  --paper-2: #ffffff;
  --accent: #5B5BD6;
  --accent-2: #4a4ac4;
  --accent-soft: #EEEEFB;
  --accent-glow: rgba(91, 91, 214, 0.18);
  --mint: #10B981;
  --mint-soft: #E7F8F1;
  --amber: #F59E0B;
  --border: #E5E7EF;
  --border-strong: #d4d7e3;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04), 0 1px 3px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, 0.06), 0 2px 4px rgba(11, 18, 32, 0.04);
  --shadow-lg: 0 12px 32px rgba(11, 18, 32, 0.08), 0 4px 8px rgba(11, 18, 32, 0.04);
  --shadow-xl: 0 24px 64px rgba(11, 18, 32, 0.12), 0 8px 16px rgba(11, 18, 32, 0.06);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "PingFang SC", "PingFang TC",
    "Microsoft YaHei", "Microsoft JhengHei", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 760px;
}

/* ============================================================
   NAV
   ============================================================ */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(247, 248, 252, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-wrap {
    background: var(--paper);
  }
}

.nav-wrap.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, #7c7cf0 100%);
  color: #fff;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.brand-text {
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(11, 18, 32, 0.04);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(11, 18, 32, 0.04);
  border-radius: 9px;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-4);
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  color: var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.08), 0 4px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 2px 4px rgba(11, 18, 32, 0.1), 0 8px 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-3);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(11, 18, 32, 0.05);
}

.btn-outline {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--ink-4);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15.5px;
  border-radius: 11px;
}

.btn-block {
  width: 100%;
}

/* ============================================================
   HAMBURGER + MOBILE MENU
   ============================================================ */

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  border-radius: 9px;
  transition: background 0.2s var(--ease);
}

.hamburger:hover {
  background: rgba(11, 18, 32, 0.05);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--border);
  background: rgba(247, 248, 252, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
}

.mobile-menu a:hover {
  background: rgba(11, 18, 32, 0.04);
}

.mobile-menu .btn {
  margin-top: 8px;
  padding: 12px 18px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: visible;
  padding: 72px 0 120px;
  isolation: isolate;
  width: 100%;
  background: transparent;
}

.hero-bg {
  position: absolute;
  top: -72px;
  /* Extend into the next section so the fade is visible across the seam */
  bottom: -96px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 22%, rgba(253, 230, 138, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 12% 10%, rgba(185, 185, 245, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 88% 14%, rgba(167, 243, 208, 0.22) 0%, transparent 50%),
    linear-gradient(
      to bottom,
      #ffffff 0%,
      var(--paper) 14%,
      var(--paper) 55%,
      rgba(247, 248, 252, 0.55) 78%,
      rgba(255, 255, 255, 0) 100%
    );
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(11, 18, 32, 0.055) 1px,
    transparent 0
  );
  background-size: 22px 22px;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 8%,
    #000 55%,
    transparent 92%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 8%,
    #000 55%,
    transparent 92%
  );
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.blob-1 {
  width: 560px;
  height: 560px;
  top: -200px;
  left: -80px;
  background: radial-gradient(circle, #b9b9f5 0%, transparent 70%);
  animation: float1 18s ease-in-out infinite;
}

.blob-2 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle, #a7f3d0 0%, transparent 70%);
  opacity: 0.4;
  animation: float2 22s ease-in-out infinite;
}

.blob-3 {
  width: 380px;
  height: 380px;
  bottom: -180px;
  left: 40%;
  background: radial-gradient(circle, #fde68a 0%, transparent 70%);
  opacity: 0.3;
  animation: float3 26s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.06); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.2);
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 32px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--ink-4);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero visual — stacked mini cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}

.card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 340px;
}

.mini-card {
  position: absolute;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.mc-1 {
  top: 0;
  left: 0;
  width: 78%;
  transform: rotate(-2deg);
  z-index: 1;
}

.mc-2 {
  top: 60px;
  right: 0;
  width: 62%;
  transform: rotate(2.5deg);
  z-index: 2;
}

.mc-3 {
  bottom: 40px;
  left: 8%;
  width: 70%;
  transform: rotate(-1deg);
  z-index: 3;
}

.mc-4 {
  bottom: 0;
  right: 4%;
  width: 54%;
  transform: rotate(3deg);
  z-index: 4;
}

.mc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 10px;
}

.mc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}

.mc-row:last-child {
  border-bottom: 0;
}

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

.dot-indigo { background: var(--accent); }
.dot-mint { background: var(--mint); }
.dot-amber { background: var(--amber); }

.mc-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--accent-soft);
  margin-top: 8px;
  overflow: hidden;
}

.mc-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--accent), #8b8bf0);
  border-radius: 3px;
}

.grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(91, 91, 214, 0.13) 1px,
    transparent 0
  );
  background-size: 18px 18px;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 50%,
    transparent 88%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 50%,
    transparent 88%
  );
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   TRUST
   ============================================================ */

.trust {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-2);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
  text-align: center;
}

.trust-inner > * {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-4);
}

.trust-inner .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
}

.trust-inner .pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-soft);
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 88px 0;
  position: relative;
  background: #ffffff;
}

/* Soft overlap so hero fade blends into features */
.section--after-hero {
  margin-top: -64px;
  padding-top: 120px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    #ffffff 72px,
    #ffffff 100%
  );
}

.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--ink);
}

.section-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
}

.feature-card:nth-child(3n+2) .feature-icon {
  background: var(--mint-soft);
  color: var(--mint);
}

.feature-card:nth-child(3n+3) .feature-icon {
  background: #FEF3C7;
  color: var(--amber);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
  margin: 0;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.price-card-featured {
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-lg);
  transform: translateY(-4px);
}

.price-card-featured:hover {
  transform: translateY(-7px);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-xl);
}

.price-card-featured .pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 4px 12px var(--accent-glow);
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}

.price-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0 0 24px;
  min-height: 44px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.price-per {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-4);
}

.price-annual {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.price-tbd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--paper);
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  margin-bottom: 6px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.price-list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 50%;
}

.price-card-featured .price-list .check {
  color: var(--accent);
  background: var(--accent-soft);
}

.pricing-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-4);
  margin: 40px auto 0;
  max-width: 640px;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */

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

.acc-item {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.acc-item:hover {
  border-color: var(--border-strong);
}

.acc-item.is-open {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.acc-trigger:hover {
  color: var(--accent);
}

.acc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-4);
  transition: transform 0.3s var(--ease), color 0.2s var(--ease);
}

.acc-item.is-open .acc-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel > * {
  overflow: hidden;
}

.acc-panel p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-tag {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-cols > div h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
}

.footer-compliance {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-top: 12px !important;
}

.footer-cols > div p,
.footer-cols > div a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 8px;
  transition: color 0.2s var(--ease);
}

.footer-cols > div a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   MODAL
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink-4);
  font-size: 22px;
  line-height: 1;
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.modal-close:hover {
  background: rgba(11, 18, 32, 0.06);
  color: var(--ink);
}

.modal-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}

.modal-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 900px) {
  .nav {
    height: 72px;
  }

  .nav-links {
    display: flex;
  }

  .lang-switch {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    padding: 104px 0 120px;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }

  .hero-visual {
    display: block;
  }

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

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

  .footer-cols {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .section {
    padding: 96px 0;
  }

  .section-title {
    font-size: 40px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1160px;
  }

  .hero-title {
    font-size: 60px;
  }
}

@media (max-width: 899px) {
  .hero-visual {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
  }
}

@media (max-width: 639px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    height: 60px;
  }

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

  .hero-title {
    font-size: 34px;
    line-height: 1.15;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-sub {
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card--featured {
    transform: none;
  }

  .faq-item {
    padding: 18px 0;
  }

  .faq-q {
    font-size: 15.5px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal-card {
    padding: 28px 22px;
    margin: 16px;
  }

  .modal-title {
    font-size: 20px;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden;
}

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