:root {
    --bg-light: #ffffff;
    --bg-soft-gray: #f8f9fa;
    --text-main: #1a1a1b;
    --text-muted: #64748b;
    --accent-orange: #ef8e01;
    --accent-soft: #fff1e7;
    --border-color: #e2e8f0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}
.logo {
    font-weight: 800;
    font-size: 1.4rem;
}
.logo span { color: var(--accent-orange); }
header {
    padding: 100px 2%;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}
.header-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
}
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}
h1 span {
    color: var(--accent-orange);
}
.hero-p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.cta-button {
    background: var(--accent-orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--accent-orange);
}
.cta-button:hover {
    background: white;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.features {
    padding: 80px 8% 30px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 2rem;
    background: var(--bg-soft-gray);
}

.feature-card {
    grid-column: span 2;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .feature-card {
        grid-column: span 3;
    }
}

.plus-card {
    grid-column: span 3;
}
.feature-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}
.feature-card h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-weight: 400;
    text-transform: uppercase;
}
.interactive-section {
    padding: 80px 8%;
    background-color: var(--bg-soft-gray);
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.tabs-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-tab {
    padding: 10px;
    background: white;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}
a.feature-tab {
    text-decoration: none;
    color: var(--accent-orange);
}
.feature-tab h3 {
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.feature-tab:hover {
    background: var(--accent-soft);
}
.feature-tab.active {
    border-color: var(--accent-orange);
    background: var(--accent-soft);
}
.video-display {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    /* aspect-ratio: 16/9; */
}
#feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
footer {
    padding: 60px 8%;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}
.interactive-section h2, .target-section h2, .faq-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.footer {
    background: #fff;
    padding: 50px 8%;
    font-size: 0.9rem; 
}
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.footer-menu {
    display: flex;
    gap: 30px;
}
.footer-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: opacity 0.3s;
}
.footer-menu a:hover {
    opacity: 0.6;
}
.footer-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
}
.footer-info {
    color: rgba(0,0,0,0.8);
    line-height: 1.6;
}
.footer-info a {
    color: inherit;
    text-decoration: underline;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: bold;
    transition: 0.3s;
}
.footer-social a:hover {
    background: rgba(0,0,0,0.2);
}
.target-section {
    padding: 80px 8%;
    text-align: center;
}
.target-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}
.target-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}
.target-grid div {
    background: var(--accent-soft);
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 300px;
    text-align: center;
}
.target-image {
    max-width: 300px;
    flex: 1; 
}
.plus-section {
    padding: 0 8% 80px;
    background: var(--bg-soft-gray);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mb-0 {
    margin-bottom: 0!important;
}
.cta-section {
    padding: 100px 8%;
    background: linear-gradient(135deg, #1a1a1b 0%, #2d2d2f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(239,142,1,0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .cta-section::before, .cta-section::after {
        background: none;
    }
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(239,142,1,0.06) 0%, transparent 70%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .cta-section::after {
        right: 0;
        width: 100%;
    }
}
.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cta-section h2 span {
    color: var(--accent-orange);
}
.cta-section p {
    color: #94a3b8;
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-button-primary {
    background: var(--accent-orange);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--accent-orange);
    transition: all 0.3s;
}
.cta-button-primary:hover {
    background: transparent;
    color: var(--accent-orange);
}
.cta-button-outline {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #475569;
    transition: all 0.3s;
}
.cta-button-outline:hover {
    border-color: white;
}
.faq-section {
    padding: 80px 8%;
    background: var(--bg-light);
}
.faq-container {
    max-width: 800px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: 0.3s;
}
.faq-item.active {
    border-color: var(--accent-orange);
}
.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover {
    background: var(--accent-soft);
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    transition: transform 0.3s;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}
.faq-answer p {
    padding-bottom: 20px;
    padding-top: 10px;
    color: var(--text-muted);
}
.faq-answer ul {
    padding-left: 20px;
    list-style: disc;
    color: var(--text-muted);

}
.faq-answer ul li {
    margin-bottom: 10px;
}
.faq-cta {
    text-align: center;
    margin-top: 40px;
}
.faq-item.faq-hidden {
    display: none;
}
.faq-item.faq-reveal {
    display: block;
    animation: faqFadeIn 0.4s ease forwards;
}
@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.no-desktop{
    display: none;
}

.demo-section {
    padding: 80px 8%;
    background: var(--bg-soft-gray);
}
.demo-container {
    max-width: 1100px;
    margin: 0 auto;
}
.demo-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.demo-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.demo-benefits li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.demo-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-orange);
    opacity: 0.2;
}
.demo-benefits li::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 2px;
    font-size: 0.7rem;
    color: var(--accent-orange);
    font-weight: 800;
}
.demo-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row {
    display: flex;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.form-group-small {
    flex: 0.6;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}
.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    background-color: white;
    color: var(--text-main);
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.form-group select:disabled {
    background-color: var(--bg-soft-gray);
    color: var(--text-muted);
    cursor: not-allowed;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-orange);
}
.demo-info {
    text-align: center;
    margin-bottom: 2.5rem;
}
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-orange);
    cursor: pointer;
    flex-shrink: 0;
}
.privacy-check label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}
.privacy-check label a {
    color: var(--accent-orange);
    text-decoration: underline;
}
.demo-submit {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}
.d-none {
    display: none !important;
  }
.alert-success{
    padding: 10px;
    background: #eaffea;
    border: 1px solid green;
    font-size: 14px;
    color: green;
}
.alert-danger{
    padding: 10px;
    background: #ffeaea;
    border: 1px solid red;
    font-size: 14px;
    color: red;
}
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}
/* campi invalidi */
.was-validated input:invalid,
.was-validated select:invalid,
.was-validated textarea:invalid {
  border-color: #dc3545;
}

/* campi validi */
.was-validated input:valid,
.was-validated select:valid,
.was-validated textarea:valid {
  border-color: #198754;
}

/* focus sui campi invalidi */
.was-validated input:invalid:focus,
.was-validated select:invalid:focus,
.was-validated textarea:invalid:focus {
  outline: none;
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.15);
}

/* focus sui campi validi */
.was-validated input:valid:focus,
.was-validated select:valid:focus,
.was-validated textarea:valid:focus {
  outline: none;
  border-color: #198754;
  box-shadow: 0 0 0 3px rgba(25,135,84,0.15);
}


/* RESPONSIVE */
@media (max-width: 968px) {
    .tabs-container {
        grid-template-columns: 1fr;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    header {
        padding: 50px 2%;
    }
    .footer-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    .features, .plus-section {
        grid-template-columns: 1fr;
    }
    .target-layout {
        flex-direction: column;
    }
    .target-image {
        max-width: 100% !important;
    }
    .demo-info h2 {
        font-size: 1.8rem;
    }
    .form-row {
        flex-direction: column;
    }
    .demo-form {
        padding: 1.5rem;
    }
    .no-mobile {
        display: none;
    }
    .no-desktop {
        display: block;
    }
    .hero-cta {
        width: auto;
        font-size: 0.9em;
        padding: 1rem 5px;
    }
}