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

:root {
  --green: #1e6b40;
  --green-mid: #2d7d4f;
  --green-light: #e6f2eb;
  --green-pale: #f2f8f4;
  --ink: #0f1a14;
  --ink-mid: #3d4f44;
  --ink-light: #7a8f82;
  --cream: #f7f5f0;
  --white: #ffffff;
  --border: rgba(30,107,64,0.12);
  --display: 'Fraunces', serif;
  --body: 'Instrument Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1300px; margin: 0 auto;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1300px; margin: 0 auto;
}
.logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-mid); transition: color 0.2s; font-weight: 400; }
.nav-links a:hover { color: var(--green); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-btn:hover {
  color: var(--green);
  background: var(--green-light);
}
.lang-btn.active {
  background: var(--green);
  color: var(--white);
}
.lang-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.lang-flag {
  width: 22px;
  height: 16px;
  display: inline-block;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15,26,20,0.08);
  flex-shrink: 0;
}
.nav-cta {
  background: var(--green) !important; color: white !important;
  padding: 9px 22px !important; border-radius: 100px !important;
  font-size: 14px; font-weight: 500;
}
.nav-cta:hover { background: #155433 !important; }

/* HERO */
.hero {
  padding: 60px 4vw 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: flex-start;
  max-width: 1460px;
  margin: 0 auto;
  position: relative;
  z-index: 110;
}

.hero-left { position: relative; z-index: 2; }

.hero-pills {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
}
.pill {
  font-size: 12px; font-weight: 500;
  color: var(--green); background: var(--green-light);
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: 0.02em;
}

.hero-display {
  font-family: var(--display);
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-display em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 440px;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: white;
  padding: 14px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: #155433; transform: translateY(-1px); }
.btn-ghost {
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 100px;
  border: 1px solid rgba(30,107,64,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(230,242,235,0.9) 100%);
  box-shadow: 0 10px 24px rgba(30,107,64,0.08);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-ghost:hover {
  color: var(--green);
  background: linear-gradient(180deg, #ffffff 0%, #edf6f0 100%);
  border-color: rgba(30,107,64,0.28);
  box-shadow: 0 16px 30px rgba(30,107,64,0.12);
  transform: translateY(-1px);
}

/* Hero right — stacked image blocks */
.hero-right {
  position: relative;
  height: 520px;
  z-index: 120;
}
.hero-img-main {
  position: absolute;
  top: 0;
  right: 92px;
  width: 86%;
  height: 430px;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.85);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, z-index 0s;
  cursor: pointer;
  box-shadow: 0 22px 58px rgba(22, 66, 44, 0.16);
  z-index: 3;
}
.hero-img-main:hover {
  transform: translate3d(-74px, -34px, 0) rotate(-2.2deg) scale(1.25);
  box-shadow: 0 34px 78px rgba(22,66,44,0.26);
  z-index: 10;
}
.hero-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-main::after {
  display: none;
}
.hero-img-secondary {
  position: absolute;
  right: 0;
  top: 32px;
  width: 52%;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid var(--cream);
  background: linear-gradient(145deg, rgba(13, 63, 49, 0.92) 0%, rgba(20, 98, 76, 0.84) 100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, z-index 0s;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(22, 66, 44, 0.14);
  z-index: 5;
}
.hero-img-secondary:hover {
  transform: translate3d(76px, -32px, 0) rotate(2.1deg) scale(1.25);
  box-shadow: 0 34px 78px rgba(22,66,44,0.26);
  z-index: 10;
}
.hero-img-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}
.hero-img-secondary::after {
  display: none;
}
.hero-img-tertiary {
  position: absolute;
  left: -42px;
  bottom: 0;
  width: 78%;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid var(--cream);
  background: var(--green-mid);
  box-shadow: 0 18px 44px rgba(22, 66, 44, 0.14);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, z-index 0s;
  z-index: 4;
}
.hero-img-tertiary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 18% top 12%;
  display: block;
  image-rendering: auto;
}
.hero-img-tertiary:hover {
  transform: translate3d(-78px, 48px, 0) rotate(-2deg) scale(1.25);
  box-shadow: 0 34px 78px rgba(22,66,44,0.26);
  z-index: 10;
}
.hero-img-tertiary::after {
  display: none;
}
.hero-img-judge {
  position: absolute;
  left: 382px;
  top: 226px;
  width: 52%;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid var(--cream);
  background: var(--green-mid);
  box-shadow: 0 18px 44px rgba(22, 66, 44, 0.14);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, z-index 0s;
  transform: rotate(4deg);
  z-index: 6;
}
.hero-img-judge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.hero-img-judge:hover {
  transform: translate3d(-78px, 36px, 0) rotate(1.6deg) scale(1.25);
  box-shadow: 0 34px 78px rgba(22,66,44,0.26);
  z-index: 10;
}
.hero-img-judge::after {
  display: none;
}
.hero-stat {
  position: absolute;
  top: 300px; right: -10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.4;
  box-shadow: 0 8px 32px rgba(30,107,64,0.08);
  z-index: 3;
}
.hero-stat strong { display: block; font-size: 22px; font-weight: 600; color: var(--green); font-family: var(--display); }

/* BENTO GRID */
.bento-section {
  padding: 48px 5vw 80px;
  max-width: 1300px;
  margin: 0 auto;
}
.bento-label {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-light); margin-bottom: 14px;
}
.bento-heading {
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.bento-sub {
  font-size: 15px; color: var(--ink-mid);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 48px;
}

/* Journey strip */
.journey {
  display: flex; align-items: center; gap: 0;
  background: var(--green); border-radius: 16px;
  padding: 20px 32px; margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.journey-step {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.journey-step-name {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.journey-step-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 1px;
}
.journey-arrow {
  color: rgba(255,255,255,0.35);
  font-size: 18px;
  margin: 0 20px;
  flex-shrink: 0;
}
.journey-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.2);
  margin: 0 24px;
  flex-shrink: 0;
}
.journey-datapulse {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.journey-datapulse svg { opacity: 0.8; }

/* BENTO GRID LAYOUT */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30,107,64,0.08);
}

.card-clearview { grid-column: span 5; grid-row: span 1; background: var(--ink); color: white; }
.card-ai-starter { grid-column: span 7; grid-row: span 1; }
.card-shipready { grid-column: span 7; grid-row: span 1; }
.card-datapulse { grid-column: span 5; grid-row: span 1; background: var(--green-pale); }

.card-tag {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  display: inline-block; margin-bottom: 20px;
}
.card-clearview .card-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.card-ai-starter .card-tag { background: var(--green-light); color: var(--green); }
.card-shipready .card-tag { background: var(--green-light); color: var(--green); }
.card-datapulse .card-tag { background: rgba(30,107,64,0.12); color: var(--green); }

.card-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 14px;
}
.card-name {
  font-family: var(--display);
  font-size: 28px; font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.card-clearview .card-name { color: white; }
.card-datapulse .card-name { color: var(--green); }

.card-icon { flex-shrink: 0; opacity: 0.7; }
.card-clearview .card-icon { opacity: 0.5; }

.card-desc {
  font-size: 14px; line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 400;
}
.card-clearview .card-desc { color: rgba(255,255,255,0.7); }
.card-datapulse .card-desc { color: var(--ink-mid); }

.card-points { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.card-points li {
  font-size: 13px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.card-clearview .card-points li { color: rgba(255,255,255,0.65); }
.card-datapulse .card-points li { color: var(--ink-mid); }
.card-ai-starter .card-points li, .card-shipready .card-points li { color: var(--ink-mid); }

.card-points li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
}
.card-clearview .card-points li::before { background: rgba(255,255,255,0.4); }
.card-ai-starter .card-points li::before, .card-shipready .card-points li::before { background: var(--green-mid); opacity: 0.6; }
.card-datapulse .card-points li::before { background: var(--green-mid); opacity: 0.6; }

/* ABOUT */
.about {
  background: var(--green);
  padding: 80px 5vw;
  position: relative;
  overflow: hidden;
}
.about-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
.about h2 {
  font-family: var(--display);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600; letter-spacing: -0.02em;
  color: white; margin-bottom: 20px; line-height: 1.1;
}
.about-body {
  font-size: 16px; color: rgba(255,255,255,0.75);
  line-height: 1.8; margin-bottom: 16px; font-weight: 400;
}
.about-sig { font-size: 15px; font-weight: 500; color: white; margin-top: 28px; }
.about-sig-title { font-size: 13px; color: rgba(255,255,255,0.55); }

.about-visual { display: flex; flex-direction: column; gap: 14px; }
.about-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.about-stat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 2px; }
.about-stat-val { font-size: 14px; font-weight: 500; color: white; }

/* CONTACT */
.contact {
  padding: 100px 5vw;
  text-align: center;
  max-width: 1300px; margin: 0 auto;
}
.contact h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 16px; line-height: 1.05;
}
.contact h2 em { font-style: italic; color: var(--green); }
.contact-sub {
  font-size: 16px; color: var(--ink-mid);
  margin-bottom: 40px; font-weight: 400;
}
.contact-email {
  display: inline-flex; align-items: center; gap: 12px;
  background: white; border: 1px solid var(--border);
  border-radius: 100px; padding: 16px 32px;
  font-size: 17px; font-weight: 500; color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.contact-email:hover { border-color: var(--green); transform: translateY(-1px); }

.legal-card {
  margin: 34px auto 0;
  max-width: 980px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
}
.legal-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.legal-note {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 14px;
}
.legal-grid {
  display: grid;
  grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 8px;
}
.legal-grid dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
}
.legal-grid dd {
  font-size: 13px;
  color: var(--ink);
  margin: 0;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 5vw;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-logo img { height: 36px; width: auto; }
.footer-copy { font-size: 13px; color: var(--ink-light); }
.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-left > * {
  animation: fadeUp 0.7s ease both;
}
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hero-right { animation: fadeUp 0.8s 0.2s ease both; }

@keyframes heroOrbitMain {
  0%, 100% { translate: 0 0; }
  25% { translate: 10px -8px; }
  50% { translate: 0 -16px; }
  75% { translate: -10px -8px; }
}
@keyframes heroOrbitSecondary {
  0%, 100% { translate: 0 0; }
  25% { translate: -8px 8px; }
  50% { translate: 0 14px; }
  75% { translate: 8px 8px; }
}
@keyframes heroOrbitTertiary {
  0%, 100% { translate: 0 0; }
  25% { translate: 9px 10px; }
  50% { translate: 18px 0; }
  75% { translate: 9px -10px; }
}
@keyframes heroOrbitJudge {
  0%, 100% { translate: 0 0; }
  25% { translate: -8px -10px; }
  50% { translate: -16px 0; }
  75% { translate: -8px 10px; }
}
@keyframes statBob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
@keyframes shimmerSweep {
  0% { transform: translateX(-140%); opacity: 0; }
  20% { opacity: 0.08; }
  60% { opacity: 0.14; }
  100% { transform: translateX(140%); opacity: 0; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: 8%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,107,64,0.12) 0%, rgba(30,107,64,0) 72%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero-img-main {
  animation: heroOrbitMain 15s linear infinite;
}
.hero-img-secondary {
  animation: heroOrbitSecondary 17s linear infinite;
}
.hero-img-tertiary {
  animation: heroOrbitTertiary 19s linear infinite;
}
.hero-img-judge {
  animation: heroOrbitJudge 18s linear infinite;
}
.hero-stat {
  animation: statBob 6s ease-in-out infinite;
}
.bento-card::after,
.about-stat::after,
.contact-email::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.bento-card:hover::after,
.about-stat:hover::after,
.contact-email:hover::after {
  animation: shimmerSweep 0.9s ease;
}
.journey-step,
.journey-datapulse {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.journey:hover .journey-step,
.journey:hover .journey-datapulse {
  opacity: 0.75;
}
.journey:hover .journey-step:hover,
.journey:hover .journey-datapulse:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.journey-arrow {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.journey:hover .journey-arrow {
  transform: translateX(3px);
  opacity: 0.55;
}
.about-stat,
.contact-email {
  position: relative;
  overflow: hidden;
}

.page-premium {
  --hero-depth-shift: 0px;
  --hero-orb-shift: 0px;
}

.page-premium .hero,
.page-premium .journey,
.page-premium .bento-card,
.page-premium .ai-starter-section,
.page-premium .about,
.page-premium .contact,
.page-premium .about-stat,
.page-premium .contact-email,
.page-premium .btn-primary {
  isolation: isolate;
}

.page-premium .hero::before {
  transform: translate3d(0, var(--hero-orb-shift), 0);
  transition: transform 0.45s ease-out;
}

.page-premium .hero::after {
  content: '';
  position: absolute;
  left: 2%;
  bottom: 6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.08) 22%, rgba(255,255,255,0) 70%);
  filter: blur(10px);
  opacity: 0.65;
  transform: translate3d(0, calc(var(--hero-orb-shift) * -0.7), 0);
  transition: transform 0.45s ease-out;
  pointer-events: none;
  z-index: 0;
}

.page-premium .hero-right {
  transition: none;
}

.page-premium .journey {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #1b5b37, #2d7d4f 58%, #245b3d);
  box-shadow: 0 18px 40px rgba(15,26,20,0.12);
}

.page-premium .journey::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 10%, rgba(255,255,255,0.12) 48%, transparent 78%);
  transform: translateX(-65%);
  animation: premiumDrift 9s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
}

.page-premium .ai-starter-section,
.page-premium .about,
.page-premium .contact {
  background-image:
    radial-gradient(circle at top right, rgba(255,255,255,0.08), rgba(255,255,255,0) 32%),
    linear-gradient(rgba(255,255,255,0.018), rgba(255,255,255,0.018));
}

.page-premium .bento-card,
.page-premium .about-stat,
.page-premium .contact-email,
.page-premium .btn-primary {
  --glow-x: 50%;
  --glow-y: 50%;
}

.page-premium .bento-card::before,
.page-premium .about-stat::before,
.page-premium .contact-email::before,
.page-premium .btn-primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(160px circle at var(--glow-x) var(--glow-y), rgba(255,255,255,0.24), rgba(255,255,255,0.08) 28%, rgba(255,255,255,0) 72%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.page-premium .bento-card > *,
.page-premium .about-stat > *,
.page-premium .contact-email > *,
.page-premium .btn-primary > * {
  position: relative;
  z-index: 1;
}

.page-premium .bento-card:hover,
.page-premium .about-stat:hover,
.page-premium .contact-email:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15,26,20,0.1);
}

.page-premium .btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(30,107,64,0.2);
}

.page-premium .btn-primary:hover {
  box-shadow: 0 22px 42px rgba(30,107,64,0.24);
}

.page-premium .bento-card.is-glow-active::before,
.page-premium .about-stat.is-glow-active::before,
.page-premium .contact-email.is-glow-active::before,
.page-premium .btn-primary.is-glow-active::before {
  opacity: 1;
}

@keyframes premiumDrift {
  0%, 100% { transform: translateX(-65%); }
  50% { transform: translateX(58%); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.20s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.28s; }

/* About bg circles */
.about::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}
.about::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

/* MOBILE */
@media (max-width: 900px) {
  nav {
    height: auto;
    padding: 12px 5vw;
  }
  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
  }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-mobile-cta { display: none !important; }
  .nav-hamburger {
    display: flex !important;
    margin-left: auto;
    flex-shrink: 0;
  }
  .lang-switch {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .lang-switch::-webkit-scrollbar { display: none; }
  .lang-btn {
    flex: 0 0 auto;
  }
  .nav-links { display: none; }
  .nav-mobile-open .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: calc(100% + 8px);
    left: 5vw;
    right: 5vw;
    background: var(--white);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(30,107,64,0.18);
    border-radius: 8px;
    padding: 8px;
    z-index: 1001;
    list-style: none;
    margin: 0;
    box-shadow: 0 22px 48px rgba(15,26,20,0.18);
  }
  .nav-mobile-open .nav-links li { width: 100%; }
  .nav-mobile-open .nav-links li a,
  .nav-mobile-open .nav-links li .nav-aitools-btn {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--green-pale);
    color: var(--ink);
  }
  .nav-mobile-open .nav-links li a:hover,
  .nav-mobile-open .nav-links li .nav-aitools-btn:hover {
    background: var(--green-light);
    color: var(--green);
  }
  .nav-mobile-open .nav-links li .nav-cta,
  .nav-mobile-open .nav-links li .nav-cta:hover {
    background: var(--green-pale) !important;
    color: var(--ink-mid) !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 400 !important;
    padding: 12px 14px !important;
  }
  .nav-mobile-open .nav-links li .nav-cta .nav-cta-text {
    color: inherit !important;
  }
  .nav-mobile-open .nav-links li .nav-aitools-btn {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: var(--ink-mid) !important;
  }
  .nav-mobile-open .nav-links li .nav-aitools-btn > span:not(.nav-aitools-dot):not(.nav-aitools-badge) {
    font-weight: 400 !important;
    color: inherit !important;
  }

  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 6vw 40px; gap: 40px; }
  .hero-right {
    height: min(72vw, 340px);
    min-height: 240px;
  }
  .hero-img-main {
    inset: 0;
    right: auto;
    width: 100%;
    height: 100%;
    border-width: 3px;
  }
  .hero-img-secondary { display: none; }
  .hero-img-tertiary { display: none; }
  .hero-img-judge { display: none; }
  .hero-stat { display: none; }
  .hero-display { font-size: 38px; }
  .hero-sub { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-actions .btn-ghost {
    padding: 14px 24px;
  }

  .bento-grid { grid-template-columns: 1fr; }
  .card-clearview, .card-ai-starter, .card-shipready, .card-datapulse { grid-column: span 1; }
  .bento-card {
    padding: 24px 20px;
    min-width: 0;
  }
  .card-name {
    font-size: clamp(26px, 7vw, 34px) !important;
  }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }

  .journey {
    border-radius: 16px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
  }
  .journey-arrow { display: none; }
  .journey-step,
  .journey-datapulse {
    width: 100%;
  }
  .journey-datapulse { display: block; }
  .bento-section,
  .about,
  .contact { padding-left: 6vw; padding-right: 6vw; }
  .ai-action-section,
  .ai-starter-section { padding: 64px 6vw !important; }
  .ai-lead-grid,
  .ai-starter-grid { grid-template-columns: 1fr !important; }
  .ai-starter-grid { gap: 36px !important; }
  .ai-starter-section .reveal-stagger > div {
    padding: 18px !important;
    gap: 14px !important;
  }
  .ai-starter-section .reveal-stagger > div:last-child {
    align-items: flex-start !important;
  }
  .ai-starter-section .reveal-stagger > div > div:first-child {
    width: 36px !important;
    height: 36px !important;
  }
  .contact-email {
    width: 100%;
    justify-content: center;
    padding-inline: 20px;
  }
  .legal-card {
    padding: 18px;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .legal-grid dt {
    margin-top: 8px;
  }
  footer {
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  nav { padding: 10px 4vw; }
  .logo img { height: 32px; }
  .lang-switch {
    margin-top: 2px;
    padding: 3px;
  }
  .hero { padding: 44px 5vw 32px; gap: 28px; }
  .hero-pills { margin-bottom: 24px; }
  .pill { padding: 5px 10px; }
  .hero-display { font-size: 32px; }
  .hero-sub { font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
  .bento-section,
  .about,
  .contact { padding: 56px 5vw; }
  .ai-action-section,
  .ai-starter-section { padding: 56px 5vw !important; }
  .ai-action-section .ai-h2 br,
  .ai-starter-section .aistarter-headline br { display: none; }
  .journey { padding: 14px 16px; }
  .bento-heading,
  .about h2,
  .contact h2 {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .page-premium .hero::before,
  .page-premium .hero::after,
  .page-premium .hero-right {
    transform: none !important;
  }
}

  /* AI Tools nav link */
  .nav-aitools-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--green) !important;
    background: linear-gradient(135deg, #f0f8f3 0%, #dff2e7 100%);
    border: 1.5px solid rgba(30,107,64,0.34);
    border-radius: 100px;
    padding: 8px 14px 8px 11px;
    box-shadow: 0 0 0 0 rgba(30,107,64,0.22);
    animation: nav-aitools-flash 2.8s ease-in-out infinite;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  }
  .nav-aitools-btn::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -55%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.78), transparent);
    transform: skewX(-18deg);
    animation: nav-aitools-shine 3.4s ease-in-out infinite;
    pointer-events: none;
  }
  .nav-aitools-btn > span {
    position: relative;
    z-index: 1;
  }
  .nav-aitools-btn:hover {
    background: var(--green) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30,107,64,0.32);
    animation-play-state: paused;
  }
  @keyframes nav-aitools-flash {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(30,107,64,0.20), 0 2px 10px rgba(30,107,64,0.08);
      border-color: rgba(30,107,64,0.34);
    }
    45% {
      box-shadow: 0 0 0 7px rgba(30,107,64,0.08), 0 6px 18px rgba(30,107,64,0.18);
      border-color: rgba(30,107,64,0.58);
    }
  }
  @keyframes nav-aitools-shine {
    0%, 52% { left: -55%; }
    74%, 100% { left: 120%; }
  }
  .nav-aitools-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; flex-shrink: 0;
    animation: nav-pulse 1.6s ease-in-out infinite;
  }
  @keyframes nav-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
  }
  .nav-aitools-badge {
    font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
    background: var(--green); color: white;
    border-radius: 100px; padding: 2px 6px;
    animation: nav-badge-glow 2s ease-in-out infinite;
  }
  @keyframes nav-badge-glow {
    0%, 100% { opacity: 1; } 50% { opacity: 0.6; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-aitools-btn,
    .nav-aitools-btn::before,
    .nav-aitools-dot,
    .nav-aitools-badge {
      animation: none;
    }
  }

  /* Hamburger */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    margin-left: 8px;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.25s;
  }
  .nav-mobile-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-mobile-open .nav-hamburger span:nth-child(2) { opacity: 0; }
  .nav-mobile-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav { position: sticky; top: 0; z-index: 1000; }

@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{transform:translateY(40px);opacity:0} to{transform:translateY(0);opacity:1} }
@keyframes livepulse2 { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
@keyframes spin2 { to{transform:rotate(360deg)} }

#aitools-overlay { overscroll-behavior: contain; }
#aitools-modal {
  box-shadow: 0 24px 80px rgba(15,26,20,0.22);
  max-height: calc(100vh - 60px);
}
#at-content {
  -webkit-overflow-scrolling: touch;
}

.at-tab {
  border:1.5px solid var(--border);background:white;border-radius:100px;
  padding:6px 13px;font-size:12px;font-weight:500;font-family:var(--body);
  cursor:pointer;color:var(--ink-mid);transition:all 0.15s;
}
.at-tab:hover { border-color:var(--green);color:var(--green); }
.at-tab.active { background:var(--green);color:white;border-color:var(--green); }

.at-cat-block { margin-bottom:32px; }
.at-cat-title { font-family:var(--display);font-size:17px;font-weight:600;letter-spacing:-0.02em;margin-bottom:10px;display:flex;align-items:center;gap:8px; }
.at-cat-badge { font-size:10px;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;padding:2px 9px;border-radius:100px; }

.at-table { width:100%;border-collapse:collapse;background:white;border-radius:12px;overflow:hidden;box-shadow:0 1px 8px rgba(0,0,0,0.05); }
.at-table thead tr { background:var(--green); }
.at-table th { padding:9px 14px;text-align:left;font-size:10px;font-weight:600;letter-spacing:0.07em;text-transform:uppercase;color:rgba(255,255,255,0.7);white-space:nowrap; }
.at-table tbody tr { border-bottom:1px solid var(--border);transition:background 0.1s; }
.at-table tbody tr:last-child { border-bottom:none; }
.at-table tbody tr:hover { background:var(--green-pale); }
.at-table td { padding:9px 14px;font-size:13px;vertical-align:middle; }

.at-name { font-weight:600;color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;gap:5px;white-space:nowrap; }
.at-name:hover { color:var(--green); }
.at-name svg { opacity:0.3;transition:opacity 0.15s; }
.at-name:hover svg { opacity:0.6; }
.at-vendor { color:var(--ink-mid);white-space:nowrap; }
.at-ver { font-family:'Courier New',monospace;font-size:11px;color:var(--green-mid);font-weight:600;white-space:nowrap; }
.at-desc { color:var(--ink-mid);line-height:1.4; }
.at-date { white-space:nowrap;font-size:12px;font-weight:500; }
.at-date.new { color:var(--green); }
.at-date.old { color:var(--ink-light);font-weight:400; }

.badge-llm{background:#e8f5ee;color:#1e6b40}
.badge-kode{background:#ede9fe;color:#5b21b6}
.badge-billede{background:#fef3c7;color:#92400e}
.badge-video{background:#fce7f3;color:#9d174d}
.badge-lyd{background:#fee2e2;color:#991b1b}
.badge-musik{background:#e0f2fe;color:#0369a1}
.badge-agent{background:#f0fdf4;color:#166534}

@media(max-width:700px) {
  .lang-switch { gap: 3px; padding: 3px; }
  .lang-btn { width: 34px; height: 28px; padding: 0; }
  .lang-flag { width: 20px; height: 15px; }
  #aitools-modal {
    top: 8px !important;
    width: calc(100% - 8px) !important;
    max-height: calc(100vh - 8px) !important;
    border-radius: 16px 16px 0 0 !important;
  }
  #aitools-overlay > #aitools-modal > div:nth-child(1),
  #aitools-overlay > #aitools-modal > div:nth-child(2),
  #at-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  #aitools-overlay > #aitools-modal > div:nth-child(1) {
    align-items: flex-start !important;
    gap: 10px;
    flex-wrap: wrap;
  }
  #aitools-overlay > #aitools-modal > div:nth-child(1) > div:first-child {
    min-width: 0;
    flex-wrap: wrap;
  }
  #aitools-overlay > #aitools-modal > div:nth-child(2) {
    align-items: stretch !important;
    gap: 10px !important;
  }
  #aitools-overlay > #aitools-modal > div:nth-child(2) > div:first-child {
    width: 100%;
  }
  #at-search {
    width: 100% !important;
    min-width: 0;
  }
  #aitools-overlay > #aitools-modal > div:nth-child(2) > div:last-child {
    margin-left: 0 !important;
    width: 100%;
    justify-content: space-between;
  }
  #at-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  #at-tabs::-webkit-scrollbar { display: none; }
  .at-tab { flex: 0 0 auto; }
  .at-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .at-name {
    white-space: normal;
    min-width: 160px;
  }
  .at-desc { display:none; }
  .at-table th:nth-child(4),.at-table td:nth-child(4) { display:none; }
}

@media(max-width:560px) {
  .hero-img-main:hover,
  .hero-img-secondary:hover,
  .hero-img-tertiary:hover,
  .hero-img-judge:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .nav-aitools-btn:hover {
    transform: none;
  }
  .at-table th:nth-child(2),
  .at-table td:nth-child(2) {
    display: none;
  }
}

