/* ===========================================================================
   Disoft Digital — site theme
   A lightweight layer on top of Bootstrap 5. Colors and spacing are driven by
   CSS variables so the look can be retuned quickly during review iterations.
   =========================================================================== */

:root {
    --ds-bg: #0b1220;
    --ds-surface: #ffffff;
    --ds-ink: #16213a;
    --ds-ink-soft: #4a5568;
    --ds-primary: #2e6bf6;
    --ds-primary-dark: #1f4fc4;
    --ds-violet: #7c3aed;
    --ds-accent: #e1399e;
    --ds-accent-dark: #b82a80;
    --ds-warm: #f59e2d;
    /* Brand gradient lifted from the TypeSwitcher app icon. */
    --ds-grad: linear-gradient(135deg, #2e6bf6 0%, #7c3aed 38%, #e1399e 68%, #f59e2d 100%);
    --ds-grad-cta: linear-gradient(135deg, #2e6bf6 0%, #7c3aed 100%);
    --ds-line: #e6e9f0;
    --ds-radius: 14px;
    --ds-shadow: 0 12px 30px rgba(16, 32, 64, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ds-ink);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    background-color: #f6f8fc;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.7);
}

a {
    text-decoration: none;
}

/* ---- Navbar -------------------------------------------------------------- */
.site-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--ds-line);
    box-shadow: 0 2px 14px rgba(16, 32, 64, 0.05);
}

.site-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--ds-ink);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--ds-grad);
    color: #fff;
    font-weight: 800;
}

.brand-accent {
    color: var(--ds-accent);
}

.site-navbar .nav-link {
    color: var(--ds-ink-soft);
    font-weight: 500;
    padding-inline: .9rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--ds-primary);
}

/* ---- Buttons ------------------------------------------------------------- */
.btn-accent {
    background: var(--ds-grad-cta);
    border: none;
    color: #fff;
    font-weight: 600;
}

.btn-accent:hover {
    color: #fff;
    filter: brightness(1.07);
}

.btn-outline-light-soft {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 600;
}

.btn-outline-light-soft:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---- Sections / hero ----------------------------------------------------- */
.section {
    padding: 5rem 0;
}

.section-tight {
    padding: 3.5rem 0;
}

.bg-surface {
    background: #ffffff;
}

.hero {
    background: radial-gradient(1000px 460px at 82% -20%, rgba(124, 58, 237, 0.12), transparent 60%),
                radial-gradient(700px 420px at 8% 110%, rgba(225, 57, 158, 0.08), transparent 60%),
                linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%);
    color: var(--ds-ink);
    border-bottom: 1px solid var(--ds-line);
    padding: 6rem 0 5.5rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.1;
}

.hero .lead {
    color: var(--ds-ink-soft);
    font-size: 1.15rem;
    max-width: 36rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--ds-accent);
}

.eyebrow-muted {
    color: var(--ds-accent);
}

.page-header {
    background: radial-gradient(900px 360px at 85% -30%, rgba(47, 109, 246, 0.10), transparent 60%),
                linear-gradient(180deg, #ffffff 0%, #f1f5fc 100%);
    color: var(--ds-ink);
    border-bottom: 1px solid var(--ds-line);
    padding: 3.5rem 0;
}

.page-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.page-header p {
    color: var(--ds-ink-soft);
    max-width: 44rem;
    margin-bottom: 0;
}

/* ---- Cards --------------------------------------------------------------- */
.card-soft {
    background: var(--ds-surface);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    box-shadow: var(--ds-shadow);
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card-soft:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 32, 64, 0.13);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 1.1rem;
}

.feature-icon i {
    background: var(--ds-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tech-badge {
    display: inline-block;
    background: rgba(47, 109, 246, 0.09);
    color: var(--ds-primary-dark);
    border: 1px solid rgba(47, 109, 246, 0.18);
    border-radius: 999px;
    padding: .2rem .7rem;
    font-size: .76rem;
    font-weight: 600;
    margin: .15rem .15rem 0 0;
}

.status-pill {
    display: inline-block;
    border-radius: 999px;
    padding: .2rem .7rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.status-live { background: rgba(24, 195, 154, 0.14); color: #0e7c63; }
.status-progress { background: rgba(255, 176, 32, 0.16); color: #9a6a00; }
.status-demo { background: rgba(120, 130, 150, 0.16); color: #515b6e; }

/* ---- Image / screenshot placeholders ------------------------------------ */
.placeholder-media {
    border: 2px dashed var(--ds-line);
    border-radius: var(--ds-radius);
    background:
        repeating-linear-gradient(45deg, #f1f4fa, #f1f4fa 12px, #eef2f9 12px, #eef2f9 24px);
    color: var(--ds-ink-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
    padding: 1.5rem;
}

.placeholder-media i {
    font-size: 2rem;
    margin-bottom: .5rem;
    opacity: .6;
}

.hero-visual {
    border-radius: var(--ds-radius);
    background: #ffffff;
    border: 1px solid var(--ds-line);
    box-shadow: var(--ds-shadow);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ds-ink-soft);
    text-align: center;
    padding: 1.5rem;
}

/* ---- TypeSwitcher product art -------------------------------------------- */
/* App icon + an HTML replica of the real menu-bar dropdown. Markup instead of
   a PNG: stays crisp on retina and never goes stale visually. */
.ts-art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

.ts-art-icon {
    width: clamp(150px, 24vw, 230px);
    height: auto;
    margin-right: -44px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 26px 48px rgba(124, 58, 237, 0.35));
}

.mac-menu {
    position: relative;
    z-index: 2;
    width: 252px;
    flex-shrink: 0;
    background: rgba(247, 247, 250, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(20, 20, 40, 0.08);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 24px 60px rgba(16, 24, 56, 0.28);
    font-family: -apple-system, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #1f2330;
    text-align: left;
}

.mac-menu-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 3px 10px 3px 24px;
    border-radius: 6px;
    white-space: nowrap;
}

.mac-menu-item .check {
    position: absolute;
    left: 8px;
}

.mac-menu-item .check-right,
.mac-menu .shortcut {
    color: #9b9ba3;
}

.mac-menu-item.muted {
    color: #9b9ba3;
}

.mac-menu-item.selected {
    background: var(--ds-primary);
    color: #fff;
}

.mac-menu-item.selected .shortcut {
    color: rgba(255, 255, 255, 0.85);
}

.mac-menu-sep {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 5px 10px;
}

@media (max-width: 575.98px) {
    .ts-art {
        flex-direction: column;
        gap: 1rem;
    }

    .ts-art-icon {
        margin-right: 0;
    }
}

/* Standalone icon tile (platform / availability blocks). */
.ts-icon-card {
    background: linear-gradient(135deg, rgba(46, 107, 246, 0.08), rgba(225, 57, 158, 0.08));
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 2rem;
}

.ts-icon-card img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(124, 58, 237, 0.3));
}

/* ---- Featured product band ---------------------------------------------- */
.product-spotlight {
    background: linear-gradient(120deg, #f5f8ff 0%, #eef3fb 100%);
    color: var(--ds-ink);
    border: 1px solid var(--ds-line);
    border-radius: 20px;
    overflow: hidden;
}

/* ---- Lists --------------------------------------------------------------- */
.checklist {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.checklist li {
    position: relative;
    padding-left: 1.9rem;
    margin-bottom: .65rem;
}

.checklist li::before {
    content: "\F26E"; /* bi-check-lg */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ds-accent);
    font-weight: bold;
}

/* ---- Team cards (Expert Team) ------------------------------------------- */
.team-card {
    text-align: center;
}

.team-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef1f6 0%, #e2e7f0 100%);
    aspect-ratio: 1 / 1.12;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: var(--ds-shadow);
}

.team-photo i.team-avatar {
    font-size: 7rem;
    color: #b8c0cf;
    margin-bottom: -0.4rem;
}

.team-social {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.team-social a {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ds-ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    box-shadow: 0 2px 8px rgba(16, 32, 64, 0.12);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.team-social a:hover {
    background: var(--ds-accent);
    color: #fff;
    transform: translateY(-1px);
}

.team-name {
    color: var(--ds-accent);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 1.1rem 0 .15rem;
}

.team-role {
    font-style: italic;
    color: var(--ds-ink-soft);
    margin-bottom: 0;
}

/* ---- Tech stack --------------------------------------------------------- */
.tech-group {
    height: 100%;
}

.tech-group h6 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--ds-ink-soft);
    margin-bottom: 1rem;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ds-line);
    font-size: .9rem;
    font-weight: 500;
    color: var(--ds-ink);
}

.tech-pill i {
    color: var(--ds-accent);
    font-size: 1rem;
}

.tech-pill.tech-ai {
    border-color: rgba(241, 99, 42, 0.35);
    background: rgba(241, 99, 42, 0.06);
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer {
    background: #0b1220;
    color: #c7d0e0;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.footer-heading {
    color: #fff;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--ds-accent);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

/* ---- Admin --------------------------------------------------------------- */
.admin-shell {
    min-height: 100vh;
    background: #f4f6fb;
}

/* Admin cards are content panels, not interactive marketing cards — keep them
   still on hover (the lift/shadow animation makes tables visually "jump"). */
.admin-shell .card-soft {
    transition: none;
}

.admin-shell .card-soft:hover {
    transform: none;
    box-shadow: var(--ds-shadow);
}

.admin-sidebar {
    background: #0b1220;
    color: #c7d0e0;
    min-height: 100vh;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    padding: .6rem 1rem;
    border-radius: 9px;
    font-weight: 500;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ds-primary-dark);
}
