/* ================================================================
   Cibalis by Jolly Giò – Elementor Landing Page Widgets
   Design fedele ai componenti React/Tailwind originali
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

.cibe-section {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.cibe-container {
    width: 100%;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ── HEADER ── */
.cibe-header {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
}
.cibe-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1152px;
    margin: 0 auto;
}
.cibe-header__logo { height: 96px; width: auto; }
.cibe-header__nav { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.cibe-header__nav a {
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color .15s ease;
}
.cibe-header__nav a:hover { color: #111827; }

/* ── HERO ── */
.cibe-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom right, #111827, #1f2937, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cibe-hero__bg {
    position: absolute;
    inset: 0;
    opacity: .3;
}
.cibe-hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cibe-hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
}
.cibe-hero__title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem;
    text-shadow: 0 25px 50px rgba(0,0,0,.5);
    line-height: 1.1;
}
.cibe-hero__subtitle {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    color: #e5e7eb;
    margin: 0 0 1rem;
    text-shadow: 0 10px 15px rgba(0,0,0,.3);
}
.cibe-hero__desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #d1d5db;
    margin: 0 0 2rem;
    max-width: 42rem;
}
.cibe-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.cibe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    font-family: inherit;
}
.cibe-btn--primary   { background: #2563eb; color: #fff; }
.cibe-btn--primary:hover   { background: #1d4ed8; transform: scale(1.05); }
.cibe-btn--outline   { background: transparent; color: #fff; border: 2px solid #fff; }
.cibe-btn--outline:hover   { background: #fff; color: #111827; }
.cibe-btn--blue-sm   { background: #2563eb; color: #fff; border-radius: .5rem; padding: .5rem 1rem; font-size: .875rem; }
.cibe-btn--blue-sm:hover   { background: #1d4ed8; }
.cibe-hero__chevron {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: cibe-bounce .8s infinite alternate ease-in-out;
    font-size: 3rem;
    color: rgba(255,255,255,.7);
    line-height: 1;
}
@keyframes cibe-bounce { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(8px); } }

/* ── ABOUT ── */
.cibe-about {
    background: #f9fafb;
    padding: 5rem 1rem;
}
.cibe-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
}
.cibe-about__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.5rem;
}
.cibe-about__text { color: #374151; font-size: 1.125rem; line-height: 1.75; margin: 0 0 1rem; }
.cibe-about__image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
}
.cibe-about__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── PROBLEM & SOLUTIONS ── */
.cibe-ps {
    background: #ffffff;
    padding: 5rem 1rem;
}
.cibe-ps__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}
.cibe-ps__title { font-size: 2.25rem; font-weight: 700; color: #111827; margin: 0 0 1rem; }
.cibe-ps__subtitle { color: #4b5563; font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }
.cibe-ps__list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1152px; margin: 0 auto; }
.cibe-ps__card {
    background: linear-gradient(to right, #fef2f2, #f0fdf4);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,.07);
    transition: box-shadow .2s;
}
.cibe-ps__card:hover { box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.cibe-ps__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cibe-ps__col { display: flex; align-items: flex-start; gap: 1rem; }
.cibe-ps__icon-wrap {
    border-radius: 9999px;
    padding: .75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
}
.cibe-ps__icon-wrap--red   { background: #fee2e2; }
.cibe-ps__icon-wrap--green { background: #dcfce7; }
.cibe-ps__col-label { font-size: 1.25rem; font-weight: 600; color: #111827; margin: 0 0 .5rem; }
.cibe-ps__col-text  { color: #374151; margin: 0; }

/* ── TESTIMONIALS ── */
.cibe-testi {
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    padding: 5rem 1rem;
}
.cibe-testi__header { text-align: center; margin-bottom: 3rem; max-width: 1152px; margin-left: auto; margin-right: auto; }
.cibe-testi__title { font-size: 2.25rem; font-weight: 700; color: #111827; margin: 0 0 1rem; }
.cibe-testi__subtitle { color: #4b5563; font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }
.cibe-testi__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1152px;
    margin: 0 auto;
}
.cibe-testi__card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,.07);
    transition: box-shadow .2s;
}
.cibe-testi__card:hover { box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.cibe-testi__author { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cibe-testi__avatar { width: 4rem; height: 4rem; border-radius: 9999px; object-fit: cover; background: #e5e7eb; }
.cibe-testi__avatar--placeholder {
    width: 4rem; height: 4rem; border-radius: 9999px;
    background: #2563eb; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; font-weight: 700;
}
.cibe-testi__name { font-weight: 600; color: #111827; margin: 0; }
.cibe-testi__role { font-size: .875rem; color: #6b7280; margin: 0; }
.cibe-testi__stars { display: flex; gap: .25rem; margin-bottom: 1rem; color: #facc15; font-size: 1.25rem; }
.cibe-testi__text { color: #374151; line-height: 1.75; margin: 0; font-style: italic; }

/* ── PRODUCT ── */
.cibe-product { background: #ffffff; padding: 5rem 1rem; }
.cibe-product__header { text-align: center; margin-bottom: 3rem; max-width: 1152px; margin-left: auto; margin-right: auto; }
.cibe-product__title { font-size: 2.25rem; font-weight: 700; color: #111827; margin: 0 0 1rem; }
.cibe-product__subtitle { font-size: 1.25rem; color: #4b5563; max-width: 42rem; margin: 0 auto; }
.cibe-product__showcase {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
    margin-bottom: 4rem; max-width: 1152px; margin-left: auto; margin-right: auto;
}
.cibe-product__img-wrap { border-radius: 1rem; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,.25); }
.cibe-product__img-wrap img { width: 100%; display: block; object-fit: cover; }
.cibe-product__features-title { font-size: 1.875rem; font-weight: 700; color: #111827; margin: 0 0 1.5rem; }
.cibe-product__feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.cibe-product__feature { display: flex; align-items: flex-start; gap: .75rem; }
.cibe-product__feature-icon {
    border-radius: 9999px; background: #dbeafe; padding: .5rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: .25rem; font-size: 1.25rem; line-height: 1;
}
.cibe-product__feature-name { font-weight: 600; color: #111827; margin: 0 0 .25rem; }
.cibe-product__feature-desc { color: #4b5563; margin: 0; }
.cibe-product__icon-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    margin-bottom: 3rem; max-width: 1152px; margin-left: auto; margin-right: auto;
}
.cibe-product__icon-card {
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
    border-radius: .75rem; padding: 1.5rem; text-align: center;
    transition: box-shadow .2s;
}
.cibe-product__icon-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,.1); }
.cibe-product__icon-badge {
    display: inline-flex; border-radius: 9999px; background: #2563eb; padding: 1rem;
    margin-bottom: 1rem; font-size: 2rem; line-height: 1;
}
.cibe-product__icon-name { font-weight: 600; color: #111827; margin: 0 0 .5rem; }
.cibe-product__icon-desc { font-size: .875rem; color: #4b5563; margin: 0; }
.cibe-product__cta {
    background: linear-gradient(to right, #2563eb, #1e40af);
    border-radius: 1rem; padding: 2rem; text-align: center; color: #fff;
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
    max-width: 1152px; margin: 0 auto;
}
.cibe-product__cta-title { font-size: 1.875rem; font-weight: 700; margin: 0 0 1rem; }
.cibe-product__cta-price { font-size: 3.75rem; font-weight: 700; margin: 0 0 1.5rem; line-height: 1; }
.cibe-product__cta-note  { font-size: 1.25rem; opacity: .9; margin: 0 0 1.5rem; }
.cibe-btn--white { background: #ffffff; color: #2563eb; border-radius: 9999px; padding: .75rem 2.5rem; font-size: 1.125rem; font-weight: 600; border: none; cursor: pointer; transition: all .2s; box-shadow: 0 10px 25px rgba(0,0,0,.25); font-family: inherit; }
.cibe-btn--white:hover { transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,.3); }

/* ── CONTACT ── */
.cibe-contact { background: #f9fafb; padding: 5rem 1rem; }
.cibe-contact__header { text-align: center; margin-bottom: 3rem; max-width: 1152px; margin-left: auto; margin-right: auto; }
.cibe-contact__title { font-size: 2.25rem; font-weight: 700; color: #111827; margin: 0 0 1rem; }
.cibe-contact__subtitle { color: #4b5563; font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }
.cibe-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1152px; margin: 0 auto; }
.cibe-contact__info-title { font-size: 1.5rem; font-weight: 700; color: #111827; margin: 0 0 1.5rem; }
.cibe-contact__info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.cibe-contact__info-item { display: flex; align-items: flex-start; gap: 1rem; }
.cibe-contact__info-icon {
    border-radius: 9999px; background: #dbeafe; padding: .75rem;
    font-size: 1.5rem; line-height: 1; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.cibe-contact__info-label { font-weight: 600; color: #111827; margin: 0 0 .25rem; }
.cibe-contact__info-value { color: #4b5563; margin: 0; }
.cibe-contact__info-sub { font-size: .875rem; color: #6b7280; margin: .25rem 0 0; }
.cibe-contact__demo-box {
    margin-top: 2rem; padding: 1.5rem; background: #eff6ff; border-radius: .75rem;
}
.cibe-contact__demo-title { font-weight: 600; color: #111827; margin: 0 0 .5rem; }
.cibe-contact__demo-text { color: #4b5563; margin: 0 0 1rem; }
.cibe-contact__demo-note { font-size: .875rem; color: #6b7280; margin: 0; }
.cibe-contact__form-wrap {
    background: #ffffff; border-radius: 1rem; padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
}
.cibe-contact__form-title { font-size: 1.5rem; font-weight: 700; color: #111827; margin: 0 0 1.5rem; }
.cibe-contact__field { margin-bottom: 1rem; }
.cibe-contact__label { display: block; font-size: .875rem; font-weight: 600; color: #374151; margin-bottom: .5rem; }
.cibe-contact__input,
.cibe-contact__textarea {
    width: 100%; padding: .75rem 1rem; border-radius: .5rem;
    border: 1px solid #d1d5db; font-family: inherit; font-size: 1rem;
    transition: border-color .15s, box-shadow .15s; outline: none; box-sizing: border-box;
}
.cibe-contact__input:focus,
.cibe-contact__textarea:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.cibe-contact__textarea { resize: vertical; min-height: 7.5rem; }
.cibe-contact__submit {
    width: 100%; padding: 1rem; border-radius: .5rem;
    background: #2563eb; color: #fff; font-family: inherit; font-size: 1rem;
    font-weight: 600; cursor: pointer; border: none; transition: background .15s;
    display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .5rem;
}
.cibe-contact__submit:hover { background: #1d4ed8; }
.cibe-contact__success {
    padding: 1rem; background: #dcfce7; border-radius: .5rem;
    color: #15803d; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem;
}

/* ── FOOTER ── */
.cibe-footer { background: #111827; color: #ffffff; padding: 3rem 1rem; }
.cibe-footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
    margin-bottom: 2rem; max-width: 1152px; margin-left: auto; margin-right: auto;
    padding-bottom: 2rem; border-bottom: 1px solid #1f2937;
}
.cibe-footer__brand { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.cibe-footer__brand-icon { font-size: 2rem; color: #60a5fa; line-height: 1; }
.cibe-footer__brand-name { font-size: 1.25rem; font-weight: 700; margin: 0; }
.cibe-footer__brand-sub { font-size: .875rem; color: #9ca3af; margin: 0; }
.cibe-footer__tagline { font-size: .875rem; color: #9ca3af; margin: 0; }
.cibe-footer__col-title { font-weight: 600; margin: 0 0 1rem; }
.cibe-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.cibe-footer__links a,
.cibe-footer__links button {
    color: #9ca3af; font-size: .875rem; text-decoration: none;
    background: none; border: none; cursor: pointer; padding: 0; font-family: inherit;
    transition: color .15s; text-align: left;
}
.cibe-footer__links a:hover,
.cibe-footer__links button:hover { color: #ffffff; }
.cibe-footer__links li { color: #9ca3af; font-size: .875rem; }
.cibe-footer__socials { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.cibe-footer__social {
    border-radius: 9999px; background: #1f2937; padding: .75rem;
    text-decoration: none; color: #ffffff; font-size: 1.25rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.cibe-footer__social--fb:hover   { background: #2563eb; }
.cibe-footer__social--ig:hover   { background: #db2777; }
.cibe-footer__social--yt:hover   { background: #dc2626; }
.cibe-footer__newsletter-label { font-size: .875rem; color: #9ca3af; margin: 0 0 .5rem; }
.cibe-footer__newsletter-row { display: flex; gap: .5rem; }
.cibe-footer__newsletter-input {
    flex: 1; border-radius: .5rem; background: #1f2937; border: 1px solid #374151;
    padding: .5rem .75rem; font-size: .875rem; color: #fff; outline: none; font-family: inherit;
}
.cibe-footer__newsletter-input:focus { border-color: #3b82f6; }
.cibe-footer__bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    max-width: 1152px; margin: 0 auto; padding-top: 2rem;
}
.cibe-footer__copy { font-size: .875rem; color: #9ca3af; margin: 0; }
.cibe-footer__legal { display: flex; gap: 1.5rem; }
.cibe-footer__legal a { font-size: .875rem; color: #9ca3af; text-decoration: none; transition: color .15s; }
.cibe-footer__legal a:hover { color: #ffffff; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .cibe-about__grid,
    .cibe-product__showcase,
    .cibe-contact__grid { grid-template-columns: 1fr; }
    .cibe-ps__row { grid-template-columns: 1fr; }
    .cibe-testi__grid { grid-template-columns: 1fr; }
    .cibe-product__icon-grid { grid-template-columns: 1fr 1fr; }
    .cibe-footer__grid { grid-template-columns: 1fr 1fr; }
    .cibe-header__nav { display: none; }
}
@media (max-width: 480px) {
    .cibe-product__icon-grid { grid-template-columns: 1fr; }
    .cibe-footer__grid { grid-template-columns: 1fr; }
}
