/* =====================================================
   ClearWorkSuite — Custom Stylesheet
   Layered on top of Bootstrap 5
   ===================================================== */

/* ── Tokens ── */
:root {
    --cws-primary:       #4f46e5;
    --cws-primary-dark:  #3730a3;
    --cws-primary-light: #ede9fe;
    --cws-accent:        #06b6d4;
    --cws-text:          #1e1b4b;
    --cws-muted:         #64748b;
    --cws-surface:       #f8fafc;
    --cws-border:        #e2e8f0;
    --cws-radius:        1rem;
    --cws-shadow:        0 4px 24px rgba(79,70,229,.08);
}

/* ── Overrides ── */
body {
    color: var(--cws-text);
    background: #fff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.btn-primary {
    background: var(--cws-primary);
    border-color: var(--cws-primary);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--cws-primary-dark);
    border-color: var(--cws-primary-dark);
}
.btn-outline-primary {
    color: var(--cws-primary);
    border-color: var(--cws-primary);
}
.btn-outline-primary:hover {
    background: var(--cws-primary);
    border-color: var(--cws-primary);
}

/* ── Navbar ── */
.cws-navbar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cws-border);
    padding: .875rem 0;
}
.cws-navbar .nav-link {
    color: var(--cws-muted);
    font-weight: 500;
    transition: color .15s;
}
.cws-navbar .nav-link:hover { color: var(--cws-primary); }

/* ── Brand ── */
.cws-brand { font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.cws-brand-clear { color: var(--cws-primary); }
.cws-brand-work  { color: var(--cws-text); }
.cws-brand-suite { color: var(--cws-accent); }

/* ── Badge pill ── */
.cws-badge-pill {
    background: var(--cws-primary-light);
    color: var(--cws-primary);
    font-weight: 600;
    font-size: .75rem;
    padding: .35em .9em;
    border-radius: 999px;
}

/* ── Section spacing ── */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ── Hero ── */
.cws-hero {
    min-height: 90vh;
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%);
}
.cws-hero-headline { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
.cws-hero-sub      { font-size: 1.1rem; line-height: 1.7; }
.cws-gradient-text {
    background: linear-gradient(135deg, var(--cws-primary), var(--cws-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Mock browser widget ── */
.cws-hero-visual {
    background: white;
    box-shadow: var(--cws-shadow);
}
.cws-mock-browser { background: #f1f5f9; overflow: hidden; }
.cws-mock-bar     { background: #f1f5f9; border-bottom: 1px solid var(--cws-border); }
.cws-mock-screen  { background: #fff; min-height: 200px; }
.cws-mock-url     { background: white; border: 1px solid var(--cws-border); font-size: .75rem; }
.cws-dot          { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cws-mock-card    { background: var(--cws-surface); border: 1px solid var(--cws-border); }
.cws-mock-line    { height: 10px; background: var(--cws-border); border-radius: 4px; }

/* ── Proof bar ── */
.cws-proof-bar {
    background: var(--cws-surface);
    border-top: 1px solid var(--cws-border);
    border-bottom: 1px solid var(--cws-border);
}
.cws-proof-logo { font-size: .9rem; opacity: .55; }

/* ── Feature cards ── */
.cws-feature-card {
    background: var(--cws-surface);
    border: 1px solid var(--cws-border);
    transition: transform .2s, box-shadow .2s;
}
.cws-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cws-shadow);
}
.cws-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: .75rem;
    background: var(--cws-primary-light);
    color: var(--cws-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Alt section ── */
.cws-alt-section { background: var(--cws-surface); }

/* ── Steps ── */
.cws-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cws-primary);
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px var(--cws-primary-light);
}

/* ── Pricing ── */
.cws-pricing-card {
    background: var(--cws-surface);
    border: 1px solid var(--cws-border);
}
.cws-pricing-featured {
    background: linear-gradient(135deg, var(--cws-primary), var(--cws-primary-dark));
    border: none;
    box-shadow: 0 16px 48px rgba(79,70,229,.3);
}
.cws-price-num { font-size: 2.5rem; font-weight: 800; }

/* ── CTA banner ── */
.cws-cta-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%);
    border-top: 1px solid var(--cws-border);
}

/* ── Footer ── */
.cws-footer {
    background: var(--cws-text);
    color: #94a3b8;
}
.cws-footer .cws-brand-clear { color: #a5b4fc; }
.cws-footer .cws-brand-work  { color: #fff; }
.cws-footer .cws-brand-suite { color: #67e8f9; }
.cws-footer .text-muted      { color: #94a3b8 !important; }
.cws-footer hr                { border-color: #334155 !important; }
.cws-footer a:hover           { color: #fff !important; }
