/*
Theme Name: Lukas Nakic Landing
Theme URI: https://lukas-nakic.com/
Author: OpenAI Codex
Author URI: https://openai.com/
Description: Minimal custom WordPress theme for the Lukas Nakic landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.2
Text Domain: lukas-nakic-landing
*/

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f7fa;
  color: #142234;
  font-family: "Manrope", sans-serif;
}

body.admin-bar .landing-nav {
  top: 4%;
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.generic-page {
  padding: 120px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(93, 178, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #f5f7fa 0%, #eef3f8 100%);
}

.generic-page__inner {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.generic-page__card {
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 60px rgba(8, 18, 32, 0.1);
}

.generic-page__title {
  margin: 0 0 16px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.generic-page__content,
.generic-page__content p,
.generic-page__content li {
  line-height: 1.8;
  color: #5f748a;
}

.generic-page__content > :first-child {
  margin-top: 0;
}

.generic-page__content > :last-child {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  body.admin-bar .landing-nav {
    top: 1%;
  }
}

@media (max-width: 600px) {
  .generic-page {
    padding-top: 96px;
  }

  .generic-page__card {
    padding: 24px;
    border-radius: 22px;
  }
}

.ln-subbrand {
  --ln-accent: #04a3ee;
  --ln-accent-strong: #028cd0;
  --ln-accent-soft: rgba(4, 163, 238, 0.14);
  --ln-accent-deep: rgba(4, 163, 238, 0.2);
  --ln-ink: #11233a;
  --ln-muted: #60738a;
  --ln-border: rgba(17, 35, 58, 0.1);
  --ln-surface: rgba(255, 255, 255, 0.92);
  --ln-surface-alt: rgba(246, 249, 252, 0.92);
  position: relative;
  overflow: clip;
  padding: 156px 0 96px;
  color: var(--ln-ink);
  background:
    radial-gradient(circle at top left, var(--ln-accent-soft), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 208, 79, 0.1), transparent 22%),
    linear-gradient(180deg, #f6f9fc 0%, #eef3f8 48%, #f7fafc 100%);
}

.ln-subbrand::before {
  content: "";
  position: absolute;
  top: 96px;
  left: 50%;
  width: min(1280px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(17, 35, 58, 0.12), transparent);
}

.ln-subbrand--trend {
  --ln-accent: #04a3ee;
  --ln-accent-strong: #037bb4;
  --ln-accent-soft: rgba(4, 163, 238, 0.14);
  --ln-accent-deep: rgba(4, 163, 238, 0.2);
}

.ln-subbrand--lumax {
  --ln-accent: #22a86a;
  --ln-accent-strong: #168451;
  --ln-accent-soft: rgba(34, 168, 106, 0.14);
  --ln-accent-deep: rgba(34, 168, 106, 0.2);
}

.ln-subbrand--luna {
  --ln-accent: #e8a427;
  --ln-accent-strong: #cb8712;
  --ln-accent-soft: rgba(232, 164, 39, 0.14);
  --ln-accent-deep: rgba(232, 164, 39, 0.2);
}

.ln-subbrand,
.ln-subbrand * {
  box-sizing: border-box;
}

.ln-subbrand a {
  color: inherit;
}

.ln-subbrand [id] {
  scroll-margin-top: 140px;
}

.ln-subbrand__shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.ln-subbrand__topbar {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 70;
  pointer-events: none;
}

body.admin-bar .ln-subbrand__topbar {
  top: calc(24px + 32px);
}

.ln-subbrand__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: rgba(8, 18, 32, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(7, 15, 28, 0.22);
  pointer-events: auto;
}

.ln-subbrand__home {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.ln-subbrand__home img {
  display: block;
  width: 120px;
  height: auto;
}

.ln-subbrand__topnav,
.ln-subbrand__topnav p {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.ln-subbrand__topnav br {
  display: none;
}

.ln-subbrand__topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.ln-subbrand__topnav a:hover,
.ln-subbrand__topnav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.ln-subbrand__topnav .ln-subbrand__top-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, var(--ln-accent), var(--ln-accent-strong));
  color: #fff;
}

.ln-subbrand__hero {
  position: relative;
  padding: 0 0 44px;
}

.ln-subbrand__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

.ln-subbrand__copy {
  max-width: 660px;
}

.ln-subbrand__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ln-accent-soft);
  color: var(--ln-accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ln-subbrand__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ln-accent);
}

.ln-subbrand__copy h1 {
  margin: 0 0 18px;
  font-family: "Sora", sans-serif;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.ln-subbrand__lead {
  margin: 0 0 16px;
  font-size: clamp(1.12rem, 2.1vw, 1.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.ln-subbrand__intro {
  margin: 0;
  max-width: 58ch;
  color: var(--ln-muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.ln-subbrand__actions,
.ln-subbrand__actions p,
.ln-subbrand__contact-actions,
.ln-subbrand__contact-actions p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.ln-subbrand__actions br,
.ln-subbrand__contact-actions br {
  display: none;
}

.ln-subbrand__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease;
}

.ln-subbrand__button:hover,
.ln-subbrand__button:focus-visible {
  transform: translateY(-2px);
}

.ln-subbrand__button--primary {
  background: linear-gradient(135deg, var(--ln-accent), var(--ln-accent-strong));
  color: #fff;
}

.ln-subbrand__button--ghost {
  border-color: rgba(17, 35, 58, 0.14);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ln-ink);
}

.ln-subbrand__button--ghost-dark {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.ln-subbrand__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.ln-subbrand__stats li {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(17, 35, 58, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 252, 0.92));
}

.ln-subbrand__stats strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.ln-subbrand__stats span {
  color: var(--ln-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ln-subbrand__visual {
  display: flex;
  justify-content: center;
}

.ln-subbrand__visual-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.95));
  box-shadow: 0 30px 70px rgba(13, 24, 41, 0.1);
  overflow: hidden;
}

.ln-subbrand__visual-card::before {
  content: "";
  position: absolute;
  inset: auto 12% -14% 12%;
  height: 32%;
  border-radius: 999px;
  background: var(--ln-accent-deep);
  filter: blur(34px);
}

.ln-subbrand__visual-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  margin: 0 auto;
}

.ln-subbrand__signals-wrap {
  padding: 6px 0 56px;
}

.ln-subbrand__signals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ln-subbrand-signal {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, #10233b 0%, #152c46 100%);
  color: #fff;
  overflow: hidden;
}

.ln-subbrand-signal::before {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ln-accent-deep);
  filter: blur(2px);
}

.ln-subbrand-signal span,
.ln-subbrand-signal strong {
  position: relative;
  z-index: 1;
}

.ln-subbrand-signal span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ln-subbrand-signal p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.ln-subbrand__catalog {
  padding: 8px 0 72px;
}

.ln-subbrand__section-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 30px;
}

.ln-subbrand__section-copy h2,
.ln-subbrand-section__heading h2,
.ln-subbrand__contact-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.ln-subbrand__section-copy p:last-child,
.ln-subbrand-section__heading p,
.ln-subbrand__contact-card p {
  margin: 0;
  color: var(--ln-muted);
  line-height: 1.78;
}

.ln-subbrand__catalog-nav,
.ln-subbrand__catalog-nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.ln-subbrand__catalog-nav br {
  display: none;
}

.ln-subbrand__catalog-nav a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--ln-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease;
}

.ln-subbrand__catalog-nav a:hover,
.ln-subbrand__catalog-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(17, 35, 58, 0.18);
  color: var(--ln-accent-strong);
}

.ln-subbrand__catalog-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--ln-accent-soft);
  color: var(--ln-accent-strong);
  font-size: 0.85rem;
}

.ln-subbrand__catalog-body {
  display: grid;
  gap: 18px;
}

.ln-subbrand-section {
  padding: 32px;
  border: 1px solid rgba(17, 35, 58, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.76);
}

.ln-subbrand-section__heading {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.ln-subbrand-accordion {
  border: 1px solid rgba(17, 35, 58, 0.09);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}

.ln-subbrand-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.ln-subbrand-accordion summary::-webkit-details-marker {
  display: none;
}

.ln-subbrand-accordion summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ln-accent-strong);
  border-bottom: 2px solid var(--ln-accent-strong);
  transform: rotate(45deg);
  transition: transform 0.24s ease;
}

.ln-subbrand-accordion[open] summary::after {
  transform: rotate(225deg);
}

.ln-subbrand-accordion summary span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ln-subbrand-accordion summary strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ln-muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.ln-subbrand-accordion__body {
  padding: 0 28px 28px;
}

.ln-subbrand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ln-subbrand-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(17, 35, 58, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.92));
}

.ln-subbrand-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 600 / 478;
  padding: 18px;
  border: 1px solid rgba(17, 35, 58, 0.07);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.ln-subbrand-card__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ln-subbrand-card h3 {
  margin: 16px 4px 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.ln-subbrand__contact {
  padding: 0 0 24px;
}

.ln-subbrand__contact-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(30px, 5vw, 44px);
  border-radius: 34px;
  background: linear-gradient(160deg, #0f2036 0%, #17304e 100%);
  overflow: hidden;
}

.ln-subbrand__contact-card::before {
  content: "";
  position: absolute;
  inset: auto auto -72px -48px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--ln-accent-deep);
  filter: blur(8px);
}

.ln-subbrand__contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 24%);
  pointer-events: none;
}

.ln-subbrand__contact-card .ln-subbrand__eyebrow,
.ln-subbrand__contact-card h2,
.ln-subbrand__contact-card p,
.ln-subbrand__contact-actions {
  position: relative;
  z-index: 1;
}

.ln-subbrand__contact-card h2,
.ln-subbrand__contact-card p {
  color: #fff;
}

.ln-subbrand__contact-card p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1180px) {
  .ln-subbrand__hero-inner {
    grid-template-columns: 1fr;
  }

  .ln-subbrand__copy {
    max-width: none;
  }

  .ln-subbrand__visual {
    order: -1;
  }

  .ln-subbrand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .ln-subbrand {
    padding-top: 190px;
  }

  .ln-subbrand__topbar {
    top: 18px;
  }

  body.admin-bar .ln-subbrand__topbar {
    top: calc(18px + 32px);
  }

  .ln-subbrand__topbar-inner {
    padding: 16px 18px;
  }

  .ln-subbrand__signals-grid,
  .ln-subbrand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ln-subbrand__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .ln-subbrand__topbar {
    top: calc(18px + 46px);
  }
}

@media (max-width: 640px) {
  .ln-subbrand {
    padding-top: 214px;
  }

  .ln-subbrand::before {
    top: 124px;
    width: calc(100% - 28px);
  }

  .ln-subbrand__shell {
    width: calc(100% - 28px);
  }

  .ln-subbrand__topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 26px;
  }

  .ln-subbrand__home {
    justify-content: center;
  }

  .ln-subbrand__home img {
    width: 108px;
  }

  .ln-subbrand__topnav,
  .ln-subbrand__topnav p {
    justify-content: center;
  }

  .ln-subbrand__topnav a {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .ln-subbrand__topnav .ln-subbrand__top-cta {
    flex-basis: 100%;
  }

  .ln-subbrand__actions,
  .ln-subbrand__actions p,
  .ln-subbrand__contact-actions,
  .ln-subbrand__contact-actions p {
    flex-direction: column;
    align-items: stretch;
  }

  .ln-subbrand__button {
    width: 100%;
  }

  .ln-subbrand__stats,
  .ln-subbrand__signals-grid,
  .ln-subbrand-grid {
    grid-template-columns: 1fr;
  }

  .ln-subbrand-section,
  .ln-subbrand-accordion__body,
  .ln-subbrand__contact-card {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ln-subbrand-accordion summary {
    padding: 20px 22px;
  }

  .ln-subbrand-accordion summary span,
  .ln-subbrand-accordion summary strong {
    font-size: 0.92rem;
  }
}
