/**
 * WinlytAI Custom CSS
 * Brand overrides and custom styles on top of Saasavo template
 * Version: 1.0
 */

/* ===================== BRAND COLORS ===================== */
:root {
    --winlyt-purple: #6766FF;
    --winlyt-purple-dark: #4f4ee0;
    --winlyt-purple-light: #eef2ff;
    --winlyt-green: #37B884;
    --winlyt-orange: #EB7043;
    --winlyt-dark: #1a1a2e;
    --winlyt-gray: #f4f5f7;
    --winlyt-text: #555;
    --winlyt-text-light: #888;
    --winlyt-border: #e0e0e0;
}

/* ===================== GLOBAL OVERRIDES ===================== */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===================== HEADER OVERRIDES ===================== */
.saasavo-header-area {
    background: rgba(26, 26, 46, 0.98) !important;
    backdrop-filter: blur(10px);
}

.saasavo-header-area.sticky {
    background: rgba(26, 26, 46, 0.99) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Logo text style */
.header-logo a span {
    font-weight: 800 !important;
    background: linear-gradient(135deg, #6766FF, #9f9eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav link hover */
.nav_scroll > li > a {
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.3s !important;
}
.nav_scroll > li > a:hover {
    color: #6766FF !important;
}

/* Header CTA button */
.header-btn a {
    background: linear-gradient(135deg, #6766FF 0%, #4f4ee0 100%) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-btn a:hover {
    box-shadow: 0 8px 25px rgba(103, 102, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ===================== HERO / BANNER ===================== */
.banner-section-two {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative;
    overflow: hidden;
}

.banner-content h5 {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.banner-content h2 {
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

.banner-content h2 span img {
    display: inline;
    width: auto;
    max-height: 50px;
    vertical-align: middle;
}

/* Hero CTA buttons */
.banner-btn a {
    background: linear-gradient(135deg, #6766FF 0%, #4f4ee0 100%) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 14px 35px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.banner-btn a:hover {
    box-shadow: 0 10px 30px rgba(103, 102, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

.banner-btn2 a {
    background: transparent !important;
    color: rgba(255,255,255,0.8) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.banner-btn2 a:hover {
    border-color: #6766FF !important;
    color: #fff !important;
    background: rgba(103, 102, 255, 0.1) !important;
}

/* ===================== BRAND/SUPPLIER AREA ===================== */
.brand-area-one {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
}

.brand-area-one .brand-desc p {
    color: #888;
    font-size: 0.9rem;
}

.brand-area-one .brand-desc p span {
    color: #6766FF;
    font-weight: 700;
}

.brand-box {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.brand-box:hover {
    box-shadow: 0 4px 15px rgba(103, 102, 255, 0.1);
    border-color: rgba(103, 102, 255, 0.2);
}

/* ===================== SECTION TITLES ===================== */
.section-sub-title .sub-title {
    color: #6766FF;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-sub-title .sub-title::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #6766FF;
    border-radius: 2px;
}

.section-title .title {
    font-weight: 800;
    color: var(--winlyt-dark);
    line-height: 1.2;
}

.section-desc p {
    color: var(--winlyt-text);
    line-height: 1.8;
}

/* ===================== FEATURE BOXES ===================== */
.feature-box-two {
    transition: all 0.3s;
}

.feature-box-two:hover {
    box-shadow: 0 10px 30px rgba(103, 102, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(103, 102, 255, 0.3) !important;
}

/* ===================== PRICING ===================== */
.pricing-box {
    transition: all 0.3s;
}

.pricing-box:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* ===================== CALL TO ACTION ===================== */
.call-to-action-one {
    padding: 80px 0;
}

.call-container {
    position: relative;
    overflow: hidden;
}

.call-to-wrapper {
    background: linear-gradient(135deg, #6766FF 0%, #4f4ee0 100%) !important;
    border-radius: 24px;
    padding: 60px 40px;
}

.call-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.call-disc {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 30px;
}

.call-to-btn {
    background: #fff !important;
    color: #6766FF !important;
    padding: 14px 35px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s !important;
}

.call-to-btn:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    transform: translateY(-2px) !important;
}

/* ===================== FOOTER ===================== */
.main-footer-one {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 80%, #0f3460 100%) !important;
}

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-menu li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: block;
    padding: 4px 0;
}

.footer-menu li a:hover {
    color: #6766FF;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 15px 0 20px;
}

.footer-btn a {
    background: linear-gradient(135deg, #6766FF 0%, #4f4ee0 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.footer-btn a:hover {
    box-shadow: 0 6px 20px rgba(103, 102, 255, 0.4);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
}

.copyright-text {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.copyright-text a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.copyright-text a:hover {
    color: #6766FF;
}

/* ===================== SUBSCRIBE BOX ===================== */
.subscribe-box {
    display: flex;
    gap: 0;
    margin-top: 15px;
}

.subscribe-box input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 10px 0 0 10px;
    font-size: 0.9rem;
    outline: none;
}

.subscribe-box input::placeholder {
    color: rgba(255,255,255,0.4);
}

.subscribe-box button {
    padding: 12px 18px;
    background: #6766FF;
    border: none;
    border-radius: 0 10px 10px 0;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-box button:hover {
    background: #4f4ee0;
}

/* ===================== PRELOADER ===================== */
.preloader {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.loader {
    border-top-color: #6766FF !important;
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-to-top {
    background: #6766FF !important;
    border-color: #6766FF !important;
}

.scroll-to-top:hover {
    background: #4f4ee0 !important;
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu-area {
    background: rgba(26, 26, 46, 0.98);
}

/* ===================== SIDEBAR ===================== */
.sidebar-area {
    background: #1a1a2e;
}

.sidebar__btns a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-right: 8px;
    background: #6766FF;
    color: #fff;
}

.sidebar__btns a.sign-in {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
}

.sidebar__btns a:hover {
    box-shadow: 0 4px 15px rgba(103, 102, 255, 0.4);
}

.sidebar__text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .call-title { font-size: 1.5rem; }
    .banner-content h2 { font-size: 1.8rem; }
    .banner-btn a, .call-to-btn { padding: 12px 24px !important; }
}

/* ===================== ACCORDION (FAQ) ===================== */
.accordion-button:not(.collapsed) {
    color: #6766FF !important;
    background: #f8f7ff !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: #6766FF !important;
}

.accordion-button::after {
    filter: hue-rotate(210deg) saturate(2);
}

/* ===================== AUTH PAGES ===================== */
.auth-page .auth-card {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================== UTILITIES ===================== */
.text-winlyt-purple { color: #6766FF !important; }
.bg-winlyt-purple { background: #6766FF !important; }
.btn-winlyt { background: linear-gradient(135deg, #6766FF 0%, #4f4ee0 100%); color: #fff; border: none; border-radius: 50px; padding: 12px 30px; font-weight: 700; cursor: pointer; transition: all 0.3s; }
.btn-winlyt:hover { box-shadow: 0 8px 25px rgba(103,102,255,0.4); transform: translateY(-2px); }
