/* ============================================
   IKIbrain — Sito vetrina
   ============================================ */

/* --- Custom Properties --- */
:root {
    --accent: #FFCC33;
    --accent-hover: #e6b800;
    --dark: #333333;
    --darker: #222222;
    --light: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --border: #e5e5e5;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Hanken Grotesk', sans-serif;
    --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

h1 {
    font-weight: 800;
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.text-accent {
    color: var(--accent);
}

.text-highlight {
    position: relative;
    display: inline;
    color: #111111;
    white-space: nowrap;
}

.text-highlight::before {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    top: 2px;
    bottom: 0;
    background: var(--accent);
    z-index: -1;
    border-radius: 4px 8px 3px 9px;
    transform: rotate(-0.8deg) skewX(-1.5deg);
    opacity: 0.92;
}

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

/* --- Focus States (Accessibilità) --- */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* --- Navbar --- */
.navbar {
    padding: 0.75rem 0;
    transition: background-color var(--transition), box-shadow var(--transition);
    min-height: var(--nav-height);
    background-color: var(--light);
}

.navbar.scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    padding: 0.5rem 1rem;
    transition: color var(--transition);
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--darker);
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--accent);
    border-radius: 1px;
}

/* Dropdown menu */
.navbar .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    min-width: 220px;
}

.navbar .dropdown-item {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text);
    padding: 0.5rem 1.25rem;
    transition: background-color var(--transition), color var(--transition);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: var(--bg-alt);
    color: var(--dark);
}

.navbar .dropdown-item.active {
    background-color: var(--bg-alt);
    color: var(--dark);
    font-weight: 500;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: 0.15em;
    border-top-width: 0.25em;
    border-right-width: 0.25em;
    border-left-width: 0.25em;
}

/* Hero navbar dropdown */
.navbar-hero .dropdown-menu {
    background: var(--light);
}

.navbar-hero .dropdown-item {
    color: var(--text);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Navbar trasparente sulla hero (home) */
.navbar-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: transparent;
}

.navbar-hero .nav-link {
    color: var(--light);
}

.navbar-hero .nav-link:hover,
.navbar-hero .nav-link.active {
    color: var(--light);
    opacity: 0.8;
}

.navbar-hero .nav-link.active::after {
    background-color: var(--accent);
}

.navbar-hero .navbar-brand img {
    filter: brightness(0) invert(1);
}

.navbar-hero.scrolled {
    position: fixed;
    background-color: var(--light);
}

.navbar-hero.scrolled .nav-link {
    color: var(--dark);
}

.navbar-hero.scrolled .nav-link:hover,
.navbar-hero.scrolled .nav-link.active {
    color: var(--darker);
    opacity: 1;
}

.navbar-hero.scrolled .navbar-brand img {
    filter: none;
}

/* --- Buttons --- */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.65rem 1.75rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--darker);
    border-color: var(--accent);
}

.btn-outline-nav {
    background-color: transparent;
    color: var(--dark);
    border: 1px solid var(--dark);
}

.btn-accent:hover,
.btn-outline-nav:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--darker);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 51, 0.3);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    color: var(--light);
    transform: translateY(-1px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--light);
    border-color: var(--light);
}

.btn-outline-light:hover {
    background-color: var(--light);
    color: var(--dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.8rem 2.25rem;
    font-size: 1rem;
}

/* Navbar CTA */
.btn-nav-cta {
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
}

/* --- Sections --- */
section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-dark {
    background-color: var(--darker);
    color: var(--light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--light);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* --- Video Hero --- */
.hero-video {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-video__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback gradient quando non c'è video */
.hero-video__fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #1a1a1a 0%, #333 100%);
}

video + .hero-video__fallback {
    display: none;
}

.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-video__content {
    position: relative;
    z-index: 3;
    padding-bottom: 2rem;
    max-width: 700px;
}

.hero-video__claim {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--light);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-video__sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-video__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease infinite;
    text-decoration: none;
}

.hero-video__scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Page Hero (pagine interne) --- */
.page-hero {
    padding: calc(var(--nav-height) + 4rem) 0 3.5rem;
    background-color: var(--light);
    border-top: 1px solid var(--border);
    text-align: center;
}

.page-hero__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--darker);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

.page-hero h1 .highlight {
    color: var(--accent-hover);
}

.page-hero .lead {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-hero--sector {
    text-align: left;
    border-top: none;
}

.page-hero--sector .page-hero__label {
    display: none;
}

.page-hero--sector h1 {
    font-size: 2.25rem;
    max-width: none;
    margin-left: 0;
}

.page-hero--sector .lead {
    margin-left: 0;
}

/* --- Cards --- */
.card-iki {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    height: 100%;
}

.card-iki:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.card-iki__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.card-iki__icon svg {
    width: 100%;
    height: 100%;
}

.card-iki__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-iki__text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Pillar Cards (Perché scegliere IKIbrain) --- */
.pilastri-section {
    padding: 5rem 0;
}

.pilastri-section__heading {
    font-size: 2.5rem;
    color: var(--light);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    /* animation initial state */
    opacity: 0;
    transform: translateY(60px) rotate(2deg);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    transition-delay: calc(var(--card-index, 0) * 0.12s);
}

.pillar-card.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 204, 51, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.pillar-card__icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--darker);
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-card__icon-wrap {
    transform: scale(1.08);
}

.pillar-card__icon-wrap svg {
    width: 28px;
    height: 28px;
}

.pillar-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--light);
    margin-bottom: 0.75rem;
}

.pillar-card__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Risposta Columns (La risposta IKIbrain) --- */
.risposta-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #888 0%, #6a6a6a 100%);
    color: var(--light);
}

.risposta-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.risposta-header__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.05;
    max-width: 480px;
    letter-spacing: -0.03em;
    color: var(--light);
    flex-shrink: 0;
    margin-bottom: 0;
}

.risposta-header__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 480px;
    padding-top: 0.5rem;
    margin-bottom: 0;
    text-align: right;
}

.risposta-header__text strong {
    color: var(--light);
    font-weight: 700;
}

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

.risposta-col {
    padding: 2.5rem 2.5rem 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    /* animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--col-index, 0) * 0.15s);
}

.risposta-col:first-child {
    border-left: none;
    padding-left: 0;
}

.risposta-col:last-child {
    padding-right: 0;
}

.risposta-col.visible {
    opacity: 1;
    transform: translateY(0);
}

.risposta-col__number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    display: block;
    margin-bottom: 1.25rem;
}

.risposta-col__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--light);
    margin-bottom: 0.75rem;
}

.risposta-col__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Feature Grid --- */
.feature-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.feature-card__icon svg {
    width: 100%;
    height: 100%;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card__text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

.feature-card__link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: color var(--transition);
}

.feature-card__link:hover {
    color: var(--accent-hover);
}

/* --- Screenshot Placeholder --- */
.screenshot-placeholder {
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 2rem;
    text-align: center;
}

.screenshot-placeholder__icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.screenshot-placeholder__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Step Flow --- */
.step-flow {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.step-flow__item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.step-flow__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--darker);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step-flow__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step-flow__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-flow__text {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* --- Pillar Section (Perché) --- */
.pillar-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

.pillar-section:last-child {
    border-bottom: none;
}

.pillar-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* --- FAQ Accordion --- */
.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

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

.faq-accordion .accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    background: transparent;
    padding: 1.25rem 0;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--dark);
    background: transparent;
}

.faq-accordion .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.faq-accordion .accordion-body {
    padding: 0 0 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Problem / Solution Cards --- */
.ps-card {
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
}

.ps-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.ps-card p {
    margin-bottom: 0;
    line-height: 1.7;
}

.ps-card--problem {
    background-color: var(--bg-alt);
    border-left: 3px solid var(--text-muted);
}

.ps-card--problem h3 {
    color: var(--text-muted);
}

.ps-card--solution {
    background-color: rgba(255, 204, 51, 0.08);
    border-left: 3px solid var(--accent);
}

.ps-card--solution h3 {
    color: var(--accent);
}

/* --- Settore: Use Cases Section --- */
.settore-usecases {
    padding: 0;
    padding-bottom: 5rem;
}

.settore-usecases__card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.settore-usecases__label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.settore-usecases__list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.settore-usecases__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
}

.settore-usecases__list li:last-child {
    border-bottom: none;
}

.settore-usecases__list svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.settore-usecases__personality {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

.settore-usecases__personality strong {
    color: var(--text-light);
    font-style: normal;
}

.screenshot-placeholder--dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.screenshot-placeholder--dark .screenshot-placeholder__icon {
    color: rgba(255, 255, 255, 0.25);
}

.screenshot-placeholder--dark .screenshot-placeholder__label {
    color: rgba(255, 255, 255, 0.35);
}

/* --- FAQ --- */

.settore-faq {
    padding: 0;
    padding-bottom: 5rem;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: var(--light);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cta-banner > .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--light);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Contact Form --- */
.form-iki .form-control,
.form-iki .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-iki .form-control:focus,
.form-iki .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 204, 51, 0.15);
}

.form-iki .form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.form-iki .form-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-iki .form-check-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-iki .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Contact info block */
.contact-info {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info__item:last-child {
    margin-bottom: 0;
}

.contact-info__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-info__icon svg {
    width: 100%;
    height: 100%;
}

/* Quote form card */
.quote-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.quote-card__section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.quote-card__divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.75rem 0;
}

.quote-price-summary {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.quote-price-summary__amount {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.quote-price-summary__original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

/* Form success message */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.show {
    display: block;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: #28c840;
}

/* --- Target Badges --- */
.target-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

/* --- Footer --- */
.footer {
    background-color: var(--darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer h5 {
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

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

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

.footer__logo img {
    height: 28px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

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

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grouped elements */
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    section {
        padding: 3.5rem 0;
    }

    /* Page Hero mobile */
    .page-hero {
        padding: calc(var(--nav-height) + 2.5rem) 0 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero__label {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    /* Video Hero mobile */
    .hero-video__content {
        padding-bottom: 3rem;
        text-align: center;
        max-width: 100%;
    }

    .hero-video__claim {
        font-size: 2.25rem;
    }

    .hero-video__sub {
        font-size: 1rem;
    }

    .hero-video__cta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-video__cta .btn {
        width: 100%;
    }

    /* Pricing mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    /* Sector grid mobile */
    .sector-grid {
        grid-template-columns: 1fr;
    }

    .sector-filter {
        gap: 0.35rem;
    }

    .sector-filter__btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    /* Pillar cards mobile */
    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pilastri-section__heading,
    .risposta-section__heading {
        font-size: 1.75rem;
    }

    /* Feature groups mobile: stack */
    .feat-group {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 0;
    }

    .feat-group__left {
        flex: none;
        position: static;
    }

    .feat-group__number {
        font-size: 2rem;
    }

    .feat-item {
        padding: 1rem 1.25rem;
    }

    /* Risposta header mobile: stack */
    .risposta-header {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .risposta-header__title {
        font-size: 2.25rem;
    }

    .risposta-header__text {
        max-width: 100%;
    }

    /* Risposta columns mobile: stack vertically, horizontal dividers */
    .risposta-cols {
        grid-template-columns: 1fr;
    }

    .risposta-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        padding: 2rem 0;
    }

    .risposta-col:first-child {
        border-top: none;
        padding-top: 0;
    }

    /* Step flow stacked */
    .step-flow {
        flex-direction: column;
        gap: 2rem;
    }

    .step-flow__item:not(:last-child)::after {
        display: none;
    }

    .step-flow__item {
        text-align: left;
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        padding: 0;
    }

    .step-flow__number {
        margin: 0;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    /* Highlight grid stacked */
    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        text-align: left;
        display: flex;
        gap: 1.25rem;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .highlight-box__icon {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    /* Feature table mobile */
    .feature-table__row td:first-child {
        font-size: 0.875rem;
    }

    .feature-table__row td:last-child {
        width: 60px;
    }

    .feature-table__check {
        width: 24px;
        height: 24px;
    }

    .feature-table__check svg {
        width: 14px;
        height: 14px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 3.5rem 0;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer__tagline {
        margin-left: auto;
        margin-right: auto;
    }

    /* Pillar number */
    .pillar-number {
        font-size: 2.25rem;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-video__claim {
        font-size: 2.75rem;
    }

    .hero-video__content {
        padding-bottom: 3.5rem;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }

    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Desktop large */
@media (min-width: 1200px) {
    .hero-video__claim {
        font-size: 4rem;
    }

    h1 {
        font-size: 3rem;
    }

    .page-hero h1 {
        font-size: 5rem;
    }
}

/* --- Highlight Boxes (Caratteristiche top) --- */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.highlight-box {
    background: var(--light);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all var(--transition);
}

.highlight-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    border-top-color: var(--accent);
}

.highlight-box__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    color: var(--accent);
}

.highlight-box__icon svg {
    width: 100%;
    height: 100%;
}

.highlight-box__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.highlight-box__text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Feature Groups (Caratteristiche — sticky left, scrolling right) --- */
.feat-section {
    padding: 4rem 0;
}

.feat-group {
    display: flex;
    gap: 3rem;
    padding: 3.5rem 0;
    border-top: 1px solid var(--border);
}

.feat-group:first-child {
    border-top: none;
    padding-top: 0;
}

.feat-group__left {
    flex: 0 0 320px;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    align-self: flex-start;
}

.feat-group__number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.feat-group__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feat-group__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.feat-group__right {
    flex: 1;
    min-width: 0;
}

.feat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

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

.feat-item:hover {
    background: var(--bg-alt);
}

.feat-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker);
    font-size: 20px;
    line-height: 1;
}

.feat-item__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.feat-item__text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Feature Table (Caratteristiche complete) --- */
.feature-table {
    width: 100%;
    border-collapse: collapse;
}

.feature-table__group-header td {
    background: var(--bg-alt);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.feature-table__row td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.925rem;
    color: var(--text);
}

.feature-table__row:last-child td {
    border-bottom: none;
}

.feature-table__row td:last-child {
    text-align: center;
    width: 80px;
}

.feature-table__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #e8f5e9;
    border-radius: 50%;
    color: #2e7d32;
}

.feature-table__check svg {
    width: 16px;
    height: 16px;
}

.feature-table-wrapper {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-table-wrapper + .feature-table-wrapper {
    margin-top: 1.5rem;
}

/* --- Widget Demo --- */
.widget-demo {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.widget-demo__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.widget-demo__btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}

.widget-demo__btn:hover {
    border-color: var(--accent);
    background: var(--light);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.widget-demo__btn svg {
    flex-shrink: 0;
    color: var(--accent);
}

.widget-demo__hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.widget-demo__hint svg {
    flex-shrink: 0;
}

/* --- Pricing --- */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.pricing-toggle__label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.pricing-toggle__label--active {
    color: var(--text);
    font-weight: 700;
}

.pricing-toggle__switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.pricing-toggle__switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-toggle__slider {
    position: absolute;
    inset: 0;
    background: var(--text-muted);
    border-radius: 24px;
    transition: background 0.2s;
}

.pricing-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.pricing-toggle__switch input:checked + .pricing-toggle__slider {
    background: var(--accent);
}

.pricing-toggle__switch input:checked + .pricing-toggle__slider::before {
    transform: translateX(20px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card--featured {
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--darker);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pricing-card__header {
    margin-bottom: 1.5rem;
}

.pricing-card__name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.pricing-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.pricing-card__price {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pricing-price__amount {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.pricing-price__period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card__equiv {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: -1.25rem 0 1.5rem;
}

.pricing-card__features-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 0.25rem !important;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex: 1;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 0.875rem;
    color: var(--text);
}

.pricing-card__features li svg {
    flex-shrink: 0;
}

.pricing-card__cta {
    width: 100%;
}

.pricing-price--original {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 0.3rem;
}

.pricing-promo-tag {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.45rem;
    border-radius: 0.25rem;
    vertical-align: middle;
    margin-right: 0.15rem;
}

/* --- Breadcrumb --- */
.breadcrumb-iki {
    padding: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-iki a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb-iki a:hover {
    color: var(--accent);
}

.breadcrumb-iki__sep {
    margin: 0 0.5rem;
    color: var(--border);
}

.breadcrumb-iki__current {
    color: var(--dark);
    font-weight: 500;
}

/* --- Sector Hero Icon --- */
.sector-hero__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    color: var(--accent);
}

.sector-hero__icon svg {
    width: 100%;
    height: 100%;
}

/* --- Sector Filter --- */
.sector-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.sector-filter__btn {
    padding: 0.4rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.sector-filter__btn:hover {
    border-color: var(--accent);
    color: var(--dark);
}

.sector-filter__btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--darker);
}

/* --- Sector Category --- */
.sector-category {
    margin-bottom: 3rem;
}

.sector-category:last-child {
    margin-bottom: 0;
}

.sector-category__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* --- Sector Grid --- */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* --- Sector Card --- */
.sector-card {
    display: flex;
    flex-direction: column;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    color: var(--text);
}

.sector-card:hover .sector-card__arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.sector-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.sector-card__icon svg {
    width: 100%;
    height: 100%;
}

/* --- Flaticon icon font integration --- */
.pillar-card__icon-wrap > i,
.highlight-box__icon > i,
.sector-card__icon > i,
.sector-hero__icon > i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-box__icon > i,
.sector-card__icon > i,
.sector-hero__icon > i {
    width: 100%;
    height: 100%;
}

.pillar-card__icon-wrap > i { font-size: 26px; }
.highlight-box__icon > i { font-size: 42px; }
.sector-card__icon > i { font-size: 32px; }
.sector-hero__icon > i { font-size: 48px; }

.sector-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.sector-card__text {
    font-size: 0.825rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
    flex: 1;
}

.sector-card__arrow {
    margin-top: 0.75rem;
    color: var(--text-muted);
    transition: all var(--transition);
    align-self: flex-end;
}

/* Chat Mockup rimosso — sostituito da screenshot-placeholder */

/* --- Stacked Cards (Come funziona) --- */
.stacked-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stacked-card {
    background: var(--bg);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
}

.stacked-card__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-hover);
    margin-bottom: 0.75rem;
}

@media (min-width: 1200px) {
    .stacked-card {
        position: sticky;
        top: 5rem;
        padding: 3rem;
    }
}

/* --- Sector Category hide/show (for filter) --- */
.sector-category.hidden {
    display: none;
}

/* --- Language Switcher --- */
.lang-switch {
    padding: 0.45rem 0.4rem;
    line-height: 1;
    transition: opacity var(--transition);
    opacity: 0.8;
}

.lang-switch:hover {
    opacity: 1;
}

/* --- Legal Content --- */
.legal-content h2 {
    font-size: 1.375rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.legal-content a {
    color: var(--dark);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

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

.legal-content strong {
    color: var(--dark);
}

/* --- Utility --- */
.mb-6 {
    margin-bottom: 4rem;
}

.pt-nav {
    padding-top: var(--nav-height);
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* Smooth scroll offset for anchors */
[id] {
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}
