/* ============================================
   NS.ro Pro Design Overrides
   Layered on top of old-app.css
   ============================================ */

/* Smoother global transitions */
*, *::before, *::after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- HEADER ---- */
#header {
    transition: background 0.3s, box-shadow 0.3s;
}
#header.active {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ---- PRODUCT BOXES (pricing cards) ---- */
.product-box {
    border-radius: 12px;
    transition: transform 0.35s, box-shadow 0.35s;
    overflow: hidden;
}
.product-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
.product-box-popular {
    box-shadow: 0 8px 30px rgba(0, 152, 239, 0.15);
}
.product-box-popular:hover {
    box-shadow: 0 20px 60px rgba(0, 152, 239, 0.2);
}
.product-box .product-price {
    font-weight: 800;
}
.product-box .product-order .button {
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-box .product-order .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 152, 239, 0.3);
}

/* ---- FEATURE ICONS ---- */
.icon-feature {
    transition: transform 0.3s;
}
.column-33:hover .icon-feature,
.column-25:hover .icon-feature {
    transform: scale(1.15);
}

/* ---- TESTIMONIALS ---- */
.testimonial {
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
.testimonial .testimonial-content::before {
    font-size: 3em;
    opacity: 0.15;
}
/* Testimonial avatar circle */
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}

/* ---- TOGGLE / FAQ ---- */
.toggle {
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.toggle:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.toggle .toggle-title h3 {
    transition: color 0.2s;
}

/* ---- TABLES ---- */
table {
    border-radius: 8px;
    overflow: hidden;
}
table thead tr {
    background: linear-gradient(135deg, #0067b8, #0098ef) !important;
    color: #fff;
}
table thead th {
    color: #fff !important;
    font-weight: 700;
    padding: 12px 16px;
}
table tbody tr {
    transition: background 0.2s;
}
table tbody tr:hover {
    background: rgba(0, 152, 239, 0.04);
}

/* ---- BUTTONS ---- */
.button-secondary {
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 152, 239, 0.25);
}

/* ---- SEARCH DOMAIN ---- */
.search-domain input[type="text"] {
    border-radius: 8px 0 0 8px;
}
.search-domain .button-secondary {
    border-radius: 0 8px 8px 0;
}

/* ---- BOX-WHITE ---- */
.box-white {
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.box-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* ---- FEATURE-BOX ---- */
.feature-box {
    border-radius: 12px;
    transition: transform 0.3s;
}
.feature-box:hover {
    transform: translateY(-4px);
}

/* ---- BLOCKQUOTE ---- */
blockquote {
    border-radius: 12px;
}

/* ---- CONTENT HEADERS ---- */
.content-header h1,
.content-header h2 {
    letter-spacing: -0.01em;
}

/* ---- CTA BANNER ---- */
.cta-banner {
    background: linear-gradient(135deg, #0067b8, #0098ef);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    color: #fff;
    margin: 20px 0;
}
.cta-banner h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
}
.cta-banner p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 25px;
}
.cta-banner .button {
    background: #fff;
    color: #0067b8;
    border: none;
    font-weight: 800;
    padding: 14px 36px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-banner .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    color: #0067b8;
}

/* ---- INFO HIGHLIGHT BOX ---- */
.info-highlight {
    background: linear-gradient(135deg, #0067b8, #0098ef);
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    text-align: center;
}
.info-highlight p {
    margin: 0;
    line-height: 1.7;
}
.info-highlight i {
    font-size: 1.5em;
    margin-bottom: 10px;
    display: block;
}

/* ---- FOOTER ---- */
#footer .footer-primary {
    border-top: 3px solid #0098ef;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a2332; }
::-webkit-scrollbar-thumb { background: #0098ef; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0077c0; }

/* ---- SELECTION ---- */
::selection { background: #0098ef; color: #fff; }
