/*
Theme Name: LoffredoApps Theme
Theme URI: https://www.loffredoapps.com/
Author: LoffredoApps
Author URI: https://www.loffredoapps.com/
Description: Tema WordPress moderno per sviluppatori di web app, siti e prodotti digitali. Include homepage ad alta conversione, portfolio, blog, animazioni leggere e integrazione con LoffredoApps Marketing Tools.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loffredoapps-theme
Tags: portfolio, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --la-bg: #070b17;
  --la-bg-soft: #0d1426;
  --la-surface: rgba(18, 28, 50, 0.78);
  --la-surface-solid: #111a2f;
  --la-surface-hover: #16223d;
  --la-text: #f7f9ff;
  --la-muted: #9eacc7;
  --la-primary: #6c63ff;
  --la-primary-2: #8b7fff;
  --la-accent: #27d9b4;
  --la-accent-2: #00b8ff;
  --la-danger: #ff6685;
  --la-border: rgba(160, 180, 220, 0.16);
  --la-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --la-radius-sm: 12px;
  --la-radius: 20px;
  --la-radius-lg: 32px;
  --la-container: 1180px;
  --la-header: 78px;
  --la-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--la-header) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(108, 99, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 28%, rgba(39, 217, 180, 0.09), transparent 28rem),
    var(--la-bg);
  color: var(--la-text);
  font-family: var(--la-font);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }

img { max-width: 100%; height: auto; }
a { color: var(--la-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #72edd3; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { background: var(--la-primary); color: #fff; }

:focus-visible {
  outline: 3px solid var(--la-accent);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 700;
}

.la-container {
  width: min(calc(100% - 40px), var(--la-container));
  margin-inline: auto;
}

.la-narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }

.la-section { position: relative; padding: 110px 0; }
.la-section--soft { background: linear-gradient(180deg, rgba(17, 26, 47, 0.38), rgba(17, 26, 47, 0.12)); }
.la-section--compact { padding: 76px 0; }

.la-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 46px;
}

.la-section__head > div { max-width: 720px; }

.la-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--la-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.la-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  color: var(--la-text);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.65rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.35em; }

.la-gradient-text {
  background: linear-gradient(100deg, var(--la-primary-2), var(--la-accent) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.la-lead { color: var(--la-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }

.la-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--la-primary), #766cff);
  box-shadow: 0 14px 34px rgba(108, 99, 255, 0.25);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.la-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(108, 99, 255, 0.36);
  color: #fff;
}

.la-btn--ghost {
  border-color: var(--la-border);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  color: var(--la-text);
}

.la-btn--ghost:hover { border-color: rgba(39, 217, 180, 0.45); background: rgba(39, 217, 180, 0.08); }
.la-btn--sm { min-height: 42px; padding: 10px 16px; border-radius: 12px; font-size: 0.88rem; }
.la-btn .la-icon { width: 18px; height: 18px; }
.la-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.la-text-link .la-icon { width: 17px; transition: transform 160ms ease; }
.la-text-link:hover .la-icon { transform: translateX(4px); }

.la-icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

/* Header */
.site-header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--la-header);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--la-border);
  background: rgba(7, 11, 23, 0.84);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.site-header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.custom-logo-link { display: flex; }
.custom-logo { width: auto; max-height: 46px; }
.site-title { margin: 0; font-size: 1.2rem; letter-spacing: -0.03em; }
.site-title a { color: var(--la-text); text-decoration: none; }

.la-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(139, 127, 255, 0.45);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.24), rgba(39, 217, 180, 0.14));
  box-shadow: inset 0 0 20px rgba(108, 99, 255, 0.12);
  color: var(--la-accent);
}

.la-brand-mark .la-icon { width: 24px; height: 24px; }
.site-navigation { display: flex; align-items: center; gap: 26px; }
.primary-menu { display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a { color: #c9d2e7; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: color 150ms ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: #fff; }
.primary-menu a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; border-radius: 3px; background: var(--la-accent); content: ""; transform: scaleX(0); transition: transform 160ms ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { transform: scaleX(1); }
.primary-menu .sub-menu { position: absolute; top: calc(100% + 18px); left: -18px; min-width: 220px; padding: 12px; margin: 0; visibility: hidden; border: 1px solid var(--la-border); border-radius: 14px; background: var(--la-surface-solid); box-shadow: var(--la-shadow); list-style: none; opacity: 0; transform: translateY(6px); transition: 160ms ease; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-menu .sub-menu a { display: block; padding: 9px 11px; border-radius: 8px; }
.primary-menu .sub-menu a:hover { background: rgba(255, 255, 255, 0.05); }
.primary-menu .sub-menu a::after { display: none; }

.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--la-border); border-radius: 12px; background: var(--la-surface); color: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 3px; background: currentColor; content: ""; transition: 180ms ease; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.la-hero { position: relative; min-height: 850px; padding: calc(var(--la-header) + 112px) 0 90px; overflow: hidden; }
.la-hero::before { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(130, 150, 190, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 150, 190, 0.055) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000 45%, transparent 95%); content: ""; }
.la-hero::after { position: absolute; z-index: -1; top: 9%; left: 47%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(108, 99, 255, 0.16), rgba(0, 184, 255, 0.055) 42%, transparent 70%); filter: blur(10px); content: ""; }
.la-hero__grid { display: grid; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 68px; }
.la-hero__copy { position: relative; z-index: 2; }
.la-hero h1 { max-width: 790px; margin-bottom: 24px; }
.la-hero .la-lead { max-width: 680px; margin-bottom: 32px; }
.la-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.la-trust-row { display: flex; flex-wrap: wrap; gap: 18px 30px; padding: 26px 0 0; margin: 32px 0 0; border-top: 1px solid var(--la-border); list-style: none; color: var(--la-muted); font-size: 0.86rem; font-weight: 700; }
.la-trust-row li { display: flex; align-items: center; gap: 8px; }
.la-trust-row .la-icon { width: 18px; color: var(--la-accent); }

.la-tech-visual { position: relative; width: min(100%, 510px); aspect-ratio: 1 / 1; margin-inline: auto; }
.la-orbit { position: absolute; inset: 4%; border: 1px solid rgba(139, 127, 255, 0.22); border-radius: 50%; animation: la-spin 24s linear infinite; }
.la-orbit--two { inset: 17%; border-color: rgba(39, 217, 180, 0.2); animation-duration: 17s; animation-direction: reverse; }
.la-orbit__dot { position: absolute; top: 11%; left: 7%; width: 13px; height: 13px; border: 3px solid var(--la-bg); border-radius: 50%; background: var(--la-accent); box-shadow: 0 0 24px var(--la-accent); }
.la-orbit--two .la-orbit__dot { top: auto; right: 10%; bottom: 7%; left: auto; background: var(--la-primary-2); box-shadow: 0 0 24px var(--la-primary); }

.la-code-window {
  position: absolute;
  z-index: 2;
  top: 18%;
  right: 3%;
  left: 3%;
  overflow: hidden;
  border: 1px solid rgba(160, 180, 220, 0.2);
  border-radius: 22px;
  background: rgba(10, 16, 31, 0.9);
  box-shadow: var(--la-shadow), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  animation: la-float 6s ease-in-out infinite;
}

.la-code-window__bar { display: flex; height: 48px; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid var(--la-border); }
.la-code-window__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6882; }
.la-code-window__bar i:nth-child(2) { background: #ffc768; }
.la-code-window__bar i:nth-child(3) { background: #27d9b4; }
.la-code-window__label { margin-left: auto; color: #6f7f9e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.67rem; }
.la-code-window__body { min-height: 255px; padding: 28px; color: #b9c8e4; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(0.72rem, 1.4vw, 0.88rem); line-height: 1.9; }
.la-code-window__body span { display: block; }
.la-code-window__body .c-purple { color: #a99fff; }
.la-code-window__body .c-green { color: #55e5c7; }
.la-code-window__body .c-blue { color: #67cfff; }
.la-code-window__body .c-muted { color: #5f6e8a; }
.la-cursor { display: inline-block !important; width: 7px; height: 1em; margin-left: 4px; vertical-align: -2px; background: var(--la-accent); animation: la-blink 1s steps(2) infinite; }

.la-floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid var(--la-border); border-radius: 14px; background: rgba(18, 28, 50, 0.88); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24); color: #dce5f7; font-size: 0.75rem; font-weight: 800; backdrop-filter: blur(12px); }
.la-floating-card .la-icon { width: 20px; color: var(--la-accent); }
.la-floating-card--top { top: 7%; right: -2%; animation: la-float 5s 0.6s ease-in-out infinite; }
.la-floating-card--bottom { bottom: 8%; left: -1%; animation: la-float 5.7s 1.2s ease-in-out infinite; }

/* Cards and grids */
.la-grid { display: grid; gap: 24px; }
.la-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.la-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.la-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--la-border);
  border-radius: var(--la-radius);
  background: linear-gradient(145deg, rgba(18, 28, 50, 0.82), rgba(10, 16, 31, 0.72));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.la-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 127, 255, 0.7), transparent); content: ""; opacity: 0; transition: opacity 180ms ease; }
.la-card:hover { border-color: rgba(139, 127, 255, 0.34); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2); transform: translateY(-5px); }
.la-card:hover::before { opacity: 1; }
.la-card__icon { display: grid; width: 52px; height: 52px; margin-bottom: 24px; place-items: center; border: 1px solid rgba(108, 99, 255, 0.25); border-radius: 15px; background: rgba(108, 99, 255, 0.1); color: var(--la-primary-2); }
.la-card:nth-child(3n + 2) .la-card__icon { border-color: rgba(39, 217, 180, 0.25); background: rgba(39, 217, 180, 0.08); color: var(--la-accent); }
.la-card:nth-child(3n + 3) .la-card__icon { border-color: rgba(0, 184, 255, 0.25); background: rgba(0, 184, 255, 0.08); color: var(--la-accent-2); }
.la-card h3 { margin-bottom: 12px; }
.la-card p { margin-bottom: 0; color: var(--la-muted); font-size: 0.94rem; }
.la-card__list { padding: 18px 0 0; margin: 0; list-style: none; color: #c6d0e5; font-size: 0.86rem; }
.la-card__list li { display: flex; gap: 9px; margin-top: 9px; }
.la-card__list .la-icon { width: 16px; margin-top: 4px; color: var(--la-accent); }

.la-stats { display: grid; padding: 28px 0; border-top: 1px solid var(--la-border); border-bottom: 1px solid var(--la-border); grid-template-columns: repeat(4, 1fr); }
.la-stat { padding: 14px 30px; border-right: 1px solid var(--la-border); text-align: center; }
.la-stat:last-child { border-right: 0; }
.la-stat strong { display: block; margin-bottom: 4px; color: var(--la-text); font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.05em; }
.la-stat span { color: var(--la-muted); font-size: 0.82rem; font-weight: 700; }

/* Portfolio */
.la-project-card { padding: 0; }
.la-project-card__visual { position: relative; min-height: 230px; overflow: hidden; border-bottom: 1px solid var(--la-border); background: linear-gradient(135deg, rgba(108, 99, 255, 0.22), rgba(0, 184, 255, 0.05) 65%), var(--la-bg-soft); }
.la-project-card:nth-child(2) .la-project-card__visual { background: linear-gradient(135deg, rgba(39, 217, 180, 0.18), rgba(108, 99, 255, 0.06) 65%), var(--la-bg-soft); }
.la-project-card:nth-child(3) .la-project-card__visual { background: linear-gradient(135deg, rgba(0, 184, 255, 0.16), rgba(39, 217, 180, 0.05) 65%), var(--la-bg-soft); }
.la-project-card__visual img { width: 100%; height: 230px; object-fit: cover; transition: transform 400ms ease; }
.la-project-card:hover .la-project-card__visual img { transform: scale(1.035); }
.la-project-card__mock { position: absolute; inset: 38px 34px 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0; border-radius: 16px 16px 0 0; background: #0a1020; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.la-project-card__mock-bar { height: 32px; border-bottom: 1px solid var(--la-border); background: rgba(255, 255, 255, 0.025); }
.la-project-card__mock-bar::before { display: block; width: 7px; height: 7px; margin: 12px 0 0 14px; border-radius: 50%; background: var(--la-primary-2); box-shadow: 13px 0 var(--la-accent), 26px 0 var(--la-accent-2); content: ""; }
.la-project-card__mock-ui { display: grid; min-height: 160px; padding: 18px; grid-template-columns: 28% 1fr; gap: 14px; }
.la-project-card__mock-ui::before, .la-project-card__mock-ui::after { border-radius: 8px; background: linear-gradient(180deg, rgba(139, 127, 255, 0.15), rgba(139, 127, 255, 0.03)); content: ""; }
.la-project-card__mock-ui::after { background: repeating-linear-gradient(180deg, rgba(39, 217, 180, 0.12) 0 11px, transparent 11px 23px); }
.la-project-card__body { padding: 26px; }
.la-project-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.la-tag { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(39, 217, 180, 0.2); border-radius: 999px; background: rgba(39, 217, 180, 0.07); color: var(--la-accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.la-project-card__body h3 a { color: var(--la-text); text-decoration: none; }
.la-project-card__body p { min-height: 3.3em; }

/* Process */
.la-process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.la-process::before { position: absolute; top: 31px; right: 9%; left: 9%; z-index: -1; height: 1px; background: linear-gradient(90deg, transparent, var(--la-primary), var(--la-accent), transparent); content: ""; opacity: 0.45; }
.la-step { text-align: center; }
.la-step__number { display: grid; width: 62px; height: 62px; margin: 0 auto 20px; place-items: center; border: 1px solid rgba(139, 127, 255, 0.32); border-radius: 50%; background: var(--la-bg-soft); box-shadow: 0 0 0 8px var(--la-bg); color: var(--la-accent); font-size: 0.88rem; font-weight: 900; }
.la-step p { margin: 0; color: var(--la-muted); font-size: 0.87rem; }

/* Blog */
.la-post-card { display: flex; min-height: 100%; flex-direction: column; padding: 0; }
.la-post-card__thumb { display: block; min-height: 210px; overflow: hidden; border-bottom: 1px solid var(--la-border); background: linear-gradient(135deg, rgba(108, 99, 255, 0.16), rgba(39, 217, 180, 0.08)); }
.la-post-card__thumb img { width: 100%; height: 210px; object-fit: cover; transition: transform 400ms ease; }
.la-post-card:hover .la-post-card__thumb img { transform: scale(1.04); }
.la-post-card__placeholder { display: grid; height: 210px; place-items: center; color: rgba(139, 127, 255, 0.6); }
.la-post-card__placeholder .la-icon { width: 56px; height: 56px; }
.la-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.la-post-card__meta { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-bottom: 14px; color: var(--la-muted); font-size: 0.73rem; font-weight: 700; text-transform: uppercase; }
.la-post-card h3 { font-size: 1.32rem; }
.la-post-card h3 a { color: var(--la-text); text-decoration: none; }
.la-post-card p { color: var(--la-muted); font-size: 0.9rem; }
.la-post-card .la-text-link { margin-top: auto; }

/* CTA */
.la-cta {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(139, 127, 255, 0.3);
  border-radius: var(--la-radius-lg);
  background: linear-gradient(120deg, rgba(108, 99, 255, 0.18), rgba(39, 217, 180, 0.08)), var(--la-surface-solid);
  box-shadow: var(--la-shadow);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.la-cta::after { position: absolute; top: -140px; right: -80px; width: 360px; height: 360px; border: 1px solid rgba(39, 217, 180, 0.18); border-radius: 50%; box-shadow: 0 0 0 60px rgba(108, 99, 255, 0.04), 0 0 0 120px rgba(39, 217, 180, 0.025); content: ""; }
.la-cta__copy { position: relative; z-index: 1; max-width: 720px; }
.la-cta__copy p { margin: 0; color: var(--la-muted); }
.la-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner pages */
.la-page-hero { padding: calc(var(--la-header) + 90px) 0 70px; border-bottom: 1px solid var(--la-border); background: linear-gradient(180deg, rgba(108, 99, 255, 0.09), transparent); text-align: center; }
.la-page-hero h1 { max-width: 900px; margin-inline: auto; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.la-page-hero p { max-width: 690px; margin: 14px auto 0; color: var(--la-muted); }
.la-breadcrumbs { margin-bottom: 16px; color: var(--la-muted); font-size: 0.8rem; }
.la-breadcrumbs a { color: var(--la-muted); text-decoration: none; }
.la-content-area { padding: 80px 0 110px; }
.entry-content { color: #cbd4e7; }
.entry-content > * { max-width: 780px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: var(--la-container); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.5em; }
.entry-content a { font-weight: 700; }
.entry-content blockquote { padding: 18px 26px; border-left: 3px solid var(--la-accent); border-radius: 0 12px 12px 0; background: rgba(39, 217, 180, 0.05); color: #e2e8f5; font-size: 1.1rem; }
.entry-content code { padding: 2px 6px; border-radius: 5px; background: rgba(139, 127, 255, 0.12); color: #bfb8ff; }
.entry-content pre { overflow-x: auto; padding: 22px; border: 1px solid var(--la-border); border-radius: 14px; background: #090f1e; }
.entry-content pre code { padding: 0; background: none; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--la-border); text-align: left; }
.entry-content th { background: var(--la-surface-solid); }
.entry-featured { max-width: 980px; margin: 0 auto 42px; overflow: hidden; border: 1px solid var(--la-border); border-radius: var(--la-radius); }
.entry-featured img { display: block; width: 100%; }
.entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--la-muted); font-size: 0.82rem; }
.entry-meta a { color: var(--la-accent); text-decoration: none; }
.post-navigation { display: grid; max-width: 980px; margin: 70px auto 0; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: block; padding: 20px; border: 1px solid var(--la-border); border-radius: 14px; background: var(--la-surface); text-decoration: none; }
.nav-next { text-align: right; }
.navigation.pagination { margin-top: 46px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 10px; place-items: center; border: 1px solid var(--la-border); border-radius: 10px; background: var(--la-surface); color: var(--la-text); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { border-color: var(--la-primary); background: var(--la-primary); color: #fff; }

/* Forms */
label { color: #dfe6f5; font-size: 0.88rem; font-weight: 700; }
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--la-border);
  border-radius: 11px;
  outline: none;
  background: rgba(5, 10, 21, 0.68);
  color: var(--la-text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--la-primary-2); box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.12); }
.search-form { display: flex; max-width: 600px; gap: 10px; }
.search-submit { border: 0; cursor: pointer; }

/* Comments */
.comments-area { max-width: 780px; padding-top: 62px; margin: 0 auto; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { padding: 22px; margin-bottom: 18px; border: 1px solid var(--la-border); border-radius: 14px; background: var(--la-surface); }
.comment-meta { margin-bottom: 12px; font-size: 0.82rem; }
.comment-author img { margin-right: 9px; border-radius: 50%; vertical-align: middle; }

/* Footer */
.site-footer { padding: 76px 0 24px; border-top: 1px solid var(--la-border); background: rgba(5, 8, 17, 0.7); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr; gap: 46px; }
.site-footer__about { max-width: 380px; }
.site-footer__about p { color: var(--la-muted); font-size: 0.9rem; }
.site-footer h3 { margin-bottom: 18px; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { color: var(--la-muted); font-size: 0.88rem; text-decoration: none; }
.site-footer li a:hover { color: var(--la-text); }
.la-contact-list li { display: flex; gap: 10px; }
.la-contact-list .la-icon { width: 17px; margin-top: 5px; color: var(--la-accent); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 25px; margin-top: 56px; border-top: 1px solid var(--la-border); color: #72809b; font-size: 0.76rem; }
.site-footer__bottom a { color: #9eacc7; }
.la-socials { display: flex; gap: 9px; }
.la-socials a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--la-border); border-radius: 10px; color: var(--la-muted); }
.la-socials a:hover { border-color: rgba(39, 217, 180, 0.4); background: rgba(39, 217, 180, 0.06); color: var(--la-accent); }
.la-socials .la-icon { width: 17px; }

/* Reveal animation */
.js .la-reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.75,.25,1); }
.js .la-reveal.is-visible { opacity: 1; transform: none; }
.js .la-reveal--delay-1 { transition-delay: 80ms; }
.js .la-reveal--delay-2 { transition-delay: 160ms; }

/* Common plugin output */
.edd_download, .woocommerce ul.products li.product { overflow: hidden; border: 1px solid var(--la-border); border-radius: var(--la-radius); background: var(--la-surface); }
.woocommerce div.product, .woocommerce-cart-form, .woocommerce-checkout { color: var(--la-text); }

/* Empty and 404 */
.la-empty { max-width: 680px; padding: 50px; margin: 0 auto; border: 1px solid var(--la-border); border-radius: var(--la-radius); background: var(--la-surface); text-align: center; }
.la-empty .la-icon { width: 70px; height: 70px; margin-bottom: 18px; color: var(--la-primary-2); }

@keyframes la-spin { to { transform: rotate(360deg); } }
@keyframes la-float { 0%, 100% { transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1100px) rotateY(-7deg) rotateX(3deg) translateY(-12px); } }
@keyframes la-blink { 50% { opacity: 0; } }

@media (max-width: 1024px) {
  :root { --la-header: 70px; }
  .site-header__cta { display: none; }
  .primary-menu { gap: 20px; }
  .la-hero { min-height: auto; }
  .la-hero__grid { grid-template-columns: 1fr 0.8fr; gap: 36px; }
  .la-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .la-grid--3 > :last-child:nth-child(odd) { grid-column: span 2; }
  .la-process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .la-process::before { display: none; }
  .site-footer__grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
  .site-footer__grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  body.admin-bar .site-header { top: 46px; }
  .la-container, .la-narrow { width: min(calc(100% - 28px), var(--la-container)); }
  .la-section { padding: 78px 0; }
  .la-section__head { display: block; margin-bottom: 34px; }
  .la-section__head .la-text-link { margin-top: 12px; }
  .menu-toggle { display: block; }
  .site-navigation { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: block; max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; background: rgba(7, 11, 23, 0.97); opacity: 0; transition: max-height 220ms ease, opacity 180ms ease; }
  .site-navigation.is-open { max-height: calc(100vh - var(--la-header)); border-color: var(--la-border); opacity: 1; }
  .primary-menu { display: block; width: min(calc(100% - 28px), var(--la-container)); padding: 18px 0 26px; margin: 0 auto; }
  .primary-menu a { display: block; padding: 12px 5px; font-size: 1rem; }
  .primary-menu a::after { display: none; }
  .primary-menu .sub-menu { position: static; display: block; padding: 0 0 0 18px; visibility: visible; border: 0; background: none; box-shadow: none; opacity: 1; transform: none; }
  .la-hero { padding-top: calc(var(--la-header) + 72px); }
  .la-hero__grid { grid-template-columns: 1fr; }
  .la-hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
  .la-tech-visual { max-height: 390px; }
  .la-floating-card--top { right: 2%; }
  .la-floating-card--bottom { left: 2%; }
  .la-stats { grid-template-columns: repeat(2, 1fr); }
  .la-stat:nth-child(2) { border-right: 0; }
  .la-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--la-border); }
  .la-grid--3, .la-grid--2 { grid-template-columns: 1fr; }
  .la-grid--3 > :last-child:nth-child(odd) { grid-column: auto; }
  .la-cta { padding: 38px 28px; grid-template-columns: 1fr; gap: 25px; }
  .la-cta__actions { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child, .site-footer__grid > :last-child { grid-column: 1 / -1; }
  .post-navigation { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-title { font-size: 1.05rem; }
  .la-brand-mark { width: 39px; height: 39px; }
  .la-hero__visual { width: calc(100% + 10px); margin-left: -5px; }
  .la-code-window__body { min-height: 220px; padding: 20px; }
  .la-floating-card { padding: 9px 11px; font-size: 0.66rem; }
  .la-floating-card--top { top: 4%; }
  .la-floating-card--bottom { bottom: 3%; }
  .la-trust-row { display: block; }
  .la-trust-row li { margin-top: 10px; }
  .la-hero__actions .la-btn, .la-cta__actions .la-btn { width: 100%; }
  .la-card { padding: 24px; }
  .la-project-card { padding: 0; }
  .la-process { grid-template-columns: 1fr; }
  .la-stats { grid-template-columns: 1fr 1fr; }
  .la-stat { padding: 14px 10px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > * { grid-column: auto !important; }
  .site-footer__bottom { display: block; }
  .site-footer__bottom > * + * { margin-top: 12px; }
  .la-empty { padding: 34px 22px; }
}

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