/* ==========================================================================
   Smart Sync Pro - Elementor Landing Addon Stylesheet
   Tailored to integrate seamlessly with uttam-aron-portfolio-theme on uttamaron.com
   ========================================================================== */

.ua-landing-smart-sync {
    --ua-accent: #00A8D6;
    --ua-accent-glow: rgba(0, 168, 214, 0.25);
    --primary: #00A8D6;
    --primary-hover: #0087AB;
    --primary-glow: rgba(0, 168, 214, 0.25);
    
    --bg-dark: #F7F7F5;
    --bg-card: #FFFFFF;
    --bg-surface: #FFFFFF;
    --border-color: #E2E4E7;
    --border-light: #CBD5E1;

    --text-white: #111318;
    --text-light: #1E293B;
    --text-muted: #5F6368;
    --text-dim: #64748B;

    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 168, 214, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, rgba(0, 210, 180, 0.04) 0%, transparent 50%);
    color: var(--text-muted);
    font-family: inherit;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.ua-landing-smart-sync .ua-pl-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Product Sub-Header (Row 2 Navigation) */
.ua-landing-smart-sync .site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: all 0.25s ease;
}

.ua-landing-smart-sync .site-header.is-sticky {
    position: sticky;
    top: 70px;
    z-index: 95;
    box-shadow: 0 4px 18px rgba(17, 19, 24, 0.05);
}

.ua-landing-smart-sync .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.ua-landing-smart-sync .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ua-landing-smart-sync .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--ua-accent) 0%, #00D2B4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 168, 214, 0.25);
}

.ua-landing-smart-sync .brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.ua-landing-smart-sync .brand-text span {
    color: var(--ua-accent);
}

.ua-landing-smart-sync .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ua-landing-smart-sync .nav-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ua-landing-smart-sync .nav-links a:hover {
    color: var(--ua-accent);
}

.ua-landing-smart-sync .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ua-landing-smart-sync .mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 6px;
}

@media (max-width: 991px) {
    .ua-landing-smart-sync .nav-links,
    .ua-landing-smart-sync .nav-actions .ua-btn-secondary {
        display: none;
    }
    .ua-landing-smart-sync .nav-links.nav-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        right: 0;
        background: #FFFFFF;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 18px 22px;
        gap: 14px;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }
    .ua-landing-smart-sync .mobile-toggle {
        display: block;
    }
}


/* Section Wrappers */
.ua-landing-smart-sync .ua-pl-hero {
    padding: 70px 0 60px;
    text-align: center;
}

.ua-landing-smart-sync .ua-pl-section {
    padding: 80px 0;
}

.ua-landing-smart-sync .ua-pl-spotlight {
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Badge Tag */
.ua-landing-smart-sync .ua-badge-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 168, 214, 0.35);
    background: rgba(0, 168, 214, 0.1);
    color: var(--ua-accent);
    margin-bottom: 18px;
}

.ua-landing-smart-sync .ua-badge-glow {
    box-shadow: 0 0 20px var(--ua-accent-glow);
}

/* Hero Typography */
.ua-landing-smart-sync .hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ua-landing-smart-sync .hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* Buttons */
.ua-landing-smart-sync .hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.ua-landing-smart-sync .ua-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.ua-landing-smart-sync .ua-btn-primary {
    background: linear-gradient(135deg, var(--ua-accent) 0%, #00D2B4 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 168, 214, 0.3);
}

.ua-landing-smart-sync .ua-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 168, 214, 0.45);
}

.ua-landing-smart-sync .ua-btn-secondary {
    background: #FFFFFF;
    color: #172A46 !important;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(17, 19, 24, 0.04);
}

.ua-landing-smart-sync .ua-btn-secondary:hover {
    background: #F8FAFC;
    border-color: var(--ua-accent);
    color: var(--ua-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 19, 24, 0.08);
}

.ua-landing-smart-sync .ua-btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Metrics Row */
.ua-landing-smart-sync .hero-metrics {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ua-landing-smart-sync .hero-metrics strong {
    color: var(--ua-accent);
}

/* Pre-Flight Preview Card */
.ua-landing-smart-sync .preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(17, 19, 24, 0.06);
    overflow: hidden;
    text-align: left;
    margin: 0 auto;
}

.ua-landing-smart-sync .preview-bar {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
}

.ua-landing-smart-sync .mac-dots {
    display: flex;
    gap: 7px;
    margin-right: 16px;
}

.ua-landing-smart-sync .mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.ua-landing-smart-sync .mac-red { background: #ff5f56; }
.ua-landing-smart-sync .mac-yellow { background: #ffbd2e; }
.ua-landing-smart-sync .mac-green { background: #27c93f; }

.ua-landing-smart-sync .preview-title {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-white);
    font-weight: 700;
    flex-grow: 1;
}

/* Simulator Search & Filter */
.ua-landing-smart-sync .sim-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    padding: 14px 18px 0;
}

.ua-landing-smart-sync .sim-search-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px 38px 10px 14px;
    color: var(--text-white);
    font-size: 0.88rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.ua-landing-smart-sync .sim-search-input:focus {
    outline: none;
    border-color: var(--ua-accent);
    box-shadow: 0 0 0 3px var(--ua-accent-glow);
}

.ua-landing-smart-sync .sim-search-clear {
    position: absolute;
    right: 28px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
    padding: 2px 6px;
    line-height: 1;
}

.ua-landing-smart-sync .sim-search-clear:hover {
    color: var(--text-white);
}

.ua-landing-smart-sync .sim-filter-bar {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background: #F8FAFC;
    flex-wrap: wrap;
}

.ua-landing-smart-sync .sim-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ua-landing-smart-sync .sim-filter-btn.active {
    background: var(--ua-accent);
    border-color: var(--ua-accent);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 168, 214, 0.35);
}

.ua-landing-smart-sync .sim-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.72rem;
}

.ua-landing-smart-sync .sim-filter-btn.active .sim-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Simulator Table */
.ua-landing-smart-sync .sim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.ua-landing-smart-sync .sim-table th {
    background: #F8FAFC;
    color: var(--text-dim);
    font-weight: 700;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.ua-landing-smart-sync .sim-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-light);
}

.ua-landing-smart-sync .thumb-preview-box {
    width: 44px;
    height: 44px;
    background: #F1F5F9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--ua-accent);
    font-family: var(--font-mono);
}

/* Status Badges */
.ua-landing-smart-sync .badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ua-landing-smart-sync .badge-blue   { background: #E0F2FE; color: #0284C7; }
.ua-landing-smart-sync .badge-pro    { background: rgba(0, 168, 214, 0.1); color: #0087AB; border: 1px solid rgba(0, 168, 214, 0.3); }
.ua-landing-smart-sync .badge-amber  { background: #FEF3C7; color: #B45309; }
.ua-landing-smart-sync .badge-cyan   { background: #CFFAFE; color: #0E7490; }
.ua-landing-smart-sync .badge-purple { background: #F3E8FF; color: #7E22CE; }
.ua-landing-smart-sync .badge-teal   { background: #CCFBF1; color: #0F766E; }

/* In-Admin Preview Demo */
.ua-landing-smart-sync .preview-modal-demo {
    margin: 18px;
    background: #F8FAFC;
    border: 1px dashed var(--border-light);
    border-radius: 8px;
    padding: 14px;
}

.ua-landing-smart-sync .preview-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.ua-landing-smart-sync .preview-device-switch {
    display: inline-flex;
    background: #E2E4E7;
    border-radius: 6px;
    padding: 3px;
    border: 1px solid var(--border-light);
    gap: 2px;
}

.ua-landing-smart-sync .preview-device-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ua-landing-smart-sync .preview-device-btn.active {
    background: #FFFFFF;
    color: var(--ua-accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ua-landing-smart-sync .preview-viewport-frame {
    width: 100%;
    margin: 0 auto;
    transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(17, 19, 24, 0.04);
}

.ua-landing-smart-sync .preview-viewport-frame.mobile-view {
    max-width: 375px;
    box-shadow: 0 0 25px rgba(0, 168, 214, 0.2);
    border-color: var(--ua-accent);
}

.ua-landing-smart-sync .preview-sample-box {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
}

.ua-landing-smart-sync .preview-sample-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.ua-landing-smart-sync .preview-sample-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Features Grid */
.ua-landing-smart-sync .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.ua-landing-smart-sync .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.ua-landing-smart-sync .section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.ua-landing-smart-sync .features-grid,
.ua-landing-smart-sync .deployer-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ua-landing-smart-sync .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(17, 19, 24, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ua-landing-smart-sync .feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--ua-accent);
    box-shadow: 0 12px 30px rgba(17, 19, 24, 0.08);
}

.ua-landing-smart-sync .feature-icon-wrap {
    font-size: 2rem;
    margin-bottom: 16px;
}

.ua-landing-smart-sync .feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.ua-landing-smart-sync .feature-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Comparison Table */
.ua-landing-smart-sync .comparison-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 14px rgba(17, 19, 24, 0.04);
}

.ua-landing-smart-sync .comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ua-landing-smart-sync .comp-table th {
    background: #F8FAFC;
    padding: 16px 20px;
    font-weight: 700;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.ua-landing-smart-sync .comp-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.ua-landing-smart-sync .comp-table .highlight-col {
    background: rgba(0, 168, 214, 0.05);
    color: #0087AB;
    font-weight: 600;
}

/* FAQ Accordion */
.ua-landing-smart-sync .faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ua-landing-smart-sync .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(17, 19, 24, 0.03);
    transition: all 0.2s ease;
}

.ua-landing-smart-sync .faq-item.open {
    border-color: var(--ua-accent);
    box-shadow: 0 4px 16px rgba(0, 168, 214, 0.12);
}

.ua-landing-smart-sync .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.ua-landing-smart-sync .faq-icon {
    font-size: 1.3rem;
    color: var(--ua-accent);
    transition: transform 0.25s ease;
}

.ua-landing-smart-sync .faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.ua-landing-smart-sync .faq-answer {
    display: none;
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.ua-landing-smart-sync .faq-item.open .faq-answer {
    display: block;
}

/* CTA Banner */
.ua-landing-smart-sync .cta-banner {
    background: linear-gradient(135deg, rgba(0, 168, 214, 0.08) 0%, rgba(0, 210, 180, 0.08) 100%);
    border: 1px solid rgba(0, 168, 214, 0.25);
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 168, 214, 0.06);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ua-landing-smart-sync .hero-title {
        font-size: 2.1rem;
    }
    .ua-landing-smart-sync .hero-metrics {
        gap: 16px;
    }
    .ua-landing-smart-sync .feature-card {
        padding: 20px;
    }
}
