:root {
    --bg-body: #424242;
    --bg-header: #050505;
    --bg-panel: #333232;
    --bg-panel-alt: #202020;
    --border: #343434;
    --txt-primary: #f0f0f0;
    --txt-secondary: #d1cbcb;
    --accent-blue: #3574F0;
    --accent-purple: #631b63;
    --radius: 10px;
    --shadow-soft: 0 0 30px rgba(0,0,0,0.7);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg-body);
    color: var(--txt-primary);
    overflow-x: hidden;
}

/* HEADER ----------------------------------------------------- */

.oc-header {
    background: var(--bg-header);
    border-bottom: 1px solid #272727;
    box-shadow: 0 2px 18px rgba(0,0,0,0.7);
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
}

.oc-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    box-sizing: border-box;
}

.oc-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.oc-logo {
    height: 80px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

 .oc-link {
     color: #3574F0;
     text-decoration: none;
     font-weight: 500;
     transition: opacity 0.2s ease;
 }

 .oc-link:hover,
 .oc-link:focus {
     opacity: 0.75;
     text-decoration: underline;
 }

 .oc-link:active {
     opacity: 0.55;
 }

.oc-header-title {
    font-size: 22px;
    font-weight: 600;
}

.oc-header-text {
    font-style: italic;
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.oc-header-subtitle {
    font-size: 13px;
    color: var(--txt-secondary);
}

.oc-header-nav {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    font-size: 14px;
}

.oc-nav-link {
    color: var(--txt-secondary);
    text-decoration: none;
    padding: 6px 10px 5px;
    border-bottom: 2px solid transparent;
}

.oc-nav-link:hover {
    color: var(--txt-primary);
    border-bottom-color: var(--accent-purple);
}

/* LAYOUT MAIN ------------------------------------------------ */

main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* HERO ------------------------------------------------------- */

.oc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: center;
    margin-bottom: 64px;
}

.oc-hero-title {
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 10px;
}

.oc-hero-title-accent {
    color: var(--accent-purple);
}

.oc-hero-subtitle {
    font-size: 16px;
    color: var(--txt-secondary);
    max-width: 520px;
}

.oc-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
    color: #ffffff;
}
.oc-hero-badges span {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #404040;
    background: #191919;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #00eeee;
}

.oc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.oc-hero-note {
    font-size: 12px;
    color: var(--txt-secondary);
    margin-top: 12px;
}
/** FEATURES LAYOUT ------------------------------------------- */
 .oc-features-layout {
    display: grid;
    grid-template-columns: 1fr 2px 1fr; /* sinistra | divisore | destra */
    gap: 40px;
    margin-top: 50px;
}

/* Colonna sinistra e destra in colonna */
.oc-features-left,
.oc-features-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Separatore verticale */
.oc-features-divider {
    width: 2px;
    background-color: #f0f0f0; /* viola OneCritto */
    opacity: 0.35; /* visibile ma elegante */
}

/* Card stile base, eventualmente già esistente */
.oc-feature-card {
    background: #1f1f1f; /* o colore della tua UI */
    padding: 20px 24px;
    border-radius: 12px;
}

.oc-features-divider {
    width: 4px;                       /* leggermente più spesso */
    background-color: #631b63;        /* viola OneCritto */
    opacity: 0.55;                    /* più visibile */
    border-radius: 3px;

    /* Rende la linea più alta del normale contenuto */
    height: auto;
    align-self: stretch;     
 box-shadow: 0 0 10px rgba(99,27,99,0.45);        /* si estende automaticamente */
}

.oc-features-divider:hover {
    opacity: 0.9;
}
/* BUTTONS ---------------------------------------------------- */

.oc-btn {
    display: inline-block;
    border-radius: var(--radius);
    padding: 10px 22px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--border);
    background: linear-gradient(#2b2b2b, #1f1f1f);
    color: var(--txt-primary);
    box-shadow: 0 0 14px rgba(0,0,0,0.5);
    transition: background 0.14s ease-out, box-shadow 0.14s ease-out,
                transform 0.12s ease-out, border-color 0.14s ease-out;
}

.oc-btn:hover {
    background: linear-gradient(#363636, #252525);
}

.oc-btn-primary {
    background: linear-gradient(var(--accent-blue), #1f3c92);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(53,116,240,0.75);
}

.oc-btn-primary:hover {
    box-shadow: 0 0 26px rgba(53,116,240,0.95);
    transform: translateY(-1px);
}

.oc-btn-secondary {
    border-color: #4a4a4a;
}

/* VIDEO EMBED ---------------------------------------------- */

.oc-video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-panel-alt);
    box-shadow: var(--shadow-soft);
}

.oc-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.oc-screen-frame .oc-video-embed {
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

/* SCREENSHOT FRAME ------------------------------------------- */

.oc-hero-right {
    display: flex;
    justify-content: center;
    width: 100%;
}

.oc-screen-frame {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(53,116,240,0.5);
    box-shadow:
        0 0 25px rgba(53,116,240,0.45),
        0 0 32px rgba(99,27,99,0.55);
    background: #050505;
}

.oc-screen-img {
    display: block;
    width: 100%;
}

/* SECTIONS BASE ---------------------------------------------- */

.oc-section {
    margin-bottom: 56px;
    background: var(--bg-panel);
    border-radius: 14px;
    padding: 26px 22px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

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

.oc-section-title {
    font-size: 24px;
    margin: 0 0 6px;
    color: var(--txt-secondary);
}

.oc-section-subtitle {
    font-size: 14px;
    color: var(--txt-secondary);
    max-width: 820px;
    margin-bottom: 20px;
}

/* FEATURES GRID ---------------------------------------------- */

.oc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.oc-feature-card {
    background: #191919;
    border-radius: 10px;
    border: 1px solid #343434;
    padding: 16px 14px 18px;
}

.oc-feature-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 17px; 
}

.oc-feature-card p {
    font-size: 14px;
    color: var(--txt-secondary);
}

/* SECURITY --------------------------------------------------- */

.oc-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.oc-security-block {
    background: #191919;
    border-radius: 10px;
    border: 1px solid #343434;
    padding: 16px 14px 16px;
    font-size: 14px;
    color: var(--txt-secondary);
}

.oc-security-block h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 17px;
    color: var(--txt-primary);
}

.oc-security-block ul {
    padding-left: 18px;
    margin: 0;
}

/* PRICING ---------------------------------------------------- */

.oc-pricing-card {
    background: #191919;
    border-radius: 12px;
    border: 1px solid var(--accent-blue);
    padding: 20px 18px 22px;
    box-shadow: 0 0 32px rgba(53,116,240,0.35);
}

.oc-price-main {
    text-align: center;
    margin-bottom: 14px;
}

.oc-price-amount {
    font-size: 34px;
    font-weight: 650;
    color: var(--accent-blue);
}

.oc-price-label {
    font-size: 13px;
    color: var(--txt-secondary);
}

.oc-pricing-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.oc-pricing-col {
    background: #141414;
    border-radius: 10px;
    border: 1px solid #333333;
    padding: 14px 12px 14px;
    font-size: 13px;
    color: var(--txt-secondary);
}

.oc-pricing-col-title {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--txt-primary);
}

.oc-pricing-col ul {
    margin: 0;
    padding-left: 16px;
}

.oc-pricing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
    margin-bottom: 10px;
}

.oc-pricing-note {
    font-size: 12px;
    color: var(--txt-secondary);
}

/* FAQ -------------------------------------------------------- */

.oc-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.oc-faq-item {
    background: #191919;
    border-radius: 10px;
    border: 1px solid #333333;
    padding: 14px 12px 16px;
    font-size: 13px;
    color: var(--txt-secondary);
}

.oc-faq-item h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--txt-primary);
}

/* FOOTER ----------------------------------------------------- */

.oc-footer {
    border-top: 1px solid #181818;
    background: #050505;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #888888;
}

.oc-footer-links {
    display: flex;
    gap: 16px;
}

.oc-footer-links a {
    color: #aaaaaa;
    text-decoration: none;
}

.oc-footer-links a:hover {
    color: #ffffff;
}

/* RESPONSIVE ------------------------------------------------- */

@media (max-width: 900px) {
    .oc-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .oc-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .oc-hero-right {
        order: -1;
    }
}

@media (max-width: 600px) {
    main {
        padding: 28px 14px 40px;
    }

    .oc-header-inner {
        padding: 14px 14px;
    }

    .oc-logo {
        height: 50px;
    }

    .oc-hero-title {
        font-size: 32px;
    }
}
#oc-chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 280px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: 14px;
}

.oc-chat-header {
    background: #631b63;
    padding: 10px;
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
}

.oc-chat-body {
    display: none;
    height: 260px;
    overflow-y: auto;
    padding: 10px;
}

.oc-chat-footer {
    display: none;
    border-top: 1px solid #333;
}

#oc-chat-input {
    width: 100%;
    padding: 10px;
    background: #111;
    color: #eee;
    border: none;
    outline: none;
}
